NodeReferenceStorageVisitor class

AST visitor which promotes inaccessible NodeReferences to class members.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
parent NodeReferenceStorageVisitor?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Set<NodeReference>
final

Methods

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> exprs, void context) → void
inherited
visitAllStatements(List<Statement> stmts, void context) → void
inherited
visitBinaryOperatorExpr(BinaryOperatorExpr ast, void context) Expression
inherited
visitCastExpr(CastExpr ast, void context) Expression
inherited
visitCommentStmt(CommentStmt stmt, void context) Statement
inherited
visitConditionalExpr(ConditionalExpr ast, void context) Expression
inherited
visitDeclareClassStmt(ClassStmt stmt, void context) Statement
inherited
visitDeclareFunctionStmt(DeclareFunctionStmt stmt, void _) Statement
override
visitDeclareVarStmt(DeclareVarStmt stmt, void _) Statement
override
visitExpressionStmt(ExpressionStatement stmt, void context) Statement
inherited
visitExternalExpr(ExternalExpr ast, void context) Expression
inherited
visitFunctionExpr(FunctionExpr ast, void _) Expression
override
visitIfNullExpr(IfNullExpr ast, void context) Expression
inherited
visitIfStmt(IfStmt stmt, void _) Statement
override
visitInstantiateExpr(InstantiateExpr ast, void context) Expression
inherited
visitInvokeFunctionExpr(InvokeFunctionExpr ast, void context) Expression
inherited
visitInvokeMemberMethodExpr(InvokeMemberMethodExpr ast, void context) Expression
inherited
visitInvokeMethodExpr(InvokeMethodExpr ast, void context) Expression
inherited
visitLiteralArrayExpr(LiteralArrayExpr ast, void context) Expression
inherited
visitLiteralExpr(LiteralExpr ast, void context) Expression
inherited
visitLiteralMapExpr(LiteralMapExpr ast, void context) Expression
inherited
visitLiteralVargsExpr(LiteralVargsExpr ast, void context) Expression
inherited
visitNamedExpr(NamedExpr ast, void context) Expression
inherited
visitNotExpr(NotExpr ast, void context) Expression
inherited
visitNotNullExpr(NotNullExpr ast, void context) Expression
inherited
visitReadClassMemberExpr(ReadClassMemberExpr ast, void context) Expression
inherited
visitReadKeyExpr(ReadKeyExpr ast, void context) Expression
inherited
visitReadPropExpr(ReadPropExpr ast, void context) Expression
inherited
visitReadStaticMemberExpr(ReadStaticMemberExpr ast, void context) Expression
inherited
visitReadVarExpr(ReadVarExpr ast, void _) Expression
override
visitReturnStmt(ReturnStatement stmt, void context) Statement
inherited
visitSpreadExpr(SpreadExpr ast, void context) Expression
inherited
visitThrowStmt(ThrowStmt stmt, void context) Statement
inherited
visitTryCatchStmt(TryCatchStmt stmt, void _) Statement
override
visitWriteClassMemberExpr(WriteClassMemberExpr expr, void context) Expression
inherited
visitWriteKeyExpr(WriteKeyExpr expr, void context) Expression
inherited
visitWritePropExpr(WritePropExpr expr, void context) Expression
inherited
visitWriteStaticMemberExpr(WriteStaticMemberExpr expr, void context) Expression
inherited
visitWriteVarExpr(WriteVarExpr expr, void context, {bool checkForNull = false}) Expression
inherited

Operators

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

Static Methods

visitScopedStatements(List<Statement> stmts, [NodeReferenceStorageVisitor? parent]) → void