Package dev.frostlake.parser
package dev.frostlake.parser
-
ClassDescriptionThe shapes a name with an empty middle part,
db..t, cannot take where it is written — live's syntax errors, judged once the statement has parsed.Where a statement's input ENDS, which is the anchor live gives every refusal that ran out of text — the position one PAST the last character, not the last character itself.This class provides an empty implementation ofFrostlakeListener, which can be extended to create a listener which only needs to handle a subset of the available methods.This class provides an empty implementation ofFrostlakeVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.This interface defines a complete listener for a parse tree produced byFrostlakeParser.This interface defines a complete generic visitor for a parse tree produced byFrostlakeParser.Exception thrown when SQL syntax errors are detected during parsingThe SEMICOLON between two statements, which live REQUIRES and this grammar leaves optional.Custom ANTLR error listener that collects syntax errors and throws them in live Snowflake's wording (live-verified): every error renders on its own line under the one compilation-error prefix — a parser error assyntax error line L at position P unexpected 'TOK'.(token text verbatim,'<EOF>'at end of input), a lexer error (an unterminated literal or quoted identifier — the lexer consumed to end of input) asparse error line L at position P near '<EOF>'.positioned at the END of the input.