charmxi sdag: factor out method generation code
[charm.git] / src / xlat-i / xi-symbol.h
index 734f336acab3362c617875a2392d9cef5541f07f..7f47fd69629618b76244aba5f0306dc2ede25071 100644 (file)
@@ -1232,8 +1232,11 @@ private:
   void generateAtomic(XStr& op);
   void generateForward(XStr& op);
   void generateConnect(XStr& op);
-  void generatePrototype(XStr& op, TList<CStateVar*>&);
-  void generateCall(XStr& op, TList<CStateVar*>&,
+  void generateSignature(XStr& op, const char* returnType,
+                         const XStr* name, bool isEnd,
+                         TList<CStateVar*>* params);
+  void endMethod(XStr& op);
+  void generateCall(XStr& op, TList<CStateVar*>& args,
                     const char* name, const char* nameSuffix = 0);
 
   void generateTraceBeginCall(XStr& op);          // for trace