Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 38) sorted by relevance

12

/interface/sdk-js/api/
D@ohos.arkui.advanced.ComposeListItem.d.ets28 * Badge type.
34 * Normal icon type.
40 * System icon type.
46 * HeadSculpture type.
52 * App icon type.
58 * Preview type.
64 * Longitudinal type.
70 * Vertical type.
78 * Declare type OperateIcon
85 * @type { ResourceStr }.
[all …]
D@ohos.arkui.advanced.Dialog.d.ets28 * @type { ResourceStr }.
41 * @type { ResourceStr }.
48 * @type { ResourceStr }.
63 * @type { CustomDialogController }.
70 * @type { Resource }.
77 * @type { SizeOptions }.
84 * @type { ResourceStr }.
91 * @type { ResourceStr }.
98 * @type { ResourceStr }.
105 * @type { boolean }.
[all …]
D@ohos.arkui.advanced.SubHeader.d.ets57 * Declare type OperationOption
64 * @type { ResourceStr }.
71 * @type { () => void }.
78 * Declare type SelectOption
85 * @type { Array<SelectSubOption> }.
92 * @type { number }.
99 * @type { string }.
106 * @type { (index: number, value?: string) => void }.
122 * @type { ResourceStr }.
130 * @type { ResourceStr }.
[all …]
D@ohos.arkui.advanced.EditableTitleBar.d.ets28 * @type { ResourceStr }.
35 * @type { boolean }.
42 * @type { () => void }.
49 * Declaration of the left icon type.
56 * The back type.
62 * The cancel type.
77 * @type { EditableLeftIconType }.
84 * @type { ResourceStr }.
91 * @type { Array<EditableTitleBarMenuItem> }.
98 * @type { () => void }.
[all …]
D@ohos.arkui.advanced.ToolBar.d.ets28 * Enable type.
34 * Disable type.
40 * Activate type.
48 * Declare type ToolBarOption
56 * @type { ResourceStr }.
67 * @type { Resource }.
72 * Define item type.
73 * @type { Resource }.
97 * @type { ToolBarOptions }.
104 * @type { number }.
[all …]
D@ohos.arkui.advanced.SelectTitleBar.d.ets28 * @type { ResourceStr }.
35 * @type { boolean }.
42 * @type { () => void }.
58 * @type { number }.
65 * @type { Array<SelectOption> }.
72 * @type { Array<SelectTitleBarMenuItem> }.
79 * @type { ResourceStr }.
86 * @type { number }.
93 * @type { boolean }.
100 * @type { (index: number) => void }.
D@ohos.arkui.advanced.TabTitleBar.d.ets28 * @type { ResourceStr }.
35 * @type { boolean }.
42 * @type { () => void }.
56 * @type { ResourceStr }.
63 * @type { ResourceStr }.
78 * @type { Array<TabTitleBarItem> }.
85 * @type { Array<OperationOptions> }.
93 * @type { () => void }.
D@ohos.arkui.advanced.ComposeTitleBar.d.ets28 * @type { ResourceStr }.
35 * @type { boolean }.
42 * @type { () => void }.
57 * @type { ComposeTitleBarMenuItem }.
64 * @type { ResourceStr }.
71 * @type { ResourceStr }.
78 * @type { Array<ComposeTitleBarMenuItem> }.
D@ohos.arkui.advanced.Filter.d.ets39 * type { ResourceStr }
46 * type { Array<ResourceStr> }
62 * @type { ResourceStr }
69 * @type { number }
76 * @type { ResourceStr }
99 * @type { Array<FilterParams> }
107 * @type { FilterParams }
115 * @param {filterType} FilterType, Filter display style type.
122 * FilterType, Filter display style type.
123 * @type { FilterType }
D@ohos.arkui.advanced.TreeView.d.ets69 * @param { type } event Registered Events.
74 on(type: TreeListenType, callback: (callbackParam: CallbackParam) => void): void;
80 * @param { type } event Registered Events.
85 once(type: TreeListenType, callback: (callbackParam: CallbackParam) => void): void;
90 * @param { type } event Registered Events.
95 off(type: TreeListenType, callback?: (callbackParam: CallbackParam) => void): void;
131 * @type TreeController
147 * @type { number }
155 * @type { number }
163 * @type { number }
[all …]
D@ohos.arkui.advanced.ProgressButton.d.ets25 * @type { number }.
33 * @type { string }.
41 * @type { Length }.
55 * @type { boolean }.
D@ohos.arkui.advanced.SplitLayout.d.ets36 * @type { ResourceStr }.
44 * @type { ResourceStr }.
52 * @type { ResourceStr }.
60 * @type { ResourceStr }.
D@ohos.arkui.advanced.SwipeRefresher.d.ets25 * @type { string }
33 * type { boolean }
/interface/sdk-js/build-tools/collect_application_api/src/
Dcollect_application_api.js149 const type = 'API';
153 …(collectAllApi(url, sourcefile, moduleName, apiName, instantiateObject, '', '', type, note, node));
155 const type = 'API';
159 …sh(collectAllApi(url, sourcefile, moduleName, apiName, instantiateObject, '', '', type, '', node));
167 const type = 'ArkUI';
168 collectComponentApi(node, apiList, type, url, sourcefile);
170 collectComponentApis(sourcefile, url, type, node, apiList);
178 const type = 'ArkUI';
179 collectComponentApis(sourcefile, url, type, node, apiList);
185 const type = 'API';
[all …]
DcollectApi.js85 if ((ts.isMethodDeclaration(node) || ts.isFunctionDeclaration(node)) && node && node.type &&
86 ts.isTypeReferenceNode(node.type)) {
87 returnDeclarationArr.add(node.type.typeName.getText());
146 if (stat.type.types) {
151 stat.type.types.forEach(type => {
152 if (type.literal && type.literal.text) {
153 typeObj.value.push(type.literal.text);
237 if (child.type) {
296 if (child.type && child.type.parameters) {
370 if (param.type && param.type.literal && param.type.literal.text) {
[all …]
Dutil.js135 value, type, notes, node) { argument
147 type: type,
/interface/sdk-js/build-tools/collect_api/
Dcollect_base_api.js71 if ((ts.isMethodDeclaration(node) || ts.isFunctionDeclaration(node)) && node && node.type &&
72 ts.isTypeReferenceNode(node.type)) {
73 returnDeclarationArr.add(node.type.typeName.getText());
147 if (stat.type.types) {
152 stat.type.types.forEach(type => {
153 if (type.literal && type.literal.text) {
154 typeObj.value.push(type.literal.text);
242 if (child.type.types) {
243 child.type.types?.forEach(type => {
244 collectTypeApiInTypes(type, apiInfo, child, api, hash, dtsPath, typeObj, packageName);
[all …]
/interface/sdk-js/build-tools/api_diff/src/
Dcollect_base_api.js62 if ((ts.isMethodDeclaration(node) || ts.isFunctionDeclaration(node)) && node && node.type &&
63 ts.isTypeReferenceNode(node.type)) {
64 returnDeclarationArr.add(node.type.typeName.getText());
116 if (stat.type.types) {
121 stat.type.types.forEach(type => {
122 if (type.literal && type.literal.text) {
123 typeObj.value.push(type.literal.text);
245 if (child.type.types) {
246 child.type.types?.forEach(type => {
247 if (type.literal && type.literal.text) {
[all …]
Dapi_diff.js134 dtsPath = classNameMap.type.path;
196 const typeApi = oldClassApi.type;
204 syscap: getSycap(oldClassApi.type),
247 const oldClassDigestInfo = oldClassApi.type;
248 const newClassDigestInfo = newClassApi.type;
375 if (param.type && param.type.typeName && param.type.typeName.escapedText === 'AsyncCallback') {
379 if (node.type && node.type.typeName && node.type.typeName.escapedText === 'Promise') {
/interface/sdk-js/build-tools/sdk_upgrade_assistance_plugin/src/main/java/com/update/check/action/
DDataUpdateNotifier.java56 void onUpdate(LinkedHashMap<String, Boolean> chooseType, String type); in onUpdate() argument
65 public void notifyDataChange(LinkedHashMap<String, Boolean> chooseType, String type) { in notifyDataChange() argument
67 listener.onUpdate(chooseType, type); in notifyDataChange()
/interface/sdk-js/build-tools/api_check_plugin/src/check_jsdoc_value/
Dcheck_rest_value.js45 const tagValue = tag.type;
78 const tagValue = tag.type.replace(/\n|\r|\s/g, '');
82 let apiReturnsValue = getDeclareValue(node.type);
102 const tagTypeValue = tag.type.replace(/\n|\r|\s/g, '');
115 let apiType = getDeclareValue(apiParamInfos[tagIndex].type);
145 const tagTypeValue = tag.type;
268 const tagTypeValue = tag.type.replace(/\n|\r|\s/g, '');
272 let apiTypeValue = getDeclareValue(node.type);
274 apiTypeValue = ts.isUnionTypeNode(node.type) ? OptionalSymbols.LEFT_PARENTHESES + apiTypeValue +
295 if (commentNodeWhiteList.includes(node.kind) && tag.name.length === 0 && tag.type.length === 0) {
[all …]
/interface/sdk-js/build-tools/dts_parser/
Dtsconfig.json18 …// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated de…
34 …// "types": [], /* Specify type package names to be included …
41 …// "checkJs": true, /* Enable error reporting in type-checked Jav…
64 …// "noEmitOnError": true, /* Disable emitting files if any type checkin…
72 … importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
77 …"strict": true, /* Enable all strict type-checking options. */
78 … /* Enable error reporting for expressions and declarations with an implied `any` type.. */
79 …// "strictNullChecks": true, /* When type checking, take into account `nul…
83 …: true, /* Enable error reporting when `this` is given the type `any`. */
93 …nature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
[all …]
/interface/sdk-js/build-tools/jsdoc_format_plugin/
Dtsconfig.json18 …// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated de…
34 …// "types": [], /* Specify type package names to be included …
41 …// "checkJs": true, /* Enable error reporting in type-checked Jav…
64 …// "noEmitOnError": true, /* Disable emitting files if any type checkin…
72 … importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */
77 …"strict": true, /* Enable all strict type-checking options. */
78 … /* Enable error reporting for expressions and declarations with an implied `any` type.. */
79 …// "strictNullChecks": true, /* When type checking, take into account `nul…
83 …: true, /* Enable error reporting when `this` is given the type `any`. */
93 …nature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
[all …]
/interface/sdk-js/build-tools/api_check_plugin/src/
Dcheck_event_subscription.js44 if (node.parameters && node.parameters.length > 0 && node.parameters[0].type) {
45 const firstParameterType = node.parameters[0].type;
72 if (node.type !== undefined) {
73 const nodeKind = node.type.kind;
111 const nodeType = node.parameters[0].type;
140 if (childNode.parameters && childNode.parameters.length > 0 && childNode.parameters[0].type) {
Dcompile_info.js29 function addAPICheckErrorLogs(node, sourcefile, fileName, errorType, errorInfo, type, level) { argument
44 type, property

12