AnalyzedUnit class

The cached analysis of one document version.

Constructors

AnalyzedUnit({required String uri, required String language, required String text, required LineIndex lineIndex, required TokenIndex tokenIndex, required DocExtractor docs, required ASTRoot? ast, required List<SymbolInfo> symbols, required List<Diagnostic> diagnostics})

Properties

ast → ASTRoot?
Null when the source failed to parse.
final
diagnostics → List<Diagnostic>
final
docs → DocExtractor
final
hashCode → int
The hash code for this object.
no setterinherited
language → String
final
lineIndex → LineIndex
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
symbols → List<SymbolInfo>
final
text → String
final
tokenIndex → TokenIndex
final
uri → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
symbolFor(String name, {String? container}) → SymbolInfo?
Finds the semantic symbol for name, preferring one in container.
toString() → String
A string representation of this object.
inherited

Operators

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