RecursiveASTVisitor<T> class abstract

An AST visitor that will recursively visit all of the sub nodes in an AST structure. For example, using an instance of this class to visit a Block will also cause all of the statements in the node to be visited.

Subclasses that override a visit method must either invoke the overridden visit method or must explicitly ask the visited node to visit its children. Otherwise the children of the visited node might not be visited.

Implemented types
Implementers

Constructors

RecursiveASTVisitor()

Properties

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visitAssertStmt(AssertStmt node) → T?
override
visitAssignExpr(AssignExpr node) → T?
override
visitBinaryExpr(BinaryExpr node) → T?
override
visitBlockStmt(BlockStmt node) → T?
override
visitBooleanExpr(ASTLiteralBoolean node) → T?
override
visitBreakStmt(BreakStmt node) → T?
override
visitCallExpr(CallExpr node) → T?
override
visitClassDecl(ClassDecl node) → T?
override
visitCommaExpr(CommaExpr node) → T?
override
visitComment(ASTComment node) → T?
override
visitCompilation(ASTCompilation node) → T?
override
visitContinueStmt(ContinueStmt node) → T?
override
visitDeleteMemberStmt(DeleteMemberStmt node) → T?
override
visitDeleteStmt(DeleteStmt node) → T?
override
visitDeleteSubStmt(DeleteSubStmt node) → T?
override
visitDestructuringDecl(DestructuringDecl node) → T?
override
visitDoStmt(DoStmt node) → T?
override
visitEmptyExpr(ASTEmpty node) → T?
override
visitEmptyLine(ASTEmptyLine node) → T?
override
visitEnumDecl(EnumDecl node) → T?
override
visitExprStmt(ExprStmt node) → T?
override
visitFieldTypeExpr(FieldTypeExpr node) → T?
override
visitFloatLiteralExpr(ASTLiteralFloat node) → T?
override
visitForRangeStmt(ForRangeStmt node) → T?
override
visitForStmt(ForStmt node) → T?
override
visitFuncDecl(FuncDecl node) → T?
override
visitFunctionTypeExpr(FuncTypeExpr node) → T?
override
visitGenericTypeParamExpr(GenericTypeParameterExpr node) → T?
override
visitGroupExpr(GroupExpr node) → T?
override
visitIdentifierExpr(IdentifierExpr node) → T?
override
visitIf(IfStmt node) → T?
override
visitImportExportDecl(ImportExportDecl node) → T?
override
visitInOfExpr(InOfExpr node) → T?
override
visitIntLiteralExpr(ASTLiteralInteger node) → T?
override
visitIntrinsicTypeExpr(IntrinsicTypeExpr node) → T?
override
visitListExpr(ListExpr node) → T?
override
visitMemberExpr(MemberExpr node) → T?
override
visitNamespaceDecl(NamespaceDecl node) → T?
override
visitNominalTypeExpr(NominalTypeExpr node) → T?
override
visitNullExpr(ASTLiteralNull node) → T?
override
visitParamDecl(ParamDecl node) → T?
override
visitParamTypeExpr(ParamTypeExpr node) → T?
override
visitReferConstructCallExpr(RedirectingConstructorCallExpr node) → T?
override
visitReturnStmt(ReturnStmt node) → T?
override
visitSource(ASTSource node) → T?
override
visitSpreadExpr(SpreadExpr node) → T?
override
visitStringInterpolationExpr(ASTStringInterpolation node) → T?
override
visitStringLiteralExpr(ASTLiteralString node) → T?
override
visitStructDecl(StructDecl node) → T?
override
visitStructObjExpr(StructObjExpr node) → T?
override
visitStructObjField(StructObjField node) → T?
override
visitStructuralTypeExpr(StructuralTypeExpr node) → T?
override
visitSubExpr(SubExpr node) → T?
override
visitTernaryExpr(TernaryExpr node) → T?
override
visitThrowStmt(ThrowStmt node) → T?
override
visitTypeAliasDecl(TypeAliasDecl node) → T?
override
visitUnaryPostfixExpr(UnaryPostfixExpr node) → T?
override
visitUnaryPrefixExpr(UnaryPrefixExpr node) → T?
override
visitVarDecl(VarDecl node) → T?
override
visitWhen(WhenStmt node) → T?
override
visitWhileStmt(WhileStmt node) → T?
override

Operators

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