
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.
|
unconditionalControlBreakgetSourceInfo, setSourceInfo, toSource, toSource, toStringpublic JsLabel(SourceInfo sourceInfo, JsName label)
public JsStatement getStmt()
public void setStmt(JsStatement stmt)
public void traverse(JsVisitor v, JsContext ctx)
JsVisitabletraverse in interface JsVisitablev - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.