• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "ut_jsdoc_permission_018.d.ts": [
3    {
4      "filePath": "ut_jsdoc_permission_018.d.ts",
5      "apiType": "Namespace",
6      "definedText": "export namespace test",
7      "pos": {
8        "line": 20,
9        "character": 1
10      },
11      "isExport": true,
12      "apiName": "test",
13      "hierarchicalRelations": [
14        "ut_jsdoc_permission_018.d.ts",
15        "test"
16      ],
17      "isStruct": false,
18      "syscap": "",
19      "currentVersion": "-1",
20      "jsDocText": "/*\r\n * Copyright (c) 2021-2023 Huawei Device Co., Ltd.\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *     http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n/**\r\n * the ut for jsdoc about permission\r\n *\r\n */",
21      "isJoinType": false,
22      "genericInfo": [],
23      "parentApiType": "SourceFile",
24      "fileAbsolutePath": "E:\\code\\wcy\\gitee\\interface_sdk-js\\build-tools\\dts_parser\\test\\ut\\parser\\ut_jsdoc_permission_018.d.ts",
25      "isSameNameFunction": false,
26      "jsDocInfos": [
27        {
28          "description": "the ut for jsdoc about permission",
29          "syscap": "",
30          "since": "-1",
31          "isForm": false,
32          "isCrossPlatForm": false,
33          "isSystemApi": false,
34          "modelLimitation": "",
35          "deprecatedVersion": "-1",
36          "useinstead": "",
37          "permissions": "",
38          "errorCodes": [],
39          "typeInfo": "",
40          "isConstant": false,
41          "isAtomicService": false,
42          "kit": "NA",
43          "fileTagContent": "NA"
44        }
45      ],
46      "childApis": [
47        {
48          "filePath": "ut_jsdoc_permission_018.d.ts",
49          "apiType": "Method",
50          "definedText": "function func(str: string): void;",
51          "pos": {
52            "line": 24,
53            "character": 3
54          },
55          "isExport": false,
56          "apiName": "func",
57          "hierarchicalRelations": [
58            "ut_jsdoc_permission_018.d.ts",
59            "test",
60            "func"
61          ],
62          "isStruct": false,
63          "syscap": "",
64          "currentVersion": "-1",
65          "jsDocText": "/**\r\n   * @permission ohos.permission.GET_SENSITIVE_PERMISSIONS or ohos.permission.GRANT_SENSITIVE_PERMISSIONS\r\n   */",
66          "isJoinType": false,
67          "genericInfo": [],
68          "parentApiType": "Namespace",
69          "fileAbsolutePath": "E:\\code\\wcy\\gitee\\interface_sdk-js\\build-tools\\dts_parser\\test\\ut\\parser\\ut_jsdoc_permission_018.d.ts",
70          "isSameNameFunction": false,
71          "jsDocInfos": [
72            {
73              "description": "",
74              "syscap": "",
75              "since": "-1",
76              "isForm": false,
77              "isCrossPlatForm": false,
78              "isSystemApi": false,
79              "modelLimitation": "",
80              "deprecatedVersion": "-1",
81              "useinstead": "",
82              "permissions": "ohos.permission.GET_SENSITIVE_PERMISSIONS or ohos.permission.GRANT_SENSITIVE_PERMISSIONS",
83              "errorCodes": [],
84              "typeInfo": "",
85              "isConstant": false,
86              "isAtomicService": false,
87              "kit": "NA",
88              "fileTagContent": "NA"
89            }
90          ],
91          "callForm": "func(str: string): void",
92          "params": [
93            {
94              "apiType": "Param",
95              "apiName": "str",
96              "paramType": 148,
97              "type": [
98                "string"
99              ],
100              "isRequired": true,
101              "definedText": "str: string",
102              "typeLocations": [],
103              "objLocations": [],
104              "typeIsObject": false
105            }
106          ],
107          "returnValue": [],
108          "isStatic": false,
109          "sync": "",
110          "returnValueType": 0,
111          "typeLocations": [],
112          "objLocations": [],
113          "isRequired": true
114        }
115      ]
116    }
117  ]
118}