AbstractEmitterVisitor class abstract

Implemented types

Constructors

AbstractEmitterVisitor(bool _escapeDollarInStrings, {required bool emitNullSafeSyntax})

Properties

emitNullSafeSyntax bool
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getBuiltinMethodName(BuiltinMethod method) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visitAllExpressions(List<Expression> expressions, EmitterVisitorContext ctx, String separator, {bool newLine = false, bool keepOnSameLine = false}) → void
visitAllNamedExpressions(List<NamedExpr>? expressions, EmitterVisitorContext ctx, String seperator, {bool alwaysAddSeperator = false}) → void
visitAllObjects<T>(void handler(T), List<T> expressions, EmitterVisitorContext ctx, String separator, {bool newLine = false, bool keepOnSameLine = false}) → void
visitAllStatements(List<Statement> statements, EmitterVisitorContext ctx) → void
visitBinaryOperatorExpr(BinaryOperatorExpr ast, EmitterVisitorContext context) → void
override
visitCastExpr(CastExpr ast, EmitterVisitorContext context) → void
override
visitCommentStmt(CommentStmt stmt, EmitterVisitorContext context) → void
override
visitConditionalExpr(ConditionalExpr ast, EmitterVisitorContext context) → void
override
visitDeclareClassStmt(ClassStmt stmt, EmitterVisitorContext context) → void
override
visitDeclareFunctionStmt(DeclareFunctionStmt stmt, EmitterVisitorContext context) → void
override
visitDeclareVarStmt(DeclareVarStmt stmt, EmitterVisitorContext context) → void
override
visitExpressionStmt(ExpressionStatement stmt, EmitterVisitorContext context) → void
override
visitExternalExpr(ExternalExpr ast, EmitterVisitorContext context) → void
override
visitFunctionExpr(FunctionExpr ast, EmitterVisitorContext context) → void
override
visitIfNullExpr(IfNullExpr ast, EmitterVisitorContext context) → void
override
visitIfStmt(IfStmt stmt, EmitterVisitorContext context) → void
override
visitInstantiateExpr(InstantiateExpr ast, EmitterVisitorContext context) → void
override
visitInvokeFunctionExpr(InvokeFunctionExpr ast, EmitterVisitorContext context) → void
inherited
visitInvokeMemberMethodExpr(InvokeMemberMethodExpr expr, EmitterVisitorContext context) → void
override
visitInvokeMethodExpr(InvokeMethodExpr expr, EmitterVisitorContext context) → void
override
visitLiteralArrayExpr(LiteralArrayExpr ast, EmitterVisitorContext context) → void
override
visitLiteralExpr(LiteralExpr ast, EmitterVisitorContext context) → void
override
visitLiteralMapExpr(LiteralMapExpr ast, EmitterVisitorContext context) → void
override
visitLiteralVargsExpr(LiteralVargsExpr ast, EmitterVisitorContext context) → void
inherited
visitNamedExpr(NamedExpr ast, EmitterVisitorContext context) → void
inherited
visitNotExpr(NotExpr ast, EmitterVisitorContext context) → void
override
visitNotNullExpr(NotNullExpr ast, EmitterVisitorContext context) → void
override
visitReadClassMemberExpr(ReadClassMemberExpr ast, EmitterVisitorContext context) → void
override
visitReadKeyExpr(ReadKeyExpr ast, EmitterVisitorContext context) → void
override
visitReadPropExpr(ReadPropExpr ast, EmitterVisitorContext context) → void
override
visitReadStaticMemberExpr(ReadStaticMemberExpr ast, EmitterVisitorContext context) → void
override
visitReadVarExpr(ReadVarExpr ast, EmitterVisitorContext context) → void
override
visitReturnStmt(ReturnStatement stmt, EmitterVisitorContext context) → void
override
visitSpreadExpr(SpreadExpr ast, EmitterVisitorContext context) → void
override
visitThrowStmt(ThrowStmt stmt, EmitterVisitorContext context) → void
override
visitTryCatchStmt(TryCatchStmt stmt, EmitterVisitorContext context) → void
override
visitWriteClassMemberExpr(WriteClassMemberExpr expr, EmitterVisitorContext context) → void
override
visitWriteKeyExpr(WriteKeyExpr expr, EmitterVisitorContext context) → void
override
visitWritePropExpr(WritePropExpr expr, EmitterVisitorContext context) → void
override
visitWriteStaticMemberExpr(WriteStaticMemberExpr expr, EmitterVisitorContext context) → void
override
visitWriteVarExpr(WriteVarExpr expr, EmitterVisitorContext context, {bool checkForNull = false}) → void
override

Operators

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