org.mvel2.util
Class ASTLinkedList
java.lang.Object
org.mvel2.util.ASTLinkedList
- All Implemented Interfaces:
- Serializable, ASTIterator
public class ASTLinkedList
- extends Object
- implements ASTIterator
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTLinkedList
public ASTLinkedList()
ASTLinkedList
public ASTLinkedList(ASTIterator iter)
ASTLinkedList
public ASTLinkedList(ASTNode firstASTNode)
ASTLinkedList
public ASTLinkedList(ASTNode firstASTNode,
int size)
addTokenNode
public void addTokenNode(ASTNode astNode)
- Specified by:
addTokenNode
in interface ASTIterator
addTokenNode
public void addTokenNode(ASTNode astNode,
ASTNode token2)
- Specified by:
addTokenNode
in interface ASTIterator
firstNode
public ASTNode firstNode()
- Specified by:
firstNode
in interface ASTIterator
isSingleNode
public boolean isSingleNode()
firstNonSymbol
public ASTNode firstNonSymbol()
reset
public void reset()
- Specified by:
reset
in interface ASTIterator
hasMoreNodes
public boolean hasMoreNodes()
- Specified by:
hasMoreNodes
in interface ASTIterator
nextNode
public ASTNode nextNode()
- Specified by:
nextNode
in interface ASTIterator
skipNode
public void skipNode()
- Specified by:
skipNode
in interface ASTIterator
peekNext
public ASTNode peekNext()
- Specified by:
peekNext
in interface ASTIterator
peekNode
public ASTNode peekNode()
- Specified by:
peekNode
in interface ASTIterator
removeToken
public void removeToken()
peekLast
public ASTNode peekLast()
- Specified by:
peekLast
in interface ASTIterator
nodesBack
public ASTNode nodesBack(int offset)
- Specified by:
nodesBack
in interface ASTIterator
nodesAhead
public ASTNode nodesAhead(int offset)
- Specified by:
nodesAhead
in interface ASTIterator
back
public void back()
- Specified by:
back
in interface ASTIterator
showNodeChain
public String showNodeChain()
- Specified by:
showNodeChain
in interface ASTIterator
size
public int size()
- Specified by:
size
in interface ASTIterator
index
public int index()
- Specified by:
index
in interface ASTIterator
setCurrentNode
public void setCurrentNode(ASTNode node)
finish
public void finish()
- Specified by:
finish
in interface ASTIterator
Copyright © 2011. All Rights Reserved.