Lines Matching refs:itoken
76 itoken = getattr(token, label, None)
77 assert isinstance(itoken, int), label
78 assert itoken in token.tok_name, label
79 if itoken in c.tokens:
80 return c.tokens[itoken]
82 c.labels.append((itoken, None))
83 c.tokens[itoken] = ilabel
99 itoken = grammar.opmap[value] # Fails if unknown token
100 if itoken in c.tokens:
101 return c.tokens[itoken]
103 c.labels.append((itoken, None))
104 c.tokens[itoken] = ilabel