Home | History | Annotate | Download | only in pgen2

Lines Matching refs:labels

96         3) a table defining labels
198 # Parse the labels
199 labels = []
201 mo = re.match(r"static label labels\[(\d+)\] = {$", line)
214 labels.append((x, y))
217 self.labels = labels
230 mo = re.match(r"\s+{(\d+), labels},$", line)
233 assert nlabels == len(self.labels), (lineno, line)
251 self.keywords = {} # map from keyword strings to arc labels
252 self.tokens = {} # map from numeric token values to arc labels
253 for ilabel, (type, value) in enumerate(self.labels):