Identifier class
Identifier.
Constructors
- Identifier(String name)
Properties
- cachedDebugHookLine ↔ int
-
Cached line selected for statement debug hooks.
getter/setter pairinherited
- cachedEndLine ↔ int
-
Cached end line (0-based) from span, set once in setSpan.
getter/setter pairinherited
- cachedStartLine ↔ int
-
Cached start line (0-based) from span, set once in setSpan.
getter/setter pairinherited
- cachedTraceLine ↔ int
-
Cached line selected for error-trace frames.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeLocalLayoutCache ↔ Object?
-
Runtime-owned cache key for the AST engine's indexed local-frame view.
getter/setter pair
- runtimeLocalSlotCache ↔ int
-
Cached local slot for runtimeLocalLayoutCache, or -1 when unresolved.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- span ↔ SourceSpan?
-
getter/setter pairinherited
Methods
-
accept<
T> (AstVisitor< T> visitor) → FutureOr<T> -
Dispatches this node to
visitor.override -
dump(
) → Map< String, dynamic> -
Returns a JSON-serializable representation of this AST node.
Implementations should include a 'type' field to assist decoding.
override
-
dumpSpan(
) → Map< String, dynamic> ? -
Dumps span information to a serializable map
inherited
-
getSpan(
) → SourceSpan? -
inherited
-
inferSpanFromChildren(
) → void -
Attempts to infer span information from child nodes
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
restoreSpan(
Map< String, dynamic> ? spanData, String? fallbackSourceUrl) → void -
Restores span information from a serialized map
inherited
-
setSpan(
SourceSpan span) → void -
inherited
-
toSource(
) → String -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromDump(
Map< String, dynamic> data) → Identifier