SStaticFacts class
A bundle's facts table. See the library comment.
Constructors
-
SStaticFacts({required SFactsStamp stamp, List<
SFactType> types = const [], Map<String, Map< modules = const {}})String, SStaticFact> > -
const
Properties
- factCount → int
-
How many facts the table holds.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
modules
→ Map<
String, Map< String, SStaticFact> > -
Module URI ->
offset:lengthof the node -> its fact.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stamp → SFactsStamp
-
What the facts were computed against.
final
-
types
→ List<
SFactType> -
The interned types; facts refer to them by index.
final
Methods
-
factAt(
String moduleUri, int offset, int length) → SStaticFact? -
The fact recorded for the node at
offset/lengthofmoduleUri, or null. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
-
type(
int index) → SFactType -
The type
indexrefers to.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited