pub fn new(initial_node: Rc<Node>) -> Parser<'text> {
        Parser {
            current_node: initial_node,
            nodes: vec![],
            tokens: vec![],
            commands: vec![],
            parameters: HashMap::new(),
        }
    }
/// Construct a parser with a root node.
Construct a parser with a root node.
Construct a parser with a root node .
pub fn new(initial_node: Rc<Node>) -> Parser<'text> {
        Parser {
            current_node: initial_node,
            nodes: vec![],
            tokens: vec![],
            commands: vec![],
            parameters: HashMap::new(),
        }
    }
pub fn new ( initial_node : Rc < Node > ) -> Parser < ' text > { Parser { current_node : initial_node , nodes : vec ! [ ] , tokens : vec ! [ ] , commands : vec ! [ ] , parameters : HashMap :: new ( ) , } }
Construct a parser with a root node.
Construct a parser with a root node .
initial_node
Rc<Node>
initial_node
Rc<Node>