QuickFix mixin
Suggested code edits for a particular Lint
To provide code edits without lints, use the Assist mixin.
Properties
- code → LintCode
-
Identification for a particular Sidecar rule
no setterinherited
- context → SidecarContext
-
no setterinherited
- defaultSeverity → LintSeverity
-
no setterinherited
-
excludes
→ List<
Glob> ? -
Set default excludes for a particular rule.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
includes
→ List<
Glob> ? -
Set default includes for a particular rule.
no setterinherited
- packageOptions → LintPackageOptions?
-
SidecarSpec rule package configuration for the active project
no setterinherited
-
results
→ Set<
AnalysisResult> -
Results generated from this Rule instance for a particular file.
finalinherited
- ruleOptions → LintOptions?
-
SidecarSpec rule configuration for the active project
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → RuleScope
-
Define which workspace changes this rule should rebuild for.
no setterinherited
- unit → ResolvedUnitResult
-
ResolvedUnitResult for a particular file.
no setterinherited
Methods
-
clearResults(
) → void -
inherited
-
initializeVisitor(
NodeRegistry registry) → void -
Register all of the visit methods of a Sidecar Rule.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reportAstNode(
AstNode node, {required String message, String? correction, EditsComputer? editsComputer}) → void -
reportLint(
SyntacticEntity entity, {required String message, String? correction, EditsComputer? editsComputer}) → void -
reportToken(
Token token, {required String message, String? correction, EditsComputer? editsComputer}) → void -
setConfig(
{required SidecarContext context}) → void -
inherited
-
setUnitContext(
ResolvedUnitResult unit) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited