DeclSite class

A declaration recognised in the source, carrying its name span (for selection/definition) and full span (for the symbol's outer range).

Constructors

DeclSite({required String name, required DeclKind kind, required int nameStart, required int nameEnd, required int fullStart, required int fullEnd, String? container})

Properties

container → String?
Enclosing class/enum name, or null at top level.
final
fullEnd ↔ int
getter/setter pair
fullStart ↔ int
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
kind → DeclKind
final
name → String
final
nameEnd → int
final
nameStart → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited