ParsedFile class
Holds the parsed AST of a single Dart source file plus the raw text.
Passed to every rule. Rules walk unit using AST visitors.
Constructors
- ParsedFile({required File source, required CompilationUnit unit, required String content})
Properties
Methods
-
lineAt(
int lineNumber) → String? -
Returns the source line at
lineNumber(1-based), trimmed. -
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