public class PLSQLTokenizer
extends java.lang.Object
implements net.sourceforge.pmd.cpd.Tokenizer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IGNORE_COMMENTS |
static java.lang.String |
IGNORE_IDENTIFIERS |
static java.lang.String |
IGNORE_LITERALS |
Constructor and Description |
---|
PLSQLTokenizer() |
Modifier and Type | Method and Description |
---|---|
void |
setIgnoreComments(boolean ignore) |
void |
setIgnoreIdentifiers(boolean ignore) |
void |
setIgnoreLiterals(boolean ignore) |
void |
setProperties(java.util.Properties properties) |
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.
|
public static final java.lang.String IGNORE_COMMENTS
public static final java.lang.String IGNORE_IDENTIFIERS
public static final java.lang.String IGNORE_LITERALS
public void setProperties(java.util.Properties properties)
public void setIgnoreComments(boolean ignore)
public void setIgnoreLiterals(boolean ignore)
public void setIgnoreIdentifiers(boolean ignore)
public void tokenize(net.sourceforge.pmd.cpd.SourceCode sourceCode, net.sourceforge.pmd.cpd.Tokens tokenEntries)
tokenize
in interface net.sourceforge.pmd.cpd.Tokenizer
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 © 2013. All Rights Reserved.