public class KeywordNode extends FixedChildrenNode implements IKeywordNode
emptyNodeArray, parentUNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
KeywordNode()
Constructor.
|
|
KeywordNode(IASToken keyword)
Constructor.
|
protected |
KeywordNode(KeywordNode other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
buildInnerString(StringBuilder sb)
For debugging only.
|
String |
getKeyword() |
int |
getKeywordId() |
ASTNodeID |
getNodeID()
Get the opcode of this node
|
isTerminalanalyze, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, contains, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getASScope, getChild, getChildCount, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTransparent, looselyContains, normalize, replaceChild, runPostProcess, setChildren, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, swapChildren, 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, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartprotected KeywordNode()
public KeywordNode(IASToken keyword)
protected KeywordNode(KeywordNode other)
other - The node to copy.public ASTNodeID getNodeID()
IASNodeprotected 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 NodeBasepublic int getKeywordId()
public String getKeyword()
Copyright © 2016 The Apache Software Foundation. All rights reserved.