Home
last modified time | relevance | path

Searched defs:type (Results 1 – 25 of 66) sorted by relevance

123

/napi_generator/test/unittest/
Dgenerate.test.js114 let valueFi = { name: 'v1', type: 'string' }; property
115 let value1Se = { name: 'cb', type: 'AsyncCallback<string>' }; property
116 let funParam = { name: 'if_async', type: 4, value: [valueFi, value1Se], ret: 'string' } property
122 function: [{ name: 'if_async', type: 4, value: [valueFi, value1Se], ret: 'string' }], property
133 …let valueFi = [{ name: 'v1', type: 'string', optional: false }, {name: 'v2', type: 'boolean', opti… property
134 let funParam = { name: 'if_direct', type: 1, value: valueFi, ret: 'string', isStatic: false }; property
140 … function: [{ name: 'if_direct', type: 1, value: [valueFi], ret: 'string', isStatic: false }], property
151 let valueFi = { name: 'v1', type: 'string', optional: false }; property
152 let funParam = { name: 'if_direct', type: 1, value: [valueFi], ret: 'string', isStatic: true }; property
158 function: [{ name: 'if_direct', type: 1, value: [valueFi], ret: 'string', isStatic: true }], property
[all …]
/napi_generator/src/cli/dts2cpp/src/gen/generate/
Dreturn_generate.js38 function cToJsForType(value, type, dest, deep) { argument
71 function cToJsForInterface(value, type, dest, deep) { argument
102 function c2JsForEnum(deep, type, value, dest, propertyName) { argument
136 function cToJs(value, type, dest, deep = 1, optional, enumType = 0) { argument
188 function checkRetIsUndefined(type) { argument
192 function checkRetIsObject(type) { argument
196 function checkRetIsArray(type) { argument
200 function checkRetIsMap(type) { argument
232 function unionTempleteFunc(value, type, dest, optional) { argument
273 function checkArrayParamType(type) { argument
[all …]
Dparam_generate.js35 function getCType(type) { argument
49 function getMapCType(type) { argument
77 function jsToC(dest, napiVn, type, enumType = 0, optional) { argument
140 function interfaceTempleteFunc(type, napiVn, dest) { argument
168 function typeTempleteFunc(type, dest, napiVn) { argument
197 function unionTempleteFunc(dest, napiVn, type, optional) { argument
234 function jsToCEnum(type, dest, napiVn) { argument
247 function getArrayTypeTemplete(type) { argument
279 function arrTemplete(dest, napiVn, type) { argument
326 function numTempleteFunc(enumType, napiVn, type, dest) { argument
[all …]
Dinterface.js73 function getHDefineOfVariable(name, type, variable, optional) { argument
105 function variableTypeNumber(optional, variable, type, name) { argument
121 function variableTypeEnum(type, variable, name) { argument
130 function variableTypeInterface(optional, variable, type, name) { argument
146 function typeArrFunctionTwo(type, variable, name, optional) { argument
160 function typeArrFunctionOne(type, variable, name, optional) { argument
213 function optionalParamGetSet(type, variable, name, className) { argument
247 function unionTypeString(name, type, variable, optional) { argument
257 function mapTypeString(type, name, optional) { argument
300 function anyTypeString(type, name) { argument
Dtype.js21 function getHDefineOfType(data, name, type, variable, inNamespace, nameSpaceName, toolNamespace) { argument
74 function getHDefineOfVariable(name, type, variable, optional) { argument
105 function checkIsObject(type) { argument
109 function checkIsMap(type) { argument
113 function variableTypeNumber(optional, variable, type, 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
226 function anyTypeString(type, name) { argument
/napi_generator/src/cli/dts2ets/appCodeGen/src/analyze/
Denum.js53 type: 'string', property
62 type: 'string', property
72 type: 'NUMBER_TYPE_' + NumberIncrease.getAndIncrease(), property
81 type: 'NUMBER_TYPE_' + NumberIncrease.getAndIncrease(), property
Dparams.js20 function isSyncFuncType(type, funcType) { argument
109 result, matchs, type, funcType) { argument
119 … result.push({ 'name': re.getReg(v, matchs.regs[1]), 'type': type, 'optional': optionalFlag }); property
/napi_generator/src/cli/dts2cpp/src/gen/analyze/
Denum.js53 type: 'string', property
62 type: 'string', property
72 type: 'NUMBER_TYPE_' + NumberIncrease.getAndIncrease(), property
81 type: 'NUMBER_TYPE_' + NumberIncrease.getAndIncrease(), property
Dparams.js20 function isSyncFuncType(type, funcType) { argument
110 result, matchs, type, funcType) { argument
120 …result.push({ 'name': re.getReg(v, matchs.regs[1]), 'type': type, 'optional': optionalFlag, 'realT… property
/napi_generator/src/cli/dts2ets/appCodeGen/src/tools/
Dcommon.js45 FuncType.ToString = function (type) { argument
182 function getArrayType(type) { argument
217 function getArrayTypeTwo(type) { argument
236 function isEnum(type, data) { argument
250 function enumIndex(type, data) { argument
264 function isType(type, data) { argument
278 function typeIndex(type, data) { argument
292 function getMapType(type) { argument
335 function getUnionType(type) { argument
342 function isFuncType(type) { argument
[all …]
/napi_generator/src/cli/dts2cpp/src/gen/tools/
Dcommon.js45 FuncType.ToString = function (type) { argument
183 function getArrayType(type) { argument
218 function getArrayTypeTwo(type) { argument
237 function isEnum(type, data) { argument
251 function enumIndex(type, data) { argument
265 function isType(type, data) { argument
279 function typeIndex(type, data) { argument
293 function getMapType(type) { argument
336 function getUnionType(type) { argument
343 function isFuncType(type) { argument
[all …]
/napi_generator/src/intellij_plugin/ohosgen/src/main/java/antlr/typescript/
DTypeScriptTreeNode.java31 private String type; field in TypeScriptTreeNode
37 public TypeScriptTreeNode(String type, String text) { in TypeScriptTreeNode()
43 public void setType(String type) { in setType()
DTypeScriptParserBase.java85 private boolean here(final int type) { in here()
131 int type = ahead.getType(); in lineTerminatorAhead() local
/napi_generator/src/intellij_plugin/ohosgen/src/main/java/antlr/
DTypeScriptTreeNode.java31 private String type; field in TypeScriptTreeNode
37 public TypeScriptTreeNode(String type, String text) { in TypeScriptTreeNode()
43 public void setType(String type) { in setType()
DTypeScriptParserBase.java85 private boolean here(final int type) { in here()
131 int type = ahead.getType(); in lineTerminatorAhead() local
/napi_generator/src/vscode_plugin/src/parse/
Dparsets.ts44 type: TypeObject; property
109 const type = paramType.typeName.escapedText; constant
265 const type = checker.getTypeAtLocation(member.initializer); constant
392 const type = member.type?.getText(sourceFile) || 'any'; constant
409 const type = member.type?.getText(sourceFile) || 'void'; constant
/napi_generator/src/intellij_plugin/ohosgen/src/main/java/grammar/
DFuncObj.java33 private String type; field in FuncObj
69 public void setType(String type) { in setType()
151 public void addParam(String name, String type) { in addParam()
DParamObj.java29 private String type; field in ParamObj
104 public void setType(String type) { in setType()
/napi_generator/src/cli/h2dtscpp/src/src/napiGen/
DfunctionDirectTest.js166 function getTestType(type) { argument
182 function getJsType(type) { argument
203 'type': '' property
/napi_generator/src/tool/api/api_scan_IntelliJ_plugin/src/com/kh/scan/utils/
DGenNotification.java56 NotificationType type) { in notifyMessage()
82 String title, NotificationType type) { in notifyGenResult()
/napi_generator/src/vscode_plugin/.vscode/
Dlaunch.json11 "type": "extensionHost", string
24 "type": "extensionHost", string
/napi_generator/src/intellij_plugin/h2dts/ts_IntelliJ_plugin/src/com/sk/ts/utils/
DGenNotification.java58 NotificationType type) { in notifyMessage()
86 String title, NotificationType type) { in notifyGenResult()
/napi_generator/src/intellij_plugin/cmake2gn/gn_IntelliJ_plugin/src/com/sk/gn/utils/
DGenNotification.java53 NotificationType type) { in notifyMessage()
67 NotificationType type, boolean addAct) { in notifyMessage()
/napi_generator/src/intellij_plugin/h2sa/service_IntelliJ_plugin/src/com/sk/service/utils/
DGenNotification.java53 NotificationType type) { in notifyMessage()
67 NotificationType type, boolean addAct) { in notifyMessage()
/napi_generator/src/intellij_plugin/dts2cpp/napi_IntelliJ_plugin/src/com/sk/utils/
DGenNotification.java57 NotificationType type) { in notifyMessage()
85 String title, NotificationType type) { in notifyGenResult()

123