net.sourceforge.pmd.cpd.Tokenizerpublic class PLSQLTokenizer
extends java.lang.Object
implements net.sourceforge.pmd.cpd.Tokenizer
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
IGNORE_COMMENTS |
Deprecated.
|
static java.lang.String |
IGNORE_IDENTIFIERS |
|
static java.lang.String |
IGNORE_LITERALS |
| Constructor | Description |
|---|---|
PLSQLTokenizer() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
setIgnoreComments(boolean ignore) |
Deprecated.
|
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.
|
@Deprecated 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)
@Deprecated 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 © 2002–2018 PMD. All rights reserved.