public class EmbedNode extends ExpressionNodeBase implements IEmbedNode, IEmbedResolver
flags
emptyNodeArray, parent
UNKNOWN
Constructor and Description |
---|
EmbedNode(String containingFilePath,
IMetaTagNode metaData,
IFileNodeAccumulator fileNodeAccumulator)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected EmbedNode |
copy()
Copy the ExpressionNodeBase and its subtree.
|
IMetaTagAttribute[] |
getAttributes()
Gets the attributes associated with the IEmbedNode
|
String |
getName(ICompilerProject project,
Collection<ICompilerProblem> problems) |
ASTNodeID |
getNodeID()
Get the opcode of this node
|
EmbedCompilationUnit |
resolveCompilationUnit(ICompilerProject project)
A variant of
resolveCompilationUnit() that ignores problems. |
EmbedCompilationUnit |
resolveCompilationUnit(ICompilerProject project,
Collection<ICompilerProblem> problems)
Resolve the ICompilationUnit which is related to the node which
implements this interface
|
ITypeDefinition |
resolveType(ICompilerProject project)
The type of the result of this expression.
|
computeNamespaceReference, copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getMName, getParentExpression, hasParenthesis, inFilter, inWith, isDynamicExpression, isPackageReference, normalize, resolve, setHasParenthesis
isTerminal
analyze, buildInnerString, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, contains, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getChild, getChildCount, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTransparent, looselyContains, replaceChild, runPostProcess, setChildren, 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
copyForInitializer, hasParenthesis, isDynamicExpression, resolve
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
public EmbedNode(String containingFilePath, IMetaTagNode metaData, IFileNodeAccumulator fileNodeAccumulator)
containingFilePath
- The path to the file containing the Embed metadata.metaData
- The node representing the Embed metadata.fileNodeAccumulator
- An object that keeps track of all Embed metadata.public ASTNodeID getNodeID()
IASNode
public ITypeDefinition resolveType(ICompilerProject project)
IExpressionNode
resolveType
in interface IExpressionNode
resolveType
in class ExpressionNodeBase
project
- The ICompilerProject
to use to do lookups.ITypeDefinition
of the type this expression results in.protected EmbedNode copy()
ExpressionNodeBase
copy
in class ExpressionNodeBase
public IMetaTagAttribute[] getAttributes()
IEmbedNode
getAttributes
in interface IEmbedNode
public EmbedCompilationUnit resolveCompilationUnit(ICompilerProject project, Collection<ICompilerProblem> problems) throws InterruptedException
IEmbedResolver
resolveCompilationUnit
in interface IEmbedResolver
project
- Current projectproblems
- Any problems resolving the compilation unitInterruptedException
public EmbedCompilationUnit resolveCompilationUnit(ICompilerProject project) throws InterruptedException
IEmbedResolver
resolveCompilationUnit()
that ignores problems.resolveCompilationUnit
in interface IEmbedResolver
InterruptedException
public String getName(ICompilerProject project, Collection<ICompilerProblem> problems) throws InterruptedException
InterruptedException
Copyright © 2016 The Apache Software Foundation. All rights reserved.