public interface IGetterDefinition extends IAccessorDefinition
function get
declaration.
An IGetterDefinition
IGetterNode.
For example, the declaration
public function get width():Number;creates a getter definition whose base name is
"width"
,
whose namespace reference is to the public
namespace,
whose type reference is named "Number"
,
and whose return type reference is named "Number"
.
A getter definition is contained within a file scope, a package scope, a class scope, an interface scope, or a function scope; it contains a function scope.
IFunctionDefinition.FunctionClassification
IVariableDefinition.VariableClassification
Modifier and Type | Method and Description |
---|---|
ISetterDefinition |
resolveSetter(ICompilerProject project) |
resolveCorrespondingAccessor
getFunctionClassification, getFunctionNode, getParameters, getReturnTypeAsDisplayString, getReturnTypeReference, hasRequiredParameters, inlineFunction, isCastFunction, isConstructor, isImplementation, isInline, overridesAncestor, resolveImplementedFunction, resolveOverriddenFunction, resolveReturnType
getContainedScope
getExplicitSourceComment, hasExplicitComment
getAbsoluteEnd, getAbsoluteStart, getAllMetaTags, getAncestorOfType, getBaseName, getBindableEventNames, getColumn, getContainingFilePath, getContainingScope, getContainingSourceFilePath, getDeprecationInfo, getEnd, getLine, getMetaTagByName, getMetaTagsByName, getModifiers, getNameColumn, getNameEnd, getNameLine, getNamespaceReference, getNameStart, getNode, 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
getArrayElementType, getInstanceType, getPercentProxy, getVariableClassification, getVariableNode, hasCollapseWhiteSpace, hasRichTextContent, isColor, isRequiredSkinPart, isSkinPart, resolveInitialValue
ISetterDefinition resolveSetter(ICompilerProject project)
Copyright © 2016 The Apache Software Foundation. All rights reserved.