pub fn resolve_names(
    nodes: Vec<Node>,
    context: Option<Context>
) -> Result<(Vec<Node>, Context)>
Expand description

Runs semantic analysis on the query, using current state.

Note that this removes function declarations from AST and saves them as current context.