_common
library
Classes
AdjacentStrings
Two or more string literals that are implicitly concatenated because of
being adjacent (separated only by whitespace).
AnalysisRule
Describes an AbstractAnalysisRule which reports exactly one type of
diagnostic (one DiagnosticCode ).
AnnotatedNode
An AST node that can be annotated with either a documentation comment, a
list of annotations (metadata), or both.
Annotation
An annotation that can be associated with a declaration.
AnonymousBlockBody
The body of an anonymous method invocation with a block.
AnonymousExpressionBody
The body of an anonymous method invocation with an arrow.
AnonymousMethodBody
The body of an anonymous method invocation.
AnonymousMethodInvocation
The invocation of an anonymous block method of an object.
Argument
A node that can occur in an ArgumentList .
ArgumentList
A list of arguments in the invocation of an executable element (that is, a
function, method, or constructor).
AsExpression
An as expression.
AssertInitializer
An assert in the initializer list of a constructor.
Assertion
An assertion, either in a block or in the initializer list of a constructor.
AssertStatement
An assert statement.
AssignedVariablePattern
A variable pattern in PatternAssignment .
AssignmentExpression
An assignment expression.
AssignmentExpression2
The common interface for canonical V2 assignment expressions.
AssignmentTarget
An AST node that denotes the destination of an assignment.
AstNode
A node in the AST structure for a Dart program.
AstVisitor <R >
An object that can be used to visit an AST structure.
AstVisitor2 <R >
An object that can be used to visit an AST structure.
AwaitAllFuturesRule
Fires when a function or method annotated @mustAwaitAllFutures /
@mustAwaitAllFuturesOrError (or a function literal passed to a parameter
with that annotation) drops a Future as a bare expression statement.
AwaitExpression
An await expression.
BinaryExpression
A binary (infix) expression.
BinaryOperatorInvocation
An invocation of an overloadable binary operator.
BindPatternVariableElement
A pattern variable that is explicitly declared.
BindPatternVariableFragment
The portion of a BindPatternVariableElement contributed by a single
declaration.
Block
A sequence of statements.
BlockClassBody
The class body with members.
BlockEnumBody
The enum declaration body, with constants and members.
BlockEnumDeclarationBody
An enum body with constants and members.
BlockFunctionBody
A function body that consists of a block of statements.
BlockInstanceDeclarationBody
An instance-declaration body represented by a brace-delimited block.
BooleanLiteral
A boolean literal expression.
BreakStatement
A break statement.
CallInvocation
An invocation of a function value or an implicitly selected call method.
CascadeExpression
A sequence of cascaded expressions: expressions that share a common target.
CascadeIndexAssignmentTarget
An indexed location at the start of a cascade section.
CascadeIndexExpression
A value produced by indexing the target at the start of a cascade section.
CascadeMethodInvocation
A direct method invocation at the start of a cascade section.
CascadePropertyAssignmentTarget
A property at the start of a cascade section used as an assignment
destination.
A property value selected at the start of a cascade section.
CascadeSection
One section of a CascadeExpression .
CaseClause
The case clause that can optionally appear in an if statement.
CastPattern
A cast pattern.
CatchClause
A catch clause within a try statement.
CatchClauseParameter
An 'exception' or 'stackTrace' parameter in CatchClause .
ClassBody
The body of a class declaration.
ClassDeclaration
The declaration of a class.
ClassDeclaration2
The declaration of a class.
ClassElement
A class.
ClassFragment
The portion of a ClassElement contributed by a single declaration.
ClassMember
A node that declares a name within the scope of a class, enum, extension,
extension type, or mixin declaration.
ClassNamePart
The name of a class, enum, or extension type declaration.
ClassTypeAlias
A class type alias.
ClassTypeAlias2
A class type alias.
CollectionElement
Combinator
A combinator associated with an import or export directive.
CombinatorName
A name in a Combinator .
A comment within the source code.
The expression-shaped V1 compatibility view of a CommentReference .
A reference to a Dart element that is found within a documentation comment.
A written name or operator in a documentation comment reference.
CompilationUnit
A compilation unit.
CompilationUnitMember
A node that declares one or more names within the scope of a compilation
unit.
CompoundAssignment
A compound assignment using an overloadable binary operator.
CompoundAssignmentExpression
A potentially compound assignment.
ConditionalExpression
A conditional expression.
Configuration
A configuration in either an import or export directive.
ConstantPattern
A constant expression being used as a pattern.
ConstructorDeclaration
A constructor declaration.
ConstructorDeclaration2
A constructor declaration.
ConstructorElement
An element representing a constructor defined by a class, enum, or extension
type.
ConstructorFieldInitializer
The initialization of a field within a constructor's initialization list.
ConstructorFragment
The portion of a ConstructorElement contributed by a single declaration.
ConstructorInitializer
A node that can occur in the initializer list of a constructor declaration.
ConstructorInvocation
An invocation of a constructor.
ConstructorName
The name of a constructor.
ConstructorReference
An expression representing a reference to a constructor.
ConstructorReference2
A source-level reference to a constructor.
ConstructorReferenceNode
An AST node that makes reference to a constructor.
ConstructorSelector
The name of a constructor being invoked.
ConstructorTearOff
An expression representing a constructor tear-off.
ConstructorTypeReference
A reference to the type defining a constructor.
ContinueStatement
A continue statement.
DartPattern
A pattern.
DartType
The type associated with elements in the element model.
Declaration
A node that represents the declaration of one or more names.
DeclaredIdentifier
The declaration of a single identifier.
DeclaredVariablePattern
A variable pattern that declares a variable.
DelimitedFormalParameters
Formal parameters enclosed in square or curly brackets.
DfSaferDartLintsPlugin
The df_safer_dart_lints analyzer plugin.
DiagnosticCode
An error code associated with an AnalysisError.
DiagnosticSeverity
The severity of an DiagnosticCode .
DirectAssignment
An assignment of the form target = value.
Directive
A node that represents a directive.
DirectiveUri
Meaning of a URI referenced in a directive.
DirectiveUriWithLibrary
DirectiveUriWithSource that references a LibraryElement .
DirectiveUriWithRelativeUri
DirectiveUriWithRelativeUriString that can be parsed into a relative URI.
DirectiveUriWithRelativeUriString
DirectiveUri for which we can get its relative URI string.
DirectiveUriWithSource
DirectiveUriWithRelativeUri that resolves to a Source.
DirectiveUriWithUnit
DirectiveUriWithSource that references a LibraryFragment .
DoStatement
A do statement.
DotShorthandConstructorInvocation
A node that represents a dot shorthand constructor invocation.
DotShorthandConstructorInvocation2
A dot-shorthand constructor invocation.
DotShorthandContextResolution
The result of selecting the static namespace for a dot shorthand.
DotShorthandExpression
A value-producing dot-shorthand head.
DotShorthandInvocation
A V1 node that represents a dot shorthand static method or constructor
invocation.
DotShorthandMethodInvocation
A dot-shorthand invocation of a static method.
DotShorthandNameExpression
The value-producing dot-shorthand form .name.
DotShorthandPropertyAccess
A V1 node that represents a dot-shorthand name expression.
DottedName
A dotted name, used in a configuration within an import or export directive.
DoubleLiteral
A floating point literal expression.
DynamicIndexReadResolution
An index read whose operator [] is selected dynamically at runtime.
DynamicIndexWriteResolution
An index write whose operator []= is selected dynamically at runtime.
DynamicInvocationResolution
A dynamically dispatched invocation.
DynamicPropertyReadResolution
A property read whose getter is selected dynamically at runtime.
DynamicPropertyWriteResolution
A property write whose setter is selected dynamically at runtime.
DynamicType
The type dynamic is a type which is a supertype of all other types, just
like Object, with the difference that the static analysis assumes that
every member access has a corresponding member with a signature that
admits the given access.
Element
The base class for all of the elements in the element model.
ElementAnnotation
A single annotation associated with an element.
ElementDirective
A directive within a library fragment.
ElementKind
The kind of elements in the element model.
ElementVisitor2 <R >
An object that can be used to visit an element structure.
EmptyClassBody
The empty class body.
EmptyEnumBody
The empty enum body.
EmptyFunctionBody
An empty function body.
EmptyStatement
An empty statement.
EnumBody
The body of an enum declaration.
EnumConstantArguments
The arguments part of an enum constant.
EnumConstantDeclaration
The declaration of an enum constant.
EnumConstantDeclaration2
The declaration of an enum constant.
EnumDeclaration
The declaration of an enumeration.
EnumDeclaration2
The declaration of an enumeration.
EnumDeclarationBody
The body of an EnumDeclaration2 .
EnumElement
An element that represents an enum.
EnumFragment
The portion of an EnumElement contributed by a single declaration.
ExecutableElement
An element representing an executable object, including functions, methods,
constructors, getters, and setters.
ExecutableFragment
The portion of an ExecutableElement contributed by a single declaration.
ExecutableInvocationResolution
An invocation resolved to an executable declaration.
ExecutableTearOffResolution
A read that produces the tear-off of an executable declaration.
ExportDirective
An export directive.
Expression
A node that represents an expression.
ExpressionFunctionBody
A function body consisting of a single expression.
ExpressionStatement
An expression used as a statement.
ExtendsClause
The "extends" clause in a class declaration.
ExtensionDeclaration
The declaration of an extension of a type.
ExtensionDeclaration2
The declaration of an extension of a type.
ExtensionElement
An extension.
ExtensionFragment
The portion of an ExtensionElement contributed by a single
declaration.
ExtensionOnClause
The on clause in an extension declaration.
ExtensionOverride
An override to force resolution to choose a member from a specific
extension.
ExtensionOverride2
An override to force resolution to choose a member from a specific
extension.
ExtensionTypeDeclaration
The declaration of an extension type.
ExtensionTypeDeclaration2
The declaration of an extension type.
ExtensionTypeElement
An extension type.
ExtensionTypeFragment
The portion of an ExtensionTypeElement contributed by a single
declaration.
Field2
A single field in a FieldsDeclaration .
FieldDeclaration
The declaration of one or more fields of the same type.
FieldElement
A field defined within a class, enum, extension, or mixin.
FieldFormalParameter
A field formal parameter.
FieldFormalParameterElement
A field formal parameter defined within a constructor element.
FieldFormalParameterFragment
The portion of a FieldFormalParameterElement contributed by a single
declaration.
FieldFragment
The portion of a FieldElement contributed by a single declaration.
FieldsDeclaration
The declaration of one or more fields of the same type.
ForEachParts
The parts of a for-each loop that control the iteration.
ForEachPartsWithDeclaration
The parts of a for-each loop that control the iteration when the loop
variable is declared as part of the for loop.
ForEachPartsWithIdentifier
The parts of a for-each loop that control the iteration when the loop
variable is declared outside of the for loop.
ForEachPartsWithPattern
A for-loop part with a pattern.
ForElement
The basic structure of a for element.
ForLoop <Body extends AstNode >
A for or for-each statement or collection element.
ForLoopParts
The parts of a for or for-each loop that control the iteration.
FormalParameter
A node representing a parameter to a function.
FormalParameterDefaultClause
A default value clause for a formal parameter.
FormalParameterElement
A formal parameter defined by an executable element.
FormalParameterFragment
The portion of a FormalParameterElement contributed by a single
declaration.
FormalParameterList
The formal parameter list of a method declaration, function declaration, or
function type alias.
ForParts
The parts of a for loop that control the iteration.
ForPartsWithDeclarations
The parts of a for loop that control the iteration when there are one or
more variable declarations as part of the for loop.
ForPartsWithExpression
The parts of a for loop that control the iteration when there are no
variable declarations as part of the for loop.
ForPartsWithPattern
The parts of a for loop that control the iteration when there's a pattern
declaration as part of the for loop.
ForStatement
A for or for-each statement.
Fragment
A fragment that wholly or partially defines an element.
FragmentDeclaringNode
An AST node that can be associated with a declared Fragment .
FunctionBody
A node representing the body of a function or method.
FunctionCallInvocationResolution
A direct invocation of the language-defined call method of a function
type.
FunctionCallTearOffResolution
A tear-off of the language-defined call method of a function-typed value.
FunctionDeclaration
A function declaration.
FunctionDeclarationStatement
A FunctionDeclaration used as a statement.
FunctionExpression
A function expression.
FunctionExpressionInvocation
The V1 compatibility view of invoking a function-valued expression.
FunctionInstantiation
The explicit instantiation of a function value using written type arguments.
FunctionInterfaceCallTearOffResolution
A tear-off of call through the core Function interface.
FunctionInterfaceInvocationResolution
An invocation permitted through core Function without a known signature.
FunctionInvocation
An expression that applies an argument list to a function or method.
FunctionReference
An expression representing a reference to a function, possibly with type
arguments applied to it.
FunctionType
The type of a function, method, constructor, getter, or setter. Function
types come in three variations:
FunctionTypeAlias
A function type alias.
FunctionTypeAlias2
A type alias written in the legacy function type syntax.
FunctionTypedElement
An element that has a FunctionType as its type .
FunctionTypedFormalParameterSuffix
The function-typed suffix of a formal parameter.
FunctionTypedFragment
The portion of a FunctionTypedElement contributed by a single declaration.
FunctionTypeInvocationResolution
An invocation that directly applies an exact function type.
GenericFunctionType
An anonymous function type.
GenericFunctionTypeElement
The pseudo-declaration that defines a generic function type.
GenericFunctionTypeFragment
The portion of a GenericFunctionTypeElement coming from a single
declaration.
GenericTypeAlias
A generic type alias.
GenericTypeAlias2
A type alias written with =.
GetterDeclaration
A getter declaration in an instance declaration body.
GetterElement
A getter.
GetterFragment
The portion of a GetterElement contributed by a single declaration.
GetterInvocationResolution
A read that invokes a getter.
GuardedPattern
The pattern with an optional WhenClause .
HideCombinator
A combinator that restricts the names being imported to those that aren't
in a given list.
HideElementCombinator
A combinator that causes some of the names in a namespace to be hidden when
being imported.
Identifier
A node that represents an identifier.
IfElement
The basic structure of an if element.
IfNull
An if-null expression.
IfNullAssignment
An if-null assignment using ??=.
IfStatement
An if statement.
ImplementsClause
The "implements" clause in an class declaration.
ImplicitCallReference
An expression representing an implicit 'call' method reference.
ImplicitCallTearOff
The implicit tear-off of a callable object's call method.
ImplicitFunctionInstantiation
The implicit instantiation of a generic function value.
ImportDirective
An import directive.
ImportPrefixedAssignmentTarget
An assignment target selected through an import prefix.
ImportPrefixedFunctionInvocation
A direct invocation of a top-level function through an import prefix.
ImportPrefixedNameExpression
A value-producing name selected through an import prefix.
ImportPrefixReference
Reference to an import prefix name.
IncrementOrDecrementExpression
A prefix or postfix increment or decrement expression.
IndexAssignmentTarget
An indexed location used as an assignment destination.
IndexExpression
An index expression.
IndexExpression2
A value produced by invoking operator [].
IndexReadResolution
The result of an indexed read operation.
IndexWriteResolution
The result of writing an indexed assignment target.
InstanceCreationExpression
An instance creation expression.
InstanceDeclaration
A top-level V2 declaration that contributes an InstanceFragment .
InstanceDeclarationBody
The normalized body of an InstanceDeclaration .
InstanceElement
An element whose instance members can refer to this.
InstanceFragment
The portion of an InstanceElement contributed by a single declaration.
InstanceReceiver
An expression or non-value form that can receive an instance operation.
InstantiatedTypeAliasElement
Information about an instantiated TypeAliasElement and the type
arguments with which it is instantiated.
IntegerLiteral
An integer literal expression.
InterfaceElement
An element that defines an InterfaceType .
InterfaceFragment
The portion of an InterfaceElement contributed by a single declaration.
InterfaceType
The type introduced by either a class or an interface, or a reference to
such a type.
InterpolationElement
A node within a StringInterpolation .
InterpolationExpression
An expression embedded in a string interpolation.
InterpolationString
A non-empty substring of an interpolated string.
InvalidAssignmentTarget
An assignment target whose source cannot denote a storage location.
InvalidDotShorthandContextResolution
An unusable dot-shorthand context: there is a context type, but it has no
static namespace that can be searched.
InvalidExpressionAssignmentTarget
An invalid assignment target whose source is an ordinary value expression.
InvalidExtensionOverrideAssignmentTarget
An explicit extension override used where an assignment destination is required.
InvalidExtensionOverrideExpression
An explicit extension override used in a slot that requires a value.
InvalidIndexReadResolution
An unsuccessful index read resolution.
InvalidIndexWriteResolution
An unsuccessful index write resolution.
InvalidInvocationResolution
An unsuccessful invocation resolution.
InvalidNamedReadResolution
An unsuccessful named read resolution.
InvalidNamedWriteResolution
An unsuccessful named write resolution.
InvalidReadResolution
An unsuccessful read resolution.
InvalidSuperAssignmentTarget
Bare super used where an assignment destination is required.
InvalidSuperExpression
Bare super used in a slot that requires a value.
InvalidType
The type arising from code with errors, such as invalid type annotations,
wrong number of type arguments, invocation of undefined methods, etc.
InvalidWriteResolution
An unsuccessful write resolution.
InvocationExpression
The invocation of a function or method.
InvocationResolution
The result of resolving a function invocation.
IsExpression
An is expression.
JoinPatternVariableElement
A pattern variable that is a join of other pattern variables, created
for a logical-or patterns, or shared case bodies in switch statements.
JoinPatternVariableFragment
The portion of a JoinPatternVariableElement contributed by a single
declaration.
Label
A label on a LabeledStatement or a switch member.
LabeledStatement
A statement that has a label associated with them.
LabelElement
A label associated with a statement.
LabelFragment
The portion of a LabelElement contributed by a single declaration.
LabelReference
A reference to a label.
LibraryDirective
A library directive.
LibraryElement
A library.
LibraryExport
An export directive within a library fragment.
LibraryFragment
The portion of a LibraryElement coming from a single compilation unit.
LibraryImport
An import directive within a library fragment.
LibraryLanguageVersion
LintCode
Diagnostic codes which are not reported by default.
ListLiteral
A list literal.
ListPattern
A list pattern.
ListPatternElement
An element of a list pattern.
Literal
A node that represents a literal expression.
LocalElement
An element that can be (but is not required to be) defined within a method
or function (an ExecutableFragment ).
LocalFragment
The portion of an LocalElement contributed by a single declaration.
LocalFunctionDeclaration
A local function declaration.
LocalFunctionElement
A local function.
LocalFunctionFragment
The portion of a LocalFunctionElement contributed by a single
declaration.
LocalVariable
A single variable in a LocalVariablesDeclaration .
LocalVariableElement
A local variable.
LocalVariableFragment
The portion of a LocalVariableElement contributed by a single
declaration.
LocalVariablesDeclaration
The declaration of one or more local variables of the same type.
LocalVariablesDeclarationStatement
A statement that declares one or more local variables of the same type.
LogicalAnd
A logical-and expression.
LogicalAndPattern
A logical-and pattern.
LogicalNot
A logical not expression.
LogicalOr
A logical-or expression.
LogicalOrPattern
A logical-or pattern.
MapLiteralEntry
A single key/value pair in a map literal.
MapPattern
A map pattern.
MapPatternElement
An element of a map pattern.
MapPatternEntry
An entry in a map pattern.
MemberDeclaration
A declaration occupying a member position in an instance declaration body.
Metadata
The metadata (annotations) associated with an element or fragment.
MethodDeclaration
A method declaration.
MethodDeclaration2
A method declaration in an instance declaration body.
MethodElement
A method.
MethodFragment
The portion of a MethodElement contributed by a single declaration.
MethodIndexReadResolution
An index read resolved to a statically selected operator [] method.
MethodIndexWriteResolution
An index write resolved to a statically selected operator []= method.
MethodInvocation
The invocation of either a function or a method.
MethodReferenceExpression
An expression that implicitly makes reference to a method.
MissingDotShorthandContextResolution
An absent dot-shorthand context: no context type was available.
MixinDeclaration
The declaration of a mixin.
MixinDeclaration2
The declaration of a mixin.
MixinElement
An element that represents a mixin.
MixinFragment
The portion of a PrefixElement contributed by a single declaration.
MixinOnClause
The "on" clause in a mixin declaration.
MultiplyDefinedElement
A pseudo-element that represents multiple elements defined within a single
scope that have the same name. This situation is not allowed by the
language, so objects implementing this interface always represent an error.
As a result, most of the normal operations on elements do not make sense
and will return useless results.
MultiplyDefinedFragment
The fragment for a MultiplyDefinedElement .
MustBeAnonymousRule
Fires when a parameter annotated @mustBeAnonymous /
@mustBeAnonymousOrError receives anything other than a function literal.
MustBeStronglyRefRule
Fires when a parameter annotated @mustBeStrongRef /
@mustBeStrongRefOrError receives a function literal or a reference that
does not outlive the call (a local function or an instance-method
tear-off).
MustHandleReturnRule
Fires when a function or method annotated @mustHandleReturn /
@mustHandleReturnOrError has its return value discarded.
MustUseOutcomeRule
Fires when an expression whose static type is assignable to Outcome
(from df_safer_dart) is dropped as a bare expression statement.
MustUseUnsafeWrapperRule
Fires when a member annotated @unsafe / @unsafeOrError is used outside
an UNSAFE(() => ...) call (from df_safer_dart) or an UNSAFE: labelled
statement.
Name
A public name, or a private name qualified by a library URI.
NamedArgument
An argument that has a name associated with it.
NamedAssignmentTarget
A named destination of an assignment.
NamedFunctionInvocation
A direct invocation through a written function or method name.
NamedReadResolution
The resolution of a named read.
NamedReadResolutionWithElement
A named read that was resolved to an element.
NamedReceiver
A value receiver or static namespace before a named selection.
NamedType
A named type, which can optionally include type arguments.
NamedTypeChecker
Matches a type by its simple name and, when given, the packageName of
the library that declares it.
NamedWriteResolution
The result of writing a named assignment target.
NamedWriteResolutionWithElement
A named write that was resolved to an element.
NameExpression
A value-producing named access.
NamespaceCombinator
An object that controls how namespaces are combined.
NamespaceDirective
A node that represents a directive that impacts the namespace of a library.
NameWithTypeParameters
The type name with optional type parameters.
NativeClause
The "native" clause in an class declaration.
NativeFunctionBody
A function body that consists of a native keyword followed by a string
literal.
NeverType
The type Never represents the uninhabited bottom type.
NodeList <E extends AstNode >
A list of AST nodes that have a common parent.
NoFutureOutcomeTypeRule
Fires on type annotations of the form Future<Outcome<T>>,
FutureOr<Outcome<T>> or Outcome<Future<T>>, for every Outcome
subtype that df_safer_dart declares.
NoFuturesRule
Fires when a function or method annotated @noFutures /
@noFuturesOrError (or a function literal passed to a parameter with that
annotation) is async, returns a Future, or contains a Future.
NullAssertionExpression
A postfix null assertion expression.
NullAssertPattern
A null-assert pattern.
NullAwareElement
A null-aware element in a list or set literal.
NullCheckPattern
A null-check pattern.
NullLiteral
A null literal expression.
ObjectPattern
An object pattern.
OperatorDeclaration
An operator declaration in an instance declaration body.
ParameterizedType
A type that can track substituted type parameters, either for itself after
instantiation, or from a surrounding context.
ParenthesizedExpression
A parenthesized expression.
ParenthesizedPattern
A parenthesized pattern.
ParsedAssignmentTarget
An assignment destination whose names have not yet been classified.
ParsedCascadeName
A named selector on the enclosing cascade's receiver whose semantic role
has not yet been selected. Type and value arguments are separate wrappers.
The enclosing CascadeSection owns the .. or ?.. token.
ParsedDotShorthandExpression
The complete grammar boundary of a dot-shorthand expression.
ParsedDotShorthandName
A dot-shorthand head whose declaration is selected using contextual type
information. Type and value arguments are separate parsed wrappers.
ParsedExpression
A syntactic expression whose final semantic role has not yet been selected.
ParsedNameAccess
An operand followed by a selector operator and a name.
ParsedNameAccessAssignmentTarget
A final name selector used as a syntactic assignment destination.
ParsedTypeArguments
An operand followed by a type-argument list.
ParsedUnqualifiedName
A syntactically unqualified name whose semantic role has not yet been
determined.
ParsedValueArguments
An operand followed by a parenthesized value-argument list.
PartDirective
A part directive.
PartInclude
A 'part' directive within a library fragment.
PartOfDirective
A part-of directive.
PatternAssignment
A pattern assignment.
PatternField
A field in an object or record pattern.
PatternFieldName
A field name in an object or record pattern field.
PatternVariableDeclaration
A pattern variable declaration.
PatternVariableDeclarationStatement
A pattern variable declaration statement.
PatternVariableElement
A pattern variable.
PatternVariableFragment
The portion of a PatternVariableElement contributed by a single
declaration.
PostfixExpression
A postfix unary expression.
PrefixedIdentifier
An identifier that is prefixed or an access to an object property where the
target of the property access is a simple identifier.
PrefixElement
A prefix used to import one or more libraries into another library.
PrefixExpression
A prefix unary expression.
PrefixFragment
The portion of a PrefixElement contributed by a single declaration.
PrimaryConstructorBody
The body of a primary constructor.
PrimaryConstructorBody2
The body of a primary constructor.
PrimaryConstructorDeclaration
The declaration of a primary constructor.
PrimaryConstructorName
The name of a primary constructor.
PropertyAccess
The access of a property of an object.
PropertyAccessorElement
A getter or a setter.
PropertyAccessorFragment
The portion of a GetterElement contributed by a single declaration.
PropertyAssignmentTarget
A property used as an assignment destination.
A property value selected from a receiver.
PropertyInducingElement
A variable that has an associated getter and possibly a setter. Note that
explicitly defined variables implicitly define a synthetic getter and that
non-final explicitly defined variables implicitly define a synthetic
setter. Symmetrically, synthetic fields are implicitly created for
explicitly defined getters and setters. The following rules apply:
PropertyInducingFragment
The portion of a PropertyInducingElement contributed by a single
declaration.
ReadResolution
The resolution of a read operation.
ReceiverIndexAssignmentTarget
An indexed location on an explicitly written receiver.
ReceiverIndexExpression
A value produced by invoking operator [] on an explicitly written
expression receiver.
ReceiverMethodInvocation
A direct method invocation on an explicitly written receiver or qualifier.
ReceiverPropertyAssignmentTarget
A property selected on a value receiver or static qualifier and used as an
assignment destination. Cascade selections use CascadePropertyAssignmentTarget .
A property value selected on an explicitly written receiver.
RecordFieldReadResolution
A read of a field from a record value.
RecordLiteral
A record literal.
RecordLiteralField
A node that can occur in a RecordLiteral .
RecordLiteralNamedField
A named field in a RecordLiteral .
RecordPattern
A record pattern.
RecordType
The type of a record literal or a record type annotation.
RecordTypeAnnotation
A record type.
RecordTypeAnnotationField
A field in a RecordTypeAnnotation .
RecordTypeAnnotationNamedField
A named field in a RecordTypeAnnotation .
RecordTypeAnnotationNamedFields
The portion of a RecordTypeAnnotation with named fields.
RecordTypeAnnotationPositionalField
A positional field in a RecordTypeAnnotation .
RecordTypeField
A field in a RecordType .
RecordTypeNamedField
A named field in a RecordType .
RecordTypePositionalField
A positional field in a RecordType .
RecursiveAstVisitor <R >
An AST visitor that will recursively visit all of the nodes in an AST
structure. For example, using an instance of this class to visit a Block
will also cause all of the statements in the block to be visited.
RedirectingConstructorInvocation
The invocation of a constructor in the same class from within a
constructor's initialization list.
RegularFormalParameter
A regular formal parameter.
RelationalPattern
A relational pattern.
RestPatternElement
A rest pattern element.
RethrowExpression
A rethrow expression.
ReturnStatement
A return statement.
RuleContext
Provides access to information needed by analysis rules that is not
available from AST nodes or the element model.
RuleVisitorRegistry
The container to register visitors for separate AST node types.
ScriptTag
A script tag that can optionally occur at the beginning of a compilation
unit.
SemicolonEnumDeclarationBody
An enum body represented by a semicolon.
SemicolonInstanceDeclarationBody
An instance-declaration body represented by a semicolon.
SendableRule
Rejects function arguments that cannot survive SendPort.send. Closures
and instance-method tear-offs capture state that the isolate runtime
cannot copy. Only top-level functions and static methods are accepted.
SetOrMapLiteral
A set or map literal.
SetterDeclaration
A setter declaration in an instance declaration body.
SetterElement
A setter.
SetterFragment
The portion of a SetterElement contributed by a single declaration.
SetterInvocationResolution
An invocation of a setter selected for a named write.
ShowCombinator
A combinator that restricts the names being imported to those in a given
list.
ShowElementCombinator
A combinator that cause some of the names in a namespace to be visible (and
the rest hidden) when being imported.
SimpleAstVisitor <R >
An AST visitor that will do nothing when visiting an AST node. It is
intended to be a superclass for classes that use the visitor pattern
primarily as a dispatch mechanism (and hence don't need to recursively visit
a whole structure) and that only need to visit a small number of node types.
SimpleIdentifier
A simple identifier.
SimpleStringLiteral
A string literal expression that doesn't contain any interpolations.
SingleStringLiteral
A single string literal expression.
SpreadElement
A spread element.
Statement
A node that represents a statement.
StaticInvocationResolution
A successful invocation with a statically known function signature.
StaticQualifier
A type or named extension used as a namespace for static member lookup.
StringInterpolation
A string interpolation literal.
StringLiteral
A string literal expression.
SuperConstructorInvocation
The invocation of a superclass' constructor from within a constructor's
initialization list.
SuperExpression
A super expression.
SuperFormalParameter
A super-initializer formal parameter.
SuperFormalParameterElement
A super formal parameter.
SuperFormalParameterFragment
The portion of a SuperFormalParameterElement contributed by a single
declaration.
SuperReference
The current instance used with superclass lookup and dispatch.
SwitchCase
A case in a switch statement.
SwitchDefault
The default case in a switch statement.
SwitchExpression
A switch expression.
SwitchExpressionCase
A case in a switch expression.
SwitchMember
An element within a switch statement.
SwitchPatternCase
A pattern-based case in a switch statement.
SwitchStatement
A switch statement.
SymbolLiteral
A symbol literal expression.
ThisExpression
A this expression.
ThrowExpression
A throw expression.
TopLevelDeclaration
A declaration that can appear directly in a compilation unit in V2.
TopLevelFunctionDeclaration
A top-level function declaration.
TopLevelFunctionElement
A top-level function.
TopLevelFunctionFragment
The portion of a TopLevelFunctionElement contributed by a single
declaration.
TopLevelGetterDeclaration
A top-level getter declaration.
TopLevelSetterDeclaration
A top-level setter declaration.
TopLevelVariable2
A single variable in a TopLevelVariablesDeclaration .
TopLevelVariableDeclaration
The declaration of one or more top-level variables of the same type.
TopLevelVariableElement
A top-level variable.
TopLevelVariableFragment
The portion of a TopLevelVariableElement contributed by a single
declaration.
TopLevelVariablesDeclaration
The declaration of one or more top-level variables of the same type.
TryStatement
A try statement.
TypeAlias
The declaration of a type alias.
TypeAliasElement
A type alias (typedef).
TypeAliasFragment
The portion of a TypeAliasElement contributed by a single declaration.
TypeAnnotation
A type annotation.
TypeArgumentList
A list of type arguments.
TypedLiteral
A literal that has a type associated with it.
TypeLiteral
An expression representing a type, such as the expression int in
var x = int;.
TypeParameter
A type parameter.
TypeParameterElement
A type parameter.
TypeParameterFragment
The portion of a TypeParameterElement contributed by a single
declaration.
TypeParameterizedElement
An element that has type parameters, such as a class, typedef, or method.
TypeParameterizedFragment
The portion of a TypeParameterizedElement contributed by a single
declaration.
TypeParameterList
Type parameters within a declaration.
TypeParameterType
The type introduced by a type parameter.
UnaryOperatorInvocation
An invocation of an overloadable unary operator.
UnqualifiedFunctionInvocation
A direct invocation through an unqualified function or method name.
UnqualifiedNameAssignmentTarget
An assignment target consisting of one unqualified name.
UnqualifiedNameExpression
A value-producing unqualified name.
UriBasedDirective
A directive that references a URI.
ValidDotShorthandContextResolution
A usable dot-shorthand context.
ValidIndexReadResolution
A successful index read resolution.
ValidIndexWriteResolution
A successful index write resolution.
ValidInvocationResolution
A successful invocation resolution.
VariableDeclaration
An identifier that has an initial value associated with it.
VariableDeclarationList
The declaration of one or more variables of the same type.
VariableDeclarationStatement
A list of variables that are being declared in a context where a statement
is required.
VariableElement
A variable.
VariableFragment
The portion of a VariableElement contributed by a single declaration.
VariablePattern
The shared interface of AssignedVariablePattern and
DeclaredVariablePattern .
VariableReadResolution
A direct read of a local variable or formal parameter.
VariableWriteResolution
A direct write to a variable.
VoidType
The special type void is used to indicate that the value of an
expression is meaningless, and intended to be discarded.
WhenClause
A guard in a pattern-based case in a switch statement, switch
expression, if statement, or if element.
WhileStatement
A while statement.
WildcardPattern
A wildcard pattern.
WithClause
The with clause in a class declaration.
WriteResolution
The resolution of a write operation.
YieldStatement
A yield statement.
df_safer_dart_lints 0.7.3