gavo.adql package

Submodules

Module contents

Parsing, annotating, and morphing queries in the Astronomical Data Query Language.

gavo.adql.getGrammar()[source]
gavo.adql.getSymbols()[source]
gavo.adql.parseAnnotating(adqlStatement, fieldInfoGetter)[source]

returns a tuple of context, parsedTree for parsing and annotating adqlStatement.

The builtin morphs are performed on the tree.

gavo.adql.parseToTree(adqlStatement)[source]

returns a “naked” parse tree for adqlStatement.

It contains no annotations, so you’ll usually not want to use this.