public final class JsCase extends JsSwitchMember
stmts
Constructor and Description |
---|
JsCase(SourceInfo sourceInfo) |
Modifier and Type | Method and Description |
---|---|
JsExpression |
getCaseExpr() |
NodeKind |
getKind() |
void |
setCaseExpr(JsExpression caseExpr) |
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
getStmts
getSourceInfo, setSourceInfo, toSource, toSource, toString
public JsCase(SourceInfo sourceInfo)
public JsExpression getCaseExpr()
public void setCaseExpr(JsExpression caseExpr)
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.