Skip to main content

with_parser_context

Function with_parser_context 

Source
pub fn with_parser_context<T>(
    parsers: &dyn RoutineParserCatalog,
    compile: impl FnOnce() -> Result<T, SQLError>,
) -> Result<T, SQLError>
Expand description

Read live lexical settings only after the routine’s own configuration has been applied, and deliver parser notices even if compilation fails.