public class ASTLinkedList extends Object implements ASTIterator
| Constructor and Description |
|---|
ASTLinkedList() |
ASTLinkedList(ASTIterator iter) |
ASTLinkedList(ASTNode firstASTNode) |
ASTLinkedList(ASTNode firstASTNode,
int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTokenNode(ASTNode astNode) |
void |
addTokenNode(ASTNode astNode,
ASTNode token2) |
void |
back() |
void |
finish() |
ASTNode |
firstNode() |
ASTNode |
firstNonSymbol() |
boolean |
hasMoreNodes() |
int |
index() |
boolean |
isSingleNode() |
ASTNode |
nextNode() |
ASTNode |
nodesAhead(int offset) |
ASTNode |
nodesBack(int offset) |
ASTNode |
peekLast() |
ASTNode |
peekNext() |
ASTNode |
peekNode() |
void |
removeToken() |
void |
reset() |
void |
setCurrentNode(ASTNode node) |
String |
showNodeChain() |
int |
size() |
void |
skipNode() |
public ASTLinkedList()
public ASTLinkedList(ASTIterator iter)
public ASTLinkedList(ASTNode firstASTNode)
public ASTLinkedList(ASTNode firstASTNode, int size)
public void addTokenNode(ASTNode astNode)
addTokenNode in interface ASTIteratorpublic void addTokenNode(ASTNode astNode, ASTNode token2)
addTokenNode in interface ASTIteratorpublic ASTNode firstNode()
firstNode in interface ASTIteratorpublic boolean isSingleNode()
public ASTNode firstNonSymbol()
public void reset()
reset in interface ASTIteratorpublic boolean hasMoreNodes()
hasMoreNodes in interface ASTIteratorpublic ASTNode nextNode()
nextNode in interface ASTIteratorpublic void skipNode()
skipNode in interface ASTIteratorpublic ASTNode peekNext()
peekNext in interface ASTIteratorpublic ASTNode peekNode()
peekNode in interface ASTIteratorpublic void removeToken()
public ASTNode peekLast()
peekLast in interface ASTIteratorpublic ASTNode nodesBack(int offset)
nodesBack in interface ASTIteratorpublic ASTNode nodesAhead(int offset)
nodesAhead in interface ASTIteratorpublic void back()
back in interface ASTIteratorpublic String showNodeChain()
showNodeChain in interface ASTIteratorpublic int size()
size in interface ASTIteratorpublic int index()
index in interface ASTIteratorpublic void setCurrentNode(ASTNode node)
public void finish()
finish in interface ASTIteratorCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.