Struct parse_tree::BottomUpBuilder[][src]

pub struct BottomUpBuilder { /* fields omitted */ }

A builder for creating parse trees by a bottom-up walk over the tree nodes.

Methods

impl BottomUpBuilder
[src]

Create a new builder.

Completes the building process and yields a ParseTree. Panics if there's unmatchedstart_internal` calls.

Shifts a new leaf node to the stack.

Reduce top n_nodes from the stack to a new node.

Trait Implementations

impl Debug for BottomUpBuilder
[src]

Formats the value using the given formatter. Read more

impl Default for BottomUpBuilder
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations