public final class ConfigConditionBlockNode extends BlockNode
CONFIG::DEBUG
{
import my.debug.classes.*;
}
IContainerNode.ContainerTypeEMPTY_CONTAINERemptyNodeArray, parentUNKNOWN| Constructor and Description |
|---|
ConfigConditionBlockNode(boolean enabled)
Create a enabled or disabled configuration config block.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
buildInnerString(StringBuilder sb)
For debugging only.
|
int |
getChildCount()
Disabled configuration condition block doesn't have children.
|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
getScope, replaceChildaddItem, addItemAfterNormalization, addTemporaryItem, contains, getContainerType, getRemovedConditionalCompileNode, removeItem, removeTemporaryItem, setContainerType, setRemovedConditionalCompileNodeaddChild, addChild, addChildInOrder, addChildPostNormalize, addTemporaryChild, getChild, getInitialChildCount, normalize, optimizeChildren, removeAllChildren, removeChild, removeTemporaryChild, sortChildren, swapChildrenanalyze, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getASScope, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTerminal, isTransparent, looselyContains, runPostProcess, setChildren, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, toString, tryGetOffsetLookup, verifygetColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, spanclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontains, getAncestorOfType, getChild, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic ConfigConditionBlockNode(boolean enabled)
enabled - True if the configuration condition evaluates to true.public int getChildCount()
getChildCount in interface IASNodegetChildCount in class TreeNodeprotected boolean buildInnerString(StringBuilder sb)
NodeBasebuildOuterString().
It is overridden by subclasses to display optional node-specific
information in the middle of the string, between the node type and the
location information.buildInnerString in class ContainerNodeCopyright © 2016 The Apache Software Foundation. All rights reserved.