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