Groovy 2.2.1

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 Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, 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)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.