Package net.sourceforge.pmd.lang.plsql
Class PLSQLParser
- java.lang.Object
-
- net.sourceforge.pmd.lang.AbstractParser
-
- net.sourceforge.pmd.lang.plsql.PLSQLParser
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.Parser
public class PLSQLParser extends net.sourceforge.pmd.lang.AbstractParserAdapter for the PLSQLParser.
-
-
Constructor Summary
Constructors Constructor Description PLSQLParser(net.sourceforge.pmd.lang.ParserOptions parserOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanParse()protected PLSQLParsercreatePLSQLParser(Reader source)Subclass should override this method to modify the PLSQLParser as needed.net.sourceforge.pmd.lang.TokenManagercreateTokenManager(Reader source)Map<Integer,String>getSuppressMap()net.sourceforge.pmd.lang.ast.Nodeparse(String fileName, Reader source)
-
-
-
Method Detail
-
createTokenManager
public net.sourceforge.pmd.lang.TokenManager createTokenManager(Reader source)
- Specified by:
createTokenManagerin classnet.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
-
-