Package net.sourceforge.pmd.cpd
Class EcmascriptTokenizer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.internal.JavaCCTokenizer
-
- net.sourceforge.pmd.cpd.EcmascriptTokenizer
-
- All Implemented Interfaces:
Tokenizer
public class EcmascriptTokenizer extends net.sourceforge.pmd.cpd.internal.JavaCCTokenizer
The Ecmascript Tokenizer
-
-
Field Summary
-
Fields inherited from interface net.sourceforge.pmd.cpd.Tokenizer
DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, IGNORE_IDENTIFIERS, IGNORE_LITERALS, IGNORE_USINGS, OPTION_IGNORE_LITERAL_SEQUENCES, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
-
-
Constructor Summary
Constructors Constructor Description EcmascriptTokenizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TokenManager
getLexerForSource(SourceCode sourceCode)
protected TokenEntry
processToken(Tokens tokenEntries, GenericToken currentToken, String filename)
-
-
-
Method Detail
-
getLexerForSource
protected TokenManager getLexerForSource(SourceCode sourceCode)
- Specified by:
getLexerForSource
in classnet.sourceforge.pmd.cpd.internal.JavaCCTokenizer
-
processToken
protected TokenEntry processToken(Tokens tokenEntries, GenericToken currentToken, String filename)
- Overrides:
processToken
in classnet.sourceforge.pmd.cpd.internal.JavaCCTokenizer
-
-