Lines Matching refs:results
90 def transform(self, node, results): argument
91 if "isinstance" in results:
92 return self.transform_isinstance(node, results)
93 elif "while" in results:
94 return self.transform_while(node, results)
95 elif "sorted" in results:
96 return self.transform_sort(node, results)
100 def transform_isinstance(self, node, results): argument
101 x = results["x"].clone() # The thing inside of type()
102 T = results["T"].clone() # The type being compared against
106 if "n" in results:
112 def transform_while(self, node, results): argument
113 one = results["while"]
116 def transform_sort(self, node, results): argument
117 sort_stmt = results["sort"]
118 next_stmt = results["next"]
119 list_call = results.get("list")
120 simple_expr = results.get("expr")