sidecar library

Classes

ActivePackage
A representation of a sidecar-enabled Dart package.
AddEvent
AnalysisContextUtilities
AnalysisResult
AnalysisResultWithErrors
An analysis result that includes the errors computed during analysis.
AnalyzedFile
Represents a file that is within some context currently under analysis.
AnalyzerLogRecord
AssistCode
AssistRequest
AssistResponse
AssistResult
AssistRule
Create an assist.
AssistWithEditsResult
CannotResolveUriResult
The type of InvalidResult returned when the given URI cannot be resolved.
DataCode
DataRule
Capture data.
DeleteEvent
DisposedAnalysisContextResult
The type of InvalidResult returned when the AnalysisContext has been disposed.
EditResult
ElementDeclarationResult
The declaration of an Element.
ErrorsResult
The result of computing all of the errors contained in a single file, both syntactic and semantic.
FileResult
The result of computing some cheap information for a single file, when full parsed file is not required, so ParsedUnitResult is not necessary.
FileUpdateEvent
FileUpdateRequest
InitCompleteNotification
InvalidPathResult
The type of InvalidResult returned when the given file path is invalid, for example is not absolute and normalized.
InvalidResult
The base class for any invalid result.
LibraryElementResult
The result of building the element model for a library.
LintCode
LintNotification
LintRequest
LintResponse
LintResult
LintRule
Create a lint.
LintWithEditsResult
LogMessage
LogRecord
ModifyEvent
NodeRegistry
Initialize and run all visitor methods within rules.
NotElementOfThisSessionResult
The type of InvalidResult returned when the given element was not created by the requested session.
NotificationMessage
NotLibraryButAugmentationResult
The type of InvalidResult returned when the given file is not a library, but an augmentation of a library.
NotLibraryButPartResult
The type of InvalidResult returned when the given file is not a library, but a part of a library.
NotPathOfUriResult
The type of InvalidResult returned when the given file path does not represent the corresponding URI.
ParsedLibraryResult
The result of building parsed AST(s) for the whole library.
ParsedUnitResult
The result of parsing of a single file. The errors returned include only those discovered during scanning and parsing.
ParseStringResult
The result of parsing of a single file. The errors returned include only those discovered during scanning and parsing.
QuickFixRequest
QuickFixResponse
RequestMessage
ResolvedLibraryResult
The result of building resolved AST(s) for the whole library.
ResolvedUnitResult
The result of building a resolved AST for a single file. The errors returned include both syntactic and semantic errors.
ResponseMessage
RuleCode
Identify a particular sidecar rule, for lints, assists, etc.
RuleLogRecord
SetContextCollectionRequest
SetPriorityFilesRequest
SetPriorityFilesResponse
SetWorkspaceResponse
SidecarMessage
SidecarNewException
SidecarNotification
SidecarRequest
SidecarResponse
SingleDataResult
SomeErrorsResult
The result of computing all of the errors contained in a single file, both syntactic and semantic.
SomeFileResult
The result of computing some cheap information for a single file, when full parsed file is not required, so ParsedUnitResult is not necessary.
SomeLibraryElementResult
The result of building the element model for a library.
SomeParsedLibraryResult
The result of building parsed AST(s) for the whole library.
SomeParsedUnitResult
The result of parsing of a single file. The errors returned include only those discovered during scanning and parsing.
SomeResolvedLibraryResult
The result of building resolved AST(s) for the whole library.
SomeResolvedUnitResult
The result of building a resolved AST for a single file. The errors returned include both syntactic and semantic errors.
SomeUnitElementResult
The result of building the element model for a single file.
SourceEdit
SourceFileEdit
TotalDataResult
TypeChecker
An abstraction around doing static type checking at compile/build time.
UnitElementResult
The result of building the element model for a single file.
UnspecifiedInvalidResult
The type of InvalidResult returned when something is wrong, but we don't know what exactly. Usually this result should not happen.
UpdateFilesResponse
UriOfExternalLibraryResult
The type of InvalidResult returned when the given URI corresponds to a library that is served from an external summary bundle.
YamlWriter

Enums

LintSeverity
Severity level for Lint rules.
LogSeverity

Mixins

QuickFix
Suggested code edits for a particular Lint

Functions

applyEdit(String code, SourceEdit edit) String
Get the result of applying the edit to the given code. Access via SourceEdit.apply().

Typedefs

EditsComputer = Future<List<EditResult>> Function()
SidecarBaseConstructor = BaseRule Function()
Function for creating a rule.