NodeRegistry class
Initialize and run all visitor methods within rules.
Constructors
-
NodeRegistry(Set<
BaseRule> rules) - Initialize and run all visitor methods within rules.
Properties
Methods
-
addAdjacentStrings(
Rule rule) → void - Register a rule for visitAdjacentStrings method.
-
addAnnotation(
Rule rule) → void - Register a rule for visitAnnotation method.
-
addArgumentList(
Rule rule) → void - Register a rule for visitArgumentList method.
-
addAsExpression(
Rule rule) → void - Register a rule for visitAsExpression method.
-
addAssertInitializer(
Rule rule) → void - Register a rule for visitAssertInitializer method.
-
addAssertStatement(
Rule rule) → void - Register a rule for visitAssertStatement method.
-
addAssignmentExpression(
Rule rule) → void - Register a rule for visitAssignmentExpression method.
-
addAugmentationImportDirective(
Rule rule) → void - Register a rule for visitAugmentationImportDirective method.
-
addAwaitExpression(
Rule rule) → void - Register a rule for visitAwaitExpression method.
-
addBinaryExpression(
Rule rule) → void - Register a rule for visitBinaryExpression method.
-
addBlock(
Rule rule) → void - Register a rule for visitBlock method.
-
addBlockFunctionBody(
Rule rule) → void - Register a rule for visitBlockFunctionBody method.
-
addBooleanLiteral(
Rule rule) → void - Register a rule for visitBooleanLiteral method.
-
addBreakStatement(
Rule rule) → void - Register a rule for visitBreakStatement method.
-
addCascadeExpression(
Rule rule) → void - Register a rule for visitCascadeExpression method.
-
addCatchClause(
Rule rule) → void - Register a rule for visitCatchClause method.
-
addCatchClauseParameter(
Rule rule) → void - Register a rule for visitCatchClauseParameter method.
-
addClassDeclaration(
Rule rule) → void - Register a rule for visitClassDeclaration method.
-
addClassTypeAlias(
Rule rule) → void - Register a rule for visitClassTypeAlias method.
-
addComment(
Rule rule) → void - Register a rule for visitComment method.
-
addCommentReference(
Rule rule) → void - Register a rule for visitCommentReference method.
-
addCompilationUnit(
Rule rule) → void - Register a rule for visitCompilationUnit method.
-
addConditionalExpression(
Rule rule) → void - Register a rule for visitConditionalExpression method.
-
addConfiguration(
Rule rule) → void - Register a rule for visitConfiguration method.
-
addConstructorDeclaration(
Rule rule) → void - Register a rule for visitConstructorDeclaration method.
-
addConstructorFieldInitializer(
Rule rule) → void - Register a rule for visitConstructorFieldInitializer method.
-
addConstructorName(
Rule rule) → void - Register a rule for visitConstructorName method.
-
addConstructorReference(
Rule rule) → void - Register a rule for visitConstructorReference method.
-
addConstructorSelector(
Rule rule) → void - Register a rule for visitConstructorSelector method.
-
addContinueStatement(
Rule rule) → void - Register a rule for visitContinueStatement method.
-
addDeclaredIdentifier(
Rule rule) → void - Register a rule for visitDeclaredIdentifier method.
-
addDefaultFormalParameter(
Rule rule) → void - Register a rule for visitDefaultFormalParameter method.
-
addDoStatement(
Rule rule) → void - Register a rule for visitDoStatement method.
-
addDottedName(
Rule rule) → void - Register a rule for visitDottedName method.
-
addDoubleLiteral(
Rule rule) → void - Register a rule for visitDoubleLiteral method.
-
addEmptyFunctionBody(
Rule rule) → void - Register a rule for visitEmptyFunctionBody method.
-
addEmptyStatement(
Rule rule) → void - Register a rule for visitEmptyStatement method.
-
addEnumConstantArguments(
Rule rule) → void - Register a rule for visitEnumConstantArguments method.
-
addEnumConstantDeclaration(
Rule rule) → void - Register a rule for visitEnumConstantDeclaration method.
-
addEnumDeclaration(
Rule rule) → void - Register a rule for visitEnumDeclaration method.
-
addExportDirective(
Rule rule) → void - Register a rule for visitExportDirective method.
-
addExpressionFunctionBody(
Rule rule) → void - Register a rule for visitExpressionFunctionBody method.
-
addExpressionStatement(
Rule rule) → void - Register a rule for visitExpressionStatement method.
-
addExtendsClause(
Rule rule) → void - Register a rule for visitExtendsClause method.
-
addExtensionDeclaration(
Rule rule) → void - Register a rule for visitExtensionDeclaration method.
-
addExtensionOverride(
Rule rule) → void - Register a rule for visitExtensionOverride method.
-
addFieldDeclaration(
Rule rule) → void - Register a rule for visitFieldDeclaration method.
-
addFieldFormalParameter(
Rule rule) → void - Register a rule for visitFieldFormalParameter method.
-
addForEachPartsWithDeclaration(
Rule rule) → void - Register a rule for visitForEachPartsWithDeclaration method.
-
addForEachPartsWithIdentifier(
Rule rule) → void - Register a rule for visitForEachPartsWithIdentifier method.
-
addForElement(
Rule rule) → void - Register a rule for visitForElement method.
-
addFormalParameterList(
Rule rule) → void - Register a rule for visitFormalParameterList method.
-
addForPartsWithDeclarations(
Rule rule) → void - Register a rule for visitForPartsWithDeclarations method.
-
addForPartsWithExpression(
Rule rule) → void - Register a rule for visitForPartsWithExpression method.
-
addForStatement(
Rule rule) → void - Register a rule for visitForStatement method.
-
addFunctionDeclaration(
Rule rule) → void - Register a rule for visitFunctionDeclaration method.
-
addFunctionDeclarationStatement(
Rule rule) → void - Register a rule for visitFunctionDelarationStatement method.
-
addFunctionExpression(
Rule rule) → void - Register a rule for visitFunctionExpression method.
-
addFunctionExpressionInvocation(
Rule rule) → void - Register a rule for visitFunctionExpressionInvocation method.
-
addFunctionReference(
Rule rule) → void - Register a rule for visitFunctionReference method.
-
addFunctionTypeAlias(
Rule rule) → void - Register a rule for visitFunctionTypeAlias method.
-
addFunctionTypedFormalParameter(
Rule rule) → void - Register a rule for visitFunctionTypedFormalParameter method.
-
addGenericFunctionType(
Rule rule) → void - Register a rule for visitGenericFunctionType method.
-
addGenericTypeAlias(
Rule rule) → void - Register a rule for visitGenericTypeAlias method.
-
addHideCombinator(
Rule rule) → void - Register a rule for visitHideClause method. Register a rule for visitHideCombinator method.
-
addIfElement(
Rule rule) → void - Register a rule for visitIfElement method.
-
addIfStatement(
Rule rule) → void - Register a rule for visitIfStatement method.
-
addImplementsClause(
Rule rule) → void - Register a rule for visitImplementsClause method.
-
addImplicitCallReference(
Rule rule) → void - Register a rule for visitImplicitCallReference method.
-
addImportDirective(
Rule rule) → void - Register a rule for visitImportDirective method.
-
addIndexExpression(
Rule rule) → void - Register a rule for visitIndexExpression method.
-
addInstanceCreationExpression(
Rule rule) → void - Register a rule for visitInstanceCreationExpression method.
-
addIntegerLiteral(
Rule rule) → void - Register a rule for visitIntegerLiteral method.
-
addInterpolationExpression(
Rule rule) → void - Register a rule for visitInterpolationExpression method.
-
addInterpolationString(
Rule rule) → void - Register a rule for visitInterpolationString method.
-
addIsExpression(
Rule rule) → void - Register a rule for visitIsExpression method.
-
addLabel(
Rule rule) → void - Register a rule for visitLabel method.
-
addLabeledStatement(
Rule rule) → void - Register a rule for visitLabeledStatement method.
-
addLibraryAugmentationDirective(
Rule rule) → void - Register a rule for visitLibraryAugmentationDirective method.
-
addLibraryDirective(
Rule rule) → void - Register a rule for visitLibraryDirective method.
-
addLibraryIdentifier(
Rule rule) → void - Register a rule for visitLibraryIdentifier method.
-
addListLiteral(
Rule rule) → void - Register a rule for visitListLiteral method.
-
addMapLiteralEntry(
Rule rule) → void - Register a rule for visitMapLiteralEntry method.
-
addMethodDeclaration(
Rule rule) → void - Register a rule for visitMethodDeclaration method.
-
addMethodInvocation(
Rule rule) → void - Register a rule for visitMethodInvocation method.
-
addMixinDeclaration(
Rule rule) → void - Register a rule for visitMixinDeclaration method.
-
addNamedExpression(
Rule rule) → void - Register a rule for visitNamedExpression method.
-
addNamedType(
Rule rule) → void - Register a rule for visitNamedType method.
-
addNativeClause(
Rule rule) → void - Register a rule for visitNativeClause method.
-
addNativeFunctionBody(
Rule rule) → void - Register a rule for vistiNativeFunctionBody method.
-
addNode(
Rule rule) → void -
addNullLiteral(
Rule rule) → void - Register a rule for visitNullLiteral method.
-
addOnClause(
Rule rule) → void - Register a rule for visitOnClause method.
-
addParenthesizedExpression(
Rule rule) → void - Register a rule for visitParenthesizedExpression method.
-
addPartDirective(
Rule rule) → void - Register a rule for visitPartDirective method.
-
addPartOfDirective(
Rule rule) → void - Register a rule for visitPartOfDirective method.
-
addPostfixExpression(
Rule rule) → void - Register a rule for visitPostfixExpression method.
-
addPrefixedIdentifier(
Rule rule) → void - Register a rule for visitPrefixedIdentifier method.
-
addPrefixExpression(
Rule rule) → void - Register a rule for visitPrefixExpression method.
-
addPropertyAccess(
Rule rule) → void - Register a rule for visitPropertyAccess method.
-
addRedirectingConstructorInvocation(
Rule rule) → void - Register a rule for visitRedirectingConstructorInvocation method.
-
addRethrowExpression(
Rule rule) → void - Register a rule for visitRethrowExpression method.
-
addReturnStatement(
Rule rule) → void - Register a rule for visitReturnStatement method.
-
addScriptTag(
Rule rule) → void - Register a rule for visitScriptTag method.
-
addSetOrMapLiteral(
Rule rule) → void - Register a rule for visitSetOrMapLiteral method.
-
addShowCombinator(
Rule rule) → void - Register a rule for visitShowClause method. Register a rule for visitShowCombinator method.
-
addSimpleFormalParameter(
Rule rule) → void - Register a rule for visitShowHideElement method. Register a rule for visitSimpleFormalParameter method.
-
addSimpleIdentifier(
Rule rule) → void - Register a rule for visitSimpleIdentifier method.
-
addSimpleStringLiteral(
Rule rule) → void - Register a rule for visitSimpleStringLiteral method.
-
addSpreadElement(
Rule rule) → void - Register a rule for visitSpreadElement method.
-
addStringInterpolation(
Rule rule) → void - Register a rule for visitStringInterpolation method.
-
addSuperConstructorInvocation(
Rule rule) → void - Register a rule for visitSuperConstructorInvocation method.
-
addSuperExpression(
Rule rule) → void - Register a rule for visitSuperExpression method.
-
addSuperFormalParameter(
Rule rule) → void - Register a rule for visitSuperFormalParameter method.
-
addSwitchCase(
Rule rule) → void - Register a rule for visitSwitchCase method.
-
addSwitchDefault(
Rule rule) → void - Register a rule for visitSwitchDefault method.
-
addSwitchStatement(
Rule rule) → void - Register a rule for visitSwitchStatement method.
-
addSymbolLiteral(
Rule rule) → void - Register a rule for visitSymbolLiteral method.
-
addThisExpression(
Rule rule) → void - Register a rule for visitThisExpression method.
-
addThrowExpression(
Rule rule) → void - Register a rule for visitThrowExpression method.
-
addTopLevelVariableDeclaration(
Rule rule) → void - Register a rule for visitTopLevelVariableDeclaration method.
-
addTryStatement(
Rule rule) → void - Register a rule for visitTryStatement method.
-
addTypeArgumentList(
Rule rule) → void - Register a rule for visitTypeArgumentList method.
-
addTypeLiteral(
Rule rule) → void - Register a rule for visitTypeLiteral method.
-
addTypeName(
Rule rule) → void - Register a rule for visitTypeName method.
-
addTypeParameter(
Rule rule) → void - Register a rule for visitTypeParameter method.
-
addTypeParameterList(
Rule rule) → void - Register a rule for visitTypeParameterList method.
-
addVariableDeclaration(
Rule rule) → void - Register a rule for visitVariableDeclaration method.
-
addVariableDeclarationList(
Rule rule) → void - Register a rule for visitVariableDeclarationList method.
-
addVariableDeclarationStatement(
Rule rule) → void - Register a rule for visitVariableDeclarationStatement method.
-
addWhileStatement(
Rule rule) → void - Register a rule for visitWhileStatement method.
-
addWithClause(
Rule rule) → void - Register a rule for visitWithClause method.
-
addYieldStatement(
Rule linter) → void - Register a rule for visitYieldStatement method.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited