Java.BlockStatement, Java.Locatable, Java.Scopepublic static final class Java.AssertStatement extends Java.Statement
| Modifier and Type | Field | 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.
|
NOWHERElocalVariables| Constructor | Description |
|---|---|
AssertStatement(Location location,
Java.Rvalue expression1,
Java.Rvalue optionalExpression2) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
accept(Visitor.BlockStatementVisitor visitor) |
Invokes the '
visit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type. |
String |
toString() |
getLocation, throwCompileExceptiongetLocation, throwCompileExceptionfindLocalVariable, getEnclosingScope, setEnclosingScopepublic final Java.Rvalue expression1
public final Java.Rvalue optionalExpression2
public AssertStatement(Location location, Java.Rvalue expression1, Java.Rvalue optionalExpression2)
public void accept(Visitor.BlockStatementVisitor visitor)
Java.BlockStatementvisit...()' method of Visitor.BlockStatementVisitor for the concrete
Java.BlockStatement type.Copyright © 2001–2019. All rights reserved.