Struct re_set::ParsedProgram
source · pub struct ParsedProgram {
pub steps: Vec<(usize, Vec<StepCase>)>,
pub ends: HashMap<usize, usize>,
}Expand description
A parsed regex program.
Fields§
§steps: Vec<(usize, Vec<StepCase>)>A list of steps, each containing a list of cases.
ends: HashMap<usize, usize>A map of steps to the pattern index they should return.