fcsql

exception fcsql.SyntaxError[source]
class fcsql.ExceptionThrowingErrorListener[source]
syntaxError(recognizer, offendingSymbol, line, column, msg, e)[source]
fcsql.antlr_parse(input: str) QueryContext[source]
fcsql.parse(input: str) QueryNode[source]

Simple wrapper to generate a QueryParser and to parse some input string into a QueryNode.

Parameters:

input – raw input query string

Returns:

QueryNode – parsed query

Throws:

QueryParserException: if an error occurred