Lines Matching refs:nfa
75 nfa: Program, field
181 pub fn nfa(mut self) -> Self { in nfa() method
305 nfa: Program::new(), in build()
317 let mut nfa = Compiler::new() in build() localVariable
336 nfa.prefixes = LiteralSearcher::prefixes(parsed.prefixes); in build()
337 dfa.prefixes = nfa.prefixes.clone(); in build()
343 nfa: nfa, in build()
431 self.ro.nfa.captures.len() * 2 in slots_len()
633 if self.ro.nfa.is_anchored_start { in captures_read_at()
704 let lits = &self.ro.nfa.prefixes; in find_literals()
708 let lits = &self.ro.nfa.prefixes; in find_literals()
709 if start == 0 || !self.ro.nfa.is_anchored_start { in find_literals()
1056 if backtrack::should_exec(self.ro.nfa.len(), text.len()) { in exec_nfa()
1089 if self.ro.nfa.uses_bytes() { in exec_pikevm()
1091 &self.ro.nfa, in exec_pikevm()
1096 ByteInput::new(text, self.ro.nfa.only_utf8), in exec_pikevm()
1102 &self.ro.nfa, in exec_pikevm()
1123 if self.ro.nfa.uses_bytes() { in exec_backtrack()
1125 &self.ro.nfa, in exec_backtrack()
1129 ByteInput::new(text, self.ro.nfa.only_utf8), in exec_backtrack()
1135 &self.ro.nfa, in exec_backtrack()
1240 if text.len() > (1 << 20) && ro.nfa.is_anchored_end { in is_anchor_end_match()
1253 &self.ro.nfa.capture_name_idx in capture_name_idx()
1309 &self.ro.nfa.captures in capture_names()
1315 &self.ro.nfa.capture_name_idx in capture_name_idx()
1332 if self.nfa.insts.is_empty() { in choose_match_type()
1374 if ro.nfa.prefixes.complete() { in choose_literal_match_type()
1375 return if ro.nfa.is_anchored_start { in choose_literal_match_type()
1382 return if ro.nfa.is_anchored_end { in choose_literal_match_type()
1415 if !ro.nfa.is_anchored_start && ro.nfa.is_anchored_end { in choose_dfa_match_type()
1539 pikevm: pikevm::Cache::new(&ro.nfa), in new()
1540 backtrack: backtrack::Cache::new(&ro.nfa), in new()