Package org.sonar.javascript.checks
Class ReferenceErrorCheck
- java.lang.Object
-
- org.sonar.plugins.javascript.api.visitors.DoubleDispatchVisitor
-
- org.sonar.plugins.javascript.api.visitors.DoubleDispatchVisitorCheck
-
- org.sonar.javascript.checks.ReferenceErrorCheck
-
- All Implemented Interfaces:
JavaScriptCheck,TreeVisitor
public class ReferenceErrorCheck extends DoubleDispatchVisitorCheck
-
-
Constructor Summary
Constructors Constructor Description ReferenceErrorCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisitExportClause(ExportClauseTree tree)voidvisitIdentifier(IdentifierTree identifier)voidvisitScript(ScriptTree tree)voidvisitUnaryExpression(UnaryExpressionTree unaryExpression)voidvisitWithStatement(WithStatementTree tree)-
Methods inherited from class org.sonar.plugins.javascript.api.visitors.DoubleDispatchVisitorCheck
addIssue, addIssue, addLineIssue, scanFile
-
Methods inherited from class org.sonar.plugins.javascript.api.visitors.DoubleDispatchVisitor
getContext, scan, scan, scanChildren, scanTree, visitAccessorMethodDeclaration, visitArgumentList, visitArrayAssignmentPattern, visitArrayBindingPattern, visitArrayLiteral, visitArrowFunction, visitAssignmentExpression, visitAssignmentPatternRestElement, visitBinaryExpression, visitBindingProperty, visitBlock, visitBreakStatement, visitCallExpression, visitCaseClause, visitCatchBlock, visitClass, visitComment, visitComputedPropertyName, visitConditionalExpression, visitContinueStatement, visitDebugger, visitDecorator, visitDefaultClause, visitDefaultExportDeclaration, visitDoWhileStatement, visitElseClause, visitEmptyStatement, 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, visitForObjectStatement, visitForStatement, visitFromClause, visitFunctionDeclaration, visitFunctionExpression, visitIfStatement, visitImport, visitImportClause, visitImportDeclaration, visitImportModuleDeclaration, visitInitializedAssignmentPatternElement, visitInitializedBindingElement, visitJsxClosingElement, visitJsxEmptyClosingElement, visitJsxEmptyOpeningElement, visitJsxIdentifier, visitJsxJavaScriptExpression, visitJsxOpeningElement, visitJsxSelfClosingElement, visitJsxShortFragmentElement, visitJsxSpreadAttribute, visitJsxStandardAttribute, visitJsxStandardElement, visitJsxText, visitLabelledStatement, visitLiteral, visitMemberExpression, visitMethodDeclaration, visitModule, visitNamedExportDeclaration, visitNamedImportExportClause, visitNameSpaceExportDeclaration, visitNameSpaceImport, visitNewExpression, visitNewTarget, visitObjectAssignmentPattern, visitObjectAssignmentPatternPairElement, visitObjectBindingPattern, visitObjectLiteral, visitPairProperty, visitParameterList, visitParenthesisedExpression, visitRestElement, visitReturnStatement, visitSpecifier, visitSpreadElement, visitSuper, visitSwitchStatement, visitTaggedTemplate, visitTemplateCharacters, visitTemplateExpression, visitTemplateLiteral, visitThrowStatement, visitToken, visitTryStatement, visitVariableDeclaration, visitVariableStatement, visitWhileStatement, visitYieldExpression
-
-
-
-
Method Detail
-
visitScript
public void visitScript(ScriptTree tree)
- Overrides:
visitScriptin classDoubleDispatchVisitor
-
visitIdentifier
public void visitIdentifier(IdentifierTree identifier)
- Overrides:
visitIdentifierin classDoubleDispatchVisitor
-
visitWithStatement
public void visitWithStatement(WithStatementTree tree)
- Overrides:
visitWithStatementin classDoubleDispatchVisitor
-
visitUnaryExpression
public void visitUnaryExpression(UnaryExpressionTree unaryExpression)
- Overrides:
visitUnaryExpressionin classDoubleDispatchVisitor
-
visitExportClause
public void visitExportClause(ExportClauseTree tree)
- Overrides:
visitExportClausein classDoubleDispatchVisitor
-
-