Searched refs:unionTypeString (Results 1 - 4 of 4) sorted by relevance
/napi_generator/src/cli/dts2cpp/src/gen/generate/ |
H A D | return_generate.js | 234 let unionTypeString = ''; 243 unionTypeString += `if (%s_%s == "string") { 249 unionTypeString += `if (%s_%s == "number") { 255 unionTypeString += `if (%s_%s == "boolean") { 266 }\n`.format(value, unionTypeString); 269 return unionTypeString;
|
H A D | type.js | 76 unionTypeString(name, type, variable, optional); 172 function unionTypeString(name, type, variable, optional) {
|
H A D | param_generate.js | 199 let unionTypeString = ''; 203 unionTypeString += '%s_type.emplace(pxt->GetUnionType(%s));\n'.format(dest, napiVn); 205 unionTypeString += '%s_type = pxt->GetUnionType(%s);\n'.format(dest, napiVn); 209 unionTypeString += `if (%s_%s == "string") { 216 unionTypeString += `if (%s_%s == "number") { 223 unionTypeString += `if (%s_%s == "boolean") { 231 return unionTypeString;
|
H A D | interface.js | 75 unionTypeString(name, type, variable, optional); 247 function unionTypeString(name, type, variable, optional) { function
|
Completed in 5 milliseconds