Home
last modified time | relevance | path

Searched defs:optional (Results 1 – 15 of 15) sorted by relevance

/napi_generator/src/cli/dts2cpp/src/gen/generate/
Dinterface.js73 function getHDefineOfVariable(name, type, variable, optional) { argument
105 function variableTypeNumber(optional, variable, type, name) { argument
113 function variableTypeBoolean(optional, variable, name) { argument
130 function variableTypeInterface(optional, variable, type, name) { argument
138 function variableTypeString(optional, variable, name) { argument
146 function typeArrFunctionTwo(type, variable, name, optional) { argument
160 function typeArrFunctionOne(type, variable, name, optional) { argument
247 function unionTypeString(name, type, variable, optional) { argument
257 function mapTypeString(type, name, optional) { argument
Dtype.js74 function getHDefineOfVariable(name, type, variable, optional) { argument
113 function variableTypeNumber(optional, variable, type, name) { argument
121 function variableTypeBoolean(optional, variable, name) { argument
129 function variableTypeString(optional, variable, name) { argument
137 function typeArrFunctionTwo(type, variable, name, optional) { argument
151 function typeArrFunctionOne(type, variable, name, optional) { argument
172 function unionTypeString(name, type, variable, optional) { argument
183 function mapTypeString(type, name, optional) { argument
Dreturn_generate.js136 function cToJs(value, type, dest, deep = 1, optional, enumType = 0) { argument
232 function unionTempleteFunc(value, type, dest, optional) { argument
747 optional: returnInfo.optional, property
Dparam_generate.js77 function jsToC(dest, napiVn, type, enumType = 0, optional) { argument
197 function unionTempleteFunc(dest, napiVn, type, optional) { argument
896 optional: funcValue.optional, property
927 optional: funcValue.optional, property
Dfunction_direct.js202 let returnInfo = { type: func.ret, optional: false }; property
Dfunction_onoff.js387 optional: false property
/napi_generator/test/unittest/
Dgenerate.test.js133 …let valueFi = [{ name: 'v1', type: 'string', optional: false }, {name: 'v2', type: 'boolean', opti… property
151 let valueFi = { name: 'v1', type: 'string', optional: false }; property
188 let valueFi = { name: 'v1', type: 'string', optional: false }; property
189 let value1Se = { name: 'cb', type: 'Callback<string>', optional: false }; property
212 value: [{name: 'cb', optional: false, realType: type, type: type}] property
217 value: [{name: 'cb', optional: false, realType: type, type: type}]}], property
222 value: [{name: 'cb', optional: false, realType: type, type: type}]}], property
268 value: [{name: 'name', optional: false, realType: 'string', type: 'string'}, property
269 {name: 'callback', optional: false, realType: '(value', type: '(value'}] property
280 value: [{name: 'name', optional: false, realType: 'string', type: 'string'}, property
[all …]
/napi_generator/src/cli/dts2cpp/src/gen/analyze/
Dtype.js73 optional: optionalFlag, property
Dinterface.js121 optional: optionalFlag, property
Dparams.js120 …result.push({ 'name': re.getReg(v, matchs.regs[1]), 'type': type, 'optional': optionalFlag, 'realT… property
Dfunction.js261 values.push({ name: 'promise', optional: false, type: paramType, realType: paramType }); property
/napi_generator/src/cli/dts2ets/appCodeGen/src/analyze/
Dtype.js74 optional: optionalFlag, property
Dparams.js119 … result.push({ 'name': re.getReg(v, matchs.regs[1]), 'type': type, 'optional': optionalFlag }); property
Dinterface.js120 optional: optionalFlag, property
Dfunction.js259 values.push({ name: 'promise', optional: false, type: paramType }); property