org.codehaus.janino
Class Java.Lvalue

java.lang.Object
  extended by org.codehaus.janino.Java.Located
      extended by org.codehaus.janino.Java.Atom
          extended by org.codehaus.janino.Java.Rvalue
              extended by org.codehaus.janino.Java.Lvalue
All Implemented Interfaces:
Java.ArrayInitializerOrRvalue, Java.Locatable
Direct Known Subclasses:
Java.AmbiguousName, Java.ArrayAccessExpression, Java.FieldAccess, Java.FieldAccessExpression, Java.LocalVariableAccess, Java.ParenthesizedExpression, Java.SuperclassFieldAccessExpression
Enclosing class:
Java

public abstract static class Java.Lvalue
extends Java.Rvalue

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


Field Summary
 
Fields inherited from class org.codehaus.janino.Java.Rvalue
CONSTANT_VALUE_NULL, JUMP_IF_FALSE, JUMP_IF_TRUE
 
Fields inherited from class org.codehaus.janino.Java.Located
NOWHERE
 
Constructor Summary
protected Java.Lvalue(Location location)
           
 
Method Summary
abstract  void accept(Visitor.LvalueVisitor lvv)
           
 Java.Lvalue toLvalue()
           
 
Methods inherited from class org.codehaus.janino.Java.Rvalue
accept, getEnclosingBlockStatement, setEnclosingBlockStatement, toRvalue
 
Methods inherited from class org.codehaus.janino.Java.Atom
accept, 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
 

Constructor Detail

Java.Lvalue

protected Java.Lvalue(Location location)
Method Detail

toLvalue

public Java.Lvalue toLvalue()
Overrides:
toLvalue in class Java.Atom

accept

public abstract void accept(Visitor.LvalueVisitor lvv)


Copyright © 2001-2012. All Rights Reserved.