Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)
|
ASTIterator
antlr
Class ASTIterator
java.lang.Object
antlr.ASTIterator
- public class ASTIterator
- extends java.lang.Object
|
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 |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ASTIterator
public ASTIterator(AST t)
isSubtree
public boolean isSubtree(AST t,
AST sub)
- Is 'sub' a subtree of 't' beginning at the root?
next
public AST next(AST template)
- Find the next subtree with structure and token types equal to
those of 'template'.
|