dart/analysis/utilities library

Functions

parseFile({required String path, ResourceProvider? resourceProvider, required FeatureSet featureSet, bool throwIfDiagnostics = true}) ParseStringResult
Return the result of parsing the file at the given path.
parseString({required String content, FeatureSet? featureSet, String? path, bool throwIfDiagnostics = true}) ParseStringResult
Returns the result of parsing the given content as a compilation unit.
resolveFile2({required String path, ResourceProvider? resourceProvider}) Future<SomeResolvedUnitResult>
Return the result of resolving the file at the given path.