ParsedUnitResult class abstract
The result of parsing of a single file. The errors returned include only those discovered during scanning and parsing.
Clients may not extend, implement or mix-in this class.
- Implemented types
- Implementers
Constructors
Properties
- analysisOptions → AnalysisOptions
- 
  The analysis options for this file.
  no setterinherited
- content → String
- 
  The latest read content of file, the same that was used to compute
other properties of this result.
  no setterinherited
- 
  diagnostics
  → List<Diagnostic> 
- 
  The diagnostics that were computed during analysis.
  no setterinherited
- 
  errors
  → List<Diagnostic> 
- 
  
  no setterinherited
- file → File
- 
  The file resource.
  no setterinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- isLibrary → bool
- 
  Whether the file is a library.
  no setterinherited
- isPart → bool
- 
  Whether the file is a part.
  no setterinherited
- lineInfo → LineInfo
- 
  Information about lines in the content.
  no setterinherited
- path → String
- 
  The absolute and normalized path of the file that was analyzed.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- session → AnalysisSession
- 
  Return the session used to compute this result.
  no setterinherited
- unit → CompilationUnit
- 
  The parsed, unresolved compilation unit for the content.
  no setter
- uri → Uri
- 
  The absolute URI of the file that was analyzed.
  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
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited