Class PLSQLTokenizer

  • All Implemented Interfaces:
    net.sourceforge.pmd.cpd.Tokenizer

    public class PLSQLTokenizer
    extends net.sourceforge.pmd.cpd.internal.JavaCCTokenizer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String IGNORE_COMMENTS
      Deprecated.
      static java.lang.String IGNORE_IDENTIFIERS  
      static java.lang.String IGNORE_LITERALS  
      • Fields inherited from interface net.sourceforge.pmd.cpd.Tokenizer

        DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, IGNORE_USINGS, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
    • Constructor Summary

      Constructors 
      Constructor Description
      PLSQLTokenizer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected net.sourceforge.pmd.lang.TokenManager getLexerForSource​(net.sourceforge.pmd.cpd.SourceCode sourceCode)  
      protected net.sourceforge.pmd.cpd.TokenEntry processToken​(net.sourceforge.pmd.cpd.Tokens tokenEntries, net.sourceforge.pmd.lang.ast.GenericToken currentToken, java.lang.String fileName)  
      void setIgnoreComments​(boolean ignore)
      Deprecated.
      void setIgnoreIdentifiers​(boolean ignore)  
      void setIgnoreLiterals​(boolean ignore)  
      void setProperties​(java.util.Properties properties)  
      • Methods inherited from class net.sourceforge.pmd.cpd.internal.JavaCCTokenizer

        getTokenFilter, tokenize
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • PLSQLTokenizer

        public PLSQLTokenizer()
    • 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)
      • processToken

        protected net.sourceforge.pmd.cpd.TokenEntry processToken​(net.sourceforge.pmd.cpd.Tokens tokenEntries,
                                                                  net.sourceforge.pmd.lang.ast.GenericToken currentToken,
                                                                  java.lang.String fileName)
        Overrides:
        processToken in class net.sourceforge.pmd.cpd.internal.JavaCCTokenizer
      • getLexerForSource

        protected net.sourceforge.pmd.lang.TokenManager getLexerForSource​(net.sourceforge.pmd.cpd.SourceCode sourceCode)
        Specified by:
        getLexerForSource in class net.sourceforge.pmd.cpd.internal.JavaCCTokenizer