Project

General

Profile

Revision 3fd18385 vhdl_json/vhdl_files/2-exportOK/cnes_guidelines/rule/data/STD_05400_bad.json

View differences:

vhdl_json/vhdl_files/2-exportOK/cnes_guidelines/rule/data/STD_05400_bad.json
57 57
                "args" : [["EXPRESSION", {
58 58
                  "args" : [["EXPRESSION", {
59 59
                    "args" : [["EXPRESSION", {
60
                      "args" : [["CALL", ["FUNCTION_CALL", {
61
                        "id" : ["SIMPLE_NAME", "i_A"], "assoc_list" : [{
62
                          "actual_expr" : ["EXPRESSION", {
60
                      "args" : [["CALL", ["INDEXED_NAME", {
61
                        "id" : ["SIMPLE_NAME", "i_A"], "exprs" : [["EXPRESSION", {
62
                          "args" : [["EXPRESSION", {
63 63
                            "args" : [["EXPRESSION", {
64 64
                              "args" : [["EXPRESSION", {
65
                                "args" : [["EXPRESSION", {
66
                                  "args" : [["CONSTANT_VALUE", {
67
                                    "value" : ["CST_LITERAL", "3"]}
68
                                  ]]}
65
                                "args" : [["CONSTANT_VALUE", {
66
                                  "value" : ["CST_LITERAL", "3"]}
69 67
                                ]]}
70 68
                              ]]}
71 69
                            ]]}
72
                          ]}
73
                        ]}
70
                          ]]}
71
                        ]]}
74 72
                      ]]]}
75 73
                    ]]}
76 74
                  ]]}
......
84 82
                      "id" : "=", "args" : [["EXPRESSION", {
85 83
                        "args" : [["EXPRESSION", {
86 84
                          "args" : [["EXPRESSION", {
87
                            "args" : [["CALL", ["FUNCTION_CALL", {
88
                              "id" : ["SIMPLE_NAME", "i_OE"], "assoc_list" : [{
89
                                "actual_expr" : ["EXPRESSION", {
85
                            "args" : [["CALL", ["INDEXED_NAME", {
86
                              "id" : ["SIMPLE_NAME", "i_OE"], "exprs" : [["EXPRESSION", {
87
                                "args" : [["EXPRESSION", {
90 88
                                  "args" : [["EXPRESSION", {
91 89
                                    "args" : [["EXPRESSION", {
92
                                      "args" : [["EXPRESSION", {
93
                                        "args" : [["CONSTANT_VALUE", {
94
                                          "value" : ["CST_LITERAL", "3"]}
95
                                        ]]}
90
                                      "args" : [["CONSTANT_VALUE", {
91
                                        "value" : ["CST_LITERAL", "3"]}
96 92
                                      ]]}
97 93
                                    ]]}
98 94
                                  ]]}
99
                                ]}
100
                              ]}
95
                                ]]}
96
                              ]]}
101 97
                            ]]]}
102 98
                          ]]}
103 99
                        ]]}
......
137 133
                "args" : [["EXPRESSION", {
138 134
                  "args" : [["EXPRESSION", {
139 135
                    "args" : [["EXPRESSION", {
140
                      "args" : [["CALL", ["FUNCTION_CALL", {
141
                        "id" : ["SIMPLE_NAME", "i_A"], "assoc_list" : [{
142
                          "actual_expr" : ["EXPRESSION", {
136
                      "args" : [["CALL", ["INDEXED_NAME", {
137
                        "id" : ["SIMPLE_NAME", "i_A"], "exprs" : [["EXPRESSION", {
138
                          "args" : [["EXPRESSION", {
143 139
                            "args" : [["EXPRESSION", {
144 140
                              "args" : [["EXPRESSION", {
145
                                "args" : [["EXPRESSION", {
146
                                  "args" : [["CONSTANT_VALUE", {
147
                                    "value" : ["CST_LITERAL", "2"]}
148
                                  ]]}
141
                                "args" : [["CONSTANT_VALUE", {
142
                                  "value" : ["CST_LITERAL", "2"]}
149 143
                                ]]}
150 144
                              ]]}
151 145
                            ]]}
152
                          ]}
153
                        ]}
146
                          ]]}
147
                        ]]}
154 148
                      ]]]}
155 149
                    ]]}
156 150
                  ]]}
......
164 158
                      "id" : "=", "args" : [["EXPRESSION", {
165 159
                        "args" : [["EXPRESSION", {
166 160
                          "args" : [["EXPRESSION", {
167
                            "args" : [["CALL", ["FUNCTION_CALL", {
168
                              "id" : ["SIMPLE_NAME", "i_OE"], "assoc_list" : [{
169
                                "actual_expr" : ["EXPRESSION", {
161
                            "args" : [["CALL", ["INDEXED_NAME", {
162
                              "id" : ["SIMPLE_NAME", "i_OE"], "exprs" : [["EXPRESSION", {
163
                                "args" : [["EXPRESSION", {
170 164
                                  "args" : [["EXPRESSION", {
171 165
                                    "args" : [["EXPRESSION", {
172
                                      "args" : [["EXPRESSION", {
173
                                        "args" : [["CONSTANT_VALUE", {
174
                                          "value" : ["CST_LITERAL", "2"]}
175
                                        ]]}
166
                                      "args" : [["CONSTANT_VALUE", {
167
                                        "value" : ["CST_LITERAL", "2"]}
176 168
                                      ]]}
177 169
                                    ]]}
178 170
                                  ]]}
179
                                ]}
180
                              ]}
171
                                ]]}
172
                              ]]}
181 173
                            ]]]}
182 174
                          ]]}
183 175
                        ]]}
......
217 209
                "args" : [["EXPRESSION", {
218 210
                  "args" : [["EXPRESSION", {
219 211
                    "args" : [["EXPRESSION", {
220
                      "args" : [["CALL", ["FUNCTION_CALL", {
221
                        "id" : ["SIMPLE_NAME", "i_A"], "assoc_list" : [{
222
                          "actual_expr" : ["EXPRESSION", {
212
                      "args" : [["CALL", ["INDEXED_NAME", {
213
                        "id" : ["SIMPLE_NAME", "i_A"], "exprs" : [["EXPRESSION", {
214
                          "args" : [["EXPRESSION", {
223 215
                            "args" : [["EXPRESSION", {
224 216
                              "args" : [["EXPRESSION", {
225
                                "args" : [["EXPRESSION", {
226
                                  "args" : [["CONSTANT_VALUE", {
227
                                    "value" : ["CST_LITERAL", "1"]}
228
                                  ]]}
217
                                "args" : [["CONSTANT_VALUE", {
218
                                  "value" : ["CST_LITERAL", "1"]}
229 219
                                ]]}
230 220
                              ]]}
231 221
                            ]]}
232
                          ]}
233
                        ]}
222
                          ]]}
223
                        ]]}
234 224
                      ]]]}
235 225
                    ]]}
236 226
                  ]]}
......
244 234
                      "id" : "=", "args" : [["EXPRESSION", {
245 235
                        "args" : [["EXPRESSION", {
246 236
                          "args" : [["EXPRESSION", {
247
                            "args" : [["CALL", ["FUNCTION_CALL", {
248
                              "id" : ["SIMPLE_NAME", "i_OE"], "assoc_list" : [{
249
                                "actual_expr" : ["EXPRESSION", {
237
                            "args" : [["CALL", ["INDEXED_NAME", {
238
                              "id" : ["SIMPLE_NAME", "i_OE"], "exprs" : [["EXPRESSION", {
239
                                "args" : [["EXPRESSION", {
250 240
                                  "args" : [["EXPRESSION", {
251 241
                                    "args" : [["EXPRESSION", {
252
                                      "args" : [["EXPRESSION", {
253
                                        "args" : [["CONSTANT_VALUE", {
254
                                          "value" : ["CST_LITERAL", "1"]}
255
                                        ]]}
242
                                      "args" : [["CONSTANT_VALUE", {
243
                                        "value" : ["CST_LITERAL", "1"]}
256 244
                                      ]]}
257 245
                                    ]]}
258 246
                                  ]]}
259
                                ]}
260
                              ]}
247
                                ]]}
248
                              ]]}
261 249
                            ]]]}
262 250
                          ]]}
263 251
                        ]]}
......
297 285
                "args" : [["EXPRESSION", {
298 286
                  "args" : [["EXPRESSION", {
299 287
                    "args" : [["EXPRESSION", {
300
                      "args" : [["CALL", ["FUNCTION_CALL", {
301
                        "id" : ["SIMPLE_NAME", "i_A"], "assoc_list" : [{
302
                          "actual_expr" : ["EXPRESSION", {
288
                      "args" : [["CALL", ["INDEXED_NAME", {
289
                        "id" : ["SIMPLE_NAME", "i_A"], "exprs" : [["EXPRESSION", {
290
                          "args" : [["EXPRESSION", {
303 291
                            "args" : [["EXPRESSION", {
304 292
                              "args" : [["EXPRESSION", {
305
                                "args" : [["EXPRESSION", {
306
                                  "args" : [["CONSTANT_VALUE", {
307
                                    "value" : ["CST_LITERAL", "0"]}
308
                                  ]]}
293
                                "args" : [["CONSTANT_VALUE", {
294
                                  "value" : ["CST_LITERAL", "0"]}
309 295
                                ]]}
310 296
                              ]]}
311 297
                            ]]}
312
                          ]}
313
                        ]}
298
                          ]]}
299
                        ]]}
314 300
                      ]]]}
315 301
                    ]]}
316 302
                  ]]}
......
324 310
                      "id" : "=", "args" : [["EXPRESSION", {
325 311
                        "args" : [["EXPRESSION", {
326 312
                          "args" : [["EXPRESSION", {
327
                            "args" : [["CALL", ["FUNCTION_CALL", {
328
                              "id" : ["SIMPLE_NAME", "i_OE"], "assoc_list" : [{
329
                                "actual_expr" : ["EXPRESSION", {
313
                            "args" : [["CALL", ["INDEXED_NAME", {
314
                              "id" : ["SIMPLE_NAME", "i_OE"], "exprs" : [["EXPRESSION", {
315
                                "args" : [["EXPRESSION", {
330 316
                                  "args" : [["EXPRESSION", {
331 317
                                    "args" : [["EXPRESSION", {
332
                                      "args" : [["EXPRESSION", {
333
                                        "args" : [["CONSTANT_VALUE", {
334
                                          "value" : ["CST_LITERAL", "0"]}
335
                                        ]]}
318
                                      "args" : [["CONSTANT_VALUE", {
319
                                        "value" : ["CST_LITERAL", "0"]}
336 320
                                      ]]}
337 321
                                    ]]}
338 322
                                  ]]}
339
                                ]}
340
                              ]}
323
                                ]]}
324
                              ]]}
341 325
                            ]]]}
342 326
                          ]]}
343 327
                        ]]}

Also available in: Unified diff