public class JsForIn extends JsStatement
Constructor and Description |
---|
JsForIn(SourceInfo sourceInfo) |
JsForIn(SourceInfo sourceInfo,
JsName iterVarName) |
Modifier and Type | Method and Description |
---|---|
JsStatement |
getBody() |
JsExpression |
getIterExpr() |
JsName |
getIterVarName() |
NodeKind |
getKind() |
JsExpression |
getObjExpr() |
void |
setBody(JsStatement body) |
void |
setIterExpr(JsExpression iterExpr) |
void |
setObjExpr(JsExpression objExpr) |
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 JsForIn(SourceInfo sourceInfo)
public JsForIn(SourceInfo sourceInfo, JsName iterVarName)
public JsStatement getBody()
public JsExpression getIterExpr()
public JsName getIterVarName()
public JsExpression getObjExpr()
public void setBody(JsStatement body)
public void setIterExpr(JsExpression iterExpr)
public void setObjExpr(JsExpression objExpr)
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.