org.mvel.ast
Class WhileNode
java.lang.Object
org.mvel.ASTNode
org.mvel.ast.BlockNode
org.mvel.ast.WhileNode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class WhileNode
- extends BlockNode
- Author:
- Christopher Brock
- See Also:
- Serialized Form
Fields inherited from class org.mvel.ASTNode |
accessor, ASSIGN, BLOCK_FOREACH, BLOCK_IF, BLOCK_WHILE, BLOCK_WITH, COLLECTION, COMPILE_IMMEDIATE, cursorPosition, DEEP_PROPERTY, discard, egressType, endOfName, fields, firstUnion, FOLD, IDENTIFIER, INLINE_COLLECTION, INTEGER32, intRegister, INVERT, literal, LITERAL, LOOKAHEAD, METHOD, name, nameCache, NEGATION, nextASTNode, NUMERIC, OPERATOR, STR_LITERAL, THISREF |
Constructor Summary |
WhileNode(char[] condition,
char[] block,
int fields)
|
Methods inherited from class org.mvel.ASTNode |
discard, getAbsoluteName, getAbsoluteRemainder, getAbsoluteRootElement, getAccessor, getCursorPosition, getEgressType, getFields, getIntRegister, getLiteralValue, getName, getNameAsArray, getOperator, isAssignment, isCollection, isDebuggingSymbol, isDeepProperty, isDiscard, isIdentifier, isLiteral, isOperator, isOperator, isThisVal, setAccessor, setAsLiteral, setCursorPosition, setDiscard, setEgressType, setIntRegister, setLiteralValue, setName, toString, tryStaticAccess, valRet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
item
protected java.lang.String item
cond
protected char[] cond
condition
protected ExecutableStatement condition
compiledBlock
protected ExecutableStatement compiledBlock
WhileNode
public WhileNode(char[] condition,
char[] block,
int fields)
getReducedValueAccelerated
public java.lang.Object getReducedValueAccelerated(java.lang.Object ctx,
java.lang.Object thisValue,
VariableResolverFactory factory)
- Overrides:
getReducedValueAccelerated
in class ASTNode
getReducedValue
public java.lang.Object getReducedValue(java.lang.Object ctx,
java.lang.Object thisValue,
VariableResolverFactory factory)
- Overrides:
getReducedValue
in class ASTNode