blob: 736bda63e5e844ea8685207554bd50820e88df6b [file]
Input: "{hello}[there]"
Success! Final stack:
(Lean.Doc.Parser.Inline.role
"{"
`hello
[]
"}"
["["]
[(Lean.Doc.Parser.Inline.text
(Lean.Doc.Parser.versoText "there"))]
["]"])
All input consumed.
Round-trip OK
Decoded views:
role (braceOpen := "{") (name := hello) (args := []) (braceClose := "}") (brackets := some ("[", "]"))
text (content := "there")