org.mvel.ast
Class WithNode

java.lang.Object
  extended by org.mvel.ASTNode
      extended by org.mvel.ast.BlockNode
          extended by org.mvel.ast.WithNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, NestedStatement

public class WithNode
extends BlockNode
implements NestedStatement

Author:
Christopher Brock
See Also:
Serialized Form

Nested Class Summary
static class WithNode.ParmValuePair
           
 
Field Summary
 
Fields inherited from class org.mvel.ast.BlockNode
block
 
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
WithNode(char[] expr, char[] block, int fields)
           
 
Method Summary
 ExecutableStatement getNestedStatement()
           
 java.lang.Object getReducedValue(java.lang.Object ctx, java.lang.Object thisValue, VariableResolverFactory factory)
           
 java.lang.Object getReducedValueAccelerated(java.lang.Object ctx, java.lang.Object thisValue, VariableResolverFactory factory)
           
 WithNode.ParmValuePair[] getWithExpressions()
           
 
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
 

Constructor Detail

WithNode

public WithNode(char[] expr,
                char[] block,
                int fields)
Method Detail

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

getNestedStatement

public ExecutableStatement getNestedStatement()
Specified by:
getNestedStatement in interface NestedStatement

getWithExpressions

public WithNode.ParmValuePair[] getWithExpressions()