[][src]Struct ssccpp::Parser

pub struct Parser { /* fields omitted */ }

The struct implementing the actual logic.

See crate-level doc for typcial usage.

Methods

impl Parser[src]

pub fn new(ident: &str, delimiter: &str) -> Result<Parser, Error>[src]

Build a new parser, with ident as identifier, and delimiter as delimiter.

pub fn process<I, O>(&self, input: I, output: &mut O) -> Result<(), IoError> where
    I: BufRead,
    O: Write
[src]

Process an input (which should implement BufRead) and writes the corresponding result in output.

Trait Implementations

impl Debug for Parser[src]

Auto Trait Implementations

impl Sync for Parser

impl Unpin for Parser

impl Send for Parser

impl UnwindSafe for Parser

impl !RefUnwindSafe for Parser

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]