expr_decl_fragment

func expr_decl_fragment(consume syntax: Syntax<Expr>) -> Syntax<Decl>

These fragments are valid only inside a declaration quotation at the corresponding grammar position; the completed quotation is still parsed as one declaration before it can escape the wrapper service boundary.

View Source
pub func expr_decl_fragment(consume syntax: Syntax<Expr>) -> Syntax<Decl> {
	raw_decl_fragment(raw: consume syntax.raw)
}