net.sourceforge.pmd.cpd
Class CPPTokenizer

java.lang.Object
  extended by net.sourceforge.pmd.cpd.CPPTokenizer
All Implemented Interfaces:
Tokenizer

public class CPPTokenizer
extends Object
implements Tokenizer

The C++ tokenizer.


Field Summary
 
Fields inherited from interface net.sourceforge.pmd.cpd.Tokenizer
DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, IGNORE_IDENTIFIERS, IGNORE_LITERALS, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
 
Constructor Summary
CPPTokenizer()
           
 
Method Summary
 void setProperties(Properties properties)
          Sets the possible options for the C++ tokenizer.
 void tokenize(SourceCode sourceCode, Tokens tokenEntries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPPTokenizer

public CPPTokenizer()
Method Detail

setProperties

public void setProperties(Properties properties)
Sets the possible options for the C++ tokenizer.

Parameters:
properties - the properties
See Also:
Tokenizer.OPTION_SKIP_BLOCKS, Tokenizer.OPTION_SKIP_BLOCKS_PATTERN

tokenize

public void tokenize(SourceCode sourceCode,
                     Tokens tokenEntries)
Specified by:
tokenize in interface Tokenizer


Copyright © 2002-2015 InfoEther. All Rights Reserved.