Crate bbcode_tagger

Source
Expand description

A tree parser and tagger for BBCode formatted text.

§Usage

use bbcode_tagger::BBCode;

let parser = BBCode::default();
let tree = parser.parse(r"This is some [B]BBCODE![\B]");

println!("{}", tree);

Structs§

BBCode
BBCode parser
BBNode
Node in the BBTag Tree with associated data
BBTree
Main data scructure for parsed BBCode, usually a root node and child nodes

Enums§

BBTag
TODO: Handle some extra codes