|
|
@ -93,7 +93,8 @@ We recommend avoiding complex pragma statement.''' |
|
|
|
json = self.generate_json_result(info) |
|
|
|
json = self.generate_json_result(info) |
|
|
|
|
|
|
|
|
|
|
|
# follow the same format than add_nodes_to_json |
|
|
|
# follow the same format than add_nodes_to_json |
|
|
|
json['expressions'] = [{'expression': p.version, |
|
|
|
json['elements'] = [{'type': 'expression', |
|
|
|
|
|
|
|
'expression': p.version, |
|
|
|
'source_mapping': p.source_mapping} for (reason, p) in disallowed_pragmas] |
|
|
|
'source_mapping': p.source_mapping} for (reason, p) in disallowed_pragmas] |
|
|
|
results.append(json) |
|
|
|
results.append(json) |
|
|
|
|
|
|
|
|
|
|
|