Skip to main content

Module parse

Module parse 

Source

Structs§

ParseResult
Result of parsing a SurfDoc.

Functions§

closing_directive_depth
If the line is a closing directive (::, :::, …), return the depth (colon count).
opening_directive
If the line is an opening directive (::name[attrs]), return (depth, name, attrs_str).
parse
Parse a SurfDoc string into a ParseResult.