
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, toStringpublic JsBlock(SourceInfo sourceInfo)
public List<JsStatement> getStatements()
public boolean isGlobalBlock()
public void traverse(JsVisitor v, JsContext ctx)
JsVisitablev - the visitor that should traverse this nodectx - the context of an existing traversalpublic boolean unconditionalControlBreak()
JsStatementunconditionalControlBreak in class JsStatementCopyright © 2018. All rights reserved.