public class JsBlock extends JsStatement
Constructor and Description |
---|
JsBlock(SourceInfo sourceInfo) |
Modifier and Type | Method and Description |
---|---|
NodeKind |
getKind() |
List<JsStatement> |
getStatements() |
boolean |
isGlobalBlock() |
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.
|
getSourceInfo, setSourceInfo, toSource, toSource, toString
public JsBlock(SourceInfo sourceInfo)
public List<JsStatement> getStatements()
public boolean isGlobalBlock()
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.