public class ASTIterator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected persistence.antlr.collections.AST |
cursor |
protected persistence.antlr.collections.AST |
original |
Constructor and Description |
---|
ASTIterator(persistence.antlr.collections.AST t) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSubtree(persistence.antlr.collections.AST t,
persistence.antlr.collections.AST sub)
Is 'sub' a subtree of 't' beginning at the root?
|
persistence.antlr.collections.AST |
next(persistence.antlr.collections.AST template)
Find the next subtree with structure and token types equal to
those of 'template'.
|
protected persistence.antlr.collections.AST cursor
protected persistence.antlr.collections.AST original
public boolean isSubtree(persistence.antlr.collections.AST t, persistence.antlr.collections.AST sub)
public persistence.antlr.collections.AST next(persistence.antlr.collections.AST template)