Package org.sonar.plugins.python.api
Class PythonVisitorContext
java.lang.Object
org.sonar.plugins.python.api.PythonInputFileContext
org.sonar.plugins.python.api.PythonVisitorContext
-
Constructor Summary
ConstructorsConstructorDescriptionPythonVisitorContext(PythonFile pythonFile, com.sonar.sslr.api.RecognitionException parsingException) PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, File workingDirectory, String packageName) PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, File workingDirectory, String packageName, ProjectLevelSymbolTable projectLevelSymbolTable, CacheContext cacheContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIssue(PythonCheck.PreciseIssue issue) com.sonar.sslr.api.RecognitionExceptionrootTree()Methods inherited from class org.sonar.plugins.python.api.PythonInputFileContext
cacheContext, pythonFile, stubFilesSymbols, workingDirectory
-
Constructor Details
-
PythonVisitorContext
public PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, @Nullable File workingDirectory, @Nullable String packageName) -
PythonVisitorContext
public PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, @Nullable File workingDirectory, String packageName, ProjectLevelSymbolTable projectLevelSymbolTable, CacheContext cacheContext) -
PythonVisitorContext
public PythonVisitorContext(PythonFile pythonFile, com.sonar.sslr.api.RecognitionException parsingException)
-
-
Method Details
-
rootTree
-
parsingException
public com.sonar.sslr.api.RecognitionException parsingException() -
addIssue
-
getIssues
-