Enum peel::parser::ParserState [] [src]

pub enum ParserState {
    ContinueWithFirstChild,
    ContinueWithNextSibling,
    ContinueWithCurrent,
    Stop,
}

Possible actions to be done if a parser succeed

Variants

Default behavior, continue traversing the Parser tree with the next child

Continue traversing with the next sibling of the current parser

Continue traversing with the current parser

Immediately stop the parsing

Trait Implementations

impl Debug for ParserState
[src]

Formats the value using the given formatter.

impl Eq for ParserState
[src]

impl PartialEq for ParserState
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.