Struct hime_redist::parsers::LRContexts
[−]
[src]
pub struct LRContexts { /* fields omitted */ }
Represents the contexts opening by transitions from a state
Methods
impl LRContexts
[src]
pub fn new() -> LRContexts
[src]
Initializes empty contexts
pub fn add(&mut self, identifier: u16, context: u16)
[src]
Registers a new context
pub fn opens(&self, terminal_id: u32, context: u16) -> bool
[src]
Gets whether the specified context opens by a transition using the specified terminal ID