• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "ut_jsdoc_throws_030.d.ts": [
3    {
4      "filePath": "ut_jsdoc_throws_030.d.ts",
5      "apiType": "Class",
6      "definedText": "export class Test",
7      "pos": {
8        "line": 20,
9        "character": 1
10      },
11      "isExport": true,
12      "apiName": "Test",
13      "hierarchicalRelations": [
14        "ut_jsdoc_throws_030.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 throws\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_throws_030.d.ts",
25      "isSameNameFunction": false,
26      "jsDocInfos": [
27        {
28          "description": "the ut for jsdoc about throws",
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      "parentClasses": [],
47      "childApis": [
48        {
49          "filePath": "ut_jsdoc_throws_030.d.ts",
50          "apiType": "Method",
51          "definedText": "func(str: string): void;",
52          "pos": {
53            "line": 26,
54            "character": 3
55          },
56          "isExport": false,
57          "apiName": "func",
58          "hierarchicalRelations": [
59            "ut_jsdoc_throws_030.d.ts",
60            "Test",
61            "func"
62          ],
63          "isStruct": false,
64          "syscap": "",
65          "currentVersion": "-1",
66          "jsDocText": "/**\r\n   * @throws { BusinessError } 201 - Permission denied.\r\n   * @throws { BusinessError } 202 - non-system app called system api.\r\n   * @throws { BusinessError } 401 - The parameter check failed.\r\n   */",
67          "isJoinType": false,
68          "genericInfo": [],
69          "parentApiType": "Class",
70          "fileAbsolutePath": "E:\\code\\wcy\\gitee\\interface_sdk-js\\build-tools\\dts_parser\\test\\ut\\parser\\ut_jsdoc_throws_030.d.ts",
71          "isSameNameFunction": false,
72          "jsDocInfos": [
73            {
74              "description": "",
75              "syscap": "",
76              "since": "-1",
77              "isForm": false,
78              "isCrossPlatForm": false,
79              "isSystemApi": false,
80              "modelLimitation": "",
81              "deprecatedVersion": "-1",
82              "useinstead": "",
83              "permissions": "",
84              "errorCodes": [
85                201,
86                202,
87                401
88              ],
89              "typeInfo": "",
90              "isConstant": false,
91              "isAtomicService": false,
92              "kit": "NA",
93              "fileTagContent": "NA"
94            }
95          ],
96          "callForm": "func(str: string): void",
97          "params": [
98            {
99              "apiType": "Param",
100              "apiName": "str",
101              "paramType": 148,
102              "type": [
103                "string"
104              ],
105              "isRequired": true,
106              "definedText": "str: string",
107              "typeLocations": [],
108              "objLocations": [],
109              "typeIsObject": false
110            }
111          ],
112          "returnValue": [],
113          "isStatic": false,
114          "sync": "",
115          "returnValueType": 0,
116          "typeLocations": [],
117          "objLocations": [],
118          "isRequired": true
119        }
120      ]
121    }
122  ]
123}