Package 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 java.lang.Object implements net.sourceforge.pmd.cpd.Tokenizer
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringIGNORE_COMMENTSDeprecated.static java.lang.StringIGNORE_IDENTIFIERSstatic java.lang.StringIGNORE_LITERALS
-
Constructor Summary
Constructors Constructor Description PLSQLTokenizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidsetIgnoreComments(boolean ignore)Deprecated.voidsetIgnoreIdentifiers(boolean ignore)voidsetIgnoreLiterals(boolean ignore)voidsetProperties(java.util.Properties properties)voidtokenize(net.sourceforge.pmd.cpd.SourceCode sourceCode, net.sourceforge.pmd.cpd.Tokens tokenEntries)Read Reader from SourceCode and output an ordered tree of PLSQL tokens.
-
-
-
Field Detail
-
IGNORE_COMMENTS
@Deprecated public static final java.lang.String IGNORE_COMMENTS
Deprecated.- See Also:
- Constant Field Values
-
IGNORE_IDENTIFIERS
public static final java.lang.String IGNORE_IDENTIFIERS
- See Also:
- Constant Field Values
-
IGNORE_LITERALS
public static final java.lang.String IGNORE_LITERALS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setProperties
public void setProperties(java.util.Properties properties)
-
setIgnoreComments
@Deprecated public void setIgnoreComments(boolean ignore)
Deprecated.
-
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:
tokenizein interfacenet.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.)
-
-