public interface ISetterDefinition extends IAccessorDefinition
function set
declaration.
An ISetterDefinition
ISetterNode.
For example, the declaration
public function set width(value:Number):void;creates a setter 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 "void"
.
It also owns one parameter definition named "value"
.
A setter 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 |
---|---|
IGetterDefinition |
resolveGetter(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
IGetterDefinition resolveGetter(ICompilerProject project)
Copyright © 2016 The Apache Software Foundation. All rights reserved.