public class EmbedNode extends ExpressionNodeBase implements IEmbedNode, IEmbedResolver
flagsemptyNodeArray, parentUNKNOWN| 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, setHasParenthesisisTerminalanalyze, 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, 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, waitcopyForInitializer, hasParenthesis, isDynamicExpression, resolvecontains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic 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()
IASNodepublic ITypeDefinition resolveType(ICompilerProject project)
IExpressionNoderesolveType in interface IExpressionNoderesolveType in class ExpressionNodeBaseproject - The ICompilerProject to use to do lookups.ITypeDefinition of the type this expression results in.protected EmbedNode copy()
ExpressionNodeBasecopy in class ExpressionNodeBasepublic IMetaTagAttribute[] getAttributes()
IEmbedNodegetAttributes in interface IEmbedNodepublic EmbedCompilationUnit resolveCompilationUnit(ICompilerProject project, Collection<ICompilerProblem> problems) throws InterruptedException
IEmbedResolverresolveCompilationUnit in interface IEmbedResolverproject - Current projectproblems - Any problems resolving the compilation unitInterruptedExceptionpublic EmbedCompilationUnit resolveCompilationUnit(ICompilerProject project) throws InterruptedException
IEmbedResolverresolveCompilationUnit() that ignores problems.resolveCompilationUnit in interface IEmbedResolverInterruptedExceptionpublic String getName(ICompilerProject project, Collection<ICompilerProblem> problems) throws InterruptedException
InterruptedExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.