public class Condition extends RuleElement
rule| Modifier | Constructor and Description |
|---|---|
protected |
Condition(Rule rule) |
protected |
Condition(Rule rule,
ParseNode conditionTree) |
| Modifier and Type | Method and Description |
|---|---|
void |
compile(org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext) |
static Condition |
create(Rule rule,
ParseNode conditionTree) |
static Condition |
create(Rule rule,
java.lang.String text) |
java.lang.Object |
interpret(HelperAdapter helper) |
Type |
typeCheck(Type expected) |
void |
writeTo(java.io.StringWriter stringWriter) |
compileBooleanConversion, compileBox, compileNumericConversion, compileObjectConversion, compilePrimitiveConversion, compileStringConversion, compileTypeConversion, compileUnbox, getBindings, getTypeGroup, toStringprotected Condition(Rule rule, ParseNode conditionTree) throws TypeException
TypeExceptionprotected Condition(Rule rule)
public static Condition create(Rule rule, ParseNode conditionTree) throws TypeException
TypeExceptionpublic static Condition create(Rule rule, java.lang.String text) throws ParseException, TypeException
ParseExceptionTypeExceptionpublic Type typeCheck(Type expected) throws TypeException
typeCheck in class RuleElementTypeExceptionpublic void compile(org.objectweb.asm.MethodVisitor mv,
CompileContext compileContext)
throws CompileException
compile in class RuleElementCompileExceptionpublic java.lang.Object interpret(HelperAdapter helper) throws ExecuteException
interpret in class RuleElementExecuteExceptionpublic void writeTo(java.io.StringWriter stringWriter)
writeTo in class RuleElementCopyright © 2013. All Rights Reserved.