Emitter<T> class
abstract
The Emitter is used to transform any object T
into an output.
Every emitter defined receives a Context object from it's creator which contains rules which the Emitter must follow. An example of a rule is the use of trailling commas.
- Implementers
- AnnotationEmitter
- ClassEmitter
- ColumnEmitter
- ConstructorEmitter
- DirectiveEmitter
- DocsEmitter
- ElementEmitter
- EnumEmitter
- EnumValueEmitter
- ExtensionEmitter
- FieldEmitter
- FunctionReferenceEmitter
- IfClauseEmitter
- IfEmitter
- InvokeEmitter
- LibraryEmitter
- LiteralBoolEmitter
- LiteralEmitter
- LiteralListEmitter
- LiteralMapEmitter
- LiteralNullEmitter
- LiteralNumEmitter
- LiteralSetEmitter
- LiteralStringEmitter
- LoopEmitter
- MethodEmitter
- MixinEmitter
- ParameterEmitter
- ParameterListEmitter
- ReferenceEmitter
- RowEmitter
- StaticEmitter
- SwitchCaseEmitter
- SwitchEmitter
- TryCatchEmitter
- TypeReferenceEmitter
Constructors
Properties
Methods
-
emit(
T element, [StringSink? output]) → StringSink -
Emits
element
as valid Dart code intooutput
. -
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