[][src]Trait hauptbuch_parser::line_visitor::LineVisitor

pub trait LineVisitor {
    type Error;
    fn visit_transaction_header<'a>(
        &mut self,
        header: TransactionHeader<'a>
    ) -> Result<(), Self::Error> { ... }
fn visit_transaction_comment<'a>(
        &mut self,
        comment: Comment<'a>
    ) -> Result<(), Self::Error> { ... }
fn visit_posting<'a>(
        &mut self,
        posting: Posting<'a>
    ) -> Result<(), Self::Error> { ... }
fn visit_end_of_file(&mut self) -> Result<(), Self::Error> { ... } }

Associated Types

type Error

Loading content...

Provided methods

fn visit_transaction_header<'a>(
    &mut self,
    header: TransactionHeader<'a>
) -> Result<(), Self::Error>

fn visit_transaction_comment<'a>(
    &mut self,
    comment: Comment<'a>
) -> Result<(), Self::Error>

fn visit_posting<'a>(&mut self, posting: Posting<'a>) -> Result<(), Self::Error>

fn visit_end_of_file(&mut self) -> Result<(), Self::Error>

This gets called when we encounter the end of the file.

Loading content...

Implementors

Loading content...