public static final class Java.AssertStatement extends Java.Statement
| Modifier and Type | Field and Description |
|---|---|
Java.Rvalue |
expression1
The left-hand-side expression of this ASSERT statement.
|
Java.Rvalue |
optionalExpression2
The optional right-hand-side expression of this ASSERT statement.
|
localVariablesNOWHERE| Constructor and Description |
|---|
AssertStatement(Location location,
Java.Rvalue expression1,
Java.Rvalue optionalExpression2) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor.BlockStatementVisitor visitor)
Invokes the '
visit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
java.lang.String |
toString() |
findLocalVariable, getEnclosingScope, setEnclosingScopegetLocation, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocation, throwCompileExceptionpublic final Java.Rvalue expression1
public final Java.Rvalue optionalExpression2
public AssertStatement(Location location, Java.Rvalue expression1, Java.Rvalue optionalExpression2)
public java.lang.String toString()
toString in class java.lang.Objectpublic void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatementvisit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.