Lines Matching refs:graph
187 define an __init__() that defines self.graph and then calls the
216 self.graph.setFlag(CO_FUTURE_DIVISION)
219 self.graph.setFlag(CO_FUTURE_ABSIMPORT)
221 self.graph.setFlag(CO_FUTURE_WITH_STATEMENT)
223 self.graph.setFlag(CO_FUTURE_PRINT_FUNCTION)
231 assert hasattr(self, 'graph')
240 self.emit = self.graph.emit
241 self.newBlock = self.graph.newBlock
242 self.startBlock = self.graph.startBlock
243 self.nextBlock = self.graph.nextBlock
244 self.setDocstring = self.graph.setDocstring
248 return self.graph.getCode()
904 level = 0 if self.graph.checkFlag(CO_FUTURE_ABSIMPORT) else -1
920 if level == 0 and not self.graph.checkFlag(CO_FUTURE_ABSIMPORT):
1301 self.graph = pyassem.PyFlowGraph("<module>", tree.filename)
1316 self.graph = pyassem.PyFlowGraph("<expression>", tree.filename)
1331 self.graph = pyassem.PyFlowGraph("<interactive>", tree.filename)
1361 self.graph = pyassem.PyFlowGraph(name, func.filename, args,
1372 self.graph.setFlag(CO_VARARGS)
1374 self.graph.setFlag(CO_VARKEYWORDS)
1383 self.graph.startExitBlock()
1419 self.graph.setFreeVars(self.scope.get_free_vars())
1420 self.graph.setCellVars(self.scope.get_cell_vars())
1422 self.graph.setFlag(CO_GENERATOR)
1435 self.graph.setFreeVars(self.scope.get_free_vars())
1436 self.graph.setCellVars(self.scope.get_cell_vars())
1437 self.graph.setFlag(CO_GENERATOR)
1444 self.graph = pyassem.PyFlowGraph(klass.name, klass.filename,
1449 self.graph.setFlag(CO_NEWLOCALS)
1457 self.graph.startExitBlock()
1471 self.graph.setFreeVars(self.scope.get_free_vars())
1472 self.graph.setCellVars(self.scope.get_cell_vars())