public class Event extends RuleElement
rule
Modifier | Constructor | Description |
---|---|---|
protected |
Event(Rule rule) |
|
protected |
Event(Rule rule,
ParseNode eventTree) |
Modifier and Type | Method | Description |
---|---|---|
void |
compile(org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext) |
|
static Event |
create(Rule rule,
String text) |
|
static Event |
create(Rule rule,
ParseNode eventTree) |
|
Binding |
createBinding(ParseNode varTree) |
|
Bindings |
getBindings() |
|
Object |
interpret(HelperAdapter helper) |
|
Type |
typeCheck(Type expected) |
|
void |
writeTo(StringWriter stringWriter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTypeGroup, rebox, toString
protected Event(Rule rule, ParseNode eventTree) throws TypeException
TypeException
protected Event(Rule rule)
public static Event create(Rule rule, ParseNode eventTree) throws TypeException
TypeException
public static Event create(Rule rule, String text) throws ParseException, TypeException
ParseException
TypeException
public Bindings getBindings()
getBindings
in class RuleElement
public Type typeCheck(Type expected) throws TypeException
typeCheck
in class RuleElement
TypeException
public Binding createBinding(ParseNode varTree) throws TypeException
TypeException
public Object interpret(HelperAdapter helper) throws ExecuteException
interpret
in class RuleElement
ExecuteException
public void compile(org.objectweb.asm.MethodVisitor mv, CompileContext compileContext) throws CompileException
compile
in class RuleElement
CompileException
public void writeTo(StringWriter stringWriter)
writeTo
in class RuleElement
Copyright © 2018. All rights reserved.