Class EcmascriptCpdLexer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.impl.CpdLexerBase<net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken>
-
- net.sourceforge.pmd.cpd.impl.JavaccCpdLexer
-
- net.sourceforge.pmd.lang.ecmascript.cpd.EcmascriptCpdLexer
-
- All Implemented Interfaces:
net.sourceforge.pmd.cpd.CpdLexer
public class EcmascriptCpdLexer extends net.sourceforge.pmd.cpd.impl.JavaccCpdLexer
The Ecmascript TokenizerNote: This class has been called EcmascriptTokenizer in PMD 6
.
-
-
Constructor Summary
Constructors Constructor Description EcmascriptCpdLexer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getImage(net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken jsToken)
protected net.sourceforge.pmd.lang.TokenManager<net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken>
makeLexerImpl(net.sourceforge.pmd.lang.document.TextDocument doc)
-
-
-
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 classnet.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 classnet.sourceforge.pmd.cpd.impl.CpdLexerBase<net.sourceforge.pmd.lang.ast.impl.javacc.JavaccToken>
-
-