DartEmitter class Null safety

Mixed in types

Constructors

DartEmitter({Allocator allocator = Allocator.none, bool orderDirectives = false, bool useNullSafetySyntax = false})
Creates a new instance of DartEmitter. [...]
DartEmitter.scoped({bool orderDirectives = false, bool useNullSafetySyntax = false})
Creates a new instance of DartEmitter with simple automatic imports.
factory

Properties

allocator Allocator
final
hashCode int
The hash code for this object. [...]
read-only, inherited
orderDirectives bool
If directives should be ordered while emitting. [...]
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
startConstCode(bool isConst, Null visit()) → void
Executes visit within a context which may alter the output if isConst is true. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
visitAnnotation(Expression spec, [StringSink? output]) StringSink
visitBinaryExpression(BinaryExpression expression, [StringSink? output]) StringSink
inherited
visitBlock(Block block, [StringSink? output]) StringSink
inherited
visitClass(Class spec, [StringSink? output]) StringSink
visitClosureExpression(ClosureExpression expression, [StringSink? output]) StringSink
inherited
visitCodeExpression(CodeExpression expression, [StringSink? output]) StringSink
inherited
visitConstructor(Constructor spec, String clazz, [StringSink? output]) StringSink
visitDirective(Directive spec, [StringSink? output]) StringSink
visitEnum(Enum spec, [StringSink? output]) StringSink
visitExtension(Extension spec, [StringSink? output]) StringSink
visitField(Field spec, [StringSink? output]) StringSink
visitFunctionType(FunctionType spec, [StringSink? output]) StringSink
visitInvokeExpression(InvokeExpression expression, [StringSink? output]) StringSink
inherited
visitLibrary(Library spec, [StringSink? output]) StringSink
visitLiteralExpression(LiteralExpression expression, [StringSink? output]) StringSink
inherited
visitLiteralListExpression(LiteralListExpression expression, [StringSink? output]) StringSink
inherited
visitLiteralMapExpression(LiteralMapExpression expression, [StringSink? output]) StringSink
inherited
visitLiteralSetExpression(LiteralSetExpression expression, [StringSink? output]) StringSink
inherited
visitMethod(Method spec, [StringSink? output]) StringSink
visitMixin(Mixin spec, [StringSink? output]) StringSink
visitParenthesizedExpression(ParenthesizedExpression expression, [StringSink? output]) StringSink
inherited
visitReference(Reference spec, [StringSink? output]) StringSink
visitScopedCode(ScopedCode code, [StringSink? output]) StringSink
inherited
visitSpec(Spec spec, [StringSink? output]) StringSink
visitStaticCode(StaticCode code, [StringSink? output]) StringSink
inherited
visitToCodeExpression(ToCodeExpression expression, [StringSink? output]) StringSink
inherited
visitType(TypeReference spec, [StringSink? output]) StringSink
visitTypeParameters(Iterable<Reference> specs, [StringSink? output]) StringSink

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited