Lines Matching refs:first
24 self.first = {} # map from symbol name to set of tokens
53 rawfirst = self.first[name]
54 first = {}
57 ##assert ilabel not in first # XXX failed on <> ... !=
58 first[ilabel] = 1
59 return first
111 if name not in self.first:
113 #print name, self.first[name].keys()
117 self.first[name] = None # dummy to detect left recursion
123 if label in self.first:
124 fset = self.first[label]
129 fset = self.first[label]
140 " first sets of %s as well as %s" %
143 self.first[name] = totalset
203 return states # List of DFAState instances; first one is start