@Beta
public interface AstTreeVisitorContext
| Modifier and Type | Method and Description |
|---|---|
void |
addIssue(JavaScriptCheck check,
int line,
String message)
Creates an issue.
|
void |
addIssue(JavaScriptCheck check,
int line,
String message,
double cost)
Creates an issue.
|
void |
addIssue(JavaScriptCheck check,
Tree tree,
String message)
Creates an issue.
|
void |
addIssue(JavaScriptCheck check,
Tree tree,
String message,
double cost)
Creates an issue.
|
File |
getFile() |
String |
getFileKey() |
String[] |
getPropertyValues(String name)
Fetch project property
|
SymbolModel |
getSymbolModel() |
ScriptTree |
getTopTree() |
ScriptTree getTopTree()
void addIssue(JavaScriptCheck check, Tree tree, String message)
check - instance of the check that creates the issue.tree - the tree on which the issue should be raise. Means the issue will be raised on its corresponding line in the source code.message - the issue message.void addIssue(JavaScriptCheck check, int line, String message)
check - instance of the check that create the issueline - source line on which the issue should be raisedmessage - the issue messagevoid addIssue(JavaScriptCheck check, Tree tree, String message, double cost)
check - instance of the check that create the issuetree - the tree on which the issue should be raise. Means the issue will be raised on its corresponding line in the source code.message - the issue messagecost - specific remediation cost for the issue, used to compute the technical debtvoid addIssue(JavaScriptCheck check, int line, String message, double cost)
check - instance of the check that create the issueline - source line on which the issue should be raisedmessage - the issue messagecost - specific remediation cost for the issue, used to compute the technical debtString getFileKey()
File getFile()
SymbolModel getSymbolModel()
Copyright © 2011–2015 SonarSource and Eriks Nukis. All rights reserved.