MCPcopy Create free account
hub / github.com/Tencent/phxrpc / ServerCodeRender

Class ServerCodeRender

codegen/server_code_render.h:32–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30class SyntaxTree;
31
32class ServerCodeRender {
33 public:
34 ServerCodeRender(NameRender &name_render);
35 virtual ~ServerCodeRender();
36
37 void GenerateServerConfigHpp(SyntaxTree *stree, FILE *write);
38
39 void GenerateServerConfigCpp(SyntaxTree *stree, FILE *write);
40
41 void GenerateServerMainCpp(SyntaxTree *stree, FILE *write, const bool is_uthread_mode);
42
43 void GenerateServerEtc(SyntaxTree *stree, FILE *write, const bool is_uthread_mode);
44
45 void GenerateMakefile(SyntaxTree *stree, const std::string &mk_dir_path,
46 FILE *write, const bool is_uthread_mode);
47
48 private:
49 NameRender & name_render_;
50};
51
52}
53

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected