Skip to main content

parse_query_file

Function parse_query_file 

Source
pub fn parse_query_file(
    source_path: &Utf8Path,
    source: &str,
) -> Result<(QueryFile, Arc<QSource>), QError>
Expand description

Parse a styx source string into a QueryFile.

Returns both the parsed QueryFile and the QSource for error reporting. Validation is deferred to SQL generation phase for proper context.