...

Text file src/oss.terrastruct.com/d2/testdata/d2parser/TestParse/edge_line_continuation_2.exp.json

Documentation: oss.terrastruct.com/d2/testdata/d2parser/TestParse

     1{
     2  "ast": {
     3    "range": "d2/testdata/d2parser/TestParse/edge_line_continuation_2.d2,0:0:0-3:2:71",
     4    "nodes": [
     5      {
     6        "map_key": {
     7          "range": "d2/testdata/d2parser/TestParse/edge_line_continuation_2.d2,1:0:1-2:38:68",
     8          "edges": [
     9            {
    10              "range": "d2/testdata/d2parser/TestParse/edge_line_continuation_2.d2,1:0:1-2:38:68",
    11              "src": {
    12                "range": "d2/testdata/d2parser/TestParse/edge_line_continuation_2.d2,1:0:1-1:24:25",
    13                "path": [
    14                  {
    15                    "unquoted_string": {
    16                      "range": "d2/testdata/d2parser/TestParse/edge_line_continuation_2.d2,1:0:1-1:24:25",
    17                      "value": [
    18                        {
    19                          "string": "super long shape id here",
    20                          "raw_string": "super long shape id here"
    21                        }
    22                      ]
    23                    }
    24                  }
    25                ]
    26              },
    27              "src_arrow": "",
    28              "dst": {
    29                "range": "d2/testdata/d2parser/TestParse/edge_line_continuation_2.d2,2:2:32-2:38:68",
    30                "path": [
    31                  {
    32                    "unquoted_string": {
    33                      "range": "d2/testdata/d2parser/TestParse/edge_line_continuation_2.d2,2:2:32-2:38:68",
    34                      "value": [
    35                        {
    36                          "string": "super long shape id even longer here",
    37                          "raw_string": "super long shape id even longer here"
    38                        }
    39                      ]
    40                    }
    41                  }
    42                ]
    43              },
    44              "dst_arrow": ">"
    45            }
    46          ],
    47          "primary": {},
    48          "value": {}
    49        }
    50      }
    51    ]
    52  },
    53  "err": null
    54}

View as plain text