public class JsWhile extends JsStatement
while
statement.Constructor and Description |
---|
JsWhile(SourceInfo sourceInfo) |
JsWhile(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.
|
unconditionalControlBreak
getSourceInfo, setSourceInfo, toSource, toSource, toString
public JsWhile(SourceInfo sourceInfo)
public JsWhile(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.