Class PLSQLParser

  • All Implemented Interfaces:
    net.sourceforge.pmd.lang.Parser

    public class PLSQLParser
    extends net.sourceforge.pmd.lang.AbstractParser
    Adapter for the PLSQLParser.
    • Constructor Detail

      • PLSQLParser

        public PLSQLParser​(net.sourceforge.pmd.lang.ParserOptions parserOptions)
    • Method Detail

      • createTokenManager

        public net.sourceforge.pmd.lang.TokenManager createTokenManager​(Reader source)
        Specified by:
        createTokenManager in class net.sourceforge.pmd.lang.AbstractParser
      • createPLSQLParser

        protected PLSQLParser createPLSQLParser​(Reader source)
                                         throws net.sourceforge.pmd.lang.ast.ParseException
        Subclass should override this method to modify the PLSQLParser as needed.
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException
      • canParse

        public boolean canParse()
      • parse

        public net.sourceforge.pmd.lang.ast.Node parse​(String fileName,
                                                       Reader source)
                                                throws net.sourceforge.pmd.lang.ast.ParseException
        Throws:
        net.sourceforge.pmd.lang.ast.ParseException