Package net.sourceforge.pmd.lang.python
Class PythonParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.AbstractParser
-
- net.sourceforge.pmd.lang.python.PythonParser
-
- All Implemented Interfaces:
Parser
@Deprecated public class PythonParser extends AbstractParser
Deprecated.There is no full PMD support for Python.Adapter for the Python Parser.
-
-
Field Summary
-
Fields inherited from class net.sourceforge.pmd.lang.AbstractParser
parserOptions
-
-
Constructor Summary
Constructors Constructor Description PythonParser(ParserOptions parserOptions)
Deprecated.Creates a new Python Parser.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canParse()
Deprecated.TokenManager
createTokenManager(Reader source)
Deprecated.Map<Integer,String>
getSuppressMap()
Deprecated.Node
parse(String fileName, Reader source)
Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.AbstractParser
doParse, getParserOptions, getTokenManager, setFileName
-
-
-
-
Constructor Detail
-
PythonParser
public PythonParser(ParserOptions parserOptions)
Deprecated.Creates a new Python Parser.- Parameters:
parserOptions
- the options
-
-
Method Detail
-
createTokenManager
public TokenManager createTokenManager(Reader source)
Deprecated.- Specified by:
createTokenManager
in classAbstractParser
-
canParse
public boolean canParse()
Deprecated.
-
parse
public Node parse(String fileName, Reader source) throws ParseException
Deprecated.- Throws:
ParseException
-
-