
public class JsCatch extends JsNode implements HasCondition
| 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, toStringprotected final JsCatchScope scope
public JsCatch(SourceInfo sourceInfo, JsScope parent, String ident)
public JsBlock getBody()
public JsExpression getCondition()
getCondition in interface HasConditionpublic JsParameter getParameter()
public JsScope getScope()
public void setBody(JsBlock body)
public void setCondition(JsExpression condition)
setCondition in interface HasConditionpublic void traverse(JsVisitor v, JsContext ctx)
JsVisitabletraverse in interface JsVisitablev - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.