Groovy Documentation

org.codehaus.groovy.classgen
[Java] Class BytecodeExpression

java.lang.Object
  org.codehaus.groovy.ast.ASTNode
      org.codehaus.groovy.ast.AnnotatedNode
          org.codehaus.groovy.ast.expr.Expression
              org.codehaus.groovy.classgen.BytecodeExpression

public abstract class BytecodeExpression
extends Expression

Represents some custom bytecode generation by the compiler

Authors:
James Strachan
Version:
\$Revision\$


Field Summary
static BytecodeExpression NOP

 
Constructor Summary
BytecodeExpression()

BytecodeExpression(ClassNode type)

 
Method Summary
Expression transformExpression(ExpressionTransformer transformer)

void visit(GroovyCodeVisitor visitor)

void visit(org.objectweb.asm.MethodVisitor mv)

 
Methods inherited from class Expression
getType, setType, transformExpression, transformExpressions, transformExpressions
 
Methods inherited from class AnnotatedNode
addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic
 
Methods inherited from class ASTNode
copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getText, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition, visit
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

NOP

public static final BytecodeExpression NOP


 
Constructor Detail

BytecodeExpression

public BytecodeExpression()


BytecodeExpression

public BytecodeExpression(ClassNode type)


 
Method Detail

transformExpression

public Expression transformExpression(ExpressionTransformer transformer)


visit

public void visit(GroovyCodeVisitor visitor)


visit

public void visit(org.objectweb.asm.MethodVisitor mv)


 

Groovy Documentation