public class JsSwitch extends JsStatement
Constructor and Description |
---|
JsSwitch(SourceInfo sourceInfo) |
Modifier and Type | Method and Description |
---|---|
List<JsSwitchMember> |
getCases() |
JsExpression |
getExpr() |
NodeKind |
getKind() |
void |
setExpr(JsExpression expr) |
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 JsSwitch(SourceInfo sourceInfo)
public List<JsSwitchMember> getCases()
public JsExpression getExpr()
public void setExpr(JsExpression expr)
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.