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 parser
  • Node in the BBTag Tree with associated data
  • Main data scructure for parsed BBCode, usually a root node and child nodes

Enums

  • TODO: Handle some extra codes