public class HNBlock extends HNode
| Modifier and Type | Class and Description |
|---|---|
static class |
HNBlock.BlocType |
static class |
HNBlock.CompilationUnitBlock |
| Modifier | Constructor and Description |
|---|---|
|
HNBlock() |
protected |
HNBlock(HNBlock.BlocType blocType) |
|
HNBlock(HNBlock.BlocType blocType,
HNode[] statements,
net.thevpc.jeep.JToken startToken,
net.thevpc.jeep.JToken endToken) |
addAnnotationNoDuplicates, addAnnotations, addAnnotationsNoDuplicates, addModifierKeys, copy, copy, fullChildInfo, getAnnotations, getEffectiveImports, getElement, 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 HNBlock()
protected HNBlock(HNBlock.BlocType blocType)
public HNBlock(HNBlock.BlocType blocType, HNode[] statements, net.thevpc.jeep.JToken startToken, net.thevpc.jeep.JToken endToken)
public boolean isEmpty()
public HNBlock.BlocType getBlocType()
public HNBlock setBlocType(HNBlock.BlocType blocType)
public List<HNDeclareIdentifier> getVarDeclarations()
public List<HNDeclareInvokable> getFunctionDeclarations()
public List<HNDeclareType> getClassDeclarations()
public void add(int index,
HNode node)
public void add(HNode node)
protected void findAndReplaceChildren(net.thevpc.jeep.JNodeFindAndReplace findAndReplace)
findAndReplaceChildren in class net.thevpc.jeep.core.nodes.AbstractJNodepublic 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 List<HNDeclareType> findDeclaredTypes(boolean fast)
public List<HNDeclareInvokable> findDeclaredInvokables(boolean fast)
public List<HNDeclareIdentifier> findDeclaredIdentifiers(boolean fast)
public List<HNDeclareMetaPackage> findDeclaredMetaPackages(boolean fast)
public List<HNDeclareType> findDeclaredTypes()
public List<HNDeclareIdentifier> findDeclaredIdentifiers()
public List<HNDeclareInvokable> findDeclaredInvokables()
public List<HNDeclareMetaPackage> findDeclaredModules()
public List<HNDeclareMetaPackage> findDeclaredMetaPackages()
public HNode[] getExitPoints()
getExitPoints in class HNodepublic static HNBlock get(net.thevpc.jeep.JNode n)
Copyright © 2021 vpc open source initiative. All rights reserved.