Lines Matching refs:code
8 # met: redistributions of source code must retain the above copyright
45 def generate(self, code, return_type):
46 code("{")
47 code.indent()
58 code("std::shared_ptr<${{msg_type.c_ident}}> out_msg = "\
62 t = self.statements.generate(code, None)
67 code("(${{self.queue_name.var.code}}).enqueue(" \
70 code("(${{self.queue_name.var.code}}).enqueue(out_msg, "\
75 code.dedent()
76 code("}")