Lines Matching refs:arcs
38 for arc in state.arcs:
57 for arc in state.arcs:
110 self.arcs = []
128 self.arcs.append(NFAArc(target, label))
235 for nfa_arc in nfa_state.arcs:
253 arcs = {}
255 for nfa_arc in nfa_state.arcs:
257 nfa_set = arcs.setdefault(nfa_arc.label, set())
267 for label, nfa_set in sorted(arcs.items()):
321 for label, next in sorted(state.arcs.items()):
329 for label, next in sorted(state.arcs.items()):
352 self.arcs = {} # map from terminals/nonterminals to DFAState
364 assert label not in self.arcs
366 self.arcs[label] = target
375 for label, next_ in self.arcs.items():
377 self.arcs[label] = new
386 if len(self.arcs) != len(other.arcs):
388 for label, next_ in self.arcs.items():
389 if next_ is not other.arcs.get(label):