| 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 := "%%%") |