public class FileLinesVisitor extends SubscriptionVisitor
FileLinesContext.context| Constructor and Description |
|---|
FileLinesVisitor(SonarComponents sonarComponents) |
| Modifier and Type | Method and Description |
|---|---|
List<Tree.Kind> |
nodesToVisit() |
void |
scanFile(JavaFileScannerContext context)
Method called after parsing and semantic analysis has been done on file.
|
void |
visitNode(Tree tree) |
void |
visitToken(SyntaxToken syntaxToken) |
hasSemantic, leaveNode, scanTree, visitTriviapublic FileLinesVisitor(SonarComponents sonarComponents)
public List<Tree.Kind> nodesToVisit()
nodesToVisit in class SubscriptionVisitorpublic void scanFile(JavaFileScannerContext context)
JavaFileScannerscanFile in interface JavaFileScannerscanFile in class SubscriptionVisitorcontext - Context of analysis containing the parsed tree.public void visitNode(Tree tree)
visitNode in class SubscriptionVisitorpublic void visitToken(SyntaxToken syntaxToken)
visitToken in class SubscriptionVisitorCopyright © 2012–2017 SonarSource. All rights reserved.