do { ... } while ( a==0 );
| Modifier and Type | Field and Description |
|---|---|
| private Statement | |
| private Expression |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | DoStmt(TokenRange tokenRange, Statement body, Expression condition)
This constructor is used by the parser and is considered private. |
| Modifier and Type | Method and Description |
|---|---|
| public <R, A> R | accept(final GenericVisitor<R, A>
the visitor implementation v, final A the argument passed to the visitor (of type A) arg)Implements com. |
| public <A> void | accept(final VoidVisitor<A>
the visitor implementation v, final A any value relevant for the visitor (of type A) arg)Implements com. |
| public DoStmt | |
| public DoStmt | clone()
Creates and returns a copy of this object.
|
| public Statement | |
| public Expression | |
| public DoStmtMetaModel | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public DoStmt | |
| public DoStmt | setCondition(final Expression condition)
Implements com. |
| public Optional |
| body | back to summary |
|---|---|
| private Statement body | |
| condition | back to summary |
|---|---|
| private Expression condition | |
| DoStmt | back to summary |
|---|---|
| public DoStmt() | |
| DoStmt | back to summary |
|---|---|
public DoStmt(final Statement body, final Expression condition)
| |
| DoStmt | back to summary |
|---|---|
| public DoStmt(TokenRange tokenRange, Statement body, Expression condition) This constructor is used by the parser and is considered private.
| |
| accept | back to summary |
|---|---|
| public <R, A> R accept(final GenericVisitor<R, A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| accept | back to summary |
|---|---|
| public <A> void accept(final VoidVisitor<A> v, final A arg) Implements com. Doc from com. Accept method for visitor support.
| |
| asDoStmt | back to summary |
|---|---|
| public DoStmt asDoStmt() Overrides com.
| |
| clone | back to summary |
|---|---|
| public DoStmt clone() Overrides com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| getBody | back to summary |
|---|---|
| public Statement getBody() Implements com.
| |
| getCondition | back to summary |
|---|---|
| public Expression getCondition() Implements com.
| |
| getMetaModel | back to summary |
|---|---|
| public DoStmtMetaModel getMetaModel() Overrides com.
| |
| ifDoStmt | back to summary |
|---|---|
| public void ifDoStmt(Consumer<DoStmt> action) Overrides com.
| |
| isDoStmt | back to summary |
|---|---|
| public boolean isDoStmt() Overrides com.
| |
| remove | back to summary |
|---|---|
| public boolean remove(Node node) Overrides com.
| |
| replace | back to summary |
|---|---|
| public boolean replace(Node node, Node replacementNode) Overrides com.
| |
| setBody | back to summary |
|---|---|
| public DoStmt setBody(final Statement body) Implements com.
| |
| setCondition | back to summary |
|---|---|
| public DoStmt setCondition(final Expression condition) Implements com.
| |
| toDoStmt | back to summary |
|---|---|
| public Optional Overrides com.
| |