Class FirebirdParser
java.lang.Object
migratedb.v1.core.internal.parser.BaseParser
migratedb.v1.core.internal.database.firebird.FirebirdParser
- All Implemented Interfaces:
Parser
-
Nested Class Summary
Nested classes/interfaces inherited from class migratedb.v1.core.internal.parser.BaseParser
BaseParser.ParserSqlStatementIterator -
Field Summary
Fields inherited from class migratedb.v1.core.internal.parser.BaseParser
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TokenhandleAlternativeStringLiteral(PeekingReader reader, ParserContext context, int pos, int line, int col) protected TokenhandleKeyword(PeekingReader reader, ParserContext context, int pos, int line, int col, String keyword) protected booleanprotected voidresetDelimiter(ParserContext context) Resets the delimiter to its default value before parsing a new statement.Methods inherited from class migratedb.v1.core.internal.parser.BaseParser
adjustBlockDepth, adjustDelimiter, createStatement, detectCanExecuteInTransaction, detectStatementType, doTokensMatchPattern, getAlternativeIdentifierQuote, getAlternativeStringLiteralQuote, getClosingIdentifierSymbol, getConfiguration, getDefaultDelimiter, getIdentifierQuote, getLastKeywordIndex, getLastKeywordIndex, getNextStatement, getOpeningIdentifierSymbol, getParsingContext, getPreviousToken, getTransactionalDetectionCutoff, getValidKeywords, handleCommentDirective, handleDelimiter, handleStringLiteral, isCommentDirective, isDelimiter, isKeyword, isLetter, isSingleLineComment, lastTokenIs, lastTokenIsOnLine, parse, parse, readIdentifier, readKeyword, replacePlaceholders, shouldAdjustBlockDepth, shouldDiscard, supportsPeekingMultipleLines, tokenAtIndexIs
-
Constructor Details
-
FirebirdParser
-
-
Method Details
-
handleKeyword
protected Token handleKeyword(PeekingReader reader, ParserContext context, int pos, int line, int col, String keyword) throws IOException - Overrides:
handleKeywordin classBaseParser- Throws:
IOException
-
resetDelimiter
Description copied from class:BaseParserResets the delimiter to its default value before parsing a new statement.- Overrides:
resetDelimiterin classBaseParser
-
isAlternativeStringLiteral
- Overrides:
isAlternativeStringLiteralin classBaseParser
-
handleAlternativeStringLiteral
protected Token handleAlternativeStringLiteral(PeekingReader reader, ParserContext context, int pos, int line, int col) throws IOException - Overrides:
handleAlternativeStringLiteralin classBaseParser- Throws:
IOException
-