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

Function expr_call

prqlc/prqlc-parser/src/parser/expr.rs:20–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18use super::ParserError;
19
20pub(crate) fn expr_call<'a, I>() -> impl Parser<'a, I, Expr, ParserError<'a>> + Clone
21where
22 I: Input<'a, Token = lr::Token, Span = Span> + BorrowInput<'a>,
23{
24 let expr = expr();
25
26 choice((
27 lambda_func(expr.clone()).boxed(),
28 func_call(expr.clone()).boxed(),
29 pipeline(expr).boxed(),
30 ))
31 .boxed()
32}
33
34pub(crate) fn expr<'a, I>() -> impl Parser<'a, I, Expr, ParserError<'a>> + Clone
35where

Callers 1

var_defFunction · 0.85

Calls 4

exprFunction · 0.85
lambda_funcFunction · 0.85
func_callFunction · 0.85
pipelineFunction · 0.85

Tested by

no test coverage detected