net.sourceforge.pmd.cpd
Class PLSQLTokenizer

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

public class PLSQLTokenizer
extends Object
implements Tokenizer


Field Summary
static String IGNORE_COMMENTS
           
static String IGNORE_IDENTIFIERS
           
static String IGNORE_LITERALS
           
 
Fields inherited from interface net.sourceforge.pmd.cpd.Tokenizer
DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
 
Constructor Summary
PLSQLTokenizer()
           
 
Method Summary
 void setIgnoreComments(boolean ignore)
           
 void setIgnoreIdentifiers(boolean ignore)
           
 void setIgnoreLiterals(boolean ignore)
           
 void setProperties(Properties properties)
           
 void tokenize(SourceCode sourceCode, Tokens tokenEntries)
          Read Reader from SourceCode and output an ordered tree of PLSQL tokens.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IGNORE_COMMENTS

public static final String IGNORE_COMMENTS
See Also:
Constant Field Values

IGNORE_IDENTIFIERS

public static final String IGNORE_IDENTIFIERS
See Also:
Constant Field Values

IGNORE_LITERALS

public static final String IGNORE_LITERALS
See Also:
Constant Field Values
Constructor Detail

PLSQLTokenizer

public PLSQLTokenizer()
Method Detail

setProperties

public void setProperties(Properties properties)

setIgnoreComments

public void setIgnoreComments(boolean ignore)

setIgnoreLiterals

public void setIgnoreLiterals(boolean ignore)

setIgnoreIdentifiers

public void setIgnoreIdentifiers(boolean ignore)

tokenize

public void tokenize(SourceCode sourceCode,
                     Tokens tokenEntries)
Read Reader from SourceCode and output an ordered tree of PLSQL tokens.

Specified by:
tokenize in interface Tokenizer
Parameters:
sourceCode - PLSQL source in file, string or database (any suitable object that can return a Reader).
tokenEntries - Derived based on PLSQL Abstract Syntax Tree (derived from PLDOc parser.)


Copyright © 2002-2015 InfoEther. All Rights Reserved.