Revision 3fd18385
Added by Arnaud Dieumegard over 3 years ago
vhdl_json/vhdl_files/2exportOK/ghdl/ghdl/testsuite/vests/vhdl93/ashenden/compliant/ch_07_fg_07_16.json  

122  122 
"args" : [["EXPRESSION", { 
123  123 
"args" : [["EXPRESSION", { 
124  124 
"args" : [["EXPRESSION", { 
125 
"args" : [["CALL", ["FUNCTION_CALL", {


126 
"id" : ["SIMPLE_NAME", "limit"], "assoc_list" : [{


127 
"actual_expr" : ["EXPRESSION", {


125 
"args" : [["CALL", ["INDEXED_NAME", {


126 
"id" : ["SIMPLE_NAME", "limit"], "exprs" : [["EXPRESSION", {


127 
"args" : [["EXPRESSION", {


128  128 
"args" : [["EXPRESSION", { 
129  129 
"args" : [["EXPRESSION", { 
130 
"args" : [["EXPRESSION", { 

131 
"id" : "+", "args" : [["EXPRESSION", { 

132 
"args" : [["CALL", ["SIMPLE_NAME", "current_temperature"]]]} 

133 
], ["EXPRESSION", { 

134 
"args" : [["CALL", ["SIMPLE_NAME", "increment"]]]} 

135 
]]} 

130 
"id" : "+", "args" : [["EXPRESSION", { 

131 
"args" : [["CALL", ["SIMPLE_NAME", "current_temperature"]]]} 

132 
], ["EXPRESSION", { 

133 
"args" : [["CALL", ["SIMPLE_NAME", "increment"]]]} 

136  134 
]]} 
137  135 
]]} 
138  136 
]]} 
139 
]} 

140 
, { 

141 
"actual_expr" : ["EXPRESSION", {


137 
]]}


138 
], ["EXPRESSION", {


139 
"args" : [["EXPRESSION", {


142  140 
"args" : [["EXPRESSION", { 
143  141 
"args" : [["EXPRESSION", { 
144 
"args" : [["EXPRESSION", { 

145 
"args" : [["CONSTANT_VALUE", { 

146 
"value" : ["CST_LITERAL", "10"]} 

147 
]]} 

142 
"args" : [["CONSTANT_VALUE", { 

143 
"value" : ["CST_LITERAL", "10"]} 

148  144 
]]} 
149  145 
]]} 
150  146 
]]} 
151 
]} 

152 
, { 

153 
"actual_expr" : ["EXPRESSION", {


147 
]]}


148 
], ["EXPRESSION", {


149 
"args" : [["EXPRESSION", {


154  150 
"args" : [["EXPRESSION", { 
155  151 
"args" : [["EXPRESSION", { 
156 
"args" : [["EXPRESSION", { 

157 
"args" : [["CONSTANT_VALUE", { 

158 
"value" : ["CST_LITERAL", "100"]} 

159 
]]} 

152 
"args" : [["CONSTANT_VALUE", { 

153 
"value" : ["CST_LITERAL", "100"]} 

160  154 
]]} 
161  155 
]]} 
162  156 
]]} 
163 
]} 

164 
]} 

157 
]]}


158 
]]}


165  159 
]]]} 
166  160 
]]} 
167  161 
]]} 
...  ...  
184  178 
"args" : [["EXPRESSION", { 
185  179 
"args" : [["EXPRESSION", { 
186  180 
"args" : [["EXPRESSION", { 
187 
"args" : [["CALL", ["FUNCTION_CALL", {


188 
"id" : ["SIMPLE_NAME", "limit"], "assoc_list" : [{


189 
"actual_expr" : ["EXPRESSION", {


181 
"args" : [["CALL", ["INDEXED_NAME", {


182 
"id" : ["SIMPLE_NAME", "limit"], "exprs" : [["EXPRESSION", {


183 
"args" : [["EXPRESSION", {


190  184 
"args" : [["EXPRESSION", { 
191  185 
"args" : [["EXPRESSION", { 
192 
"args" : [["EXPRESSION", { 

193 
"id" : "+", "args" : [["EXPRESSION", { 

194 
"args" : [["CALL", ["SIMPLE_NAME", "current_temperature"]]]} 

195 
], ["EXPRESSION", { 

196 
"args" : [["CALL", ["SIMPLE_NAME", "increment"]]]} 

197 
]]} 

186 
"id" : "+", "args" : [["EXPRESSION", { 

187 
"args" : [["CALL", ["SIMPLE_NAME", "current_temperature"]]]} 

188 
], ["EXPRESSION", { 

189 
"args" : [["CALL", ["SIMPLE_NAME", "increment"]]]} 

198  190 
]]} 
199  191 
]]} 
200  192 
]]} 
201 
]} 

202 
, { 

203 
"actual_expr" : ["EXPRESSION", {


193 
]]}


194 
], ["EXPRESSION", {


195 
"args" : [["EXPRESSION", {


204  196 
"args" : [["EXPRESSION", { 
205  197 
"args" : [["EXPRESSION", { 
206 
"args" : [["EXPRESSION", { 

207 
"args" : [["CONSTANT_VALUE", { 

208 
"value" : ["CST_LITERAL", "10"]} 

209 
]]} 

198 
"args" : [["CONSTANT_VALUE", { 

199 
"value" : ["CST_LITERAL", "10"]} 

210  200 
]]} 
211  201 
]]} 
212  202 
]]} 
213 
]} 

214 
, { 

215 
"actual_expr" : ["EXPRESSION", {


203 
]]}


204 
], ["EXPRESSION", {


205 
"args" : [["EXPRESSION", {


216  206 
"args" : [["EXPRESSION", { 
217  207 
"args" : [["EXPRESSION", { 
218 
"args" : [["EXPRESSION", { 

219 
"args" : [["CONSTANT_VALUE", { 

220 
"value" : ["CST_LITERAL", "100"]} 

221 
]]} 

208 
"args" : [["CONSTANT_VALUE", { 

209 
"value" : ["CST_LITERAL", "100"]} 

222  210 
]]} 
223  211 
]]} 
224  212 
]]} 
225 
]} 

226 
]} 

213 
]]}


214 
]]}


227  215 
]]]} 
228  216 
]]} 
229  217 
]]} 
...  ...  
246  234 
"args" : [["EXPRESSION", { 
247  235 
"args" : [["EXPRESSION", { 
248  236 
"args" : [["EXPRESSION", { 
249 
"args" : [["CALL", ["FUNCTION_CALL", {


250 
"id" : ["SIMPLE_NAME", "limit"], "assoc_list" : [{


251 
"actual_expr" : ["EXPRESSION", {


237 
"args" : [["CALL", ["INDEXED_NAME", {


238 
"id" : ["SIMPLE_NAME", "limit"], "exprs" : [["EXPRESSION", {


239 
"args" : [["EXPRESSION", {


252  240 
"args" : [["EXPRESSION", { 
253  241 
"args" : [["EXPRESSION", { 
254 
"args" : [["EXPRESSION", { 

255 
"id" : "+", "args" : [["EXPRESSION", { 

256 
"args" : [["CALL", ["SIMPLE_NAME", "current_temperature"]]]} 

257 
], ["EXPRESSION", { 

258 
"args" : [["CALL", ["SIMPLE_NAME", "increment"]]]} 

259 
]]} 

242 
"id" : "+", "args" : [["EXPRESSION", { 

243 
"args" : [["CALL", ["SIMPLE_NAME", "current_temperature"]]]} 

244 
], ["EXPRESSION", { 

245 
"args" : [["CALL", ["SIMPLE_NAME", "increment"]]]} 

260  246 
]]} 
261  247 
]]} 
262  248 
]]} 
263 
]} 

264 
, { 

265 
"actual_expr" : ["EXPRESSION", {


249 
]]}


250 
], ["EXPRESSION", {


251 
"args" : [["EXPRESSION", {


266  252 
"args" : [["EXPRESSION", { 
267  253 
"args" : [["EXPRESSION", { 
268 
"args" : [["EXPRESSION", { 

269 
"args" : [["CONSTANT_VALUE", { 

270 
"value" : ["CST_LITERAL", "10"]} 

271 
]]} 

254 
"args" : [["CONSTANT_VALUE", { 

255 
"value" : ["CST_LITERAL", "10"]} 

272  256 
]]} 
273  257 
]]} 
274  258 
]]} 
275 
]} 

276 
, { 

277 
"actual_expr" : ["EXPRESSION", {


259 
]]}


260 
], ["EXPRESSION", {


261 
"args" : [["EXPRESSION", {


278  262 
"args" : [["EXPRESSION", { 
279  263 
"args" : [["EXPRESSION", { 
280 
"args" : [["EXPRESSION", { 

281 
"args" : [["CONSTANT_VALUE", { 

282 
"value" : ["CST_LITERAL", "100"]} 

283 
]]} 

264 
"args" : [["CONSTANT_VALUE", { 

265 
"value" : ["CST_LITERAL", "100"]} 

284  266 
]]} 
285  267 
]]} 
286  268 
]]} 
287 
]} 

288 
]} 

269 
]]}


270 
]]}


289  271 
]]]} 
290  272 
]]} 
291  273 
]]} 
...  ...  
338  320 
"id" : "*", "args" : [["EXPRESSION", { 
339  321 
"args" : [["CALL", ["SIMPLE_NAME", "scale_factor"]]]} 
340  322 
], ["EXPRESSION", { 
341 
"args" : [["CALL", ["FUNCTION_CALL", { 

342 
"id" : ["SIMPLE_NAME", "limit"], "assoc_list" : [{ 

343 
"actual_designator" : ["SIMPLE_NAME", "error"]} 

344 
, { 

345 
"actual_expr" : ["EXPRESSION", { 

323 
"args" : [["CALL", ["INDEXED_NAME", { 

324 
"id" : ["SIMPLE_NAME", "limit"], "exprs" : [["EXPRESSION", { 

325 
"args" : [["EXPRESSION", { 

346  326 
"args" : [["EXPRESSION", { 
347  327 
"args" : [["EXPRESSION", { 
348 
"id" : "", "args" : [["EXPRESSION", { 

349 
"args" : [["CONSTANT_VALUE", { 

350 
"value" : ["CST_LITERAL", "10"]} 

351 
]]} 

328 
"args" : [["CALL", ["SIMPLE_NAME", "error"]]]} 

329 
]]} 

330 
]]} 

331 
]]} 

332 
], ["EXPRESSION", { 

333 
"args" : [["EXPRESSION", { 

334 
"args" : [["EXPRESSION", { 

335 
"id" : "", "args" : [["EXPRESSION", { 

336 
"args" : [["CONSTANT_VALUE", { 

337 
"value" : ["CST_LITERAL", "10"]} 

352  338 
]]} 
353  339 
]]} 
354  340 
]]} 
355 
]} 

356 
, { 

357 
"actual_expr" : ["EXPRESSION", {


341 
]]}


342 
], ["EXPRESSION", {


343 
"args" : [["EXPRESSION", {


358  344 
"args" : [["EXPRESSION", { 
359 
"args" : [["EXPRESSION", { 

360 
"id" : "+", "args" : [["EXPRESSION", { 

361 
"args" : [["CONSTANT_VALUE", { 

362 
"value" : ["CST_LITERAL", "10"]} 

363 
]]} 

345 
"id" : "+", "args" : [["EXPRESSION", { 

346 
"args" : [["CONSTANT_VALUE", { 

347 
"value" : ["CST_LITERAL", "10"]} 

364  348 
]]} 
365  349 
]]} 
366  350 
]]} 
367 
]} 

368 
]} 

351 
]]}


352 
]]}


369  353 
]]]} 
370  354 
]]} 
371  355 
]]} 
...  ...  
396  380 
"id" : "*", "args" : [["EXPRESSION", { 
397  381 
"args" : [["CALL", ["SIMPLE_NAME", "scale_factor"]]]} 
398  382 
], ["EXPRESSION", { 
399 
"args" : [["CALL", ["FUNCTION_CALL", { 

400 
"id" : ["SIMPLE_NAME", "limit"], "assoc_list" : [{ 

401 
"actual_designator" : ["SIMPLE_NAME", "error"]} 

402 
, { 

403 
"actual_expr" : ["EXPRESSION", { 

383 
"args" : [["CALL", ["INDEXED_NAME", { 

384 
"id" : ["SIMPLE_NAME", "limit"], "exprs" : [["EXPRESSION", { 

385 
"args" : [["EXPRESSION", { 

404  386 
"args" : [["EXPRESSION", { 
405  387 
"args" : [["EXPRESSION", { 
406 
"id" : "", "args" : [["EXPRESSION", { 

407 
"args" : [["CONSTANT_VALUE", { 

408 
"value" : ["CST_LITERAL", "10"]} 

409 
]]} 

388 
"args" : [["CALL", ["SIMPLE_NAME", "error"]]]} 

389 
]]} 

390 
]]} 

391 
]]} 

392 
], ["EXPRESSION", { 

393 
"args" : [["EXPRESSION", { 

394 
"args" : [["EXPRESSION", { 

395 
"id" : "", "args" : [["EXPRESSION", { 

396 
"args" : [["CONSTANT_VALUE", { 

397 
"value" : ["CST_LITERAL", "10"]} 

410  398 
]]} 
411  399 
]]} 
412  400 
]]} 
413 
]} 

414 
, { 

415 
"actual_expr" : ["EXPRESSION", {


401 
]]}


402 
], ["EXPRESSION", {


403 
"args" : [["EXPRESSION", {


416  404 
"args" : [["EXPRESSION", { 
417 
"args" : [["EXPRESSION", { 

418 
"id" : "+", "args" : [["EXPRESSION", { 

419 
"args" : [["CONSTANT_VALUE", { 

420 
"value" : ["CST_LITERAL", "10"]} 

421 
]]} 

405 
"id" : "+", "args" : [["EXPRESSION", { 

406 
"args" : [["CONSTANT_VALUE", { 

407 
"value" : ["CST_LITERAL", "10"]} 

422  408 
]]} 
423  409 
]]} 
424  410 
]]} 
425 
]} 

426 
]} 

411 
]]}


412 
]]}


427  413 
]]]} 
428  414 
]]} 
429  415 
]]} 
...  ...  
454  440 
"id" : "*", "args" : [["EXPRESSION", { 
455  441 
"args" : [["CALL", ["SIMPLE_NAME", "scale_factor"]]]} 
456  442 
], ["EXPRESSION", { 
457 
"args" : [["CALL", ["FUNCTION_CALL", { 

458 
"id" : ["SIMPLE_NAME", "limit"], "assoc_list" : [{ 

459 
"actual_designator" : ["SIMPLE_NAME", "error"]} 

460 
, { 

461 
"actual_expr" : ["EXPRESSION", { 

443 
"args" : [["CALL", ["INDEXED_NAME", { 

444 
"id" : ["SIMPLE_NAME", "limit"], "exprs" : [["EXPRESSION", { 

445 
"args" : [["EXPRESSION", { 

462  446 
"args" : [["EXPRESSION", { 
463  447 
"args" : [["EXPRESSION", { 
464 
"id" : "", "args" : [["EXPRESSION", { 

465 
"args" : [["CONSTANT_VALUE", { 

466 
"value" : ["CST_LITERAL", "10"]} 

467 
]]} 

448 
"args" : [["CALL", ["SIMPLE_NAME", "error"]]]} 

449 
]]} 

450 
]]} 

451 
]]} 

452 
], ["EXPRESSION", { 

453 
"args" : [["EXPRESSION", { 

454 
"args" : [["EXPRESSION", { 

455 
"id" : "", "args" : [["EXPRESSION", { 

456 
"args" : [["CONSTANT_VALUE", { 

457 
"value" : ["CST_LITERAL", "10"]} 

468  458 
]]} 
469  459 
]]} 
470  460 
]]} 
471 
]} 

472 
, { 

473 
"actual_expr" : ["EXPRESSION", {


461 
]]}


462 
], ["EXPRESSION", {


463 
"args" : [["EXPRESSION", {


474  464 
"args" : [["EXPRESSION", { 
475 
"args" : [["EXPRESSION", { 

476 
"id" : "+", "args" : [["EXPRESSION", { 

477 
"args" : [["CONSTANT_VALUE", { 

478 
"value" : ["CST_LITERAL", "10"]} 

479 
]]} 

465 
"id" : "+", "args" : [["EXPRESSION", { 

466 
"args" : [["CONSTANT_VALUE", { 

467 
"value" : ["CST_LITERAL", "10"]} 

480  468 
]]} 
481  469 
]]} 
482  470 
]]} 
483 
]} 

484 
]} 

471 
]]}


472 
]]}


485  473 
]]]} 
486  474 
]]} 
487  475 
]]} 
Also available in: Unified diff
Update of test cases with new version of Linty VHDL parser