public class DuplicateConditionIfElseAndSwitchCasesCheck extends BaseTreeVisitor
| Constructor and Description |
|---|
DuplicateConditionIfElseAndSwitchCasesCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
visitIfStatement(IfStatementTree tree) |
void |
visitSwitchStatement(SwitchStatementTree tree) |
getContext, scan, scan, scanFile, visitAccessorMethodDeclaration, visitArrayBindingPattern, visitArrayLiteral, visitArrowFunction, visitAssignmentExpression, visitBinaryExpression, visitBindingProperty, visitBlock, visitBreakStatement, visitCallExpression, visitCaseClause, visitCatchBlock, visitClassDeclaration, visitComputedPropertyName, visitConditionalExpression, visitContinueStatement, visitDebugger, visitDefaultClause, visitDefaultExportDeclaration, visitDoWhileStatement, visitElseClause, visitEmptyStatement, visitExportClause, visitExpressionStatement, visitForInStatement, visitForOfStatement, visitForStatement, visitFromClause, visitFunctionDeclaration, visitFunctionExpression, visitGeneratorMethodDeclaration, visitIdentifier, visitImportClause, visitImportDeclaration, visitImportModuleDeclaration, visitInitializedBindingElement, visitLabelledStatement, 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, visitWhileStatement, visitWithStatement, visitYieldExpressionpublic DuplicateConditionIfElseAndSwitchCasesCheck()
public void visitIfStatement(IfStatementTree tree)
visitIfStatement in interface TreeVisitorvisitIfStatement in class BaseTreeVisitorpublic void visitSwitchStatement(SwitchStatementTree tree)
visitSwitchStatement in interface TreeVisitorvisitSwitchStatement in class BaseTreeVisitorCopyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.