| { | |
| "$schema": "../../doc/schema/record_use.schema.json", | |
| "constants": [ | |
| { | |
| "type": "int", | |
| "value": 42 | |
| }, | |
| { | |
| "type": "Instance", | |
| "value": { | |
| "i": 0 | |
| } | |
| }, | |
| { | |
| "type": "String", | |
| "value": "test" | |
| }, | |
| { | |
| "type": "Instance", | |
| "value": { | |
| "i": 2 | |
| } | |
| }, | |
| { | |
| "type": "Instance" | |
| } | |
| ], | |
| "locations": [ | |
| { | |
| "uri": "nested.dart" | |
| } | |
| ], | |
| "metadata": { | |
| "comment": "Recorded usages of objects tagged with a `RecordUse` annotation", | |
| "version": "0.4.0" | |
| }, | |
| "recordings": [ | |
| { | |
| "definition": { | |
| "identifier": { | |
| "name": "MyClass", | |
| "uri": "nested.dart" | |
| }, | |
| "loading_unit": "1" | |
| }, | |
| "instances": [ | |
| { | |
| "@": 0, | |
| "constant_index": 1, | |
| "loading_unit": "1" | |
| }, | |
| { | |
| "@": 0, | |
| "constant_index": 3, | |
| "loading_unit": "1" | |
| } | |
| ] | |
| }, | |
| { | |
| "definition": { | |
| "identifier": { | |
| "name": "MyOtherClass", | |
| "uri": "nested.dart" | |
| }, | |
| "loading_unit": "1" | |
| }, | |
| "instances": [ | |
| { | |
| "@": 0, | |
| "constant_index": 4, | |
| "loading_unit": "1" | |
| } | |
| ] | |
| } | |
| ] | |
| } |