[][src]Trait outline::parser::ParserConfig

pub trait ParserConfig {
    fn comment_start(&self) -> &str;
fn interpolation_start(&self) -> &str;
fn interpolation_end(&self) -> &str;
fn macro_start(&self) -> &str;
fn macro_end(&self) -> &str; }

A ParserConfig can be used to customize the built in parsing methods

Required methods

fn comment_start(&self) -> &str

The token to denote the start of a comment that should be rendered in the documentation. This may be specified as the actual line comment symbol used by the source language to exclude all comments from the transpiled file, or it can be a completely separate symbol to allow for some comments to be left untouched even in the output files.

fn interpolation_start(&self) -> &str

The token to denote the start of a meta-variable interpolation

fn interpolation_end(&self) -> &str

The token to denote the end of a meta-variable interpolation

fn macro_start(&self) -> &str

The token to denote the start of a macro invocation

fn macro_end(&self) -> &str

The token to denote the end of a macro invocation

Loading content...

Implementors

impl ParserConfig for BirdParser[src]

impl ParserConfig for HtmlParser[src]

impl ParserConfig for MdParser[src]

impl ParserConfig for TexParser[src]

Loading content...