blob: 223996ad664fbbecf210c30f6fe0c5738e39eacf [file]
Input: "%%%\nx := 1\n%%%\n"
Success! Final stack:
(Lean.Doc.Parser.Block.metadata_block
"%%%"
(Term.structInstFields
[(Term.structInstField
(Term.structInstLVal `x [])
[[]
[]
(Term.structInstFieldDef
":="
[]
(num "1"))])
[]])
"%%%")
All input consumed.
Round-trip OK
Decoded views:
metadata (opener := "%%%") (fields := 1) (closer := "%%%")