public class ExpressionComplexityCheck extends SubscriptionBaseVisitor
| Modifier and Type | Class and Description |
|---|---|
static class |
ExpressionComplexityCheck.ExpressionComplexity |
| Modifier and Type | Field and Description |
|---|---|
int |
max |
| Constructor and Description |
|---|
ExpressionComplexityCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
leaveNode(Tree tree) |
List<Tree.Kind> |
nodesToVisit() |
void |
visitFile(Tree scriptTree) |
void |
visitNode(Tree tree) |
addIssuegetContext, isSubscribed, scanFile, scanTree, visitToken, visitTriviapublic List<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionAstTreeVisitorpublic void visitFile(Tree scriptTree)
visitFile in class SubscriptionAstTreeVisitorpublic void visitNode(Tree tree)
visitNode in class SubscriptionAstTreeVisitorpublic void leaveNode(Tree tree)
leaveNode in class SubscriptionAstTreeVisitorCopyright © 2011-2015 SonarSource and Eriks Nukis. All Rights Reserved.