public interface IPackageDefinition extends IMemberedDefinition
An IPackageDefinition
IPackageNode.
For example, the declaration
package flash.display { }creates a package definition whose base name is
"display"
,
whose namespace reference is to the public
namespace,
and whose type reference is null
.Modifier and Type | Interface and Description |
---|---|
static class |
IPackageDefinition.PackageKind
Specifics the kind of package we are dealing with.
|
Modifier and Type | Method and Description |
---|---|
IPackageNode |
getNode()
Returns the
IPackageNode from which this definition was created,
if the definition came from the AST for a source file. |
IPackageDefinition.PackageKind |
getPackageKind()
Returns the kind of package that this node represents
|
getContainedScope
getExplicitSourceComment, hasExplicitComment
getAbsoluteEnd, getAbsoluteStart, getAllMetaTags, getAncestorOfType, getBaseName, getBindableEventNames, getColumn, getContainingFilePath, getContainingScope, getContainingSourceFilePath, getDeprecationInfo, getEnd, getLine, getMetaTagByName, getMetaTagsByName, getModifiers, getNameColumn, getNameEnd, getNameLine, getNamespaceReference, getNameStart, getPackageName, getParent, getQualifiedName, getSourcePath, getStart, getTypeAsDisplayString, getTypeReference, hasMetaTagByName, hasModifier, hasNamespace, isBindable, isBindableStyle, isContingent, isContingentNeeded, isDeprecated, isDynamic, isFinal, isGeneratedEmbedClass, isImplicit, isInProject, isInternal, isNative, isOverride, isPrivate, isProtected, isPublic, isStatic, resolveNamespace, resolveType
IPackageDefinition.PackageKind getPackageKind()
IPackageDefinition.PackageKind
IPackageNode getNode()
IPackageNode
from which this definition was created,
if the definition came from the AST for a source file.
This method may require the AST to be reloaded or regenerated and therefore may be slow.
getNode
in interface IDefinition
Copyright © 2016 The Apache Software Foundation. All rights reserved.