...

Text file src/oss.terrastruct.com/d2/testdata/d2ir/TestCompile/fields/root.exp.json

Documentation: oss.terrastruct.com/d2/testdata/d2ir/TestCompile/fields

     1{
     2  "fields": [
     3    {
     4      "name": "x",
     5      "references": [
     6        {
     7          "string": {
     8            "range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
     9            "value": [
    10              {
    11                "string": "x",
    12                "raw_string": "x"
    13              }
    14            ]
    15          },
    16          "key_path": {
    17            "range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
    18            "path": [
    19              {
    20                "unquoted_string": {
    21                  "range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
    22                  "value": [
    23                    {
    24                      "string": "x",
    25                      "raw_string": "x"
    26                    }
    27                  ]
    28                }
    29              }
    30            ]
    31          },
    32          "context": {
    33            "edge": null,
    34            "key": {
    35              "range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
    36              "key": {
    37                "range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
    38                "path": [
    39                  {
    40                    "unquoted_string": {
    41                      "range": "TestCompile/fields/root.d2,0:0:0-0:1:1",
    42                      "value": [
    43                        {
    44                          "string": "x",
    45                          "raw_string": "x"
    46                        }
    47                      ]
    48                    }
    49                  }
    50                ]
    51              },
    52              "primary": {},
    53              "value": {}
    54            }
    55          },
    56          "due_to_glob": false,
    57          "due_to_lazy_glob": false
    58        }
    59      ]
    60    }
    61  ],
    62  "edges": null
    63}

View as plain text