|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.ast.ASTNode
org.codehaus.groovy.ast.AnnotatedNode
org.codehaus.groovy.ast.expr.Expression
org.codehaus.groovy.classgen.BytecodeExpression
public abstract class BytecodeExpression
Represents some custom bytecode generation by the compiler
Field Summary | |
---|---|
static BytecodeExpression |
NOP
|
Constructor Summary | |
---|---|
BytecodeExpression()
|
Method Summary | |
---|---|
Expression |
transformExpression(ExpressionTransformer transformer)
Return a copy of the expression calling the transformer on any nested expressions |
void |
visit(GroovyCodeVisitor visitor)
|
abstract void |
visit(org.objectweb.asm.MethodVisitor mv)
|
Methods inherited from class org.codehaus.groovy.ast.expr.Expression |
---|
getType, setType, transformExpressions, transformExpressions |
Methods inherited from class org.codehaus.groovy.ast.AnnotatedNode |
---|
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
Methods inherited from class org.codehaus.groovy.ast.ASTNode |
---|
getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getText, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setSourcePosition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static BytecodeExpression NOP
Constructor Detail |
---|
public BytecodeExpression()
Method Detail |
---|
public void visit(GroovyCodeVisitor visitor)
visit
in class ASTNode
public abstract void visit(org.objectweb.asm.MethodVisitor mv)
public Expression transformExpression(ExpressionTransformer transformer)
Expression
transformExpression
in class Expression
|
Copyright © 2003-2010 The Codehaus. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |