Package gavo :: Package adql
[frames] | no frames]

Package adql

source code

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

Submodules

Functions
 
getSymbols() source code
 
getGrammar() source code
 
parseToTree(adqlStatement)
returns a "naked" parse tree for adqlStatement.
source code
 
parseAnnotating(adqlStatement, fieldInfoGetter)
returns a tuple of context, parsedTree for parsing and annotating adqlStatement.
source code
Variables
  __package__ = 'gavo.adql'
Function Details

parseToTree(adqlStatement)

source code 

returns a "naked" parse tree for adqlStatement.

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

parseAnnotating(adqlStatement, fieldInfoGetter)

source code 

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

The builtin morphs are performed on the tree.