public class NestedControlFlowDepthCheck extends DoubleDispatchVisitorCheck
| Modifier and Type | Field and Description |
|---|---|
int |
maximumNestingLevel |
| Constructor and Description |
|---|
NestedControlFlowDepthCheck() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaximumNestingLevel() |
void |
visitDoWhileStatement(DoWhileStatementTree tree) |
void |
visitForObjectStatement(ForObjectStatementTree tree) |
void |
visitForStatement(ForStatementTree tree) |
void |
visitIfStatement(IfStatementTree tree) |
void |
visitScript(ScriptTree tree) |
void |
visitSwitchStatement(SwitchStatementTree tree) |
void |
visitTryStatement(TryStatementTree tree) |
void |
visitWhileStatement(WhileStatementTree tree) |
addIssue, addIssue, addLineIssue, scanFilegetContext, scan, scan, scanChildren, scanTree, visitArrayBindingPattern, visitArrayLiteral, visitArrowFunction, visitAssignmentExpression, visitBinaryExpression, visitBindingProperty, visitBlock, visitBreakStatement, visitCallExpression, visitCaseClause, visitCatchBlock, visitClass, visitComment, visitComputedPropertyName, visitConditionalExpression, visitContinueStatement, visitDebugger, visitDefaultClause, visitDefaultExportDeclaration, visitElseClause, visitEmptyStatement, visitExportClause, visitExportDefaultBinding, visitExportDefaultBindingWithExportList, visitExportDefaultBindingWithNameSpaceExport, visitExpressionStatement, visitFieldDeclaration, visitFromClause, visitFunctionDeclaration, visitFunctionExpression, visitIdentifier, visitImportClause, visitImportDeclaration, visitImportModuleDeclaration, visitInitializedBindingElement, visitJsxClosingElement, visitJsxIdentifier, visitJsxJavaScriptExpression, visitJsxOpeningElement, visitJsxSelfClosingElement, visitJsxSpreadAttribute, visitJsxStandardAttribute, visitJsxStandardElement, visitJsxText, visitLabelledStatement, visitLiteral, visitMemberExpression, visitMethodDeclaration, visitModule, visitNamedExportDeclaration, visitNameSpaceExportDeclaration, visitNewExpression, visitNewTarget, visitObjectBindingPattern, visitObjectLiteral, visitPairProperty, visitParameterList, visitParenthesisedExpression, visitRestElement, visitReturnStatement, visitSpecifier, visitSpecifierList, visitSpreadElement, visitSuper, visitTaggedTemplate, visitTemplateCharacters, visitTemplateExpression, visitTemplateLiteral, visitThrowStatement, visitToken, visitUnaryExpression, visitVariableDeclaration, visitVariableStatement, visitWithStatement, visitYieldExpressionpublic int getMaximumNestingLevel()
public void visitScript(ScriptTree tree)
visitScript in class DoubleDispatchVisitorpublic void visitIfStatement(IfStatementTree tree)
visitIfStatement in class DoubleDispatchVisitorpublic void visitForStatement(ForStatementTree tree)
visitForStatement in class DoubleDispatchVisitorpublic void visitForObjectStatement(ForObjectStatementTree tree)
visitForObjectStatement in class DoubleDispatchVisitorpublic void visitWhileStatement(WhileStatementTree tree)
visitWhileStatement in class DoubleDispatchVisitorpublic void visitDoWhileStatement(DoWhileStatementTree tree)
visitDoWhileStatement in class DoubleDispatchVisitorpublic void visitSwitchStatement(SwitchStatementTree tree)
visitSwitchStatement in class DoubleDispatchVisitorpublic void visitTryStatement(TryStatementTree tree)
visitTryStatement in class DoubleDispatchVisitorCopyright © 2011–2016 SonarSource and Eriks Nukis. All rights reserved.