AstScanner class

Entry-point scanner that walks Dart files under targetPath and emits ProviderNode IR nodes by running all four framework adapters in sequence.

Accepts both a single .dart file and a directory (scanned recursively). Generated files (*.g.dart) are automatically excluded.

Constructors

AstScanner(String targetPath)
Creates an AstScanner and initialises any plugins found under targetPath.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetPath String
Path to the Flutter project directory or a single .dart file to scan.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scanProject() List<ProviderNode>
Scans targetPath and returns the flat list of detected ProviderNodes.
toString() String
A string representation of this object.
inherited

Operators

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