public class ConfigExpressionNode extends NamespaceAccessExpressionNode
IOperatorNode.ExpressionType, IOperatorNode.OperatorType
leftOperandNode, rightOperandNode
operatorStart
flags
emptyNodeArray, parent
UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
ConfigExpressionNode(ConfigExpressionNode other)
Copy constructor.
|
|
ConfigExpressionNode(IdentifierNode left,
ASToken operator,
IdentifierNode right)
Create
ConfigExpressionNode from its two children. |
Modifier and Type | Method and Description |
---|---|
protected ConfigExpressionNode |
copy()
Copy the ExpressionNodeBase and its subtree.
|
String |
getConfigNamespace() |
IdentifierNode |
getConfigNamespaceNode() |
String |
getConfigValue() |
IdentifierNode |
getConfigValueNode() |
void |
normalize(boolean fillInOffsets)
Normalize the tree.
|
Object |
resolveConfigValue(ICompilerProject project) |
computeNamespaceReference, getNodeID, getOperator, resolve, resolveType
create, fillInOffsets, getChild, getChildCount, getExpressionType, getLeftOperandNode, getRightOperandNode, isOperatingOnArray, resolveAssignmentType, resolveLogicalType, setChildren, setLeftOperandNode, setRightOperandNode
buildInnerString, getOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStart, getOperatorText, isTerminal
copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getMName, getParentExpression, hasParenthesis, inFilter, inWith, isDynamicExpression, isPackageReference, setHasParenthesis
analyze, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, contains, endAfter, endAfter, endBefore, endBefore, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTransparent, looselyContains, replaceChild, runPostProcess, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, swapChildren, toString, tryGetOffsetLookup, verify
getColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, span
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLeftOperandNode, getRightOperandNode
getExpressionType, getOperatorAbsoluteEnd, getOperatorAbsoluteStart, getOperatorEnd, getOperatorStart
copyForInitializer, hasParenthesis, isDynamicExpression
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
public ConfigExpressionNode(IdentifierNode left, ASToken operator, IdentifierNode right)
ConfigExpressionNode
from its two children.left
- config namespaceoperator
- ::
operatorright
- config variableprotected ConfigExpressionNode(ConfigExpressionNode other)
other
- The node to copy.public void normalize(boolean fillInOffsets)
ExpressionNodeBase
normalize
in class ExpressionNodeBase
protected ConfigExpressionNode copy()
ExpressionNodeBase
copy
in class NamespaceAccessExpressionNode
public IdentifierNode getConfigNamespaceNode()
public String getConfigNamespace()
public IdentifierNode getConfigValueNode()
public String getConfigValue()
public Object resolveConfigValue(ICompilerProject project)
Copyright © 2016 The Apache Software Foundation. All rights reserved.