Package org.mvel2.util
Interface ASTIterator
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ASTLinkedList
The ASTIterator interface defines the functionality required by the enginer, for compiletime and runtime
operations. Unlike other script implementations, MVEL does not use a completely normalized AST tree for
it's execution. Instead, nodes are organized into a linear order and delivered via this iterator interface,
much like bytecode instructions.
-
Method Summary
-
Method Details
-
reset
void reset() -
nextNode
ASTNode nextNode() -
skipNode
void skipNode() -
peekNext
ASTNode peekNext() -
peekNode
ASTNode peekNode() -
peekLast
ASTNode peekLast() -
back
void back() -
nodesBack
-
nodesAhead
-
hasMoreNodes
boolean hasMoreNodes() -
showNodeChain
String showNodeChain() -
firstNode
ASTNode firstNode() -
size
int size() -
index
int index() -
finish
void finish() -
addTokenNode
-
addTokenNode
-