Package org.mvel2.util
Class ASTLinkedList
java.lang.Object
org.mvel2.util.ASTLinkedList
- All Implemented Interfaces:
Serializable,ASTIterator
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionASTLinkedList(ASTNode firstASTNode) ASTLinkedList(ASTNode firstASTNode, int size) ASTLinkedList(ASTIterator iter) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTokenNode(ASTNode astNode) voidaddTokenNode(ASTNode astNode, ASTNode token2) voidback()voidfinish()booleanintindex()booleannextNode()nodesAhead(int offset) nodesBack(int offset) peekLast()peekNext()peekNode()voidvoidreset()voidsetCurrentNode(ASTNode node) intsize()voidskipNode()
-
Constructor Details
-
ASTLinkedList
public ASTLinkedList() -
ASTLinkedList
-
ASTLinkedList
-
ASTLinkedList
-
-
Method Details
-
addTokenNode
- Specified by:
addTokenNodein interfaceASTIterator
-
addTokenNode
- Specified by:
addTokenNodein interfaceASTIterator
-
firstNode
- Specified by:
firstNodein interfaceASTIterator
-
isSingleNode
public boolean isSingleNode() -
firstNonSymbol
-
reset
public void reset()- Specified by:
resetin interfaceASTIterator
-
hasMoreNodes
public boolean hasMoreNodes()- Specified by:
hasMoreNodesin interfaceASTIterator
-
nextNode
- Specified by:
nextNodein interfaceASTIterator
-
skipNode
public void skipNode()- Specified by:
skipNodein interfaceASTIterator
-
peekNext
- Specified by:
peekNextin interfaceASTIterator
-
peekNode
- Specified by:
peekNodein interfaceASTIterator
-
removeToken
public void removeToken() -
peekLast
- Specified by:
peekLastin interfaceASTIterator
-
nodesBack
- Specified by:
nodesBackin interfaceASTIterator
-
nodesAhead
- Specified by:
nodesAheadin interfaceASTIterator
-
back
public void back()- Specified by:
backin interfaceASTIterator
-
showNodeChain
- Specified by:
showNodeChainin interfaceASTIterator
-
size
public int size()- Specified by:
sizein interfaceASTIterator
-
index
public int index()- Specified by:
indexin interfaceASTIterator
-
setCurrentNode
-
finish
public void finish()- Specified by:
finishin interfaceASTIterator
-