Class EcmascriptCpdLexer

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

    public class EcmascriptCpdLexer
    extends net.sourceforge.pmd.cpd.impl.JavaccCpdLexer
    The Ecmascript Tokenizer

    Note: This class has been called EcmascriptTokenizer in PMD 6

    .
    • Constructor Detail

      • EcmascriptCpdLexer

        public EcmascriptCpdLexer()
    • Method Detail

      • makeLexerImpl

        protected net.sourceforge.pmd.lang.TokenManager<net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken> makeLexerImpl​(net.sourceforge.pmd.lang.document.TextDocument doc)
        Specified by:
        makeLexerImpl in class net.sourceforge.pmd.cpd.impl.CpdLexerBase<net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken>
      • getImage

        protected String getImage​(net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken jsToken)
        Overrides:
        getImage in class net.sourceforge.pmd.cpd.impl.CpdLexerBase<net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken>