public final class AssertStmt extends Statement
Constructor and Description |
---|
AssertStmt() |
AssertStmt(Expression check) |
AssertStmt(Expression check,
Expression msg) |
AssertStmt(int beginLine,
int beginColumn,
int endLine,
int endColumn,
Expression check,
Expression msg) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
Expression |
getCheck() |
Expression |
getMessage() |
void |
setCheck(Expression check) |
void |
setMessage(Expression msg) |
equals, getBeginColumn, getBeginLine, getData, getEndColumn, getEndLine, hashCode, setBeginColumn, setBeginLine, setData, setEndColumn, setEndLine, toString
public AssertStmt()
public AssertStmt(Expression check)
public AssertStmt(Expression check, Expression msg)
public AssertStmt(int beginLine, int beginColumn, int endLine, int endColumn, Expression check, Expression msg)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public Expression getCheck()
public Expression getMessage()
public void setCheck(Expression check)
public void setMessage(Expression msg)