public interface IInterfaceNode extends ITypeNode, IDocumentableDefinitionNode
interface declaration.
The shape of this node is:
IInterfaceNode IMetaTagsNode <-- getMetaTagsNode() INamespaceDecorationNode <-- getNamespaceNode() IKeywordNode <-- getKeywordNode() IExpressionNode <-- getNameExpressionNode() IKeywordNode <-- getExtendsKeywordNode() IContainerNode <-- getInterfacesNode() IScopedNode <-- getScopedNode()For example,
[Foo]
[Bar]
public interface I extends I1, I2
{
...
}
is represented as
IInterfaceNode
IMetaTagsNode
IMetaTagNode "Foo"
IMetaTagNode "Bar"
INamespaceDecorationNode "public"
IKeywordNode "interface"
IIdentifierNode "I"
IKeywordNode "extends"
IContainerNode
IIdentifierNode "I1"
IIdentifierNode "I2"
IScopedNode
...
If there is no metadata, the corresponding child node is not present.
If there is no namespace, the corresponding child node is not present.
If there is no extends clause, the two corresponding
child nodes are not present.
If the interface extends only one interface,
there is still an IContainerNode containing the one
node for the interface being extended.
| Modifier and Type | Interface and Description |
|---|---|
static class |
IInterfaceNode.InterfaceClassification
Determines the type of interface
|
UNKNOWN| Modifier and Type | Method and Description |
|---|---|
IDefinitionNode[] |
getAllMemberDefinitionNodes()
Returns an array of
IDefinitionNode objects that represent all
the children of this interface that are members. |
IInterfaceDefinition |
getDefinition()
Gets the symbol that represents this
IInterfaceNode |
IExpressionNode[] |
getExtendedInterfaceNodes()
Returns the names of any interfaces that this
IInterfaceNode
directly references. |
String[] |
getExtendedInterfaces()
Returns the names of any interfaces that this
IInterfaceNode
directly references. |
IInterfaceNode.InterfaceClassification |
getInterfaceClassification()
Returns the classification of this ActionScript interface
|
getScopedNodegetContainingFilePath, getMetaInfos, getMetaTags, getName, getNameAbsoluteEnd, getNameAbsoluteStart, getNameEnd, getNameExpressionNode, getNamespace, getNameStart, getPackageName, getQualifiedName, getShortName, hasModifier, hasNamespace, isImplicitcontains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartgetASDocComment, hasExplicitCommentString[] getExtendedInterfaces()
IInterfaceNode
directly references. This does not walk up the inheritance chain, rather
only looks at what is directly defined on the interfaceIInterfaceNode.InterfaceClassification getInterfaceClassification()
IInterfaceNode.InterfaceClassificationIExpressionNode[] getExtendedInterfaceNodes()
IInterfaceNode
directly references. This does not walk up the inheritance chain, rather
only looks at what is directly defined on the interfaceIDefinitionNode[] getAllMemberDefinitionNodes()
IDefinitionNode objects that represent all
the children of this interface that are members.IDefinitionNode children, or an empty arrayIInterfaceDefinition getDefinition()
IInterfaceNodegetDefinition in interface IDefinitionNodeIInterfaceDefinition that is the symbolic
representation of this nodeCopyright © 2016 The Apache Software Foundation. All rights reserved.