Lines Matching refs:stack
33 /// An explicit stack used for following epsilon transitions. (This is
35 stack: &'r mut Vec<FollowEpsilon>,
46 /// An explicit stack used for following epsilon transitions.
47 stack: Vec<FollowEpsilon>,
65 /// A representation of an explicit stack frame when following epsilon
79 Cache { clist: Threads::new(), nlist: Threads::new(), stack: vec![] }
103 Fsm { prog, stack: &mut cache.stack, input }.exec_(
278 self.stack.push(FollowEpsilon::IP(ip));
279 while let Some(frame) = self.stack.pop() {
291 /// A helper function for add that avoids excessive pushing to the stack.
299 // Instead of pushing and popping to the stack, we mutate ip as we
300 // traverse the set of states. We only push to the stack when we
318 self.stack.push(FollowEpsilon::Capture {
327 self.stack.push(FollowEpsilon::IP(inst.goto2));