Package net.sourceforge.pmd.lang.cpp.cpd
Class CppCpdLexer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.impl.CpdLexerBase<JavaccToken>
-
- net.sourceforge.pmd.lang.cpp.cpd.CppCpdLexer
-
- All Implemented Interfaces:
CpdLexer
public class CppCpdLexer extends CpdLexerBase<JavaccToken>
The C++ tokenizer.Note: This class has been called CPPTokenizer in PMD 6
.
-
-
Constructor Summary
Constructors Constructor Description CppCpdLexer(LanguagePropertyBundle cppProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TokenManager<JavaccToken>
filterTokenStream(TokenManager<JavaccToken> tokenManager)
protected TokenManager<JavaccToken>
makeLexerImpl(TextDocument doc)
-
Methods inherited from class net.sourceforge.pmd.cpd.impl.CpdLexerBase
getImage, processToken, tokenize
-
-
-
-
Constructor Detail
-
CppCpdLexer
public CppCpdLexer(LanguagePropertyBundle cppProperties)
-
-
Method Detail
-
makeLexerImpl
protected TokenManager<JavaccToken> makeLexerImpl(TextDocument doc)
- Specified by:
makeLexerImpl
in classCpdLexerBase<JavaccToken>
-
filterTokenStream
protected TokenManager<JavaccToken> filterTokenStream(TokenManager<JavaccToken> tokenManager)
- Overrides:
filterTokenStream
in classCpdLexerBase<JavaccToken>
-
-