public class TreeContext extends Object
| Modifier and Type | Method and Description | 
|---|---|
void | 
afterVisit(Closure<?> action)  | 
void | 
afterVisit(TreeContextAction action)  | 
TreeContext | 
fork(ASTNode node)  | 
ASTNode | 
getNode()  | 
List<TreeContextAction> | 
getOnPopHandlers()  | 
TreeContext | 
getParent()  | 
Expression | 
getReplacement()  | 
List<TreeContext> | 
getSiblings()  | 
Map<?,List<?>> | 
getUserdata()  | 
List<?> | 
getUserdata(Object key)  | 
List<?> | 
getUserdata(Object key,
           boolean searchParent)  | 
boolean | 
matches(ASTNodePredicate predicate)  | 
boolean | 
matches(Closure<Boolean> predicate)  | 
void | 
putUserdata(Object key,
           Object value)  | 
void | 
setReplacement(Expression replacement)  | 
String | 
toString()  | 
public TreeContext getParent()
public ASTNode getNode()
public TreeContext fork(ASTNode node)
public boolean matches(ASTNodePredicate predicate)
public boolean matches(@DelegatesTo(value=ASTNode.class,strategy=1) Closure<Boolean> predicate)
public List<TreeContext> getSiblings()
public List<TreeContextAction> getOnPopHandlers()
public void afterVisit(TreeContextAction action)
public void afterVisit(@DelegatesTo(value=TreeContext.class,strategy=1) Closure<?> action)
public void setReplacement(Expression replacement)
public Expression getReplacement()