Class AntlrParser
java.lang.Object
org.pgcodekeeper.core.database.base.parser.AntlrParser
Utility class for creating and managing ANTLR parser
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddErrorListener(org.antlr.v4.runtime.Lexer lexer, org.antlr.v4.runtime.Parser parser, String parsedObjectName, List<Object> errors, int offset, int lineOffset, int inLineOffset) static IgnoreListParsercreateIgnoreListParser(Path listFile) Creates a parser for ignore list files.
-
Field Details
-
SQL
- See Also:
-
PARSED_OBJ_NAME
- See Also:
-
-
Method Details
-
createIgnoreListParser
Creates a parser for ignore list files.- Parameters:
listFile- path to the ignore list file- Returns:
- configured IgnoreListParser instance
- Throws:
IOException- if there's an error reading the file
-
addErrorListener
-