| { |
| "$schema": "../../doc/schema/record_use.schema.json", |
| "constants": [ |
| { |
| "type": "int", |
| "value": 42 |
| }, |
| { |
| "type": "string", |
| "value": "test" |
| }, |
| { |
| "definition_index": 1, |
| "type": "instance" |
| }, |
| { |
| "definition_index": 0, |
| "type": "instance", |
| "value": { |
| "i": 0 |
| } |
| }, |
| { |
| "definition_index": 0, |
| "type": "instance", |
| "value": { |
| "i": 1 |
| } |
| } |
| ], |
| "definitions": [ |
| { |
| "path": [ |
| { |
| "kind": "class", |
| "name": "MyClass" |
| } |
| ], |
| "uri": "package:record_use_test/nested.dart" |
| }, |
| { |
| "path": [ |
| { |
| "kind": "class", |
| "name": "MyOtherClass" |
| } |
| ], |
| "uri": "package:record_use_test/nested.dart" |
| } |
| ], |
| "loading_units": [ |
| { |
| "name": "1" |
| } |
| ], |
| "uses": { |
| "instances": [ |
| { |
| "definition_index": 0, |
| "uses": [ |
| { |
| "constant_index": 3, |
| "loading_unit_index": 0, |
| "type": "constant" |
| }, |
| { |
| "constant_index": 4, |
| "loading_unit_index": 0, |
| "type": "constant" |
| } |
| ] |
| }, |
| { |
| "definition_index": 1, |
| "uses": [ |
| { |
| "constant_index": 2, |
| "loading_unit_index": 0, |
| "type": "constant" |
| } |
| ] |
| } |
| ] |
| } |
| } |