Structs
The main bbcode system. You create this to parse bbcode! Inexpensive clones,
since fields are all reference counted.
Configuration for tag generation. Generally not necessary, as you can just
generate your own tags with more ease and more configuration than this, but
this is useful for quick and common modifications to normal tag generation.
Definition for a block level matcher. Should always be readonly, it is just a definition.
Not necessarily a scoped element, could define eating garbage, passing normal text through, etc.
It’s all up to the ‘match_type’
Information about a scoped tag with open and close elements. This gives you the power to craft
many kinds of markup, not just bbcode, and have it understand scope
Enums
The ways in which you can configure the default link ‘target’ behavior.
Type Definitions
The type for your emit closure which will take the open tag capture, body, and close tag capture and
output whatever you want. used with
The type for your emit closure when you’re doing basic regex replacement with
MatchType::Simple