AliasedElementType class

Inheritance
Mixed in types

Constructors

AliasedElementType(ParameterizedType type, Library library, PackageGraph packageGraph, ModelElement element, ElementType returnedFrom)

Properties

aliasArguments Iterable<ElementType>
read-only, inherited
aliasedParameters List<Parameter>
Parameters, if available, for the underlying typedef.
read-only
aliasElement ModelElement
read-only, inherited
canHaveParameters bool
read-only, inherited
element Element
read-only, inherited
fullyQualifiedName String
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
href String
read-only, inherited
instantiatedType DartType
Return this type, instantiated to bounds if it isn't already.
read-only, inherited
isParameterType bool
read-only, inherited
isPublic bool
This type is a public type if the underlying, canonical element is public. This avoids discarding the resolved type information as canonicalization would ordinarily do.
read-only, inherited
isTypedef bool
read-only, inherited
library Library
final, inherited
linkedName String
read-only, inherited
modelElement ModelElement
read-only, inherited
name String
read-only, inherited
namePart String
Utility getter/cache for _MarkdownCommentReference._getResultsForClass.
read-only, inherited
namePieces Set<String>
read-only, inherited
nameWithGenerics String
Name with generics and nullability indication.
read-only, inherited
nullabilitySuffix String
Return a dartdoc nullability suffix for this type.
read-only, inherited
packageGraph PackageGraph
final, read / write, inherited
referenceChildren Map<String, CommentReferable>
Map of referenceName to the elements that are a member of this, but not this model element itself. Can be cached. [...]
read-only, inherited
referenceGrandparentOverrides Iterable<CommentReferable>
Replace the parents of parents. referenceBy ignores whatever might otherwise be implied by the referenceParents of referenceParents, replacing them with this.
read-only, inherited
referenceName String
read-only, inherited
referenceParents Iterable<CommentReferable>
Iterable of immediate "parents" to try resolving component parts. referenceBy stops at the first parent where a part is found. Can be cached.
read-only, inherited
returnedFrom ElementType
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scope Scope
For any CommentReferable where an analyzer Scope exists (or can be constructed), implement this. This will take priority over lookups via referenceChildren. Can be cached.
read-only, inherited
type ParameterizedType
read-only, override
typeArguments Iterable<ElementType>
read-only, inherited

Methods

childLookups(List<String> reference) Iterable<ReferenceChildrenLookup>
A list of lookups that should be attempted on children based on reference. This allows us to deal with libraries that may have separators in them. referenceBy stops at the first one found.
inherited
isBoundSupertypeTo(ElementType t) bool
Returns true if at least one supertype (including via mixins and interfaces) is equivalent to or a subtype of this when instantiated to bounds.
inherited
isSubtypeOf(ElementType t) bool
The instantiated to bounds type of this type is a subtype of t.
inherited
lookupViaScope(ReferenceChildrenLookup referenceLookup, bool allowTree(CommentReferable), bool filter(CommentReferable)) → CommentReferable
Looks up references by scope, skipping over results that do not match the given filter. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
recurseChildrenAndFilter(ReferenceChildrenLookup referenceLookup, CommentReferable result, {bool allowTree(CommentReferable), bool filter(CommentReferable)}) → CommentReferable
Given a result found in an implementation of lookupViaScope or _lookupViaReferenceChildren, recurse through children, skipping over results that do not match the filter.
inherited
referenceBy(List<String> reference, {bool tryParents = true, bool filter(CommentReferable), bool allowTree(CommentReferable), Iterable<CommentReferable> parentOverrides}) → CommentReferable
Look up a comment reference by its component parts. If tryParents is true, try looking up the same reference in any parents of this. Will skip over results that do not pass a given filter and keep searching. Will skip over entire subtrees whose parent node does not pass allowTree.
@nonVirtual, inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited