public class JsCatch extends JsNode
Modifier and Type | Field and Description |
---|---|
protected JsCatchScope |
scope |
Constructor and Description |
---|
JsCatch(SourceInfo sourceInfo,
JsScope parent,
String ident) |
Modifier and Type | Method and Description |
---|---|
JsBlock |
getBody() |
JsExpression |
getCondition() |
NodeKind |
getKind() |
JsParameter |
getParameter() |
JsScope |
getScope() |
void |
setBody(JsBlock body) |
void |
setCondition(JsExpression condition) |
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
getSourceInfo, setSourceInfo, toSource, toSource, toString
protected final JsCatchScope scope
public JsCatch(SourceInfo sourceInfo, JsScope parent, String ident)
public JsBlock getBody()
public JsExpression getCondition()
public JsParameter getParameter()
public JsScope getScope()
public void setBody(JsBlock body)
public void setCondition(JsExpression condition)
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.