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 booleancanParse()Deprecated.TokenManagercreateTokenManager(Reader source)Deprecated.Map<Integer,String>getSuppressMap()Deprecated.Nodeparse(String fileName, Reader source)Deprecated.-
Methods inherited from class net.sourceforge.pmd.lang.AbstractParser
getParserOptions, getTokenManager
-
-
-
-
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:
createTokenManagerin classAbstractParser
-
canParse
public boolean canParse()
Deprecated.
-
parse
public Node parse(String fileName, Reader source) throws ParseException
Deprecated.- Throws:
ParseException
-
-