net.sourceforge.pmd.cpd
Class PLSQLTokenizer
java.lang.Object
net.sourceforge.pmd.cpd.PLSQLTokenizer
- All Implemented Interfaces:
- net.sourceforge.pmd.cpd.Tokenizer
public class PLSQLTokenizer
- extends Object
- implements net.sourceforge.pmd.cpd.Tokenizer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
PLSQLTokenizer
public PLSQLTokenizer()
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(net.sourceforge.pmd.cpd.SourceCode sourceCode,
net.sourceforge.pmd.cpd.Tokens tokenEntries)
- Read Reader from SourceCode and output an ordered tree of PLSQL tokens.
- Specified by:
tokenize
in interface net.sourceforge.pmd.cpd.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 © 2012. All Rights Reserved.