net.sourceforge.pmd.cpd.Tokenizer
public class PLSQLTokenizer extends java.lang.Object implements net.sourceforge.pmd.cpd.Tokenizer
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IGNORE_COMMENTS |
|
static java.lang.String |
IGNORE_IDENTIFIERS |
|
static java.lang.String |
IGNORE_LITERALS |
DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, IGNORE_USINGS, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
Constructor | Description |
---|---|
PLSQLTokenizer() |
Modifier and Type | Method | 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 © 2002–2018 PMD. All rights reserved.