flutter_ast library

Classes

AdjacentStrings
Two or more string literals that are implicitly concatenated because of being adjacent (separated only by whitespace).
AdjacentStringsImpl
Two or more string literals that are implicitly concatenated because of being adjacent (separated only by whitespace).
AnalysisResult
The result of performing some kind of analysis on a single file. Every result that implements this interface will also implement a sub-interface.
AnalysisResultWithErrors
An analysis result that includes the errors computed during analysis.
AnnotatedNode
An AST node that can be annotated with both a documentation comment and a list of annotations.
AnnotatedNodeImpl
An AST node that can be annotated with both a documentation comment and a list of annotations.
Annotation
An annotation that can be associated with an AST node.
AnnotationImpl
An annotation that can be associated with an AST node.
ArgumentList
A list of arguments in the invocation of an executable element (that is, a function, method, or constructor).
ArgumentListImpl
A list of arguments in the invocation of an executable element (that is, a function, method, or constructor).
AsExpression
An as expression.
AsExpressionImpl
An as expression.
AssertInitializer
An assert in the initializer list of a constructor.
AssertInitializerImpl
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.
AssertStatementImpl
An assert statement.
AssignedVariablePattern
A variable pattern in PatternAssignment.
AssignedVariablePatternImpl
A variable pattern in PatternAssignment.
AssignmentExpression
An assignment expression.
AssignmentExpressionImpl
An assignment expression.
AstNode
A node in the AST structure for a Dart program.
AstNodeImpl
A node in the AST structure for a Dart program.
AstVisitor<R>
An object that can be used to visit an AST structure.
AugmentationImportDirective
An augmentation import directive.
AugmentationImportDirectiveImpl
An augmentation import directive.
AwaitExpression
An await expression.
AwaitExpressionImpl
An await expression.
BinaryExpression
A binary (infix) expression.
BinaryExpressionImpl
A binary (infix) expression.
BinaryPattern
A binary (infix) pattern.
BinaryPatternImpl
A binary (infix) pattern.
Block
A sequence of statements.
BlockFunctionBody
A function body that consists of a block of statements.
BlockFunctionBodyImpl
A function body that consists of a block of statements.
BlockImpl
A sequence of statements.
BooleanLiteral
A boolean literal expression.
BooleanLiteralImpl
A boolean literal expression.
BreakStatement
A break statement.
BreakStatementImpl
A break statement.
CannotResolveUriResult
The type of InvalidResult returned when the given URI cannot be resolved.
CascadeExpression
A sequence of cascaded expressions: expressions that share a common target.
CascadeExpressionImpl
A sequence of cascaded expressions: expressions that share a common target. There are three kinds of expressions that can be used in a cascade expression: IndexExpression, MethodInvocation and PropertyAccess.
CaseClause
The case clause that can optionally appear in an if statement.
CaseClauseImpl
The case clause that can optionally appear in an if statement.
CastPattern
A cast pattern.
CastPatternImpl
A cast pattern.
CatchClause
A catch clause within a try statement.
CatchClauseImpl
A catch clause within a try statement.
CatchClauseParameter
The 'exception' or 'stackTrace' parameter in CatchClause.
CatchClauseParameterImpl
ChildEntities
Helper class to allow iteration of child entities of an AST node.
ChildEntity
A named child of an AstNode, usually a token, node, or a list of nodes.
ClassAugmentationDeclaration
The declaration of a class augmentation.
ClassDeclaration
The declaration of a class.
ClassDeclarationImpl
The declaration of a class.
ClassMember
A node that declares a name within the scope of a class declarations.
ClassMemberImpl
A node that declares a name within the scope of a class.
ClassOrAugmentationDeclaration
Shared interface between ClassDeclaration and ClassAugmentationDeclaration.
ClassTypeAlias
A class type alias.
ClassTypeAliasImpl
A class type alias.
CollectionElement
An element in a list, map or set literal.
CollectionElementImpl
Combinator
A combinator associated with an import or export directive.
CombinatorImpl
A combinator associated with an import or export directive.
Comment
A comment within the source code.
CommentImpl
A comment within the source code.
CommentReferableExpression
An interface for an Expression which can make up a CommentReference.
CommentReferableExpressionImpl
CommentReference
A reference to a Dart element that is found within a documentation comment.
CommentReferenceImpl
A reference to a Dart element that is found within a documentation comment.
CommentTokenImpl
CommentType
The possible types of comments that are recognized by the parser.
CompilationUnit
A compilation unit.
CompilationUnitImpl
A compilation unit.
CompilationUnitMember
A node that declares one or more names within the scope of a compilation unit.
CompilationUnitMemberImpl
A node that declares one or more names within the scope of a compilation unit.
CompoundAssignmentExpression
A potentially compound assignment.
ConditionalExpression
A conditional expression.
ConditionalExpressionImpl
A conditional expression.
Configuration
A configuration in either an import or export directive.
ConfigurationImpl
A configuration in either an import or export directive.
ConstantContextForExpressionImpl
This class is used as a marker of constant context for initializers of constant fields and top-level variables read from summaries.
ConstantPattern
A constant expression being used as a pattern.
ConstantPatternImpl
An expression being used as a pattern.
ConstructorDeclaration
A constructor declaration.
ConstructorDeclarationImpl
A constructor declaration.
ConstructorFieldInitializer
The initialization of a field within a constructor's initialization list.
ConstructorFieldInitializerImpl
The initialization of a field within a constructor's initialization list.
ConstructorInitializer
A node that can occur in the initializer list of a constructor declaration.
ConstructorInitializerImpl
A node that can occur in the initializer list of a constructor declaration.
ConstructorName
The name of a constructor.
ConstructorNameImpl
The name of the constructor.
ConstructorReference
An expression representing a reference to a constructor, e.g. the expression List.filled in var x = List.filled;.
ConstructorReferenceImpl
An expression representing a reference to a constructor, e.g. the expression List.filled in var x = List.filled;.
ConstructorReferenceNode
An AST node that makes reference to a constructor.
ConstructorSelector
The name of a constructor being invoked.
ConstructorSelectorImpl
ContinueStatement
A continue statement.
ContinueStatementImpl
A continue statement.
DartDocToken
DartPattern
A pattern.
DartPatternImpl
A pattern.
DartResult
Declaration
A node that represents the declaration of one or more names.
DeclarationImpl
A node that represents the declaration of one or more names. Each declared name is visible within a name scope.
DeclaredIdentifier
The declaration of a single identifier.
DeclaredIdentifierImpl
The declaration of a single identifier.
DeclaredSimpleIdentifier
A simple identifier that declares a name.
DeclaredVariablePattern
A variable pattern that declares a variable.
DeclaredVariablePatternImpl
A variable pattern.
DefaultFormalParameter
A formal parameter with a default value.
DefaultFormalParameterImpl
A formal parameter with a default value. There are two kinds of parameters that are both represented by this class: named formal parameters and positional formal parameters.
Directive
A node that represents a directive.
DirectiveImpl
A node that represents a directive.
DisposedAnalysisContextResult
The type of InvalidResult returned when the AnalysisContext has been disposed.
DoStatement
A do statement.
DoStatementImpl
A do statement.
DottedName
A dotted name, used in a configuration within an import or export directive.
DottedNameImpl
A dotted name, used in a configuration within an import or export directive.
DoubleLiteral
A floating point literal expression.
DoubleLiteralImpl
A floating point literal expression.
ElementDeclarationResult
The declaration of an Element.
EmptyFunctionBody
An empty function body, which can only appear in constructors or abstract methods.
EmptyFunctionBodyImpl
An empty function body, which can only appear in constructors or abstract methods.
EmptyStatement
An empty statement.
EmptyStatementImpl
An empty statement.
EnumConstantArguments
The arguments part of an enum constant.
EnumConstantArgumentsImpl
EnumConstantDeclaration
The declaration of an enum constant.
EnumConstantDeclarationImpl
The declaration of an enum constant.
EnumDeclaration
The declaration of an enumeration.
EnumDeclarationImpl
The declaration of an enumeration.
ErrorsResult
The result of computing all of the errors contained in a single file, both syntactic and semantic.
ExportDirective
An export directive.
ExportDirectiveImpl
An export directive.
Expression
A node that represents an expression.
ExpressionFunctionBody
A function body consisting of a single expression.
ExpressionFunctionBodyImpl
A function body consisting of a single expression.
ExpressionImpl
A node that represents an expression.
ExpressionStatement
An expression used as a statement.
ExpressionStatementImpl
An expression used as a statement.
ExtendsClause
The "extends" clause in a class declaration.
ExtendsClauseImpl
The "extends" clause in a class declaration.
ExtensionDeclaration
The declaration of an extension of a type.
ExtensionDeclarationImpl
The declaration of an extension of a type.
ExtensionOverride
An override to force resolution to choose a member from a specific extension.
ExtensionOverrideImpl
An override to force resolution to choose a member from a specific extension.
FieldDeclaration
The declaration of one or more fields of the same type.
FieldDeclarationImpl
The declaration of one or more fields of the same type.
FieldFormalParameter
A field formal parameter.
FieldFormalParameterImpl
A field formal parameter.
FileResult
The result of computing some cheap information for a single file, when full parsed file is not required, so ParsedUnitResult is not necessary.
ForEachParts
The parts of a for-each loop that control the iteration.
ForEachPartsImpl
ForEachPartsWithDeclaration
The parts of a for-each loop that control the iteration when the loop variable is declared as part of the for loop.
ForEachPartsWithDeclarationImpl
ForEachPartsWithIdentifier
The parts of a for-each loop that control the iteration when the loop variable is declared outside of the for loop.
ForEachPartsWithIdentifierImpl
ForEachPartsWithPattern
A for-loop part with a pattern.
ForEachPartsWithPatternImpl
A for-loop part with a pattern.
ForElement
The basic structure of a for element.
ForElementImpl
ForLoopParts
The parts of a for or for-each loop that control the iteration.
ForLoopPartsImpl
FormalParameter
A node representing a parameter to a function.
FormalParameterImpl
A node representing a parameter to a function.
FormalParameterList
The formal parameter list of a method declaration, function declaration, or function type alias.
FormalParameterListImpl
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.
ForPartsImpl
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.
ForPartsWithDeclarationsImpl
ForPartsWithExpression
The parts of a for loop that control the iteration when there are no variable declarations as part of the for loop.
ForPartsWithExpressionImpl
ForPartsWithPattern
The parts of a for loop that control the iteration when there is a pattern declaration as part of the for loop.
ForPartsWithPatternImpl
The parts of a for loop that control the iteration when there is a pattern declaration as part of the for loop.
ForStatement
A for or for-each statement.
ForStatementImpl
FunctionBody
A node representing the body of a function or method.
FunctionBodyImpl
A node representing the body of a function or method.
FunctionDeclaration
A function declaration.
FunctionDeclarationImpl
A function declaration.
FunctionDeclarationStatement
A FunctionDeclaration used as a statement.
FunctionDeclarationStatementImpl
A FunctionDeclaration used as a statement.
FunctionExpression
A function expression.
FunctionExpressionImpl
A function expression.
FunctionExpressionInvocation
The invocation of a function resulting from evaluating an expression.
FunctionExpressionInvocationImpl
The invocation of a function resulting from evaluating an expression. Invocations of methods and other forms of functions are represented by MethodInvocation nodes. Invocations of getters and setters are represented by either PrefixedIdentifier or PropertyAccess nodes.
FunctionReference
An expression representing a reference to a function, possibly with type arguments applied to it, e.g. the expression print in var x = print;.
FunctionReferenceImpl
An expression representing a reference to a function, possibly with type arguments applied to it, e.g. the expression print in var x = print;.
FunctionTypeAlias
A function type alias.
FunctionTypeAliasImpl
A function type alias.
FunctionTypedFormalParameter
A function-typed formal parameter.
FunctionTypedFormalParameterImpl
A function-typed formal parameter.
GenericFunctionType
An anonymous function type.
GenericFunctionTypeImpl
An anonymous function type.
GenericTypeAlias
A generic type alias.
GenericTypeAliasImpl
A generic type alias.
GuardedPattern
The pattern with an optional WhenClause.
GuardedPatternImpl
The case clause that can optionally appear in an if statement.
HideCombinator
A combinator that restricts the names being imported to those that are not in a given list.
HideCombinatorImpl
A combinator that restricts the names being imported to those that are not in a given list.
Identifier
A node that represents an identifier.
IdentifierImpl
A node that represents an identifier.
IfElement
The basic structure of an if element.
IfElementImpl
IfElementOrStatementImpl<E extends AstNodeImpl>
IfStatement
An if statement.
IfStatementImpl
An if statement.
ImplementsClause
The "implements" clause in an class declaration.
ImplementsClauseImpl
The "implements" clause in an class declaration.
ImplicitCallReference
An expression representing an implicit 'call' method reference.
ImplicitCallReferenceImpl
ImportDirective
An import directive.
ImportDirectiveImpl
An import directive.
IndexExpression
An index expression.
IndexExpressionImpl
An index expression.
InstanceCreationExpression
An instance creation expression.
InstanceCreationExpressionImpl
An instance creation expression.
IntegerLiteral
An integer literal expression.
IntegerLiteralImpl
An integer literal expression.
InterpolationElement
A node within a StringInterpolation.
InterpolationElementImpl
A node within a StringInterpolation.
InterpolationExpression
An expression embedded in a string interpolation.
InterpolationExpressionImpl
An expression embedded in a string interpolation.
InterpolationString
A non-empty substring of an interpolated string.
InterpolationStringImpl
A non-empty substring of an interpolated string.
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.
InvocationExpression
The invocation of a function or method; either a FunctionExpressionInvocation or a MethodInvocation.
InvocationExpressionImpl
Common base class for FunctionExpressionInvocationImpl and MethodInvocationImpl.
IsExpression
An is expression.
IsExpressionImpl
An is expression.
Label
A label on either a LabeledStatement or a NamedExpression.
LabeledStatement
A statement that has a label associated with them.
LabeledStatementImpl
A statement that has a label associated with them.
LabelImpl
A label on either a LabeledStatement or a NamedExpression.
LanguageVersionTokenImpl
LibraryAugmentationDirective
A library augmentation directive.
LibraryAugmentationDirectiveImpl
A library directive.
LibraryDirective
A library directive.
LibraryDirectiveImpl
A library directive.
LibraryElementResult
The result of building the element model for a library.
LibraryIdentifier
The identifier for a library.
LibraryIdentifierImpl
The identifier for a library.
ListLiteral
A list literal.
ListLiteralImpl
ListPattern
A list pattern.
ListPatternElement
An element of a list pattern.
ListPatternElementImpl
ListPatternImpl
A list pattern.
Literal
A node that represents a literal expression.
LiteralImpl
A node that represents a literal expression.
LocalVariableInfo
Additional information about local variables within a function or method produced at resolution time.
MapLiteralEntry
A single key/value pair in a map literal.
MapLiteralEntryImpl
A single key/value pair in a map literal.
MapPattern
A map pattern.
MapPatternElement
An element of a map pattern.
MapPatternElementImpl
MapPatternEntry
An entry in a map pattern.
MapPatternEntryImpl
An entry in a map pattern.
MapPatternImpl
A map pattern.
MethodDeclaration
A method declaration.
MethodDeclarationImpl
A method declaration.
MethodInvocation
The invocation of either a function or a method.
MethodInvocationImpl
The invocation of either a function or a method. Invocations of functions resulting from evaluating an expression are represented by FunctionExpressionInvocation nodes. Invocations of getters and setters are represented by either PrefixedIdentifier or PropertyAccess nodes.
MethodReferenceExpression
An expression that implicitly makes reference to a method.
MixinAugmentationDeclaration
The declaration of a mixin augmentation.
MixinDeclaration
The declaration of a mixin.
MixinDeclarationImpl
The declaration of a mixin.
MixinOrAugmentationDeclaration
Shared interface between MixinDeclaration and MixinAugmentationDeclaration.
NamedCompilationUnitMember
A node that declares a single name within the scope of a compilation unit.
NamedCompilationUnitMemberImpl
A node that declares a single name within the scope of a compilation unit.
NamedExpression
An expression that has a name associated with it. They are used in method invocations when there are named parameters.
NamedExpressionImpl
An expression that has a name associated with it. They are used in method invocations when there are named parameters.
NamedType
A named type, which can optionally include type arguments.
NamedTypeImpl
The name of a type, which can optionally include type arguments.
NamespaceDirective
A node that represents a directive that impacts the namespace of a library.
NamespaceDirectiveImpl
A node that represents a directive that impacts the namespace of a library.
NativeClause
The "native" clause in an class declaration.
NativeClauseImpl
The "native" clause in an class declaration.
NativeFunctionBody
A function body that consists of a native keyword followed by a string literal.
NativeFunctionBodyImpl
A function body that consists of a native keyword followed by a string literal.
NodeList<E extends AstNode>
A list of AST nodes that have a common parent.
NodeListImpl<E extends AstNode>
A list of AST nodes that have a common parent.
NormalFormalParameter
A formal parameter that is required (is not optional).
NormalFormalParameterImpl
A formal parameter that is required (is not optional).
NotElementOfThisSessionResult
The type of InvalidResult returned when the given element was not created by the requested session.
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.
NullLiteral
A null literal expression.
NullLiteralImpl
A null literal expression.
NullShortableExpression
Abstract interface for expressions that may participate in null-shorting.
ObjectPattern
An object pattern.
ObjectPatternImpl
An object pattern.
OnClause
The "on" clause in a mixin declaration.
OnClauseImpl
The "on" clause in a mixin declaration.
ParenthesizedExpression
A parenthesized expression.
ParenthesizedExpressionImpl
A parenthesized expression.
ParenthesizedPattern
A parenthesized pattern.
ParenthesizedPatternImpl
A parenthesized pattern.
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.
PartDirective
A part directive.
PartDirectiveImpl
A part directive.
PartOfDirective
A part-of directive.
PartOfDirectiveImpl
A part-of directive.
PatternAssignment
A pattern assignment.
PatternAssignmentImpl
A pattern assignment.
PatternVariableDeclaration
A pattern variable declaration.
PatternVariableDeclarationImpl
A pattern variable declaration.
PatternVariableDeclarationStatement
A pattern variable declaration statement.
PatternVariableDeclarationStatementImpl
A pattern variable declaration statement.
PostfixExpression
A postfix unary expression.
PostfixExpressionImpl
A postfix unary expression.
PostfixPattern
A postfix (unary) pattern.
PostfixPatternImpl
A postfix (unary) pattern.
PrefixedIdentifier
An identifier that is prefixed or an access to an object property where the target of the property access is a simple identifier.
PrefixedIdentifierImpl
An identifier that is prefixed or an access to an object property where the target of the property access is a simple identifier.
PrefixExpression
A prefix unary expression.
PrefixExpressionImpl
A prefix unary expression.
PropertyAccess
The access of a property of an object.
PropertyAccessImpl
The access of a property of an object.
RecordLiteral
A record literal.
RecordLiteralImpl
RecordPattern
A record pattern.
RecordPatternField
A field in a record pattern.
RecordPatternFieldImpl
A field in a record pattern.
RecordPatternFieldName
A field name in a record pattern field.
RecordPatternFieldNameImpl
A field name in a record pattern field.
RecordPatternImpl
A record pattern.
RecordTypeAnnotation
A record type.
RecordTypeAnnotationField
A field in a RecordTypeAnnotation.
RecordTypeAnnotationFieldImpl
RecordTypeAnnotationImpl
RecordTypeAnnotationNamedField
A named field in a RecordTypeAnnotation.
RecordTypeAnnotationNamedFieldImpl
RecordTypeAnnotationNamedFields
The portion of a RecordTypeAnnotation with named fields.
RecordTypeAnnotationNamedFieldsImpl
RecordTypeAnnotationPositionalField
A positional field in a RecordTypeAnnotation.
RecordTypeAnnotationPositionalFieldImpl
RedirectingConstructorInvocation
The invocation of a constructor in the same class from within a constructor's initialization list.
RedirectingConstructorInvocationImpl
The invocation of a constructor in the same class from within a constructor's initialization list.
RelationalPattern
A relational pattern.
RelationalPatternImpl
A relational pattern.
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.
RestPatternElement
A rest pattern element.
RestPatternElementImpl
RethrowExpression
A rethrow expression.
RethrowExpressionImpl
A rethrow expression.
ReturnStatement
A return statement.
ReturnStatementImpl
A return statement.
ScriptTag
A script tag that can optionally occur at the beginning of a compilation unit.
ScriptTagImpl
A script tag that can optionally occur at the beginning of a compilation unit.
SetOrMapLiteral
A set or map literal.
SetOrMapLiteralImpl
ShowCombinator
A combinator that restricts the names being imported to those in a given list.
ShowCombinatorImpl
A combinator that restricts the names being imported to those in a given list.
SimpleFormalParameter
A simple formal parameter.
SimpleFormalParameterImpl
A simple formal parameter.
SimpleIdentifier
A simple identifier.
SimpleIdentifierImpl
A simple identifier.
SimpleStringLiteral
A string literal expression that does not contain any interpolations.
SimpleStringLiteralImpl
A string literal expression that does not contain any interpolations.
SingleStringLiteral
A single string literal expression.
SingleStringLiteralImpl
A single string literal expression.
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.
SpreadElement
A spread element.
SpreadElementImpl
Statement
A node that represents a statement.
StatementImpl
A node that represents a statement.
StringInterpolation
A string interpolation literal.
StringInterpolationImpl
A string interpolation literal.
StringLexemeHelper
A helper for analyzing string lexemes.
StringLiteral
A string literal expression.
StringLiteralImpl
A string literal expression.
StringTokenImpl
A String-valued token. Represents identifiers, string literals, number literals, comments, and error tokens, using the corresponding precedence info.
SuperConstructorInvocation
The invocation of a superclass' constructor from within a constructor's initialization list.
SuperConstructorInvocationImpl
The invocation of a superclass' constructor from within a constructor's initialization list.
SuperExpression
A super expression.
SuperExpressionImpl
A super expression.
SuperFormalParameter
A super-initializer formal parameter.
SuperFormalParameterImpl
A super-initializer formal parameter.
SwitchCase
A case in a switch statement.
SwitchCaseImpl
A case in a switch statement.
SwitchDefault
The default case in a switch statement.
SwitchDefaultImpl
The default case in a switch statement.
SwitchExpression
A switch expression.
SwitchExpressionCase
A case in a switch expression.
SwitchExpressionCaseImpl
A case in a switch expression.
SwitchExpressionImpl
A switch expression.
SwitchMember
An element within a switch statement.
SwitchMemberImpl
An element within a switch statement.
SwitchPatternCase
A pattern-based case in a switch statement.
SwitchPatternCaseImpl
A pattern-based case in a switch statement.
SwitchStatement
A switch statement.
SwitchStatementCaseGroup
SwitchStatementImpl
A switch statement.
SymbolLiteral
A symbol literal expression.
SymbolLiteralImpl
A symbol literal expression.
SyntacticEntity
Interface representing a syntactic entity (either a token or an AST node) which has a location and extent in the source file.
ThisExpression
A this expression.
ThisExpressionImpl
A this expression.
ThrowExpression
A throw expression.
ThrowExpressionImpl
A throw expression.
TopLevelVariableDeclaration
The declaration of one or more top-level variables of the same type.
TopLevelVariableDeclarationImpl
The declaration of one or more top-level variables of the same type.
TryStatement
A try statement.
TryStatementImpl
A try statement.
TypeAlias
The declaration of a type alias.
TypeAliasImpl
The declaration of a type alias.
TypeAnnotation
A type annotation.
TypeAnnotationImpl
A type annotation.
TypeArgumentList
A list of type arguments.
TypeArgumentListImpl
A list of type arguments.
TypedLiteral
A literal that has a type associated with it.
TypedLiteralImpl
A literal that has a type associated with it.
TypeLiteral
An expression representing a type, e.g. the expression int in var x = int;.
TypeLiteralImpl
An expression representing a type, e.g. the expression int in var x = int;.
TypeParameter
A type parameter.
TypeParameterImpl
A type parameter.
TypeParameterList
Type parameters within a declaration.
TypeParameterListImpl
Type parameters within a declaration.
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.
UriBasedDirective
A directive that references a URI.
UriBasedDirectiveImpl
A directive that references a URI.
UriOfExternalLibraryResult
The type of InvalidResult returned when the given URI corresponds to a library that is served from an external summary bundle.
UriValidationCode
Validation codes returned by UriBasedDirective.validate.
VariableDeclaration
An identifier that has an initial value associated with it.
VariableDeclarationImpl
An identifier that has an initial value associated with it. Instances of this class are always children of the class VariableDeclarationList.
VariableDeclarationList
The declaration of one or more variables of the same type.
VariableDeclarationListImpl
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.
VariableDeclarationStatementImpl
A list of variables that are being declared in a context where a statement is required.
WhenClause
A guard in a pattern-based case in a switch statement, switch expression, if statement, or if element.
WhenClauseImpl
A guard in a pattern-based case in a switch statement or switch expression.
WhileStatement
A while statement.
WhileStatementImpl
A while statement.
WithClause
The with clause in a class declaration.
WithClauseImpl
The with clause in a class declaration.
YieldStatement
A yield statement.
YieldStatementImpl
A yield statement.

Functions

isBinaryOperator(String value) bool
isMinusOperator(String value) bool
isTernaryOperator(String value) bool
isUnaryOperator(String value) bool
isUserDefinableOperator(String value) bool
parseFile({required String path, ResourceProvider? resourceProvider, required FeatureSet featureSet, bool throwIfDiagnostics = true}) ParseStringResult
Return the result of parsing the file at the given path.
parseSource(String source, [String? path]) DartResult
parseString({required String content, FeatureSet? featureSet, String? path, bool throwIfDiagnostics = true}) ParseStringResult
Returns the result of parsing the given content as a compilation unit.
printMembers(CompilationUnit unit) → void
resolveFile2({required String path, ResourceProvider? resourceProvider}) Future<SomeResolvedUnitResult>
Return the result of resolving the file at the given path.