AnalysisOptions class abstract

A set of analysis options used to control the behavior of an analysis context.

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

Constructors

AnalysisOptions()

Properties

chromeOsManifestChecks bool
A flag indicating whether to run checks on AndroidManifest.xml file to see if it is complaint with Chrome OS.
no setter
codeStyleOptions CodeStyleOptions
Return the options used to control the code that is generated.
no setter
contextFeatures FeatureSet
The set of features that are globally enabled for this context.
no setter
enabledPluginNames List<String>
Return a list of the names of the packages for which, if they define a plugin, the plugin should be enabled.
no setter
errorProcessors List<ErrorProcessor>
Return a list of error processors that are to be used when reporting errors in some analysis context.
no setter
excludePatterns List<String>
Return a list of exclude patterns used to exclude some sources from analysis.
no setter
hashCode int
The hash code for this object.
no setterinherited
hint bool
Return true if analysis is to generate hint results (e.g. best practices and analysis based on certain annotations).
no setter
lint bool
Return true if analysis is to generate lint warnings.
no setter
lintRules List<Linter>
Return a list of the lint rules that are to be run in an analysis context if lint returns true.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sdkVersionConstraint → VersionConstraint?
The version range for the SDK specified in pubspec.yaml, or null if there is no pubspec.yaml or if it does not contain an SDK range.
no setter

Methods

isLintEnabled(String name) bool
Return true the lint with the given name is enabled.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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