Trait slr_parser::Visitor[][src]

pub trait Visitor<'l> {
    fn start_element(
        &mut self,
        src: &Source<'l>,
        name: ConfigString<'l>
    ) -> Result<(), Error>;
fn end_element(&mut self) -> Result<(), Error>;
fn set_table(&mut self, src: &Source<'l>, span: Span) -> Result<(), Error>;
fn set_tagged_array(
        &mut self,
        src: &Source<'l>,
        span: Span,
        tag: ConfigString<'l>
    ) -> Result<(), Error>;
fn set_tagged_table(
        &mut self,
        src: &Source<'l>,
        span: Span,
        tag: ConfigString<'l>
    ) -> Result<(), Error>;
fn set_array(&mut self, src: &Source<'l>, span: Span) -> Result<(), Error>;
fn append_string(
        &mut self,
        src: &Source<'l>,
        string: ConfigString<'l>
    ) -> Result<(), Error>;
fn expand(
        &mut self,
        src: &Source<'l>,
        name: ConfigString<'l>
    ) -> Result<(), Error>; }

Required methods

fn start_element(
    &mut self,
    src: &Source<'l>,
    name: ConfigString<'l>
) -> Result<(), Error>
[src]

fn end_element(&mut self) -> Result<(), Error>[src]

fn set_table(&mut self, src: &Source<'l>, span: Span) -> Result<(), Error>[src]

fn set_tagged_array(
    &mut self,
    src: &Source<'l>,
    span: Span,
    tag: ConfigString<'l>
) -> Result<(), Error>
[src]

fn set_tagged_table(
    &mut self,
    src: &Source<'l>,
    span: Span,
    tag: ConfigString<'l>
) -> Result<(), Error>
[src]

fn set_array(&mut self, src: &Source<'l>, span: Span) -> Result<(), Error>[src]

fn append_string(
    &mut self,
    src: &Source<'l>,
    string: ConfigString<'l>
) -> Result<(), Error>
[src]

fn expand(
    &mut self,
    src: &Source<'l>,
    name: ConfigString<'l>
) -> Result<(), Error>
[src]

Loading content...

Implementors

Loading content...