Skip to content

Commit 1ab03e6

Browse files
pmconneGerrit0
authored andcommitted
Rebuild function specs.
1 parent d8666a0 commit 1ab03e6

File tree

1 file changed

+61
-12
lines changed

1 file changed

+61
-12
lines changed

src/test/converter/function/specs.json

Lines changed: 61 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
],
6060
"children": [
6161
{
62-
"id": 38,
62+
"id": 41,
6363
"name": "functionVariable",
6464
"kind": 32,
6565
"kindString": "Variable",
@@ -72,7 +72,7 @@
7272
"sources": [
7373
{
7474
"fileName": "function.ts",
75-
"line": 137,
75+
"line": 145,
7676
"character": 24
7777
}
7878
],
@@ -82,14 +82,14 @@
8282
}
8383
},
8484
{
85-
"id": 39,
85+
"id": 42,
8686
"name": "append",
8787
"kind": 64,
8888
"kindString": "Function",
8989
"flags": {},
9090
"signatures": [
9191
{
92-
"id": 40,
92+
"id": 43,
9393
"name": "append",
9494
"kind": 4096,
9595
"kindString": "Call signature",
@@ -106,20 +106,20 @@
106106
"sources": [
107107
{
108108
"fileName": "function.ts",
109-
"line": 143,
109+
"line": 151,
110110
"character": 19
111111
}
112112
]
113113
},
114114
{
115-
"id": 41,
115+
"id": 44,
116116
"name": "prepend",
117117
"kind": 64,
118118
"kindString": "Function",
119119
"flags": {},
120120
"signatures": [
121121
{
122-
"id": 42,
122+
"id": 45,
123123
"name": "prepend",
124124
"kind": 4096,
125125
"kindString": "Call signature",
@@ -136,7 +136,7 @@
136136
"sources": [
137137
{
138138
"fileName": "function.ts",
139-
"line": 150,
139+
"line": 158,
140140
"character": 20
141141
}
142142
]
@@ -147,15 +147,15 @@
147147
"title": "Variables",
148148
"kind": 32,
149149
"children": [
150-
38
150+
41
151151
]
152152
},
153153
{
154154
"title": "Functions",
155155
"kind": 64,
156156
"children": [
157-
39,
158-
41
157+
42,
158+
44
159159
]
160160
}
161161
],
@@ -167,11 +167,59 @@
167167
},
168168
{
169169
"fileName": "function.ts",
170-
"line": 132,
170+
"line": 140,
171171
"character": 28
172172
}
173173
]
174174
},
175+
{
176+
"id": 38,
177+
"name": "assertionFunction",
178+
"kind": 64,
179+
"kindString": "Function",
180+
"flags": {
181+
"isExported": true
182+
},
183+
"signatures": [
184+
{
185+
"id": 39,
186+
"name": "assertionFunction",
187+
"kind": 4096,
188+
"kindString": "Call signature",
189+
"flags": {},
190+
"comment": {
191+
"shortText": "This is an assertion function."
192+
},
193+
"parameters": [
194+
{
195+
"id": 40,
196+
"name": "condition",
197+
"kind": 32768,
198+
"kindString": "Parameter",
199+
"flags": {},
200+
"comment": {
201+
"text": "The condition that is asserted to be true when this function returns.\n"
202+
},
203+
"type": {
204+
"type": "intrinsic",
205+
"name": "boolean"
206+
}
207+
}
208+
],
209+
"type": {
210+
"type": "intrinsic",
211+
"name": "void"
212+
}
213+
}
214+
],
215+
"sources": [
216+
{
217+
"fileName": "function.ts",
218+
"line": 134,
219+
"character": 33
220+
}
221+
]
222+
},
175223
{
176224
"id": 4,
177225
"name": "exportedFunction",
@@ -743,6 +791,7 @@
743791
"title": "Functions",
744792
"kind": 64,
745793
"children": [
794+
38,
746795
4,
747796
18,
748797
14,

0 commit comments

Comments
 (0)