Package net.sourceforge.pmd.lang.python
Class PythonTokenManager
- java.lang.Object
-
- net.sourceforge.pmd.lang.python.PythonTokenManager
-
- All Implemented Interfaces:
TokenManager
@Deprecated @InternalApi public class PythonTokenManager extends Object implements TokenManager
Deprecated.This is internal API, useTokenizer.tokenize(net.sourceforge.pmd.cpd.SourceCode, net.sourceforge.pmd.cpd.Tokens)
viaLanguage.getTokenizer()
.Python Token Manager implementation.
-
-
Constructor Summary
Constructors Constructor Description PythonTokenManager(Reader source)
Deprecated.Creates a new Python Token Manager from the given source code.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
getNextToken()
Deprecated.void
setFileName(String fileName)
Deprecated.
-
-
-
Constructor Detail
-
PythonTokenManager
public PythonTokenManager(Reader source)
Deprecated.Creates a new Python Token Manager from the given source code.- Parameters:
source
- the source code
-
-
Method Detail
-
getNextToken
public Object getNextToken()
Deprecated.- Specified by:
getNextToken
in interfaceTokenManager
-
setFileName
public void setFileName(String fileName)
Deprecated.- Specified by:
setFileName
in interfaceTokenManager
-
-