Searched refs:opmap (Results 1 – 9 of 9) sorted by relevance
105 self.assertEqual(dis.opmap["STOP_CODE"], 0)106 self.assertIn(dis.opmap["LOAD_CONST"], dis.hasconst)107 self.assertIn(dis.opmap["STORE_NAME"], dis.hasname)110 self.assertEqual(dis.opname[dis.opmap["LOAD_FAST"]], "LOAD_FAST")113 self.assertEqual(dis.opmap["EXTENDED_ARG"], dis.EXTENDED_ARG)114 self.assertEqual(dis.opmap["STORE_NAME"], dis.HAVE_ARGUMENT)
87 opmap = { variable99 for op in opmap[opname]:103 for op in opmap[opname]:118 for opname in opmap:133 for ops in opmap.itervalues():152 for ops in opmap.itervalues():163 for op in opmap[opname]:279 for op in opmap[opname]:313 for op in opmap["eq"]:326 for op in opmap["lt"]:
180 opmap = {} variable184 opmap[op] = getattr(token, name)
67 type = grammar.opmap[value]
99 itoken = grammar.opmap[value] # Fails if unknown token
22 opmap = {} variable29 opmap[name] = op
189 elif value in grammar.opmap:190 return grammar.opmap[value]
9 tokens = grammar.opmap