...

Text file src/oss.terrastruct.com/d2/testdata/d2oracle/TestMove/duplicate_generated.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/duplicate_generated.d2,0:0:0-10:0:33",
     7      "nodes": [
     8        {
     9          "map_key": {
    10            "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,0:0:0-0:1:1",
    11            "key": {
    12              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,0:0:0-0:1:1",
    13              "path": [
    14                {
    15                  "unquoted_string": {
    16                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,0:0:0-0:1:1",
    17                    "value": [
    18                      {
    19                        "string": "x",
    20                        "raw_string": "x"
    21                      }
    22                    ]
    23                  }
    24                }
    25              ]
    26            },
    27            "primary": {},
    28            "value": {}
    29          }
    30        },
    31        {
    32          "map_key": {
    33            "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,1:0:2-1:3:5",
    34            "key": {
    35              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,1:0:2-1:3:5",
    36              "path": [
    37                {
    38                  "unquoted_string": {
    39                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,1:0:2-1:3:5",
    40                    "value": [
    41                      {
    42                        "string": "x 2",
    43                        "raw_string": "x 2"
    44                      }
    45                    ]
    46                  }
    47                }
    48              ]
    49            },
    50            "primary": {},
    51            "value": {}
    52          }
    53        },
    54        {
    55          "map_key": {
    56            "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,3:0:7-3:3:10",
    57            "key": {
    58              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,3:0:7-3:3:10",
    59              "path": [
    60                {
    61                  "unquoted_string": {
    62                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,3:0:7-3:3:10",
    63                    "value": [
    64                      {
    65                        "string": "x 3",
    66                        "raw_string": "x 3"
    67                      }
    68                    ]
    69                  }
    70                }
    71              ]
    72            },
    73            "primary": {},
    74            "value": {}
    75          }
    76        },
    77        {
    78          "map_key": {
    79            "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,4:0:11-4:3:14",
    80            "key": {
    81              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,4:0:11-4:3:14",
    82              "path": [
    83                {
    84                  "unquoted_string": {
    85                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,4:0:11-4:3:14",
    86                    "value": [
    87                      {
    88                        "string": "x 5",
    89                        "raw_string": "x 5"
    90                      }
    91                    ]
    92                  }
    93                }
    94              ]
    95            },
    96            "primary": {},
    97            "value": {}
    98          }
    99        },
   100        {
   101          "map_key": {
   102            "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,6:0:16-6:3:19",
   103            "key": {
   104              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,6:0:16-6:3:19",
   105              "path": [
   106                {
   107                  "unquoted_string": {
   108                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,6:0:16-6:3:19",
   109                    "value": [
   110                      {
   111                        "string": "x 4",
   112                        "raw_string": "x 4"
   113                      }
   114                    ]
   115                  }
   116                }
   117              ]
   118            },
   119            "primary": {},
   120            "value": {}
   121          }
   122        },
   123        {
   124          "map_key": {
   125            "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,7:0:20-9:1:32",
   126            "key": {
   127              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,7:0:20-7:1:21",
   128              "path": [
   129                {
   130                  "unquoted_string": {
   131                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,7:0:20-7:1:21",
   132                    "value": [
   133                      {
   134                        "string": "y",
   135                        "raw_string": "y"
   136                      }
   137                    ]
   138                  }
   139                }
   140              ]
   141            },
   142            "primary": {},
   143            "value": {
   144              "map": {
   145                "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,7:3:23-9:1:32",
   146                "nodes": [
   147                  {
   148                    "map_key": {
   149                      "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,8:2:27-8:5:30",
   150                      "key": {
   151                        "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,8:2:27-8:5:30",
   152                        "path": [
   153                          {
   154                            "unquoted_string": {
   155                              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,8:2:27-8:5:30",
   156                              "value": [
   157                                {
   158                                  "string": "x 3",
   159                                  "raw_string": "x 3"
   160                                }
   161                              ]
   162                            }
   163                          }
   164                        ]
   165                      },
   166                      "primary": {},
   167                      "value": {}
   168                    }
   169                  }
   170                ]
   171              }
   172            }
   173          }
   174        }
   175      ]
   176    },
   177    "root": {
   178      "id": "",
   179      "id_val": "",
   180      "attributes": {
   181        "label": {
   182          "value": ""
   183        },
   184        "labelDimensions": {
   185          "width": 0,
   186          "height": 0
   187        },
   188        "style": {},
   189        "near_key": null,
   190        "shape": {
   191          "value": ""
   192        },
   193        "direction": {
   194          "value": ""
   195        },
   196        "constraint": null
   197      },
   198      "zIndex": 0
   199    },
   200    "edges": null,
   201    "objects": [
   202      {
   203        "id": "x",
   204        "id_val": "x",
   205        "references": [
   206          {
   207            "key": {
   208              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,0:0:0-0:1:1",
   209              "path": [
   210                {
   211                  "unquoted_string": {
   212                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,0:0:0-0:1:1",
   213                    "value": [
   214                      {
   215                        "string": "x",
   216                        "raw_string": "x"
   217                      }
   218                    ]
   219                  }
   220                }
   221              ]
   222            },
   223            "key_path_index": 0,
   224            "map_key_edge_index": -1
   225          }
   226        ],
   227        "attributes": {
   228          "label": {
   229            "value": "x"
   230          },
   231          "labelDimensions": {
   232            "width": 0,
   233            "height": 0
   234          },
   235          "style": {},
   236          "near_key": null,
   237          "shape": {
   238            "value": "rectangle"
   239          },
   240          "direction": {
   241            "value": ""
   242          },
   243          "constraint": null
   244        },
   245        "zIndex": 0
   246      },
   247      {
   248        "id": "x 2",
   249        "id_val": "x 2",
   250        "references": [
   251          {
   252            "key": {
   253              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,1:0:2-1:3:5",
   254              "path": [
   255                {
   256                  "unquoted_string": {
   257                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,1:0:2-1:3:5",
   258                    "value": [
   259                      {
   260                        "string": "x 2",
   261                        "raw_string": "x 2"
   262                      }
   263                    ]
   264                  }
   265                }
   266              ]
   267            },
   268            "key_path_index": 0,
   269            "map_key_edge_index": -1
   270          }
   271        ],
   272        "attributes": {
   273          "label": {
   274            "value": "x 2"
   275          },
   276          "labelDimensions": {
   277            "width": 0,
   278            "height": 0
   279          },
   280          "style": {},
   281          "near_key": null,
   282          "shape": {
   283            "value": "rectangle"
   284          },
   285          "direction": {
   286            "value": ""
   287          },
   288          "constraint": null
   289        },
   290        "zIndex": 0
   291      },
   292      {
   293        "id": "x 3",
   294        "id_val": "x 3",
   295        "references": [
   296          {
   297            "key": {
   298              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,3:0:7-3:3:10",
   299              "path": [
   300                {
   301                  "unquoted_string": {
   302                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,3:0:7-3:3:10",
   303                    "value": [
   304                      {
   305                        "string": "x 3",
   306                        "raw_string": "x 3"
   307                      }
   308                    ]
   309                  }
   310                }
   311              ]
   312            },
   313            "key_path_index": 0,
   314            "map_key_edge_index": -1
   315          }
   316        ],
   317        "attributes": {
   318          "label": {
   319            "value": "x 3"
   320          },
   321          "labelDimensions": {
   322            "width": 0,
   323            "height": 0
   324          },
   325          "style": {},
   326          "near_key": null,
   327          "shape": {
   328            "value": "rectangle"
   329          },
   330          "direction": {
   331            "value": ""
   332          },
   333          "constraint": null
   334        },
   335        "zIndex": 0
   336      },
   337      {
   338        "id": "x 5",
   339        "id_val": "x 5",
   340        "references": [
   341          {
   342            "key": {
   343              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,4:0:11-4:3:14",
   344              "path": [
   345                {
   346                  "unquoted_string": {
   347                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,4:0:11-4:3:14",
   348                    "value": [
   349                      {
   350                        "string": "x 5",
   351                        "raw_string": "x 5"
   352                      }
   353                    ]
   354                  }
   355                }
   356              ]
   357            },
   358            "key_path_index": 0,
   359            "map_key_edge_index": -1
   360          }
   361        ],
   362        "attributes": {
   363          "label": {
   364            "value": "x 5"
   365          },
   366          "labelDimensions": {
   367            "width": 0,
   368            "height": 0
   369          },
   370          "style": {},
   371          "near_key": null,
   372          "shape": {
   373            "value": "rectangle"
   374          },
   375          "direction": {
   376            "value": ""
   377          },
   378          "constraint": null
   379        },
   380        "zIndex": 0
   381      },
   382      {
   383        "id": "x 4",
   384        "id_val": "x 4",
   385        "references": [
   386          {
   387            "key": {
   388              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,6:0:16-6:3:19",
   389              "path": [
   390                {
   391                  "unquoted_string": {
   392                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,6:0:16-6:3:19",
   393                    "value": [
   394                      {
   395                        "string": "x 4",
   396                        "raw_string": "x 4"
   397                      }
   398                    ]
   399                  }
   400                }
   401              ]
   402            },
   403            "key_path_index": 0,
   404            "map_key_edge_index": -1
   405          }
   406        ],
   407        "attributes": {
   408          "label": {
   409            "value": "x 4"
   410          },
   411          "labelDimensions": {
   412            "width": 0,
   413            "height": 0
   414          },
   415          "style": {},
   416          "near_key": null,
   417          "shape": {
   418            "value": "rectangle"
   419          },
   420          "direction": {
   421            "value": ""
   422          },
   423          "constraint": null
   424        },
   425        "zIndex": 0
   426      },
   427      {
   428        "id": "y",
   429        "id_val": "y",
   430        "references": [
   431          {
   432            "key": {
   433              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,7:0:20-7:1:21",
   434              "path": [
   435                {
   436                  "unquoted_string": {
   437                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,7:0:20-7:1:21",
   438                    "value": [
   439                      {
   440                        "string": "y",
   441                        "raw_string": "y"
   442                      }
   443                    ]
   444                  }
   445                }
   446              ]
   447            },
   448            "key_path_index": 0,
   449            "map_key_edge_index": -1
   450          }
   451        ],
   452        "attributes": {
   453          "label": {
   454            "value": "y"
   455          },
   456          "labelDimensions": {
   457            "width": 0,
   458            "height": 0
   459          },
   460          "style": {},
   461          "near_key": null,
   462          "shape": {
   463            "value": "rectangle"
   464          },
   465          "direction": {
   466            "value": ""
   467          },
   468          "constraint": null
   469        },
   470        "zIndex": 0
   471      },
   472      {
   473        "id": "x 3",
   474        "id_val": "x 3",
   475        "references": [
   476          {
   477            "key": {
   478              "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,8:2:27-8:5:30",
   479              "path": [
   480                {
   481                  "unquoted_string": {
   482                    "range": "d2/testdata/d2oracle/TestMove/duplicate_generated.d2,8:2:27-8:5:30",
   483                    "value": [
   484                      {
   485                        "string": "x 3",
   486                        "raw_string": "x 3"
   487                      }
   488                    ]
   489                  }
   490                }
   491              ]
   492            },
   493            "key_path_index": 0,
   494            "map_key_edge_index": -1
   495          }
   496        ],
   497        "attributes": {
   498          "label": {
   499            "value": "x 3"
   500          },
   501          "labelDimensions": {
   502            "width": 0,
   503            "height": 0
   504          },
   505          "style": {},
   506          "near_key": null,
   507          "shape": {
   508            "value": "rectangle"
   509          },
   510          "direction": {
   511            "value": ""
   512          },
   513          "constraint": null
   514        },
   515        "zIndex": 0
   516      }
   517    ]
   518  },
   519  "err": "<nil>"
   520}

View as plain text