Package org.codehaus.janino
Class Java.Lvalue
- java.lang.Object
-
- org.codehaus.janino.Java.Located
-
- org.codehaus.janino.Java.Atom
-
- org.codehaus.janino.Java.Rvalue
-
- org.codehaus.janino.Java.Lvalue
-
- All Implemented Interfaces:
Java.ArrayInitializerOrRvalue
,Java.ElementValue
,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.Located
NOWHERE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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, toLvalueOrCompileException, toRvalueOrCompileException, toString, toType, toTypeOrCompileException
-
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
-
Methods inherited from interface org.codehaus.janino.Java.ElementValue
accept
-
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileException
-
-
-
-
Constructor Detail
-
Lvalue
protected Lvalue(Location location)
-
-
Method Detail
-
toLvalue
public Java.Lvalue toLvalue()
- Overrides:
toLvalue
in classJava.Atom
- Returns:
- This atom, converted to
Java.Lvalue
, ornull
if this atom is not an lvalue
-
accept
public abstract void accept(Visitor.LvalueVisitor lvv)
-
-