ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION
Constructor and Description |
---|
AssertStmt() |
AssertStmt(Expression check) |
AssertStmt(Expression check,
Expression msg) |
AssertStmt(Range range,
Expression check,
Optional<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() |
Optional<Expression> |
getMessage() |
AssertStmt |
setCheck(Expression check) |
AssertStmt |
setMessage(Optional<Expression> msg) |
addOrphanComment, clone, containsWithin, equals, getAllContainedComments, getBackwardsCompatibleChildrenNodes, getBegin, getChildrenNodes, getComment, getEnd, getNodesByType, getOrphanComments, getParentNode, getParentNodeOfType, getRange, getUserData, hashCode, isPositionedAfter, isPositionedBefore, remove, setAsParentNodeOf, setAsParentNodeOf, setAsParentNodeOf, setBegin, setBlockComment, setComment, setEnd, setLineComment, setParentNode, setRange, setUserData, toString, toStringWithoutComments, tryAddImportToParentCompilationUnit
public AssertStmt()
public AssertStmt(Expression check)
public AssertStmt(Expression check, Expression msg)
public AssertStmt(Range range, Expression check, Optional<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 Optional<Expression> getMessage()
public AssertStmt setCheck(Expression check)
public AssertStmt setMessage(Optional<Expression> msg)
Copyright © 2007–2016. All rights reserved.