| Modifier | Constructor | Description |
|---|---|---|
protected |
RuleElement(Rule rule) |
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
compile(org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext) |
|
protected Bindings |
getBindings() |
|
protected TypeGroup |
getTypeGroup() |
|
abstract Object |
interpret(HelperAdapter helper) |
|
protected Object |
rebox(Type fromType,
Type toType,
Object value) |
|
String |
toString() |
|
abstract Type |
typeCheck(Type expected) |
|
abstract void |
writeTo(StringWriter stringWriter) |
protected Rule rule
protected RuleElement(Rule rule)
protected TypeGroup getTypeGroup()
protected Bindings getBindings()
public abstract Type typeCheck(Type expected) throws TypeException
TypeExceptionpublic abstract Object interpret(HelperAdapter helper) throws ExecuteException
ExecuteExceptionpublic abstract void compile(org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext)
throws CompileException
CompileExceptionpublic abstract void writeTo(StringWriter stringWriter)
Copyright © 2018. All rights reserved.