Class TreeContext
java.lang.Object
org.codehaus.groovy.macro.matcher.TreeContext
public class TreeContext extends Object
-
Method Summary
Modifier and Type Method 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(Closure<Boolean> predicate)
boolean
matches(ASTNodePredicate predicate)
void
putUserdata(Object key, Object value)
void
setReplacement(Expression replacement)
String
toString()