public class ASTIterator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected AST |
cursor |
protected AST |
original |
Constructor and Description |
---|
ASTIterator(AST t) |
Modifier and Type | Method and Description |
---|---|
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'.
|
public ASTIterator(AST t)