candies_lints library

Classes

CandiesLintsAstVisitor
The default AstVisitor to analyze lints
CandiesLintsConfig
The class to handle pubspec.yaml and analysis_options.yaml
CandiesLintsIgnoreInfo
The class to help ignore error
CandiesLintsLogger
The logger for this plugin
CandiesLintsPlugin
CandiesLintsStarter
An object that can be used to start an analysis server plugin. This class exists so that clients can configure a plugin before starting it.
CandyLint
The lint base
CollectionStyle
An enum of collection styles.
DartAnalysisError
The cache error for get fixes
DartLint
The dart lint base
Dependency
EndCallSuperDispose
GenericAnalysisError
The cache error for get fixes
GenericLint
The generic lint base
GitDependency
HostedDependency
HostedDetails
MustCallSuperDispose
PathDependency
PerferClassPrefix
The 'perfer_class_prefix' lint
PerferSafeSetState
The 'prefer_safe_setState' lint
PreferAssetConst
The 'prefer_asset_const' lint
PreferNamedRoutes
The 'prefer_named_routes' lint
Pubspec
ScalarStyle
An enum of source scalar styles.
Screenshot
SdkDependency
TagDirective
A directive describing a custom tag handle.
VersionDirective
A directive indicating which version of YAML a document was written to.
YamlAnalysisError
The cache error for get fixes
YamlDocument
A YAML document, complete with metadata.
YamlLint
The yaml lint base
YamlList
A read-only List parsed from YAML.
YamlMap
A read-only Map parsed from YAML.
YamlNode
An interface for parsed nodes from a YAML source tree.
YamlScalar
A wrapped scalar value parsed from YAML.

Extensions

AnalysisContextE on AnalysisContext
The extension for AnalysisContext
DartFileEditBuilderE on DartFileEditBuilder
The extension for DartFileEditBuilder
ErrorProcessorE on ErrorProcessor
ResolvedUnitResultE on ResolvedUnitResult
The extension for ResolvedUnitResult

Properties

yamlWarningCallback YamlWarningCallback
A callback for emitting a warning.
getter/setter pair

Functions

loadYaml(String yaml, {Uri? sourceUrl, bool recover = false, ErrorListener? errorListener}) → dynamic
Loads a single document from a YAML string.
loadYamlDocument(String yaml, {Uri? sourceUrl, bool recover = false, ErrorListener? errorListener}) YamlDocument
Loads a single document from a YAML string as a YamlDocument.
loadYamlDocuments(String yaml, {Uri? sourceUrl}) List<YamlDocument>
Loads a stream of documents from a YAML string.
loadYamlNode(String yaml, {Uri? sourceUrl, bool recover = false, ErrorListener? errorListener}) YamlNode
Loads a single document from a YAML string as a YamlNode.
loadYamlStream(String yaml, {Uri? sourceUrl}) YamlList
Loads a stream of documents from a YAML string.

Typedefs

YamlWarningCallback = void Function(String message, [SourceSpan? span])
A callback for emitting a warning.

Exceptions / Errors

YamlException
An error thrown by the YAML processor.