AbstractASTVisitor<T> class abstract

An object that can be used to visit an AST structure.

There are other helper classes that implement this interface:

  • RecursiveAstVisitor which will visit every sub node in a structure,
  • GeneralizingAstVisitor which will visit a node AND its every sub node.
Implementers

Constructors

AbstractASTVisitor()

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?
visitAssignExpr(AssignExpr node) → T?
visitBinaryExpr(BinaryExpr node) → T?
visitBlockStmt(BlockStmt node) → T?
visitBooleanExpr(ASTLiteralBoolean node) → T?
visitBreakStmt(BreakStmt node) → T?
visitCallExpr(CallExpr node) → T?
visitClassDecl(ClassDecl node) → T?
visitCommaExpr(CommaExpr node) → T?
visitComment(ASTComment node) → T?
visitCompilation(ASTCompilation node) → T?
visitContinueStmt(ContinueStmt node) → T?
visitDeleteMemberStmt(DeleteMemberStmt node) → T?
visitDeleteStmt(DeleteStmt node) → T?
visitDeleteSubStmt(DeleteSubStmt node) → T?
visitDestructuringDecl(DestructuringDecl node) → T?
visitDoStmt(DoStmt node) → T?
visitEmptyExpr(ASTEmpty node) → T?
visitEmptyLine(ASTEmptyLine node) → T?
visitEnumDecl(EnumDecl node) → T?
visitExprStmt(ExprStmt node) → T?
visitFieldTypeExpr(FieldTypeExpr node) → T?
visitFloatLiteralExpr(ASTLiteralFloat node) → T?
visitForRangeStmt(ForRangeStmt node) → T?
visitForStmt(ForStmt node) → T?
visitFuncDecl(FuncDecl node) → T?
visitFunctionTypeExpr(FuncTypeExpr node) → T?
visitGenericTypeParamExpr(GenericTypeParameterExpr node) → T?
visitGroupExpr(GroupExpr node) → T?
visitIdentifierExpr(IdentifierExpr node) → T?
visitIf(IfStmt node) → T?
visitImportExportDecl(ImportExportDecl node) → T?
visitInOfExpr(InOfExpr node) → T?
visitIntLiteralExpr(ASTLiteralInteger node) → T?
visitIntrinsicTypeExpr(IntrinsicTypeExpr node) → T?
visitListExpr(ListExpr node) → T?
visitMemberExpr(MemberExpr node) → T?
visitNamespaceDecl(NamespaceDecl node) → T?
visitNominalTypeExpr(NominalTypeExpr node) → T?
visitNullExpr(ASTLiteralNull node) → T?
visitParamDecl(ParamDecl node) → T?
visitParamTypeExpr(ParamTypeExpr node) → T?
visitReferConstructCallExpr(RedirectingConstructorCallExpr node) → T?
visitReturnStmt(ReturnStmt node) → T?
visitSource(ASTSource node) → T?
visitSpreadExpr(SpreadExpr node) → T?
visitStringInterpolationExpr(ASTStringInterpolation node) → T?
visitStringLiteralExpr(ASTLiteralString node) → T?
visitStructDecl(StructDecl node) → T?
visitStructObjExpr(StructObjExpr node) → T?
visitStructObjField(StructObjField node) → T?
visitStructuralTypeExpr(StructuralTypeExpr node) → T?
visitSubExpr(SubExpr node) → T?
visitTernaryExpr(TernaryExpr node) → T?
visitThrowStmt(ThrowStmt node) → T?
visitTypeAliasDecl(TypeAliasDecl node) → T?
visitUnaryPostfixExpr(UnaryPostfixExpr node) → T?
visitUnaryPrefixExpr(UnaryPrefixExpr node) → T?
visitVarDecl(VarDecl node) → T?
visitWhen(WhenStmt node) → T?
visitWhileStmt(WhileStmt node) → T?

Operators

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