MCPcopy Create free account
hub / github.com/PRQL/prql / fold_expr

Method fold_expr

prqlc/prqlc/src/semantic/resolver/mod.rs:57–62  ·  view source on GitHub ↗
(&mut self, mut expr: Expr)

Source from the content-addressed store, hash-verified

55
56 impl PlFold for IdEraser {
57 fn fold_expr(&mut self, mut expr: Expr) -> Result<Expr> {
58 expr.kind = self.fold_expr_kind(expr.kind)?;
59 expr.id = None;
60 expr.target_id = None;
61 Ok(expr)
62 }
63 }
64
65 fn parse_and_resolve(query: &str) -> Result<Expr, Errors> {

Callers 7

erase_idsFunction · 0.45
resolve_special_funcMethod · 0.45
coerce_into_tupleMethod · 0.45
fold_functionMethod · 0.45
materialize_functionMethod · 0.45
fold_within_namespaceMethod · 0.45

Calls 1

fold_expr_kindMethod · 0.45

Tested by

no test coverage detected