public class HNSwitch extends HNode
| Modifier and Type | Class and Description |
|---|---|
static class |
HNSwitch.SwitchBranch |
static class |
HNSwitch.SwitchCase |
static class |
HNSwitch.SwitchIf |
static class |
HNSwitch.SwitchIs |
static class |
HNSwitch.SwitchType |
| Constructor and Description |
|---|
HNSwitch() |
HNSwitch(net.thevpc.jeep.JToken token) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(HNSwitch.SwitchBranch branch) |
void |
copyFrom(net.thevpc.jeep.JNode node,
net.thevpc.jeep.JNodeCopyFactory copyFactory) |
List<HNSwitch.SwitchBranch> |
getCases() |
List<net.thevpc.jeep.JNode> |
getChildrenNodes() |
HNode |
getElseNode() |
HNode[] |
getExitPoints() |
HNode |
getExpr() |
HNSwitch.SwitchType |
getSwitchType() |
boolean |
isExpressionMode() |
HNSwitch |
setCases(List<HNSwitch.SwitchBranch> cases) |
void |
setElse(HNode result) |
HNSwitch |
setExpr(HNode expr) |
HNSwitch |
setExpressionMode(boolean expressionMode) |
HNSwitch |
setSwitchType(HNSwitch.SwitchType switchType) |
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 HNSwitch()
public HNSwitch(net.thevpc.jeep.JToken token)
public void add(HNSwitch.SwitchBranch branch)
public List<HNSwitch.SwitchBranch> getCases()
public HNSwitch setCases(List<HNSwitch.SwitchBranch> cases)
public HNode getElseNode()
public void setElse(HNode result)
public HNode getExpr()
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 HNSwitch setExpressionMode(boolean expressionMode)
public HNSwitch.SwitchType getSwitchType()
public HNSwitch setSwitchType(HNSwitch.SwitchType switchType)
Copyright © 2025 vpc open source initiative. All rights reserved.