StaticRead class

A reference to a "static" variable or identifier represented by id.

In practice, this means a reference to a static member, top-level member, or any other identifier or symbol that can be referenced by a package URL and symbol name, and is mostly a wrapper around CompileIdentifierMetadata.

The two ways this is currently produced is by a @HostBinding() annotation (where the expression is implicitly reading some static identifier) or by using @Component(exports: [...]) and referring to a static identifier or function declared within.

StaticRead(AppViewIdentifiers.someField); // appViewUtils.someField
Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
id CompileIdentifierMetadata
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
visit<R, C, CO extends C>(AstVisitor<R, C?> visitor, [CO? context]) → R
Given a visitor and optionally a context, produce a return value R.
override

Operators

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