UndefinedElementType class

An ElementType that isn't pinned to an Element (or one that is, but whose element is irrelevant).

Inheritance
Implementers

Constructors

UndefinedElementType(DartType f, Library library, PackageGraph packageGraph, ElementType returnedFrom)

Properties

canHaveParameters bool
read-only, inherited
element Element
read-only
fullyQualifiedName String
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
href String
read-only, inherited
instantiatedType DartType
Assume that undefined elements don't have useful bounds.
read-only, override
isPublic bool
read-only, override
isTypedef bool
read-only, inherited
library Library
final, inherited
linkedName String
read-only, override
name String
read-only, override
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, override
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
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
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
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 DartType
read-only, inherited
typeArguments Iterable<ElementType>
read-only, override

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
override
isSubtypeOf(ElementType t) bool
override
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