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

Function into_stmt

prqlc/prqlc-parser/src/parser/mod.rs:114–121  ·  view source on GitHub ↗
((annotations, kind): (Vec<Annotation>, StmtKind), span: Span)

Source from the content-addressed store, hash-verified

112}
113
114fn into_stmt((annotations, kind): (Vec<Annotation>, StmtKind), span: Span) -> Stmt {
115 Stmt {
116 kind,
117 span: Some(span),
118 annotations,
119 doc_comment: None,
120 }
121}
122
123fn doc_comment<'a, I>() -> impl Parser<'a, I, String, ParserError<'a>> + Clone
124where

Callers 2

module_contentsFunction · 0.85
query_defFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected