Class DoubleDispatchVisitor
- java.lang.Object
-
- org.sonar.plugins.javascript.api.visitors.DoubleDispatchVisitor
-
- All Implemented Interfaces:
TreeVisitor
- Direct Known Subclasses:
DoubleDispatchVisitorCheck,HoistedSymbolVisitor,ScopeVisitor,SymbolVisitor,TypeVisitor
@Beta public abstract class DoubleDispatchVisitor extends Object implements TreeVisitor
-
-
Constructor Summary
Constructors Constructor Description DoubleDispatchVisitor()
-
Method Summary
-
-
-
Method Detail
-
getContext
public TreeVisitorContext getContext()
- Specified by:
getContextin interfaceTreeVisitor
-
scanTree
public final void scanTree(TreeVisitorContext context)
- Specified by:
scanTreein interfaceTreeVisitor
-
scanChildren
protected void scanChildren(Tree tree)
-
visitScript
public void visitScript(ScriptTree tree)
-
visitModule
public void visitModule(ModuleTree tree)
-
visitImportDeclaration
public void visitImportDeclaration(ImportDeclarationTree tree)
-
visitImportModuleDeclaration
public void visitImportModuleDeclaration(ImportModuleDeclarationTree tree)
-
visitImportClause
public void visitImportClause(ImportClauseTree tree)
-
visitNamedImportExportClause
public void visitNamedImportExportClause(NamedImportExportClauseTree tree)
-
visitNameSpaceImport
public void visitNameSpaceImport(NameSpaceImportTree tree)
-
visitSpecifier
public void visitSpecifier(SpecifierTree tree)
-
visitFromClause
public void visitFromClause(FromClauseTree tree)
-
visitDefaultExportDeclaration
public void visitDefaultExportDeclaration(DefaultExportDeclarationTree tree)
-
visitNameSpaceExportDeclaration
public void visitNameSpaceExportDeclaration(NameSpaceExportDeclarationTree tree)
-
visitNamedExportDeclaration
public void visitNamedExportDeclaration(NamedExportDeclarationTree tree)
-
visitExportDefaultBinding
public void visitExportDefaultBinding(ExportDefaultBinding tree)
-
visitExportDefaultBindingWithNameSpaceExport
public void visitExportDefaultBindingWithNameSpaceExport(ExportDefaultBindingWithNameSpaceExport tree)
-
visitExportDefaultBindingWithExportList
public void visitExportDefaultBindingWithExportList(ExportDefaultBindingWithExportList tree)
-
visitVariableStatement
public void visitVariableStatement(VariableStatementTree tree)
-
visitVariableDeclaration
public void visitVariableDeclaration(VariableDeclarationTree tree)
-
visitClass
public void visitClass(ClassTree tree)
-
visitExtendsClause
public void visitExtendsClause(ExtendsClauseTree tree)
-
visitDecorator
public void visitDecorator(DecoratorTree tree)
-
visitMethodDeclaration
public void visitMethodDeclaration(MethodDeclarationTree tree)
-
visitAccessorMethodDeclaration
public void visitAccessorMethodDeclaration(AccessorMethodDeclarationTree tree)
-
visitFieldDeclaration
public void visitFieldDeclaration(FieldDeclarationTree tree)
-
visitParameterList
public void visitParameterList(ParameterListTree tree)
-
visitArgumentList
public void visitArgumentList(ArgumentListTree tree)
-
visitFunctionDeclaration
public void visitFunctionDeclaration(FunctionDeclarationTree tree)
-
visitBlock
public void visitBlock(BlockTree tree)
-
visitEmptyStatement
public void visitEmptyStatement(EmptyStatementTree tree)
-
visitLabelledStatement
public void visitLabelledStatement(LabelledStatementTree tree)
-
visitExpressionStatement
public void visitExpressionStatement(ExpressionStatementTree tree)
-
visitIfStatement
public void visitIfStatement(IfStatementTree tree)
-
visitElseClause
public void visitElseClause(ElseClauseTree tree)
-
visitForStatement
public void visitForStatement(ForStatementTree tree)
-
visitWhileStatement
public void visitWhileStatement(WhileStatementTree tree)
-
visitDoWhileStatement
public void visitDoWhileStatement(DoWhileStatementTree tree)
-
visitContinueStatement
public void visitContinueStatement(ContinueStatementTree tree)
-
visitIdentifier
public void visitIdentifier(IdentifierTree tree)
-
visitBreakStatement
public void visitBreakStatement(BreakStatementTree tree)
-
visitReturnStatement
public void visitReturnStatement(ReturnStatementTree tree)
-
visitWithStatement
public void visitWithStatement(WithStatementTree tree)
-
visitSwitchStatement
public void visitSwitchStatement(SwitchStatementTree tree)
-
visitDefaultClause
public void visitDefaultClause(DefaultClauseTree tree)
-
visitCaseClause
public void visitCaseClause(CaseClauseTree tree)
-
visitThrowStatement
public void visitThrowStatement(ThrowStatementTree tree)
-
visitTryStatement
public void visitTryStatement(TryStatementTree tree)
-
visitCatchBlock
public void visitCatchBlock(CatchBlockTree tree)
-
visitFinallyBlock
public void visitFinallyBlock(FinallyBlockTree tree)
-
visitDebugger
public void visitDebugger(DebuggerStatementTree tree)
-
visitArrayBindingPattern
public void visitArrayBindingPattern(ArrayBindingPatternTree tree)
-
visitObjectBindingPattern
public void visitObjectBindingPattern(ObjectBindingPatternTree tree)
-
visitObjectLiteral
public void visitObjectLiteral(ObjectLiteralTree tree)
-
visitBindingProperty
public void visitBindingProperty(BindingPropertyTree tree)
-
visitInitializedBindingElement
public void visitInitializedBindingElement(InitializedBindingElementTree tree)
-
visitLiteral
public void visitLiteral(LiteralTree tree)
-
visitArrayLiteral
public void visitArrayLiteral(ArrayLiteralTree tree)
-
visitAssignmentExpression
public void visitAssignmentExpression(AssignmentExpressionTree tree)
-
visitConditionalExpression
public void visitConditionalExpression(ConditionalExpressionTree tree)
-
visitArrowFunction
public void visitArrowFunction(ArrowFunctionTree tree)
-
visitYieldExpression
public void visitYieldExpression(YieldExpressionTree tree)
-
visitBinaryExpression
public void visitBinaryExpression(BinaryExpressionTree tree)
-
visitUnaryExpression
public void visitUnaryExpression(UnaryExpressionTree tree)
-
visitMemberExpression
public void visitMemberExpression(MemberExpressionTree tree)
-
visitTaggedTemplate
public void visitTaggedTemplate(TaggedTemplateTree tree)
-
visitCallExpression
public void visitCallExpression(CallExpressionTree tree)
-
visitTemplateLiteral
public void visitTemplateLiteral(TemplateLiteralTree tree)
-
visitTemplateExpression
public void visitTemplateExpression(TemplateExpressionTree tree)
-
visitTemplateCharacters
public void visitTemplateCharacters(TemplateCharactersTree tree)
-
visitParenthesisedExpression
public void visitParenthesisedExpression(ParenthesisedExpressionTree tree)
-
visitComputedPropertyName
public void visitComputedPropertyName(ComputedPropertyNameTree tree)
-
visitPairProperty
public void visitPairProperty(PairPropertyTree tree)
-
visitNewExpression
public void visitNewExpression(NewExpressionTree tree)
-
visitFunctionExpression
public void visitFunctionExpression(FunctionExpressionTree tree)
-
visitRestElement
public void visitRestElement(RestElementTree tree)
-
visitSpreadElement
public void visitSpreadElement(SpreadElementTree tree)
-
visitSuper
public void visitSuper(SuperTree tree)
-
visitImport
public void visitImport(ImportTree tree)
-
visitNewTarget
public void visitNewTarget(NewTargetTree tree)
-
visitExportClause
public void visitExportClause(ExportClauseTree tree)
-
visitForObjectStatement
public void visitForObjectStatement(ForObjectStatementTree tree)
-
visitJsxIdentifier
public void visitJsxIdentifier(JsxIdentifierTree tree)
-
visitJsxText
public void visitJsxText(JsxTextTree tree)
-
visitJsxSpreadAttribute
public void visitJsxSpreadAttribute(JsxSpreadAttributeTree tree)
-
visitJsxStandardAttribute
public void visitJsxStandardAttribute(JsxStandardAttributeTree tree)
-
visitJsxJavaScriptExpression
public void visitJsxJavaScriptExpression(JsxJavaScriptExpressionTree tree)
-
visitJsxClosingElement
public void visitJsxClosingElement(JsxClosingElementTree tree)
-
visitJsxOpeningElement
public void visitJsxOpeningElement(JsxOpeningElementTree tree)
-
visitJsxStandardElement
public void visitJsxStandardElement(JsxStandardElementTree tree)
-
visitJsxSelfClosingElement
public void visitJsxSelfClosingElement(JsxSelfClosingElementTree tree)
-
visitToken
public void visitToken(SyntaxToken token)
-
visitComment
public void visitComment(SyntaxTrivia commentToken)
-
visitArrayAssignmentPattern
public void visitArrayAssignmentPattern(ArrayAssignmentPatternTree tree)
-
visitAssignmentPatternRestElement
public void visitAssignmentPatternRestElement(AssignmentPatternRestElementTree tree)
-
visitInitializedAssignmentPatternElement
public void visitInitializedAssignmentPatternElement(InitializedAssignmentPatternElementTree tree)
-
visitObjectAssignmentPatternPairElement
public void visitObjectAssignmentPatternPairElement(ObjectAssignmentPatternPairElementTree tree)
-
visitObjectAssignmentPattern
public void visitObjectAssignmentPattern(ObjectAssignmentPatternTree tree)
-
visitFlowSimpleType
public void visitFlowSimpleType(FlowSimpleTypeTree tree)
-
visitFlowLiteralType
public void visitFlowLiteralType(FlowLiteralTypeTree tree)
-
visitFlowFunctionType
public void visitFlowFunctionType(FlowFunctionTypeTree tree)
-
visitFlowFunctionTypeParameterClause
public void visitFlowFunctionTypeParameterClause(FlowFunctionTypeParameterClauseTree tree)
-
visitFlowFunctionTypeParameter
public void visitFlowFunctionTypeParameter(FlowFunctionTypeParameterTree tree)
-
visitFlowObjectTypeTree
public void visitFlowObjectTypeTree(FlowObjectTypeTree tree)
-
visitFlowPropertyType
public void visitFlowPropertyType(FlowPropertyDefinitionTreeImpl tree)
-
visitFlowPropertyTypeKey
public void visitFlowPropertyTypeKey(FlowPropertyDefinitionKeyTree tree)
-
visitFlowOptionalType
public void visitFlowOptionalType(FlowOptionalTypeTree tree)
-
visitFlowTypeAnnotation
public void visitFlowTypeAnnotation(FlowTypeAnnotationTree tree)
-
visitFlowParenthesisedType
public void visitFlowParenthesisedType(FlowParenthesisedTypeTree tree)
-
visitFlowTupleType
public void visitFlowTupleType(FlowTupleTypeTree tree)
-
visitFlowArrayTypeShorthand
public void visitFlowArrayTypeShorthand(FlowArrayTypeShorthandTree tree)
-
visitFlowArrayTypeWithKeywordTree
public void visitFlowArrayTypeWithKeywordTree(FlowArrayTypeWithKeywordTree tree)
-
visitFlowUnionType
public void visitFlowUnionType(FlowUnionTypeTree tree)
-
visitFlowIntersectionType
public void visitFlowIntersectionType(FlowIntersectionTypeTree tree)
-
visitFlowTypedBindingElement
public void visitFlowTypedBindingElement(FlowTypedBindingElementTree tree)
-
visitFlowTypeofType
public void visitFlowTypeofType(FlowTypeofTypeTree tree)
-
visitFlowCastingExpression
public void visitFlowCastingExpression(FlowCastingExpressionTree tree)
-
visitFlowOptionalBindingElement
public void visitFlowOptionalBindingElement(FlowOptionalBindingElementTree tree)
-
visitFlowTypeAliasStatement
public void visitFlowTypeAliasStatement(FlowTypeAliasStatementTree tree)
-
visitFlowDeclare
public void visitFlowDeclare(FlowDeclareTree tree)
-
visitFlowModule
public void visitFlowModule(FlowModuleTree tree)
-
visitFlowModuleExports
public void visitFlowModuleExports(FlowModuleExportsTree tree)
-
visitFlowFunctionSignature
public void visitFlowFunctionSignature(FlowFunctionSignatureTree tree)
-
visitFlowOpaqueType
public void visitFlowOpaqueType(FlowOpaqueTypeTree tree)
-
visitFlowNamespacedType
public void visitFlowNamespacedType(FlowNamespacedTypeTree tree)
-
visitFlowInterfaceDeclaration
public void visitFlowInterfaceDeclaration(FlowInterfaceDeclarationTree tree)
-
visitFlowMethodPropertyDefinitionKey
public void visitFlowMethodPropertyDefinitionKey(FlowMethodPropertyDefinitionKeyTree tree)
-
visitFlowGenericParameter
public void visitFlowGenericParameter(FlowGenericParameterTree tree)
-
visitFlowGenericParameterClause
public void visitFlowGenericParameterClause(FlowGenericParameterClauseTree tree)
-
visitFlowParameterizedGenerics
public void visitFlowParameterizedGenerics(FlowParameterizedGenericsTypeTree tree)
-
visitFlowImplementsClause
public void visitFlowImplementsClause(FlowImplementsClauseTree tree)
-
visitJsxEmptyClosingElement
public void visitJsxEmptyClosingElement(JsxEmptyClosingElementTree tree)
-
visitJsxEmptyOpeningElement
public void visitJsxEmptyOpeningElement(JsxEmptyOpeningElementTree tree)
-
visitJsxShortFragmentElement
public void visitJsxShortFragmentElement(JsxShortFragmentElementTree tree)
-
-