public class PLSQLTokenizer extends Object implements net.sourceforge.pmd.cpd.Tokenizer
| Modifier and Type | Field and Description |
|---|---|
static String |
IGNORE_COMMENTS |
static String |
IGNORE_IDENTIFIERS |
static 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(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 String IGNORE_COMMENTS
public static final String IGNORE_IDENTIFIERS
public static final String IGNORE_LITERALS
public void setProperties(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.TokenizersourceCode - 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 © 2014. All Rights Reserved.