Class TypeVisitor
- java.lang.Object
-
- org.sonar.plugins.javascript.api.visitors.DoubleDispatchVisitor
-
- org.sonar.javascript.tree.symbols.type.TypeVisitor
-
- All Implemented Interfaces:
TreeVisitor
public class TypeVisitor extends DoubleDispatchVisitor
-
-
Constructor Summary
Constructors Constructor Description TypeVisitor(org.sonar.api.config.Configuration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisitArrayLiteral(ArrayLiteralTree tree)voidvisitAssignmentExpression(AssignmentExpressionTree tree)voidvisitBinaryExpression(BinaryExpressionTree tree)voidvisitCallExpression(CallExpressionTree tree)voidvisitClass(ClassTree tree)voidvisitForObjectStatement(ForObjectStatementTree tree)voidvisitFunctionDeclaration(FunctionDeclarationTree tree)voidvisitFunctionExpression(FunctionExpressionTree tree)voidvisitIdentifier(IdentifierTree tree)voidvisitInitializedBindingElement(InitializedBindingElementTree tree)voidvisitLiteral(LiteralTree tree)voidvisitMemberExpression(MemberExpressionTree tree)voidvisitNewExpression(NewExpressionTree tree)voidvisitObjectLiteral(ObjectLiteralTree tree)voidvisitParenthesisedExpression(ParenthesisedExpressionTree tree)voidvisitUnaryExpression(UnaryExpressionTree tree)-
Methods inherited from class org.sonar.plugins.javascript.api.visitors.DoubleDispatchVisitor
getContext, scan, scan, scanChildren, scanTree, visitAccessorMethodDeclaration, visitArgumentList, visitArrayAssignmentPattern, visitArrayBindingPattern, visitArrowFunction, visitAssignmentPatternRestElement, visitBindingProperty, visitBlock, visitBreakStatement, visitCaseClause, visitCatchBlock, visitComment, visitComputedPropertyName, visitConditionalExpression, visitContinueStatement, visitDebugger, visitDecorator, visitDefaultClause, visitDefaultExportDeclaration, visitDoWhileStatement, visitElseClause, visitEmptyStatement, visitExportClause, visitExportDefaultBinding, visitExportDefaultBindingWithExportList, visitExportDefaultBindingWithNameSpaceExport, visitExpressionStatement, visitExtendsClause, visitFieldDeclaration, visitFinallyBlock, visitFlowArrayTypeShorthand, visitFlowArrayTypeWithKeywordTree, visitFlowCastingExpression, visitFlowDeclare, visitFlowFunctionSignature, visitFlowFunctionType, visitFlowFunctionTypeParameter, visitFlowFunctionTypeParameterClause, visitFlowGenericParameter, visitFlowGenericParameterClause, visitFlowImplementsClause, visitFlowInterfaceDeclaration, visitFlowIntersectionType, visitFlowLiteralType, visitFlowMethodPropertyDefinitionKey, visitFlowModule, visitFlowModuleExports, visitFlowNamespacedType, visitFlowObjectTypeTree, visitFlowOpaqueType, visitFlowOptionalBindingElement, visitFlowOptionalType, visitFlowParameterizedGenerics, visitFlowParenthesisedType, visitFlowPropertyType, visitFlowPropertyTypeKey, visitFlowSimpleType, visitFlowTupleType, visitFlowTypeAliasStatement, visitFlowTypeAnnotation, visitFlowTypedBindingElement, visitFlowTypeofType, visitFlowUnionType, visitForStatement, visitFromClause, visitIfStatement, visitImport, visitImportClause, visitImportDeclaration, visitImportModuleDeclaration, visitInitializedAssignmentPatternElement, visitJsxClosingElement, visitJsxEmptyClosingElement, visitJsxEmptyOpeningElement, visitJsxIdentifier, visitJsxJavaScriptExpression, visitJsxOpeningElement, visitJsxSelfClosingElement, visitJsxShortFragmentElement, visitJsxSpreadAttribute, visitJsxStandardAttribute, visitJsxStandardElement, visitJsxText, visitLabelledStatement, visitMethodDeclaration, visitModule, visitNamedExportDeclaration, visitNamedImportExportClause, visitNameSpaceExportDeclaration, visitNameSpaceImport, visitNewTarget, visitObjectAssignmentPattern, visitObjectAssignmentPatternPairElement, visitObjectBindingPattern, visitPairProperty, visitParameterList, visitRestElement, visitReturnStatement, visitScript, visitSpecifier, visitSpreadElement, visitSuper, visitSwitchStatement, visitTaggedTemplate, visitTemplateCharacters, visitTemplateExpression, visitTemplateLiteral, visitThrowStatement, visitToken, visitTryStatement, visitVariableDeclaration, visitVariableStatement, visitWhileStatement, visitWithStatement, visitYieldExpression
-
-
-
-
Constructor Detail
-
TypeVisitor
public TypeVisitor(@Nullable org.sonar.api.config.Configuration configuration)
-
-
Method Detail
-
visitAssignmentExpression
public void visitAssignmentExpression(AssignmentExpressionTree tree)
- Overrides:
visitAssignmentExpressionin classDoubleDispatchVisitor
-
visitInitializedBindingElement
public void visitInitializedBindingElement(InitializedBindingElementTree tree)
- Overrides:
visitInitializedBindingElementin classDoubleDispatchVisitor
-
visitLiteral
public void visitLiteral(LiteralTree tree)
- Overrides:
visitLiteralin classDoubleDispatchVisitor
-
visitArrayLiteral
public void visitArrayLiteral(ArrayLiteralTree tree)
- Overrides:
visitArrayLiteralin classDoubleDispatchVisitor
-
visitObjectLiteral
public void visitObjectLiteral(ObjectLiteralTree tree)
- Overrides:
visitObjectLiteralin classDoubleDispatchVisitor
-
visitFunctionDeclaration
public void visitFunctionDeclaration(FunctionDeclarationTree tree)
- Overrides:
visitFunctionDeclarationin classDoubleDispatchVisitor
-
visitFunctionExpression
public void visitFunctionExpression(FunctionExpressionTree tree)
- Overrides:
visitFunctionExpressionin classDoubleDispatchVisitor
-
visitClass
public void visitClass(ClassTree tree)
- Overrides:
visitClassin classDoubleDispatchVisitor
-
visitCallExpression
public void visitCallExpression(CallExpressionTree tree)
- Overrides:
visitCallExpressionin classDoubleDispatchVisitor
-
visitNewExpression
public void visitNewExpression(NewExpressionTree tree)
- Overrides:
visitNewExpressionin classDoubleDispatchVisitor
-
visitIdentifier
public void visitIdentifier(IdentifierTree tree)
- Overrides:
visitIdentifierin classDoubleDispatchVisitor
-
visitParenthesisedExpression
public void visitParenthesisedExpression(ParenthesisedExpressionTree tree)
- Overrides:
visitParenthesisedExpressionin classDoubleDispatchVisitor
-
visitMemberExpression
public void visitMemberExpression(MemberExpressionTree tree)
- Overrides:
visitMemberExpressionin classDoubleDispatchVisitor
-
visitBinaryExpression
public void visitBinaryExpression(BinaryExpressionTree tree)
- Overrides:
visitBinaryExpressionin classDoubleDispatchVisitor
-
visitUnaryExpression
public void visitUnaryExpression(UnaryExpressionTree tree)
- Overrides:
visitUnaryExpressionin classDoubleDispatchVisitor
-
visitForObjectStatement
public void visitForObjectStatement(ForObjectStatementTree tree)
- Overrides:
visitForObjectStatementin classDoubleDispatchVisitor
-
-