[−][src]Trait bookbinder_ast::ParseHelper
A helper trait to parse source material
Required methods
fn parse_inline_plain(self) -> Vec<Event<'a>>
parse into inline Events with the appropriate lifetime,
fn parse_plain(self) -> Vec<Event<'a>>
parse into Events with the appropriate lifetime, flattening footnotes if required
Provided methods
fn parse_inline(self) -> Vec<BookEvent<'a>>
parse into inline BookEvents with the appropriate lifetime,
fn parse(self) -> Vec<BookEvent<'a>>
parse into BookEvents with the appropriate lifetime, flattening footnotes if required
fn parse_and_remove_initial_title_plain(
self
) -> (Option<Vec<Event<'a>>>, Vec<Event<'a>>)
self
) -> (Option<Vec<Event<'a>>>, Vec<Event<'a>>)
parse into Events and split off any intial title
fn parse_and_remove_initial_title(
self
) -> (Option<Vec<BookEvent<'a>>>, Vec<BookEvent<'a>>)
self
) -> (Option<Vec<BookEvent<'a>>>, Vec<BookEvent<'a>>)
parse into BookEvents and split off any intial title