Struct ukhasnet_parser::Rdp []

pub struct Rdp<T> { /* fields omitted */ }

Methods

impl<'input, T: Input<'input>> Rdp<T>

Trait Implementations

impl<'input, T: Input<'input>> Parser<'input, T> for Rdp<T>

Returns whether a Parser has reached its end.

Returns whether a Parser has matched end-of-input.

Reset a Parser.

Returns the queue of all matched Tokens.

Returns the mutable queue of all matched Tokens.

Returns the queue of all matched (Token, value)s.

Returns the current index within the queue. Used in process!.

Increments the current index within the queue. Used in process!.

Set the current index within the queue. Used in process!.

Skips whitespace and comments.

Returns whether a Parser is currently inside an atomic rule.

Sets a Parser to atomic rule mode, barring comment & white-space skipping.

Keeps track of rule failures. It gets called when a Rule fails at pos.

Returns the length of the tracked Rules.

Retuns a Vec of all expected Rules at the deepest position where the parsing last stopped. It only returns leafs from the rule tree. Used for error reporting. Read more

Returns the stack Vec.

Returns the mutable stack Vec.