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

Function ctrl

prqlc/prqlc-parser/src/parser/mod.rs:105–112  ·  view source on GitHub ↗
(char: char)

Source from the content-addressed store, hash-verified

103}
104
105fn ctrl<'a, I>(char: char) -> impl Parser<'a, I, (), ParserError<'a>> + Clone
106where
107 I: Input<'a, Token = lr::Token, Span = Span> + BorrowInput<'a>,
108{
109 select_ref! {
110 lr::Token { kind: TokenKind::Control(c), .. } if *c == char => (),
111 }
112}
113
114fn into_stmt((annotations, kind): (Vec<Annotation>, StmtKind), span: Span) -> Stmt {
115 Stmt {

Callers 15

module_contentsFunction · 0.85
query_defFunction · 0.85
var_defFunction · 0.85
type_defFunction · 0.85
import_defFunction · 0.85
sequenceFunction · 0.85
pipeFunction · 0.85
type_exprFunction · 0.85
exprFunction · 0.85
tupleFunction · 0.85
arrayFunction · 0.85
caseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected