public class LineVisitor extends SubscriptionTreeVisitor
| Constructor and Description |
|---|
LineVisitor(Tree tree) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLinesNumber() |
Set<Integer> |
getLinesOfCode() |
int |
getLinesOfCodeNumber() |
List<Tree.Kind> |
nodesToVisit() |
void |
visitNode(Tree tree) |
getContext, isSubscribed, leaveNode, scanFile, scanTree, visitFile, visitToken, visitTriviapublic LineVisitor(Tree tree)
public List<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionTreeVisitorpublic void visitNode(Tree tree)
visitNode in class SubscriptionTreeVisitorpublic int getLinesOfCodeNumber()
public int getLinesNumber()
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.