Package org.mvel2.ast
Class BlockNode
- java.lang.Object
-
- org.mvel2.ast.ASTNode
-
- org.mvel2.ast.BlockNode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
- Direct Known Subclasses:
DoNode
,DoUntilNode
,ForEachNode
,ForNode
,IfNode
,Stacklang
,UntilNode
,WhileNode
,WithNode
public class BlockNode extends ASTNode
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
blockOffset
protected int
blockStart
protected ExecutableStatement
compiledBlock
-
Fields inherited from class org.mvel2.ast.ASTNode
accessor, ARRAY_TYPE_LITERAL, ASSIGN, BLOCK_DO, BLOCK_DO_UNTIL, BLOCK_FOR, BLOCK_FOREACH, BLOCK_IF, BLOCK_UNTIL, BLOCK_WHILE, BLOCK_WITH, COLLECTION, COMPILE_IMMEDIATE, cursorPosition, DEEP_PROPERTY, DEFERRED_TYPE_RES, DEOP, DISCARD, egressType, endOfName, expr, fields, firstUnion, FQCN, IDENTIFIER, INLINE_COLLECTION, INVERT, literal, LITERAL, nameCache, nextASTNode, NOJIT, NUMERIC, offset, OPERATOR, OPT_SUBTR, pCtx, PCTX_STORED, safeAccessor, STACKLANG, start, STRONG_TYPING, THISREF
-
-
Constructor Summary
Constructors Constructor Description BlockNode(ParserContext pCtx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBlockOffset()
int
getBlockStart()
ExecutableStatement
getCompiledBlock()
-
Methods inherited from class org.mvel2.ast.ASTNode
canSerializeAccessor, discard, getAbsoluteName, getAbsoluteRootElement, getAccessor, getClassLoader, getCursorPosition, getEgressType, getExpr, getFields, getLiteralValue, getName, getNameAsArray, getOffset, getOperator, getReducedValue, getReducedValueAccelerated, getStart, isAssignment, isCollection, isDebuggingSymbol, isDeepProperty, isDiscard, isFQCN, isIdentifier, isLiteral, isOperator, isOperator, isThisVal, setAccessor, setAsFQCNReference, setAsLiteral, setCursorPosition, setEgressType, setLiteralValue, setName, storeInLiteralRegister, storePctx, strongTyping, toString
-
-
-
-
Field Detail
-
blockStart
protected int blockStart
-
blockOffset
protected int blockOffset
-
compiledBlock
protected ExecutableStatement compiledBlock
-
-
Constructor Detail
-
BlockNode
public BlockNode(ParserContext pCtx)
-
-
Method Detail
-
getCompiledBlock
public ExecutableStatement getCompiledBlock()
-
getBlockStart
public int getBlockStart()
-
getBlockOffset
public int getBlockOffset()
-
-