antlr
Class ASTIterator
java.lang.Object
|
+--antlr.ASTIterator
- public class ASTIterator
- extends Object
Untamed:
Method Summary |
boolean |
isSubtree(AST t,
AST sub)
Enabled: Is 'sub' a subtree of 't' beginning at the root? |
AST |
next(AST template)
Enabled: 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 |
cursor
protected AST cursor
original
protected AST original
ASTIterator
public ASTIterator(AST t)
- Enabled:
isSubtree
public boolean isSubtree(AST t,
AST sub)
- Enabled: Is 'sub' a subtree of 't' beginning at the root?
next
public AST next(AST template)
- Enabled: Find the next subtree with structure and token types equal to
those of 'template'.
comments?