org.codehaus.janino
Class Java.ExpressionStatement
java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.Statement
org.codehaus.janino.Java.ExpressionStatement
- All Implemented Interfaces:
- Java.BlockStatement, Java.Locatable, Java.Scope
- Enclosing class:
- Java
public static final class Java.ExpressionStatement
- extends Java.Statement
Representation of the JLS7 14.8 'expression statement'.
|
Field Summary |
Java.Rvalue |
rvalue
The rvalue that is evaluated when the statement is executed. |
rvalue
public final Java.Rvalue rvalue
- The rvalue that is evaluated when the statement is executed.
Java.ExpressionStatement
public Java.ExpressionStatement(Java.Rvalue rvalue)
throws CompileException
- Throws:
CompileException
toString
public String toString()
- Overrides:
toString in class Object
accept
public void accept(Visitor.BlockStatementVisitor visitor)
- Description copied from interface:
Java.BlockStatement
- Invokes the '
visit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.