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.
|
AssertStmt |
clone() |
Expression |
getCheck() |
List<Node> |
getChildren() |
Expression |
getMessage() |
boolean |
removeChild(Node child) |
boolean |
replaceChildNode(Node oldChild,
Node newChild) |
void |
setCheck(Expression check) |
void |
setMessage(Expression msg) |
getSymbolData, setSymbolDatacheck, clone, clone, contains, diableConstraints, enableConstraints, equals, getBeginColumn, getBeginLine, getCommonAncestor, getConstraints, getData, getEndColumn, getEndLine, getParentNode, getPrettySource, getPrettySource, hashCode, isAncestorOf, isInEqualLocation, isNewNode, isPreviousThan, remove, replaceChildNodeInList, setAsParentNodeOf, setAsParentNodeOf, setBeginColumn, setBeginLine, setConstraints, setData, setEndColumn, setEndLine, toString, updateReferencespublic 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 boolean removeChild(Node child)
removeChild in class Nodepublic List<Node> getChildren()
getChildren in class Statementpublic <R,A> R accept(GenericVisitor<R,A> v, A arg)
Nodepublic <A> void accept(VoidVisitor<A> v, A arg)
Nodepublic Expression getCheck()
public Expression getMessage()
public void setCheck(Expression check)
public void setMessage(Expression msg)
public boolean replaceChildNode(Node oldChild, Node newChild)
replaceChildNode in class Nodepublic AssertStmt clone() throws CloneNotSupportedException
clone in class StatementCloneNotSupportedExceptionCopyright © 2018. All rights reserved.