Class KotlinCpdLexer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.impl.CpdLexerBase<net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrToken>
-
- net.sourceforge.pmd.cpd.impl.AntlrCpdLexer
-
- net.sourceforge.pmd.lang.kotlin.cpd.KotlinCpdLexer
-
- All Implemented Interfaces:
net.sourceforge.pmd.cpd.CpdLexer
public class KotlinCpdLexer extends net.sourceforge.pmd.cpd.impl.AntlrCpdLexer
The Kotlin TokenizerNote: This class has been called KotlinTokenizer in PMD 6
.
-
-
Constructor Summary
Constructors Constructor Description KotlinCpdLexer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.sourceforge.pmd.lang.TokenManager<net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrToken>
filterTokenStream(net.sourceforge.pmd.lang.TokenManager<net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrToken> tokenManager)
protected org.antlr.v4.runtime.Lexer
getLexerForSource(org.antlr.v4.runtime.CharStream charStream)
-
-
-
Method Detail
-
getLexerForSource
protected org.antlr.v4.runtime.Lexer getLexerForSource(org.antlr.v4.runtime.CharStream charStream)
- Specified by:
getLexerForSource
in classnet.sourceforge.pmd.cpd.impl.AntlrCpdLexer
-
filterTokenStream
protected net.sourceforge.pmd.lang.TokenManager<net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrToken> filterTokenStream(net.sourceforge.pmd.lang.TokenManager<net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrToken> tokenManager)
- Overrides:
filterTokenStream
in classnet.sourceforge.pmd.cpd.impl.CpdLexerBase<net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrToken>
-
-