Lines Matching refs:arcs
41 arcs = []
42 for label, next in sorted(state.arcs.iteritems()):
43 arcs.append((self.make_label(c, label), dfa.index(next)))
45 arcs.append((0, dfa.index(state)))
46 states.append(arcs)
121 for label, next in state.arcs.iteritems():
185 for label, next in state.arcs:
190 arcs = {}
192 for label, next in nfastate.arcs:
194 addclosure(next, arcs.setdefault(label, {}))
195 for label, nfaset in sorted(arcs.iteritems()):
210 for label, next in state.arcs:
225 for label, next in sorted(state.arcs.iteritems()):
340 self.arcs = [] # list of (label, NFAState) pairs
345 self.arcs.append((label, next))
355 self.arcs = {} # map from label to DFAState
359 assert label not in self.arcs
361 self.arcs[label] = next
364 for label, next in self.arcs.iteritems():
366 self.arcs[label] = new
375 if len(self.arcs) != len(other.arcs):
377 for label, next in self.arcs.iteritems():
378 if next is not other.arcs.get(label):