# Documentation keys

Subnodes
  foo
  (foo, ZZ)

==>

Docstring(Section(Keyword,
  Entry(Program(Identifier)),
  Entry(Program(ParenExpr("(", Sequence(Identifier, BuiltinType), ")")))))

# Entry markers

Subnodes
  :Heading
  * foo
  > bar
  - free text
  * @TO2(foo, "x")@

==>

Docstring(Section(Keyword,
  Entry(Marker, Prose),
  Entry(Marker, Program(Identifier)),
  Entry(Marker, Program(Identifier)),
  Entry(Marker, Prose),
  Entry(Marker, Prose(InlineCode))))

# The marker needs its space

Subnodes
  *foo

==>

Docstring(Section(Keyword,
  Entry(Program(UnaryExpr(ArithmeticOp, Identifier)))))

# Nested entries

Tree
  :Functions
    foo
      bar
    baz

==>

Docstring(Section(Keyword,
  Entry(Marker, Prose,
    Entry(Program(Identifier),
      Entry(Program(Identifier))),
    Entry(Program(Identifier)))))
