Home
last modified time | relevance | path

Searched refs:exportFunction_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/ability/idl_tool/codegen/
H A Dts_code_emitter.cpp109 stringBuilder.AppendFormat("%s\n", item.exportFunction_.c_str()); in EmitInterfaceDefinition()
130 …method.exportFunction_ = "export type " + callbackName.ToString() + " = (" + ERR_CODE_TYPE.c_str(); in EmitInterfaceMethod()
184 method.exportFunction_ += in EmitInterfaceMethodLastPara()
187 method.exportFunction_ += in EmitInterfaceMethodLastPara()
192 method.exportFunction_ += ") => void;"; in EmitInterfaceMethodLastPara()
194 method.exportFunction_ += ", "; in EmitInterfaceMethodLastPara()
221 exportCallback.Append(m.exportFunction_.c_str()); in EmitInterfaceMethodExportCallback()
227 m.exportFunction_ = exportCallback.ToString(); in EmitInterfaceMethodExportCallback()
H A Dts_code_emitter.h59 std::string exportFunction_; member
/ohos5.0/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_interface_test/
H A Dts_code_emitter_interface_test.cpp1103 EXPECT_FALSE(m.exportFunction_.empty());
1127 EXPECT_FALSE(m.exportFunction_.empty());
1151 EXPECT_FALSE(m.exportFunction_.empty());
1175 EXPECT_FALSE(m.exportFunction_.empty());
1199 EXPECT_FALSE(m.exportFunction_.empty());