public class JsTry extends JsStatement
try
statement.Constructor and Description |
---|
JsTry(SourceInfo sourceInfo) |
Modifier and Type | Method and Description |
---|---|
List<JsCatch> |
getCatches() |
JsBlock |
getFinallyBlock() |
NodeKind |
getKind() |
JsBlock |
getTryBlock() |
void |
setFinallyBlock(JsBlock block) |
void |
setTryBlock(JsBlock block) |
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
shouldRecordPosition, unconditionalControlBreak
getSourceInfo, setSourceInfo, toSource, toSource, toString
public JsTry(SourceInfo sourceInfo)
public JsBlock getFinallyBlock()
public JsBlock getTryBlock()
public void setFinallyBlock(JsBlock block)
public void setTryBlock(JsBlock block)
public void traverse(JsVisitor v, JsContext ctx)
JsVisitable
v
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.