|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.Java.Located
org.codehaus.janino.Java.Atom
org.codehaus.janino.Java.Rvalue
org.codehaus.janino.Java.BooleanRvalue
org.codehaus.janino.Java.BinaryOperation
public static final class Java.BinaryOperation
Representation of all non-operand-modifying binary operations.
Operations with boolean result:
| Field Summary | |
|---|---|
Java.Rvalue |
lhs
The left hand side operand. |
String |
op
The operator; one of thos described in Java.BinaryOperation. |
Java.Rvalue |
rhs
The right hand side operand. |
| Fields inherited from class org.codehaus.janino.Java.Located |
|---|
NOWHERE |
| Constructor Summary | |
|---|---|
Java.BinaryOperation(Location location,
Java.Rvalue lhs,
String op,
Java.Rvalue rhs)
|
|
| Method Summary | |
|---|---|
void |
accept(Visitor.AtomVisitor visitor)
Invokes the ' visit...()' method of Visitor.AtomVisitor for the concrete Java.Atom type. |
void |
accept(Visitor.ElementValueVisitor visitor)
Invokes the ' visit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type. |
void |
accept(Visitor.RvalueVisitor visitor)
Invokes the ' visit...()' method of Visitor.RvalueVisitor for the concrete Java.Rvalue
type. |
String |
toString()
|
Iterator<Java.Rvalue> |
unrollLeftAssociation()
Returns an Iterator over a left-to-right sequence of Java.Rvalues. |
| Methods inherited from class org.codehaus.janino.Java.Rvalue |
|---|
getEnclosingBlockStatement, setEnclosingBlockStatement, toRvalue |
| Methods inherited from class org.codehaus.janino.Java.Atom |
|---|
toLvalue, toLvalueOrCompileException, toRvalueOrCompileException, 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.Locatable |
|---|
getLocation, throwCompileException |
| Field Detail |
|---|
public final Java.Rvalue lhs
public final String op
Java.BinaryOperation.
public final Java.Rvalue rhs
| Constructor Detail |
|---|
public Java.BinaryOperation(Location location,
Java.Rvalue lhs,
String op,
Java.Rvalue rhs)
| Method Detail |
|---|
public String toString()
toString in class Java.Atompublic Iterator<Java.Rvalue> unrollLeftAssociation()
Iterator over a left-to-right sequence of Java.Rvalues.
public void accept(Visitor.AtomVisitor visitor)
Java.Atomvisit...()' method of Visitor.AtomVisitor for the concrete Java.Atom type.
accept in class Java.Atompublic void accept(Visitor.RvalueVisitor visitor)
Java.Rvaluevisit...()' method of Visitor.RvalueVisitor for the concrete Java.Rvalue
type.
accept in class Java.Rvaluepublic void accept(Visitor.ElementValueVisitor visitor)
Java.ElementValuevisit...()' method of Visitor.ElementValueVisitor for the concrete Java.ElementValue type.
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||