public class JsDoWhile extends JsStatement
Constructor and Description |
---|
JsDoWhile(SourceInfo sourceInfo) |
JsDoWhile(SourceInfo sourceInfo,
JsExpression condition,
JsStatement body) |
Modifier and Type | Method and Description |
---|---|
JsStatement |
getBody() |
JsExpression |
getCondition() |
NodeKind |
getKind() |
void |
setBody(JsStatement body) |
void |
setCondition(JsExpression condition) |
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
shouldRecordPosition, unconditionalControlBreak
getSourceInfo, setSourceInfo, toSource, toSource, toString
public JsDoWhile(SourceInfo sourceInfo)
public JsDoWhile(SourceInfo sourceInfo, JsExpression condition, JsStatement body)
public JsStatement getBody()
public JsExpression getCondition()
public void setBody(JsStatement body)
public void setCondition(JsExpression condition)
public void traverse(JsVisitor v, JsContext ctx)
JsVisitable
v
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.