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

Function pipe

prqlc/prqlc-parser/src/parser/mod.rs:189–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

187}
188
189fn pipe<'a, I>() -> impl Parser<'a, I, (), ParserError<'a>> + Clone
190where
191 I: Input<'a, Token = lr::Token, Span = Span> + BorrowInput<'a>,
192{
193 ctrl('|')
194 .ignored()
195 .or(new_line().repeated().at_least(1).ignored())
196}
197
198#[cfg(test)]
199mod tests {

Callers 2

var_defFunction · 0.85
pipelineFunction · 0.85

Calls 2

ctrlFunction · 0.85
new_lineFunction · 0.85

Tested by

no test coverage detected