public static class HNSwitch.SwitchIs extends HNSwitch.SwitchBranch implements HNDeclare, HNDeclareTokenHolder
doNode, impl, op| Constructor and Description |
|---|
SwitchIs(List<HNTypeToken> whenTypes,
HNDeclareTokenIdentifier identifierToken,
net.thevpc.jeep.JToken op,
HNode doNode,
net.thevpc.jeep.JToken token,
net.thevpc.jeep.JToken endtoken) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(net.thevpc.jeep.JNode node,
net.thevpc.jeep.JNodeCopyFactory copyFactory) |
protected void |
findAndReplaceChildren(net.thevpc.jeep.JNodeFindAndReplace findAndReplace) |
List<net.thevpc.jeep.JNode> |
getChildrenNodes() |
HNDeclareToken |
getDeclareIdentifierTokenBase() |
HNDeclareTokenIdentifier |
getIdentifierToken() |
List<HNTypeToken> |
getWhenTypes() |
void |
setIdentifierToken(HNDeclareTokenIdentifier identifierToken) |
HNSwitch.SwitchIs |
setWhenType(List<HNTypeToken> whenTypes) |
void |
setWhenTypes(List<HNTypeToken> whenTypes) |
getDoNode, getImpl, getOp, setDoNode, setImpladdAnnotationNoDuplicates, addAnnotations, addAnnotationsNoDuplicates, addModifierKeys, copy, copy, fullChildInfo, getAnnotations, getEffectiveImports, getElement, getExitPoints, getImports, getModifierKeys, getParentNode, id, removeAnnotations, setAnnotations, setElement, setImportscontainsCaret, containsCaret, copyFrom, findAndReplace, 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 SwitchIs(List<HNTypeToken> whenTypes, HNDeclareTokenIdentifier identifierToken, net.thevpc.jeep.JToken op, HNode doNode, net.thevpc.jeep.JToken token, net.thevpc.jeep.JToken endtoken)
public void copyFrom(net.thevpc.jeep.JNode node,
net.thevpc.jeep.JNodeCopyFactory copyFactory)
copyFrom in interface net.thevpc.jeep.JNodecopyFrom in class HNSwitch.SwitchBranchpublic void setIdentifierToken(HNDeclareTokenIdentifier identifierToken)
public void setWhenTypes(List<HNTypeToken> whenTypes)
public HNDeclareToken getDeclareIdentifierTokenBase()
getDeclareIdentifierTokenBase in interface HNDeclareTokenHolderpublic List<HNTypeToken> getWhenTypes()
public HNDeclareTokenIdentifier getIdentifierToken()
protected void findAndReplaceChildren(net.thevpc.jeep.JNodeFindAndReplace findAndReplace)
findAndReplaceChildren in class net.thevpc.jeep.core.nodes.AbstractJNodepublic HNSwitch.SwitchIs setWhenType(List<HNTypeToken> whenTypes)
public List<net.thevpc.jeep.JNode> getChildrenNodes()
getChildrenNodes in interface net.thevpc.jeep.JNodegetChildrenNodes in class net.thevpc.jeep.core.nodes.AbstractJNodeCopyright © 2021 vpc open source initiative. All rights reserved.