public class JsLabel extends JsStatement implements HasName
Constructor and Description |
---|
JsLabel(SourceInfo sourceInfo,
JsName label) |
Modifier and Type | Method and Description |
---|---|
NodeKind |
getKind() |
JsName |
getName() |
JsStatement |
getStmt() |
void |
setStmt(JsStatement stmt) |
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 JsLabel(SourceInfo sourceInfo, JsName label)
public JsStatement getStmt()
public void setStmt(JsStatement stmt)
public void traverse(JsVisitor v, JsContext ctx)
JsVisitable
traverse
in interface JsVisitable
v
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.