Package org.sonar.javascript.checks
Class SemicolonCheck
- java.lang.Object
-
- org.sonar.plugins.javascript.api.visitors.DoubleDispatchVisitor
-
- org.sonar.plugins.javascript.api.visitors.DoubleDispatchVisitorCheck
-
- org.sonar.javascript.checks.SemicolonCheck
-
- All Implemented Interfaces:
JavaScriptCheck,TreeVisitor
public class SemicolonCheck extends DoubleDispatchVisitorCheck
-
-
Constructor Summary
Constructors Constructor Description SemicolonCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisitBreakStatement(BreakStatementTree tree)voidvisitContinueStatement(ContinueStatementTree tree)voidvisitDebugger(DebuggerStatementTree tree)voidvisitDefaultExportDeclaration(DefaultExportDeclarationTree tree)voidvisitDoWhileStatement(DoWhileStatementTree tree)voidvisitExportClause(ExportClauseTree tree)voidvisitExpressionStatement(ExpressionStatementTree tree)voidvisitImportDeclaration(ImportDeclarationTree tree)voidvisitImportModuleDeclaration(ImportModuleDeclarationTree tree)voidvisitNameSpaceExportDeclaration(NameSpaceExportDeclarationTree tree)voidvisitReturnStatement(ReturnStatementTree tree)voidvisitThrowStatement(ThrowStatementTree tree)voidvisitVariableStatement(VariableStatementTree 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, visitCallExpression, visitCaseClause, visitCatchBlock, visitClass, visitComment, visitComputedPropertyName, visitConditionalExpression, visitDecorator, visitDefaultClause, visitElseClause, visitEmptyStatement, visitExportDefaultBinding, visitExportDefaultBindingWithExportList, visitExportDefaultBindingWithNameSpaceExport, 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, visitIdentifier, visitIfStatement, visitImport, visitImportClause, visitInitializedAssignmentPatternElement, visitInitializedBindingElement, visitJsxClosingElement, visitJsxEmptyClosingElement, visitJsxEmptyOpeningElement, visitJsxIdentifier, visitJsxJavaScriptExpression, visitJsxOpeningElement, visitJsxSelfClosingElement, visitJsxShortFragmentElement, visitJsxSpreadAttribute, visitJsxStandardAttribute, visitJsxStandardElement, visitJsxText, visitLabelledStatement, visitLiteral, visitMemberExpression, visitMethodDeclaration, visitModule, visitNamedExportDeclaration, visitNamedImportExportClause, visitNameSpaceImport, visitNewExpression, visitNewTarget, visitObjectAssignmentPattern, visitObjectAssignmentPatternPairElement, visitObjectBindingPattern, visitObjectLiteral, visitPairProperty, visitParameterList, visitParenthesisedExpression, visitRestElement, visitScript, visitSpecifier, visitSpreadElement, visitSuper, visitSwitchStatement, visitTaggedTemplate, visitTemplateCharacters, visitTemplateExpression, visitTemplateLiteral, visitToken, visitTryStatement, visitUnaryExpression, visitVariableDeclaration, visitWhileStatement, visitWithStatement, visitYieldExpression
-
-
-
-
Method Detail
-
visitDefaultExportDeclaration
public void visitDefaultExportDeclaration(DefaultExportDeclarationTree tree)
- Overrides:
visitDefaultExportDeclarationin classDoubleDispatchVisitor
-
visitNameSpaceExportDeclaration
public void visitNameSpaceExportDeclaration(NameSpaceExportDeclarationTree tree)
- Overrides:
visitNameSpaceExportDeclarationin classDoubleDispatchVisitor
-
visitExportClause
public void visitExportClause(ExportClauseTree tree)
- Overrides:
visitExportClausein classDoubleDispatchVisitor
-
visitImportDeclaration
public void visitImportDeclaration(ImportDeclarationTree tree)
- Overrides:
visitImportDeclarationin classDoubleDispatchVisitor
-
visitImportModuleDeclaration
public void visitImportModuleDeclaration(ImportModuleDeclarationTree tree)
- Overrides:
visitImportModuleDeclarationin classDoubleDispatchVisitor
-
visitVariableStatement
public void visitVariableStatement(VariableStatementTree tree)
- Overrides:
visitVariableStatementin classDoubleDispatchVisitor
-
visitExpressionStatement
public void visitExpressionStatement(ExpressionStatementTree tree)
- Overrides:
visitExpressionStatementin classDoubleDispatchVisitor
-
visitDoWhileStatement
public void visitDoWhileStatement(DoWhileStatementTree tree)
- Overrides:
visitDoWhileStatementin classDoubleDispatchVisitor
-
visitContinueStatement
public void visitContinueStatement(ContinueStatementTree tree)
- Overrides:
visitContinueStatementin classDoubleDispatchVisitor
-
visitBreakStatement
public void visitBreakStatement(BreakStatementTree tree)
- Overrides:
visitBreakStatementin classDoubleDispatchVisitor
-
visitReturnStatement
public void visitReturnStatement(ReturnStatementTree tree)
- Overrides:
visitReturnStatementin classDoubleDispatchVisitor
-
visitThrowStatement
public void visitThrowStatement(ThrowStatementTree tree)
- Overrides:
visitThrowStatementin classDoubleDispatchVisitor
-
visitDebugger
public void visitDebugger(DebuggerStatementTree tree)
- Overrides:
visitDebuggerin classDoubleDispatchVisitor
-
-