|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.ast.CodeVisitorSupport org.codehaus.groovy.ast.ClassCodeVisitorSupport org.codehaus.groovy.ast.ClassCodeExpressionTransformer
public abstract class ClassCodeExpressionTransformer extends ClassCodeVisitorSupport
Visitor to transform expressions in a whole class. Transformed Expressions are usually not visited.
Method Summary | |
---|---|
Expression
|
transform(Expression exp)
|
void
|
visitAnnotations(AnnotatedNode node)
|
void
|
visitAssertStatement(AssertStatement as)
|
void
|
visitCaseStatement(CaseStatement statement)
|
protected void
|
visitConstructorOrMethod(MethodNode node, boolean isConstructor)
|
void
|
visitDoWhileLoop(DoWhileStatement loop)
|
void
|
visitExpressionStatement(ExpressionStatement es)
|
void
|
visitField(FieldNode node)
|
void
|
visitForLoop(ForStatement forLoop)
|
void
|
visitIfElse(IfStatement ifElse)
|
void
|
visitProperty(PropertyNode node)
|
void
|
visitReturnStatement(ReturnStatement statement)
|
void
|
visitSwitch(SwitchStatement statement)
|
void
|
visitSynchronizedStatement(SynchronizedStatement sync)
|
void
|
visitThrowStatement(ThrowStatement ts)
|
void
|
visitWhileLoop(WhileStatement loop)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail |
---|
public Expression transform(Expression exp)
public void visitAnnotations(AnnotatedNode node)
public void visitAssertStatement(AssertStatement as)
public void visitCaseStatement(CaseStatement statement)
protected void visitConstructorOrMethod(MethodNode node, boolean isConstructor)
public void visitDoWhileLoop(DoWhileStatement loop)
public void visitExpressionStatement(ExpressionStatement es)
public void visitField(FieldNode node)
public void visitForLoop(ForStatement forLoop)
public void visitIfElse(IfStatement ifElse)
public void visitProperty(PropertyNode node)
public void visitReturnStatement(ReturnStatement statement)
public void visitSwitch(SwitchStatement statement)
public void visitSynchronizedStatement(SynchronizedStatement sync)
public void visitThrowStatement(ThrowStatement ts)
public void visitWhileLoop(WhileStatement loop)
Copyright © 2003-2013 The Codehaus. All rights reserved.