Java.ArrayInitializerOrRvalue, Java.ElementValue, Java.Locatablepublic static final class Java.Assignment extends Java.Rvalue
| Modifier and Type | Field | Description |
|---|---|---|
Java.Lvalue |
lhs |
The lvalue to assign to.
|
String |
operator |
The assignment operator; either the 'simple assignment operator ('=', JLS7 15.26.1) or one of the 'compound
assignment operators (JLS7 15.26.2).
|
Java.Rvalue |
rhs |
The rvalue that is assigned.
|
NOWHERE| Constructor | Description |
|---|---|
Assignment(Location location,
Java.Lvalue lhs,
String operator,
Java.Rvalue rhs) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor.AtomVisitor visitor) |
|
void |
accept(Visitor.ElementValueVisitor visitor) |
Invokes the '
visit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
void |
accept(Visitor.RvalueVisitor visitor) |
|
String |
toString() |
toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, toType, toTypeOrCompileExceptiongetLocation, throwCompileExceptiongetLocation, throwCompileExceptiongetEnclosingBlockStatement, setEnclosingBlockStatement, toRvaluepublic final Java.Lvalue lhs
public final String operator
public final Java.Rvalue rhs
public Assignment(Location location, Java.Lvalue lhs, String operator, Java.Rvalue rhs)
public void accept(Visitor.AtomVisitor visitor)
Java.Atompublic void accept(Visitor.RvalueVisitor visitor)
Java.Rvalueaccept in class Java.Rvaluepublic void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValuevisit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.Copyright © 2001–2019. All rights reserved.