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