Package org.sonar.python
Class PythonVisitorContext
- java.lang.Object
-
- org.sonar.python.PythonVisitorContext
-
public class PythonVisitorContext extends Object
-
-
Constructor Summary
Constructors Constructor Description PythonVisitorContext(com.sonar.sslr.api.AstNode rootTree, PythonFile pythonFile)PythonVisitorContext(PythonFile pythonFile, com.sonar.sslr.api.RecognitionException parsingException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.sonar.sslr.api.RecognitionExceptionparsingException()PythonFilepythonFile()com.sonar.sslr.api.AstNoderootTree()SymbolTablesymbolTable()
-
-
-
Constructor Detail
-
PythonVisitorContext
public PythonVisitorContext(com.sonar.sslr.api.AstNode rootTree, PythonFile pythonFile)
-
PythonVisitorContext
public PythonVisitorContext(PythonFile pythonFile, com.sonar.sslr.api.RecognitionException parsingException)
-
-
Method Detail
-
rootTree
public com.sonar.sslr.api.AstNode rootTree()
-
pythonFile
public PythonFile pythonFile()
-
parsingException
public com.sonar.sslr.api.RecognitionException parsingException()
-
symbolTable
public SymbolTable symbolTable()
-
-