Java.BlockStatement
, Java.Locatable
, Java.Scope
public 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.
|
NOWHERE
localVariables
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, throwCompileException
getLocation, throwCompileException
findLocalVariable, getEnclosingScope, setEnclosingScope
public 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.BlockStatement
visit...()
' method of Visitor.BlockStatementVisitor
for the concrete
Java.BlockStatement
type.Copyright © 2001–2019. All rights reserved.