public class TooManyBreakOrContinueInLoopCheck extends BaseTreeVisitor
| Constructor and Description |
|---|
TooManyBreakOrContinueInLoopCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
scanFile(TreeVisitorContext context) |
void |
visitBreakStatement(BreakStatementTree tree) |
void |
visitContinueStatement(ContinueStatementTree tree) |
void |
visitDoWhileStatement(DoWhileStatementTree tree) |
void |
visitForInStatement(ForInStatementTree tree) |
void |
visitForOfStatement(ForOfStatementTree tree) |
void |
visitForStatement(ForStatementTree tree) |
void |
visitFunctionDeclaration(FunctionDeclarationTree tree) |
void |
visitFunctionExpression(FunctionExpressionTree tree) |
void |
visitLabelledStatement(LabelledStatementTree tree) |
void |
visitSwitchStatement(SwitchStatementTree tree) |
void |
visitWhileStatement(WhileStatementTree tree) |
getContext, scan, scan, visitAccessorMethodDeclaration, visitArrayBindingPattern, visitArrayLiteral, visitArrowFunction, visitAssignmentExpression, visitBinaryExpression, visitBindingProperty, visitBlock, visitCallExpression, visitCaseClause, visitCatchBlock, visitClassDeclaration, visitComputedPropertyName, visitConditionalExpression, visitDebugger, visitDefaultClause, visitDefaultExportDeclaration, visitElseClause, visitEmptyStatement, visitExportClause, visitExpressionStatement, visitFromClause, visitGeneratorMethodDeclaration, visitIdentifier, visitIfStatement, visitImportClause, visitImportDeclaration, visitImportModuleDeclaration, visitInitializedBindingElement, visitLiteral, visitMemberExpression, visitMethodDeclaration, visitModule, visitNamedExportDeclaration, visitNameSpaceExportDeclaration, visitNewExpression, visitObjectBindingPattern, visitObjectLiteral, visitPairProperty, visitParameterList, visitParenthesisedExpression, visitRestElement, visitReturnStatement, visitScript, visitSpecifier, visitSpecifierList, visitSuper, visitTaggedTemplate, visitTemplateCharacters, visitTemplateExpression, visitTemplateLiteral, visitThisTree, visitThrowStatement, visitTryStatement, visitUnaryExpression, visitVariableDeclaration, visitVariableStatement, visitWithStatement, visitYieldExpressionpublic void scanFile(TreeVisitorContext context)
scanFile in interface JavaScriptCheckscanFile in class BaseTreeVisitorpublic void visitBreakStatement(BreakStatementTree tree)
visitBreakStatement in interface TreeVisitorvisitBreakStatement in class BaseTreeVisitorpublic void visitContinueStatement(ContinueStatementTree tree)
visitContinueStatement in interface TreeVisitorvisitContinueStatement in class BaseTreeVisitorpublic void visitFunctionExpression(FunctionExpressionTree tree)
visitFunctionExpression in interface TreeVisitorvisitFunctionExpression in class BaseTreeVisitorpublic void visitFunctionDeclaration(FunctionDeclarationTree tree)
visitFunctionDeclaration in interface TreeVisitorvisitFunctionDeclaration in class BaseTreeVisitorpublic void visitSwitchStatement(SwitchStatementTree tree)
visitSwitchStatement in interface TreeVisitorvisitSwitchStatement in class BaseTreeVisitorpublic void visitForStatement(ForStatementTree tree)
visitForStatement in interface TreeVisitorvisitForStatement in class BaseTreeVisitorpublic void visitForInStatement(ForInStatementTree tree)
visitForInStatement in interface TreeVisitorvisitForInStatement in class BaseTreeVisitorpublic void visitForOfStatement(ForOfStatementTree tree)
visitForOfStatement in interface TreeVisitorvisitForOfStatement in class BaseTreeVisitorpublic void visitWhileStatement(WhileStatementTree tree)
visitWhileStatement in interface TreeVisitorvisitWhileStatement in class BaseTreeVisitorpublic void visitDoWhileStatement(DoWhileStatementTree tree)
visitDoWhileStatement in interface TreeVisitorvisitDoWhileStatement in class BaseTreeVisitorpublic void visitLabelledStatement(LabelledStatementTree tree)
visitLabelledStatement in interface TreeVisitorvisitLabelledStatement in class BaseTreeVisitorCopyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.