|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--antlr.ASTIterator
Field Summary | |
protected AST |
cursor
|
protected AST |
original
|
Constructor Summary | |
ASTIterator(AST t)
|
Method Summary | |
boolean |
isSubtree(AST t,
AST sub)
Is 'sub' a subtree of 't' beginning at the root? |
AST |
next(AST template)
Find the next subtree with structure and token types equal to those of 'template'. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected AST cursor
protected AST original
Constructor Detail |
public ASTIterator(AST t)
Method Detail |
public boolean isSubtree(AST t, AST sub)
public AST next(AST template)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |