orchestrator library
Classes
- Annotation
- Configuration for defining an annotation.
- AnnotationEmitter
- Emits the Annotation configuration into Dart source code.
- Class
- Configuration for defining a class.
- ClassEmitter
- Transforms the Class element into Dart source code.
- Column
- Configuration for defining a column.
- ColumnEmitter
- Transforms the Column element into Dart source code.
- Constructor
- Configuration for defining a constructor.
- ConstructorEmitter
- Transforms the Constructor element into Dart source code.
- Context
- A set of rules which is used to specify certain features throughout all the defined Emitters.
- Directive
- Configuration for defining a directive.
- DirectiveEmitter
- Emits the Directive configuration into Dart source code.
- Docs
- Configuration for defining Dart documentation.
- DocsEmitter
- Emits the Docs configuration into Dart source code.
- Element
- Represents an enclosed piece of source code like a class, enum, or field.
- ElementEmitter
- Transforms a Element into Dart source code.
-
Emitter<
T> -
The Emitter is used to transform any object
T
into an output. - Enum
- Configuration for defining an enum.
- EnumEmitter
- Transforms the Enum element into Dart source code.
- EnumValue
- Configuration for defining an enum value.
- EnumValueEmitter
- {@template enum_value_emitter} Transforms the EnumValue element into Dart source code. {@endtemple}
- Extension
- Configuration for defining an extension.
- ExtensionEmitter
- Transforms the Extension element into Dart source code.
- Field
- Configuration for defining a field.
- FieldEmitter
- Transforms the Field element into Dart source code.
- For
- Configuration for defining a for loop.
- FunctionReference
- Configuration for defining a function reference.
- FunctionReferenceEmitter
- Transforms the FunctionReference element into Dart source code.
- If
- Configuration for defining an if statement.
- IfClause
- Configuration for defining an if statement clause.
- IfClauseEmitter
- Emits the IfClause configuration into Dart source code.
- IfEmitter
- Emits the If configuration into Dart source code.
- Importer
- An Importer can be used to automatically resolve dependencies. This class can be extended for multiple implementations.
- Invoke
- Configuration for defining a invocation.
- InvokeEmitter
- Transforms the Invoke into Dart source code.
- Library
- Configuration for defining a library.
- LibraryEmitter
- Emits the Library configuration into Dart source code.
-
Literal<
T> - Configuration for defining a literal.
- LiteralBool
- Configuration for defining a literal bool.
- LiteralBoolEmitter
- Transforms the LiteralBool into Dart source code.
- LiteralEmitter
- Transforms the Literal into Dart source code.
- LiteralList
- Configuration for defining a literal list.
- LiteralListEmitter
- Transforms the LiteralList into Dart source code.
- LiteralMap
- Configuration for defining a literal map.
- LiteralMapEmitter
- Transforms the LiteralMap into Dart source code.
- LiteralNull
- Configuration for defining a literal null.
- LiteralNullEmitter
- Transforms the LiteralNull into Dart source code.
- LiteralNum
- Configuration for defining a literal num.
- LiteralNumEmitter
- Transforms the LiteralNum into Dart source code.
- LiteralSet
- Configuration for defining a literal set.
- LiteralSetEmitter
- Transforms the LiteralSet into Dart source code.
- LiteralString
- Configuration for defining a literal string.
- LiteralStringEmitter
- Transforms the LiteralString into Dart source code.
- Loop
- Configuration for defining a for, while, or do-while loop.
- LoopEmitter
- Emits the Loop configuration into Dart source code.
- Method
- Configuration for defining a method.
- MethodEmitter
- Transforms the Method element into Dart source code.
- Mixin
- Configuration for defining a mixin.
- MixinEmitter
- Emits the Mixin configuration into Dart source code.
- NoImporter
-
The NoImporter is a constant placeholder for the Context class so we
don't have to work with
null
values. - Parameter
- Configuration for defining a parameter.
- ParameterEmitter
- Transforms the Parameter element into Dart source code.
- ParameterListEmitter
- Transforms a list of the Parameter element into Dart source code.
- PrefixImporter
- Registers all the imports just like the RegularImporter but also prefixed every dependency to ensure type collisions do not happen.
- Reference
- Configuration for defining a reference.
- ReferenceEmitter
- Transforms the Reference element into Dart source code.
- RegularImporter
- Used to register all dependencies of the TypeReferences used within the configuration.
- Row
- Configuration for defining a row.
- RowEmitter
- Transforms the Row element into Dart source code.
- Static
- Configuration for defining a static.
- StaticEmitter
- Transforms the Static into Dart source code.
- Switch
- Configuration for defining a switch.
- SwitchCase
- Configuration for defining a switch case.
- SwitchCaseEmitter
- Transforms the SwitchCase into Dart source code.
- SwitchEmitter
- Transforms the Switch into Dart source code.
- TryCatch
- Configuration for defining a try catch statement.
- TryCatchEmitter
- Transforms the TryCatch into Dart source code.
- TypeReference
- Configuration for defining a type reference.
- TypeReferenceEmitter
- Transforms the TypeReference element into Dart source code.
- While
- Configuration for defining a while loop.
Enums
- DirectiveKind
-
Used to indicate whether it should be an
import
,export
,part
, orpart of
directive. - FieldModifier
-
Used to indicate whether an instance field should be
constant
or afinal
field. - LoopKind
-
Used to indicate whether to use
for
,while
, ordoWhile
. - MethodKind
-
Used to indicate whether a method should be a
getter
or asetter
. - MethodMofifier
-
Used to indicate whether a method should be
async
,async*
orsync*
. - ParameterKind
- Used to indicate whether a parameter is named or optional.
- WhileKind
- Used to indicate whether a while statement is a while or do while.
Mixins
Functions
-
add(
Builder value, Builder other) → Builder -
Returns the + operator of
this
andother
. -
addAssign(
Builder value, Builder other) → Builder -
Returns the += operator of
this
andother
. -
and(
Builder value, Builder other) → Builder -
Returns the and operation of
this
andother
. -
as(
Builder value, Builder other) → Builder -
Returns the as operation of
this
andother
. -
assign(
Builder value, Builder other) → Builder -
Returns the assign operation of
this
andother
. -
assignCoalescing(
Builder value, Builder other) → Builder -
Returns the assign coalescing of
this
andother
. -
awaited(
Builder value) → Builder -
Returns
this
prefixed with await. -
conditional(
Builder value, Builder isTrue, Builder isFalse) → Builder -
Returns a conditional based on
this
. -
declareConst(
Builder value) → Builder -
Returns
this
prefixed with const. -
declareFinal(
Builder value) → Builder -
Returns
this
prefixed with final. -
declareType(
Builder value, Reference type) → Builder -
Returns
this
prefixed with the provided type. -
declareTypedef(
Builder value) → Builder -
Returns
this
prefixed with typedef. -
declareVar(
Builder value) → Builder -
Returns
this
prefixed with var. -
divide(
Builder value, Builder other) → Builder -
Returns the / operator of
this
andother
. -
divideAssign(
Builder value, Builder other) → Builder -
Returns the /= operator of
this
andother
. -
equalTo(
Builder value, Builder other) → Builder -
Returns the equal to operation of
this
andother
. -
greaterThan(
Builder value, Builder other, {bool reverse = false}) → Builder -
Returns the greater than operation of
this
andother
. -
greaterThanOrEqualTo(
Builder value, Builder other, {bool reverse = false}) → Builder -
Returns the greater than or equal to of
this
andother
. -
ifNullThen(
Builder value, Builder other) → Builder -
Returns the ?? operation of
this
andother
. -
in_(
Builder value, Builder other) → Builder -
Returns the in operation of
this
andother
. -
index(
Builder value, Builder other) → Builder -
Returns the index operation on
this
withother
. -
invoke(
Builder value, [Iterable< Element> ? elements]) → Builder -
Returns the invocation of
this
. -
isA(
Builder value, Builder other) → Builder -
Returns the is operation of
this
andother
. -
isNotA(
Builder value, Builder other) → Builder -
Returns the is not operator of
this
andother
. -
modulo(
Builder value, Builder other) → Builder -
Returns the % operator of
this
andother
. -
moduloAssign(
Builder value, Builder other) → Builder -
Returns the %= operator of
this
andother
. -
multiply(
Builder value, Builder other) → Builder -
Returns the * operator of
this
andother
. -
multiplyAssign(
Builder value, Builder other) → Builder -
Returns the *= operator of
this
andother
. -
named(
Builder value, String name) → Builder -
Returns
this
as a named parameter withname
. -
negated(
Builder value) → Builder -
Returns the negated version of
this
. -
notEqualTo(
Builder value, Builder other) → Builder -
Returns the not equal to operator of
this
andother
. -
or(
Builder value, Builder other) → Builder -
Returns the or operator of
this
andother
. -
property(
Builder value, String name, {bool isNullSafe = false}) → Builder -
Returns the name property of
this
. -
propertyAssert(
Builder value, String name) → Builder -
Returns the name property of
this
asserted. -
propertyCascade(
Builder value, String name) → Builder -
Returns the name property of
this
as cascade. -
propetyConditional(
Builder value, String name) → Builder -
Returns the name property of
this
conditionally. -
returned(
Builder value) → Builder -
Returns
this
prefixed with return. -
spread(
Builder value) → Builder -
Returns
this
prefixed with the spread operator. -
statement(
Builder value) → Builder -
Returns
this
as a statement with a suffixed ;. -
subtract(
Builder value, Builder other) → Builder -
Returns the - operator of
this
andother
. -
subtractAssign(
Builder value, Builder other) → Builder -
Returns the -= operator of
this
andother
. -
thrown(
Builder value) → Builder -
Returns
this
prefixed with throw. -
yielded(
Builder value) → Builder -
Returns
this
prefixed with yield.