1
2
3
4 package net.sourceforge.pmd.cpd;
5
6 import java.io.IOException;
7
8 public interface Tokenizer {
9 String IGNORE_LITERALS = "ignore_literals";
10 String IGNORE_IDENTIFIERS = "ignore_identifiers";
11 String IGNORE_ANNOTATIONS = "ignore_annotations";
12
13
14
15
16
17
18 String OPTION_SKIP_BLOCKS = "net.sourceforge.pmd.cpd.Tokenizer.skipBlocks";
19
20
21
22
23
24
25
26 String OPTION_SKIP_BLOCKS_PATTERN = "net.sourceforge.pmd.cpd.Tokenizer.skipBlocksPattern";
27
28 String DEFAULT_SKIP_BLOCKS_PATTERN = "#if 0|#endif";
29
30 void tokenize(SourceCode sourceCode, Tokens tokenEntries) throws IOException;
31 }