org.codehaus.janino
Class Java.Rvalue

java.lang.Object
  extended by org.codehaus.janino.Java.Located
      extended by org.codehaus.janino.Java.Atom
          extended by org.codehaus.janino.Java.Rvalue
All Implemented Interfaces:
Java.ArrayInitializerOrRvalue, Java.Locatable
Direct Known Subclasses:
Java.ArrayLength, Java.Assignment, Java.BooleanRvalue, Java.Cast, Java.ClassLiteral, Java.ConditionalExpression, Java.Crement, Java.Instanceof, Java.Invocation, Java.Literal, Java.Lvalue, Java.NewAnonymousClassInstance, Java.NewArray, Java.NewClassInstance, Java.NewInitializedArray, Java.ParameterAccess, Java.QualifiedThisReference, Java.ThisReference
Enclosing class:
Java

public abstract static class Java.Rvalue
extends Java.Atom
implements Java.ArrayInitializerOrRvalue

Representation of an "rvalue", i.e. an expression that has a type and a value, but cannot be assigned to: An expression that can be the right-hand-side of an assignment.


Field Summary
static java.lang.Object CONSTANT_VALUE_NULL
           
static boolean JUMP_IF_FALSE
           
static boolean JUMP_IF_TRUE
           
 
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
 
Constructor Summary
protected Java.Rvalue(Location location)
           
 
Method Summary
abstract  void accept(Visitor.RvalueVisitor rvv)
           
 Java.BlockStatement getEnclosingBlockStatement()
           
 void setEnclosingBlockStatement(Java.BlockStatement enclosingBlockStatement)
          Sets enclosing block statement for this object and all subordinate Java.Rvalue objects.
 Java.Rvalue toRvalue()
           
 
Methods inherited from class org.codehaus.janino.Java.Atom
accept, toLvalue, toLvalueOrPE, toRvalueOrPE, toString, toType, toTypeOrPE
 
Methods inherited from class org.codehaus.janino.Java.Located
getLocation, throwCompileException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CONSTANT_VALUE_NULL

public static final java.lang.Object CONSTANT_VALUE_NULL

JUMP_IF_TRUE

public static final boolean JUMP_IF_TRUE
See Also:
Constant Field Values

JUMP_IF_FALSE

public static final boolean JUMP_IF_FALSE
See Also:
Constant Field Values
Constructor Detail

Java.Rvalue

protected Java.Rvalue(Location location)
Method Detail

setEnclosingBlockStatement

public final void setEnclosingBlockStatement(Java.BlockStatement enclosingBlockStatement)
Sets enclosing block statement for this object and all subordinate Java.Rvalue objects.


getEnclosingBlockStatement

public Java.BlockStatement getEnclosingBlockStatement()

toRvalue

public Java.Rvalue toRvalue()
Overrides:
toRvalue in class Java.Atom

accept

public abstract void accept(Visitor.RvalueVisitor rvv)


Copyright © 2001-2012. All Rights Reserved.