xref: /napi_generator/test/storytest/cfg.json (revision 8c339a94)
1[
2  {
3    "includeName": "../aaa.h",
4    "cppName": "../aaa.cpp",
5    "interfaceName": "TestClass::fun1",
6    "serviceCode": "out = codeTestFunc(v);",
7    "description": "includeName: 引入的业务代码.h文件相对路径, cppName: 引入的业务代码.cpp文件相对路径, interfaceName: ts文件中的使用接口名,业务代码就在该接口中调用;格式为:类名::方法名(如: TestClass::fun1),若无类名,则格式为:方法名(如: fun2), serviceCode: 在接口中调用业务代码的调用语句。(该属性只做注释使用)"
8  },
9  {
10    "includeName": "../bbb.h",
11    "cppName": "../bbb.cpp",
12    "interfaceName": "fun2",
13    "serviceCode": "test(v);",
14    "description": "includeName: 引入的业务代码.h文件相对路径, cppName: 引入的业务代码.cpp文件相对路径, interfaceName: ts文件中的使用接口名,业务代码就在该接口中调用;格式为:类名::方法名(如: TestClass::fun1),若无类名,则格式为:方法名(如: fun2), serviceCode: 在接口中调用业务代码的调用语句。(该属性只做注释使用)"
15  }
16]