Struct piston_meta::Node
[−]
[src]
pub struct Node {
pub name: Rc<String>,
pub body: Vec<Rule>,
pub debug_id: DebugId,
}Stores information about a node.
Fields
name: Rc<String>
The name of the node.
body: Vec<Rule>
The body of the node.
debug_id: DebugId
A debug id to track down the rule generating an error.
Methods
impl Node[src]
fn parse<M>(&self, meta_reader: &mut M, state: &M::State, chars: &[char], start_offset: usize) -> ParseResult<M::State> where M: MetaReader
Parses node.