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(PythonFile pythonFile, com.sonar.sslr.api.RecognitionException parsingException, org.sonar.api.SonarProduct sonarProduct) PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, File workingDirectory, String packageName) PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, File workingDirectory, String packageName, ProjectLevelSymbolTable projectLevelSymbolTable, CacheContext cacheContext) PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, File workingDirectory, String packageName, ProjectLevelSymbolTable projectLevelSymbolTable, CacheContext cacheContext, org.sonar.api.SonarProduct sonarProduct) -
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, sonarProduct, stubFilesSymbols, workingDirectory
-
Constructor Details
-
PythonVisitorContext
public PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, @Nullable File workingDirectory, String packageName) -
PythonVisitorContext
public PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, @Nullable File workingDirectory, String packageName, ProjectLevelSymbolTable projectLevelSymbolTable, CacheContext cacheContext) -
PythonVisitorContext
public PythonVisitorContext(FileInput rootTree, PythonFile pythonFile, @Nullable File workingDirectory, String packageName, ProjectLevelSymbolTable projectLevelSymbolTable, CacheContext cacheContext, org.sonar.api.SonarProduct sonarProduct) -
PythonVisitorContext
public PythonVisitorContext(PythonFile pythonFile, com.sonar.sslr.api.RecognitionException parsingException) -
PythonVisitorContext
public PythonVisitorContext(PythonFile pythonFile, com.sonar.sslr.api.RecognitionException parsingException, org.sonar.api.SonarProduct sonarProduct)
-
-
Method Details
-
rootTree
-
typeChecker
-
parsingException
public com.sonar.sslr.api.RecognitionException parsingException() -
addIssue
-
getIssues
-
moduleType
-