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:
net.sourceforge.pmd.lang.Parser
@Deprecated public class PythonParser extends net.sourceforge.pmd.lang.AbstractParser
Deprecated.There is no full PMD support for Python.Adapter for the Python Parser.
-
-
Constructor Summary
Constructors Constructor Description PythonParser(net.sourceforge.pmd.lang.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.net.sourceforge.pmd.lang.TokenManager
createTokenManager(java.io.Reader source)
Deprecated.java.util.Map<java.lang.Integer,java.lang.String>
getSuppressMap()
Deprecated.net.sourceforge.pmd.lang.ast.Node
parse(java.lang.String fileName, java.io.Reader source)
Deprecated.
-
-
-
Method Detail
-
createTokenManager
public net.sourceforge.pmd.lang.TokenManager createTokenManager(java.io.Reader source)
Deprecated.- Specified by:
createTokenManager
in classnet.sourceforge.pmd.lang.AbstractParser
-
canParse
public boolean canParse()
Deprecated.
-
parse
public net.sourceforge.pmd.lang.ast.Node parse(java.lang.String fileName, java.io.Reader source) throws net.sourceforge.pmd.lang.ast.ParseException
Deprecated.- Throws:
net.sourceforge.pmd.lang.ast.ParseException
-
getSuppressMap
public java.util.Map<java.lang.Integer,java.lang.String> getSuppressMap()
Deprecated.
-
-