net.sourceforge.pmd.cpd.Tokenizerpublic class CPPTokenizer extends java.lang.Object implements net.sourceforge.pmd.cpd.Tokenizer
DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, IGNORE_IDENTIFIERS, IGNORE_LITERALS, IGNORE_USINGS, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN| Constructor | Description |
|---|---|
CPPTokenizer() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
setProperties(java.util.Properties properties) |
Sets the possible options for the C++ tokenizer.
|
void |
tokenize(net.sourceforge.pmd.cpd.SourceCode sourceCode,
net.sourceforge.pmd.cpd.Tokens tokenEntries) |
public void setProperties(java.util.Properties properties)
properties - the propertiesTokenizer.OPTION_SKIP_BLOCKS,
Tokenizer.OPTION_SKIP_BLOCKS_PATTERNpublic void tokenize(net.sourceforge.pmd.cpd.SourceCode sourceCode, net.sourceforge.pmd.cpd.Tokens tokenEntries)
tokenize in interface net.sourceforge.pmd.cpd.TokenizerCopyright © 2002–2018 PMD. All rights reserved.