YZWidgetAstVisitor class

Inheritance

Constructors

YZWidgetAstVisitor()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
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
toString() String
A string representation of this object. [...]
inherited
visitAdjacentStrings(AdjacentStrings node) Map
inherited
visitAnnotation(Annotation node) Map
inherited
visitArgumentList(ArgumentList node) Map
构造函数调用参数
override
visitAsExpression(AsExpression node) Map
inherited
visitAssertInitializer(AssertInitializer node) Map
inherited
visitAssertStatement(AssertStatement node) Map
inherited
visitAssignmentExpression(AssignmentExpression node) Map
inherited
visitAwaitExpression(AwaitExpression node) Map
inherited
visitBinaryExpression(BinaryExpression node) Map
inherited
visitBlock(Block node) Map
构造代码块bloc 结构
override
visitBlockFunctionBody(BlockFunctionBody node) Map
解析代码块
override
visitBooleanLiteral(BooleanLiteral node) Map
override
visitBreakStatement(BreakStatement node) Map
inherited
visitCascadeExpression(CascadeExpression node) Map
inherited
visitCatchClause(CatchClause node) Map
inherited
visitClassDeclaration(ClassDeclaration node) Map
inherited
visitClassTypeAlias(ClassTypeAlias node) Map
inherited
visitComment(Comment node) Map
inherited
visitCommentReference(CommentReference node) Map
inherited
visitCompilationUnit(CompilationUnit node) Map
需要解析的节点类型 visitCompilationUnit visitFunctionDeclaration visitFunctionExpression visitFormalParameterList visitBlockFunctionBody visitBlock visitReturnStatement visitMethodInvocation visitSimpleIdentifier visitArgumentList visitNamedExpression visitLabel visitSimpleStringLiteral
override
visitConditionalExpression(ConditionalExpression node) Map
inherited
visitConfiguration(Configuration node) Map
inherited
visitConstructorDeclaration(ConstructorDeclaration node) Map
inherited
visitConstructorFieldInitializer(ConstructorFieldInitializer node) Map
inherited
visitConstructorName(ConstructorName node) Map
inherited
visitContinueStatement(ContinueStatement node) Map
inherited
visitDeclaredIdentifier(DeclaredIdentifier node) Map
inherited
visitDefaultFormalParameter(DefaultFormalParameter node) Map
inherited
visitDoStatement(DoStatement node) Map
inherited
visitDottedName(DottedName node) Map
inherited
visitDoubleLiteral(DoubleLiteral node) Map
inherited
visitEmptyFunctionBody(EmptyFunctionBody node) Map
inherited
visitEmptyStatement(EmptyStatement node) Map
inherited
visitEnumConstantDeclaration(EnumConstantDeclaration node) Map
inherited
visitEnumDeclaration(EnumDeclaration node) Map
inherited
visitExportDirective(ExportDirective node) Map
inherited
visitExpressionFunctionBody(ExpressionFunctionBody node) Map
inherited
visitExpressionStatement(ExpressionStatement node) Map
inherited
visitExtendsClause(ExtendsClause node) Map
inherited
visitExtensionDeclaration(ExtensionDeclaration node) Map
inherited
visitExtensionOverride(ExtensionOverride node) Map
inherited
visitFieldDeclaration(FieldDeclaration node) Map
inherited
visitFieldFormalParameter(FieldFormalParameter node) Map
inherited
visitForEachPartsWithDeclaration(ForEachPartsWithDeclaration node) Map
inherited
visitForEachPartsWithIdentifier(ForEachPartsWithIdentifier node) Map
inherited
visitForElement(ForElement node) Map
inherited
visitFormalParameterList(FormalParameterList node) Map
构造函数参数
override
visitForPartsWithDeclarations(ForPartsWithDeclarations node) Map
inherited
visitForPartsWithExpression(ForPartsWithExpression node) Map
inherited
visitForStatement(ForStatement node) Map
inherited
visitFunctionDeclaration(FunctionDeclaration node) Map
override
visitFunctionDeclarationStatement(FunctionDeclarationStatement node) Map
override
visitFunctionExpression(FunctionExpression node) Map
override
visitFunctionExpressionInvocation(FunctionExpressionInvocation node) Map
inherited
visitFunctionTypeAlias(FunctionTypeAlias node) Map
inherited
visitFunctionTypedFormalParameter(FunctionTypedFormalParameter node) Map
inherited
visitGenericFunctionType(GenericFunctionType node) Map
inherited
visitGenericTypeAlias(GenericTypeAlias node) Map
inherited
visitHideCombinator(HideCombinator node) Map
inherited
visitIfElement(IfElement node) Map
inherited
visitIfStatement(IfStatement node) Map
inherited
visitImplementsClause(ImplementsClause node) Map
inherited
visitImportDirective(ImportDirective node) Map
inherited
visitIndexExpression(IndexExpression node) Map
inherited
visitInstanceCreationExpression(InstanceCreationExpression node) Map
inherited
visitIntegerLiteral(IntegerLiteral node) Map
override
visitInterpolationExpression(InterpolationExpression node) Map
inherited
visitInterpolationString(InterpolationString node) Map
inherited
visitIsExpression(IsExpression node) Map
inherited
visitLabel(Label node) Map
override
visitLabeledStatement(LabeledStatement node) Map
inherited
visitLibraryDirective(LibraryDirective node) Map
inherited
visitLibraryIdentifier(LibraryIdentifier node) Map
inherited
visitListLiteral(ListLiteral node) Map
参数列表,参数是一个数组 例如Children
override
visitMapLiteralEntry(MapLiteralEntry node) Map
inherited
visitMethodDeclaration(MethodDeclaration node) Map
inherited
visitMethodInvocation(MethodInvocation node) Map
方法调用 解析 这个很关键,各类空间的初始化 基本都是方法的调用 需要在这里拿到类名,以及参数
override
visitMixinDeclaration(MixinDeclaration node) Map
inherited
visitNamedExpression(NamedExpression node) Map
构造函数表达式,包括函数名,表达式
override
visitNativeClause(NativeClause node) Map
inherited
visitNativeFunctionBody(NativeFunctionBody node) Map
inherited
visitNullLiteral(NullLiteral node) Map
inherited
visitOnClause(OnClause node) Map
inherited
visitParenthesizedExpression(ParenthesizedExpression node) Map
inherited
visitPartDirective(PartDirective node) Map
inherited
visitPartOfDirective(PartOfDirective node) Map
inherited
visitPostfixExpression(PostfixExpression node) Map
inherited
visitPrefixedIdentifier(PrefixedIdentifier node) Map
override
visitPrefixExpression(PrefixExpression node) Map
inherited
visitPropertyAccess(PropertyAccess node) Map
inherited
visitRedirectingConstructorInvocation(RedirectingConstructorInvocation node) Map
inherited
visitRethrowExpression(RethrowExpression node) Map
inherited
visitReturnStatement(ReturnStatement node) Map
override
visitScriptTag(ScriptTag node) Map
inherited
visitSetOrMapLiteral(SetOrMapLiteral node) Map
inherited
visitShowCombinator(ShowCombinator node) Map
inherited
visitSimpleFormalParameter(SimpleFormalParameter node) Map
inherited
visitSimpleIdentifier(SimpleIdentifier node) Map
构造标识符定义
override
visitSimpleStringLiteral(SimpleStringLiteral node) Map
override
visitSpreadElement(SpreadElement node) Map
inherited
visitStringInterpolation(StringInterpolation node) Map
inherited
visitSuperConstructorInvocation(SuperConstructorInvocation node) Map
inherited
visitSuperExpression(SuperExpression node) Map
inherited
visitSwitchCase(SwitchCase node) Map
inherited
visitSwitchDefault(SwitchDefault node) Map
inherited
visitSwitchStatement(SwitchStatement node) Map
inherited
visitSymbolLiteral(SymbolLiteral node) Map
inherited
visitThisExpression(ThisExpression node) Map
inherited
visitThrowExpression(ThrowExpression node) Map
inherited
visitTopLevelVariableDeclaration(TopLevelVariableDeclaration node) Map
inherited
visitTryStatement(TryStatement node) Map
inherited
visitTypeArgumentList(TypeArgumentList node) Map
inherited
visitTypeName(TypeName node) Map
inherited
visitTypeParameter(TypeParameter node) Map
inherited
visitTypeParameterList(TypeParameterList node) Map
inherited
visitVariableDeclaration(VariableDeclaration node) Map
inherited
visitVariableDeclarationList(VariableDeclarationList node) Map
inherited
visitVariableDeclarationStatement(VariableDeclarationStatement node) Map
inherited
visitWhileStatement(WhileStatement node) Map
inherited
visitWithClause(WithClause node) Map
inherited
visitYieldStatement(YieldStatement node) Map
inherited

Operators

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