...

Text file src/oss.terrastruct.com/d2/testdata/d2oracle/TestMove/include_descendants_nested_2.exp.json

Documentation: oss.terrastruct.com/d2/testdata/d2oracle/TestMove

     1{
     2  "graph": {
     3    "name": "",
     4    "isFolderOnly": false,
     5    "ast": {
     6      "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,0:0:0-4:0:15",
     7      "nodes": [
     8        {
     9          "map_key": {
    10            "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,0:0:0-0:1:1",
    11            "key": {
    12              "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,0:0:0-0:1:1",
    13              "path": [
    14                {
    15                  "unquoted_string": {
    16                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,0:0:0-0:1:1",
    17                    "value": [
    18                      {
    19                        "string": "y",
    20                        "raw_string": "y"
    21                      }
    22                    ]
    23                  }
    24                }
    25              ]
    26            },
    27            "primary": {},
    28            "value": {}
    29          }
    30        },
    31        {
    32          "map_key": {
    33            "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:0:2-3:1:14",
    34            "key": {
    35              "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:0:2-1:3:5",
    36              "path": [
    37                {
    38                  "unquoted_string": {
    39                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:0:2-1:1:3",
    40                    "value": [
    41                      {
    42                        "string": "y",
    43                        "raw_string": "y"
    44                      }
    45                    ]
    46                  }
    47                },
    48                {
    49                  "unquoted_string": {
    50                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:2:4-1:3:5",
    51                    "value": [
    52                      {
    53                        "string": "b",
    54                        "raw_string": "b"
    55                      }
    56                    ]
    57                  }
    58                }
    59              ]
    60            },
    61            "primary": {},
    62            "value": {
    63              "map": {
    64                "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:5:7-3:1:14",
    65                "nodes": [
    66                  {
    67                    "map_key": {
    68                      "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,2:2:11-2:3:12",
    69                      "key": {
    70                        "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,2:2:11-2:3:12",
    71                        "path": [
    72                          {
    73                            "unquoted_string": {
    74                              "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,2:2:11-2:3:12",
    75                              "value": [
    76                                {
    77                                  "string": "z",
    78                                  "raw_string": "z"
    79                                }
    80                              ]
    81                            }
    82                          }
    83                        ]
    84                      },
    85                      "primary": {},
    86                      "value": {}
    87                    }
    88                  }
    89                ]
    90              }
    91            }
    92          }
    93        }
    94      ]
    95    },
    96    "root": {
    97      "id": "",
    98      "id_val": "",
    99      "attributes": {
   100        "label": {
   101          "value": ""
   102        },
   103        "labelDimensions": {
   104          "width": 0,
   105          "height": 0
   106        },
   107        "style": {},
   108        "near_key": null,
   109        "shape": {
   110          "value": ""
   111        },
   112        "direction": {
   113          "value": ""
   114        },
   115        "constraint": null
   116      },
   117      "zIndex": 0
   118    },
   119    "edges": null,
   120    "objects": [
   121      {
   122        "id": "y",
   123        "id_val": "y",
   124        "references": [
   125          {
   126            "key": {
   127              "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,0:0:0-0:1:1",
   128              "path": [
   129                {
   130                  "unquoted_string": {
   131                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,0:0:0-0:1:1",
   132                    "value": [
   133                      {
   134                        "string": "y",
   135                        "raw_string": "y"
   136                      }
   137                    ]
   138                  }
   139                }
   140              ]
   141            },
   142            "key_path_index": 0,
   143            "map_key_edge_index": -1
   144          },
   145          {
   146            "key": {
   147              "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:0:2-1:3:5",
   148              "path": [
   149                {
   150                  "unquoted_string": {
   151                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:0:2-1:1:3",
   152                    "value": [
   153                      {
   154                        "string": "y",
   155                        "raw_string": "y"
   156                      }
   157                    ]
   158                  }
   159                },
   160                {
   161                  "unquoted_string": {
   162                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:2:4-1:3:5",
   163                    "value": [
   164                      {
   165                        "string": "b",
   166                        "raw_string": "b"
   167                      }
   168                    ]
   169                  }
   170                }
   171              ]
   172            },
   173            "key_path_index": 0,
   174            "map_key_edge_index": -1
   175          }
   176        ],
   177        "attributes": {
   178          "label": {
   179            "value": "y"
   180          },
   181          "labelDimensions": {
   182            "width": 0,
   183            "height": 0
   184          },
   185          "style": {},
   186          "near_key": null,
   187          "shape": {
   188            "value": "rectangle"
   189          },
   190          "direction": {
   191            "value": ""
   192          },
   193          "constraint": null
   194        },
   195        "zIndex": 0
   196      },
   197      {
   198        "id": "b",
   199        "id_val": "b",
   200        "references": [
   201          {
   202            "key": {
   203              "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:0:2-1:3:5",
   204              "path": [
   205                {
   206                  "unquoted_string": {
   207                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:0:2-1:1:3",
   208                    "value": [
   209                      {
   210                        "string": "y",
   211                        "raw_string": "y"
   212                      }
   213                    ]
   214                  }
   215                },
   216                {
   217                  "unquoted_string": {
   218                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,1:2:4-1:3:5",
   219                    "value": [
   220                      {
   221                        "string": "b",
   222                        "raw_string": "b"
   223                      }
   224                    ]
   225                  }
   226                }
   227              ]
   228            },
   229            "key_path_index": 1,
   230            "map_key_edge_index": -1
   231          }
   232        ],
   233        "attributes": {
   234          "label": {
   235            "value": "b"
   236          },
   237          "labelDimensions": {
   238            "width": 0,
   239            "height": 0
   240          },
   241          "style": {},
   242          "near_key": null,
   243          "shape": {
   244            "value": "rectangle"
   245          },
   246          "direction": {
   247            "value": ""
   248          },
   249          "constraint": null
   250        },
   251        "zIndex": 0
   252      },
   253      {
   254        "id": "z",
   255        "id_val": "z",
   256        "references": [
   257          {
   258            "key": {
   259              "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,2:2:11-2:3:12",
   260              "path": [
   261                {
   262                  "unquoted_string": {
   263                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_nested_2.d2,2:2:11-2:3:12",
   264                    "value": [
   265                      {
   266                        "string": "z",
   267                        "raw_string": "z"
   268                      }
   269                    ]
   270                  }
   271                }
   272              ]
   273            },
   274            "key_path_index": 0,
   275            "map_key_edge_index": -1
   276          }
   277        ],
   278        "attributes": {
   279          "label": {
   280            "value": "z"
   281          },
   282          "labelDimensions": {
   283            "width": 0,
   284            "height": 0
   285          },
   286          "style": {},
   287          "near_key": null,
   288          "shape": {
   289            "value": "rectangle"
   290          },
   291          "direction": {
   292            "value": ""
   293          },
   294          "constraint": null
   295        },
   296        "zIndex": 0
   297      }
   298    ]
   299  },
   300  "err": "<nil>"
   301}

View as plain text