Class KotlinCpdLexer

  • All Implemented Interfaces:
    net.sourceforge.pmd.cpd.CpdLexer

    public class KotlinCpdLexer
    extends net.sourceforge.pmd.cpd.impl.AntlrCpdLexer
    The Kotlin Tokenizer

    Note: 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)  
      • Methods inherited from class net.sourceforge.pmd.cpd.impl.AntlrCpdLexer

        makeLexerImpl
      • Methods inherited from class net.sourceforge.pmd.cpd.impl.CpdLexerBase

        getImage, processToken, tokenize
    • Constructor Detail

      • KotlinCpdLexer

        public KotlinCpdLexer()
    • Method Detail

      • getLexerForSource

        protected org.antlr.v4.runtime.Lexer getLexerForSource​(org.antlr.v4.runtime.CharStream charStream)
        Specified by:
        getLexerForSource in class net.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 class net.sourceforge.pmd.cpd.impl.CpdLexerBase<net.sourceforge.pmd.lang.ast.impl.antlr4.AntlrToken>