public class ComplexityVisitor extends BaseTreeVisitor
| Constructor and Description |
|---|
ComplexityVisitor() |
getContext, scan, scan, scanFile, visitArrayBindingPattern, visitArrayLiteral, visitArrowFunction, visitAssignmentExpression, visitBindingProperty, visitBlock, visitBreakStatement, visitCallExpression, visitClassDeclaration, visitComputedPropertyName, visitContinueStatement, visitDebugger, visitDefaultClause, visitDefaultExportDeclaration, visitElseClause, visitEmptyStatement, visitExportClause, visitExpressionStatement, visitFromClause, visitIdentifier, visitImportClause, visitImportDeclaration, visitImportModuleDeclaration, visitInitializedBindingElement, visitLabelledStatement, visitLiteral, visitMemberExpression, visitModule, visitNamedExportDeclaration, visitNameSpaceExportDeclaration, visitNewExpression, visitObjectBindingPattern, visitObjectLiteral, visitPairProperty, visitParameterList, visitParenthesisedExpression, visitRestElement, visitScript, visitSpecifier, visitSpecifierList, visitSuper, visitSwitchStatement, visitTaggedTemplate, visitTemplateCharacters, visitTemplateExpression, visitTemplateLiteral, visitThisTree, visitTryStatement, visitUnaryExpression, visitVariableDeclaration, visitVariableStatement, visitWithStatement, visitYieldExpressionpublic int getComplexity(Tree tree)
public void visitAccessorMethodDeclaration(AccessorMethodDeclarationTree tree)
visitAccessorMethodDeclaration in interface TreeVisitorvisitAccessorMethodDeclaration in class BaseTreeVisitorpublic void visitMethodDeclaration(MethodDeclarationTree tree)
visitMethodDeclaration in interface TreeVisitorvisitMethodDeclaration in class BaseTreeVisitorpublic void visitFunctionDeclaration(FunctionDeclarationTree tree)
visitFunctionDeclaration in interface TreeVisitorvisitFunctionDeclaration in class BaseTreeVisitorpublic void visitFunctionExpression(FunctionExpressionTree tree)
visitFunctionExpression in interface TreeVisitorvisitFunctionExpression in class BaseTreeVisitorpublic void visitGeneratorMethodDeclaration(GeneratorMethodDeclarationTree tree)
visitGeneratorMethodDeclaration in interface TreeVisitorvisitGeneratorMethodDeclaration in class BaseTreeVisitorpublic void visitIfStatement(IfStatementTree tree)
visitIfStatement in interface TreeVisitorvisitIfStatement 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 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 visitCaseClause(CaseClauseTree tree)
visitCaseClause in interface TreeVisitorvisitCaseClause in class BaseTreeVisitorpublic void visitCatchBlock(CatchBlockTree tree)
visitCatchBlock in interface TreeVisitorvisitCatchBlock in class BaseTreeVisitorpublic void visitReturnStatement(ReturnStatementTree tree)
visitReturnStatement in interface TreeVisitorvisitReturnStatement in class BaseTreeVisitorpublic void visitConditionalExpression(ConditionalExpressionTree tree)
visitConditionalExpression in interface TreeVisitorvisitConditionalExpression in class BaseTreeVisitorpublic void visitThrowStatement(ThrowStatementTree tree)
visitThrowStatement in interface TreeVisitorvisitThrowStatement in class BaseTreeVisitorpublic void visitBinaryExpression(BinaryExpressionTree tree)
visitBinaryExpression in interface TreeVisitorvisitBinaryExpression in class BaseTreeVisitorCopyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.