public final class JsBreak extends JsStatement
Constructor and Description |
---|
JsBreak(SourceInfo sourceInfo) |
JsBreak(SourceInfo sourceInfo,
JsNameRef label) |
Modifier and Type | Method and Description |
---|---|
NodeKind |
getKind() |
JsNameRef |
getLabel() |
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
boolean |
unconditionalControlBreak()
Returns true if this statement definitely causes an abrupt change in flow control.
|
shouldRecordPosition
getSourceInfo, setSourceInfo, toSource, toSource, toString
public JsBreak(SourceInfo sourceInfo)
public JsBreak(SourceInfo sourceInfo, JsNameRef label)
public JsNameRef getLabel()
public void traverse(JsVisitor v, JsContext ctx)
JsVisitable
v
- the visitor that should traverse this nodectx
- the context of an existing traversalpublic boolean unconditionalControlBreak()
JsStatement
unconditionalControlBreak
in class JsStatement
Copyright © 2018. All rights reserved.