ParseStringResult class

The result of parsing of a single file. The errors returned include only those discovered during scanning and parsing.

Similar to ParsedUnitResult, but does not allow access to an analysis session.

Clients may not extend, implement or mix-in this class.

Constructors

ParseStringResult()

Properties

content String
The content of the file that was scanned and parsed.
read-only
errors List<AnalysisError>
The analysis errors that were computed during analysis.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
lineInfo LineInfo
Information about lines in the content.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
unit CompilationUnit
The parsed, unresolved compilation unit for the content.
read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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