dartgenerate library

Classes

AdjacentStrings
Two or more string literals that are implicitly concatenated because of being adjacent (separated only by whitespace).
AnnotatedNode
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.
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.
AssignmentExpression
An assignment expression.
AstNode
A node in the AST structure for a Dart program.
AstVisitor<R>
An object that can be used to visit an AST structure.
AwaitExpression
An await expression.
BinaryExpression
A binary (infix) expression.
Block
A sequence of statements.
BlockFunctionBody
A function body that consists of a block of statements.
BooleanLiteral
A boolean literal expression.
BreakStatement
A break statement.
CascadeExpression
A sequence of cascaded expressions: expressions that share a common target.
CatchClause
A catch clause within a try statement.
ChangeType
Enum for what kind of change has happened to a file.
ClassDeclaration
The declaration of a class.
ClassMember
A node that declares a name within the scope of a class declarations.
ClassOrMixinDeclaration
The declaration of a class or mixin.
ClassTypeAlias
A class type alias.
CloneFields
CollectionElement
An element in a list, map or set literal.
Combinator
A combinator associated with an import or export directive.
Comment
A comment within the source code.
CommentReference
A reference to a Dart element that is found within a documentation comment.
CompilationUnit
A compilation unit.
CompilationUnitMember
A node that declares one or more names within the scope of a compilation unit.
CompoundAssignmentExpression
A potentially compound assignment.
ConditionalExpression
A conditional expression.
Configuration
A configuration in either an import or export directive.
ConstructFields
ConstructorDeclaration
A constructor declaration.
ConstructorFieldInitializer
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.
ConstructorName
The name of a constructor.
ConstructorReference
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.
ContinueStatement
A continue statement.
Declaration
A node that represents the declaration of one or more names.
DeclaredIdentifier
The declaration of a single identifier.
DefaultFormalParameter
A formal parameter with a default value.
Directive
A node that represents a directive.
DoStatement
A do statement.
DottedName
A dotted name, used in a configuration within an import or export directive.
DoubleLiteral
A floating point literal expression.
EmptyFunctionBody
An empty function body, which can only appear in constructors or abstract methods.
EmptyStatement
An empty statement.
EnumConstantDeclaration
The declaration of an enum constant.
EnumDeclaration
The declaration of an enumeration.
EnumGenerator
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.
ExtensionOverride
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.
FieldFormalParameter
A field formal parameter.
FileEmbedGenerator
FileIndexGenerator
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.
ForElement
The basic structure of a for element.
ForLoopParts
The parts of a for or for-each loop that control the iteration.
FormalParameter
A node representing a parameter to a function.
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.
ForStatement
A for or for-each statement.
FunctionBody
A node representing the body of a function or method.
FunctionDeclaration
A top-level function declaration.
FunctionDeclarationStatement
A FunctionDeclaration used as a statement.
FunctionExpression
A function expression.
FunctionExpressionInvocation
The invocation of a function resulting from evaluating an expression.
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;.
FunctionTypeAlias
A function type alias.
FunctionTypedFormalParameter
A function-typed formal parameter.
Generator
GenericFunctionType
An anonymous function type.
GenericTypeAlias
A generic type alias.
HideCombinator
A combinator that restricts the names being imported to those that are not in a given list.
Identifier
A node that represents an identifier.
IfElement
The basic structure of an if element.
IfStatement
An if statement.
ImplementsClause
The "implements" clause in an class declaration.
ImportDirective
An import directive.
IndexExpression
An index expression.
InstanceCreationExpression
An instance creation expression.
IntegerLiteral
An integer literal expression.
InterpolationElement
A node within a StringInterpolation.
InterpolationExpression
An expression embedded in a string interpolation.
InterpolationString
A non-empty substring of an interpolated string.
InvocationExpression
The invocation of a function or method; either a FunctionExpressionInvocation or a MethodInvocation.
IsExpression
An is expression.
JsonOfFields
Label
A label on either a LabeledStatement or a NamedExpression.
LabeledStatement
A statement that has a label associated with them.
LibraryDirective
A library directive.
LibraryIdentifier
The identifier for a library.
ListLiteral
A list literal.
Literal
A node that represents a literal expression.
MapLiteralEntry
A single key/value pair in a map literal.
MapOfFields
MethodDeclaration
A method declaration.
MethodInvocation
The invocation of either a function or a method.
MethodReferenceExpression
An expression that implicitly makes reference to a method.
MixinDeclaration
The declaration of a mixin.
ModelGenerator
NamedCompilationUnitMember
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.
NamedType
A named type, which can optionally include type arguments.
NamespaceDirective
A node that represents a directive that impacts the namespace of a library.
NativeClause
The "native" clause in an class declaration.
NativeFunctionBody
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.
NormalFormalParameter
A formal parameter that is required (is not optional).
NullLiteral
A null literal expression.
NullShortableExpression
Abstract interface for expressions that may participate in null-shorting.
OnClause
The "on" clause in a mixin declaration.
ParenthesizedExpression
A parenthesized expression.
PartDirective
A part directive.
PartOfDirective
A part-of directive.
PatchFields
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.
PrefixExpression
A prefix unary expression.
PropertyAccess
The access of a property of an object.
RedirectingConstructorInvocation
The invocation of a constructor in the same class from within a constructor's initialization list.
RethrowExpression
A rethrow expression.
ReturnStatement
A return statement.
ScriptTag
A script tag that can optionally occur at the beginning of a compilation unit.
SerializeFields
SetOrMapLiteral
A set or map literal.
ShowCombinator
A combinator that restricts the names being imported to those in a given list.
SimpleFormalParameter
A simple formal parameter.
SimpleIdentifier
A simple identifier.
SimpleStringLiteral
A string literal expression that does not contain any interpolations.
SingleStringLiteral
A single string literal expression.
SpreadElement
A spread element.
Statement
A node that represents a statement.
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.
SwitchCase
A case in a switch statement.
SwitchDefault
The default case in a switch statement.
SwitchMember
An element within a switch statement.
SwitchStatement
A switch statement.
SymbolLiteral
A symbol literal expression.
ThisExpression
A this expression.
ThrowExpression
A throw expression.
TopLevelVariableDeclaration
The declaration of one or more top-level variables of the same type.
TryStatement
A try statement.
TypeAlias
The declaration of a type alias.
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, e.g. the expression int in var x = int;.
TypeName
The name of a type, which can optionally include type arguments.
TypeParameter
A type parameter.
TypeParameterList
Type parameters within a declaration.
UriBasedDirective
A directive that references a URI.
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.
WatchEvent
An event describing a single change to the file system.
WhileStatement
A while statement.
WithClause
The with clause in a class declaration.
YieldStatement
A yield statement.