public class HNTryCatch extends HNode
| Modifier and Type | Class and Description |
|---|---|
static class |
HNTryCatch.CatchBranch |
| Constructor and Description |
|---|
HNTryCatch() |
HNTryCatch(net.thevpc.jeep.JToken token) |
| Modifier and Type | Method and Description |
|---|---|
HNTryCatch |
addCatch(HNTryCatch.CatchBranch branch) |
void |
copyFrom(net.thevpc.jeep.JNode node,
net.thevpc.jeep.JNodeCopyFactory copyFactory) |
HNode |
getBody() |
HNTryCatch.CatchBranch[] |
getCatches() |
List<net.thevpc.jeep.JNode> |
getChildrenNodes() |
HNode[] |
getExitPoints() |
HNode |
getFinallyBranch() |
HNode |
getResource() |
boolean |
isExpressionMode() |
HNTryCatch |
setBody(HNode result) |
HNTryCatch |
setCatches(HNTryCatch.CatchBranch[] cases) |
HNTryCatch |
setExpressionMode(boolean expressionMode) |
HNTryCatch |
setFinallyBranch(HNode result) |
HNTryCatch |
setResource(HNPars resource) |
String |
toString() |
addAnnotationNoDuplicates, addAnnotations, addAnnotationsNoDuplicates, addModifierKeys, copy, copy, fullChildInfo, getAnnotations, getEffectiveImports, getElement, getImports, getModifierKeys, getParentNode, id, removeAnnotations, setAnnotations, setElement, setImportscontainsCaret, containsCaret, copyFrom, findAndReplace, findAndReplaceChildren, getChildInfo, getEndToken, getExitContextObject, getPosition, getPosition, getSeparators, getStartToken, getUserObjects, isExitContext, isSetUserObject, isTestAndSetUserObject, parentNode, setBounds, setChildInfo, setEndToken, setExitContextObject, setSeparators, setStartToken, setUserObject, setUserObject, setUserObject, unsetUserObject, visit, visitNext, visitNext, visitNextpublic HNTryCatch()
public HNTryCatch(net.thevpc.jeep.JToken token)
public HNTryCatch addCatch(HNTryCatch.CatchBranch branch)
public HNTryCatch.CatchBranch[] getCatches()
public HNTryCatch setCatches(HNTryCatch.CatchBranch[] cases)
public HNode getFinallyBranch()
public HNTryCatch setFinallyBranch(HNode result)
public HNode getBody()
public HNTryCatch setBody(HNode result)
public HNode getResource()
public HNTryCatch setResource(HNPars resource)
public void copyFrom(net.thevpc.jeep.JNode node,
net.thevpc.jeep.JNodeCopyFactory copyFactory)
public List<net.thevpc.jeep.JNode> getChildrenNodes()
getChildrenNodes in interface net.thevpc.jeep.JNodegetChildrenNodes in class net.thevpc.jeep.core.nodes.AbstractJNodepublic HNode[] getExitPoints()
getExitPoints in class HNodepublic boolean isExpressionMode()
public HNTryCatch setExpressionMode(boolean expressionMode)
Copyright © 2021 vpc open source initiative. All rights reserved.