next_state

Function next_state 

Source
pub fn next_state(
    edges: &[Vec<FsmEdge>],
    from: usize,
    value: i32,
    edge_type: i16,
) -> i32
Expand description

First transition target from from for value along edge_type, or NO_NEXT_STATE. Panics if edge_type is epsilon.