...

Text file src/oss.terrastruct.com/d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.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_underscore_3.d2,0:0:0-5:0:39",
     7      "nodes": [
     8        {
     9          "map_key": {
    10            "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,0:0:0-0:1:1",
    11            "key": {
    12              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,0:0:0-0:1:1",
    13              "path": [
    14                {
    15                  "unquoted_string": {
    16                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,0:0:0-0:1:1",
    17                    "value": [
    18                      {
    19                        "string": "a",
    20                        "raw_string": "a"
    21                      }
    22                    ]
    23                  }
    24                }
    25              ]
    26            },
    27            "primary": {},
    28            "value": {}
    29          }
    30        },
    31        {
    32          "map_key": {
    33            "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,1:0:2-4:1:38",
    34            "key": {
    35              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,1:0:2-1:1:3",
    36              "path": [
    37                {
    38                  "unquoted_string": {
    39                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,1:0:2-1:1:3",
    40                    "value": [
    41                      {
    42                        "string": "b",
    43                        "raw_string": "b"
    44                      }
    45                    ]
    46                  }
    47                }
    48              ]
    49            },
    50            "primary": {},
    51            "value": {
    52              "map": {
    53                "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,1:3:5-4:1:38",
    54                "nodes": [
    55                  {
    56                    "map_key": {
    57                      "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:2:9-2:12:19",
    58                      "edges": [
    59                        {
    60                          "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:2:9-2:12:19",
    61                          "src": {
    62                            "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:2:9-2:7:14",
    63                            "path": [
    64                              {
    65                                "unquoted_string": {
    66                                  "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:2:9-2:3:10",
    67                                  "value": [
    68                                    {
    69                                      "string": "_",
    70                                      "raw_string": "_"
    71                                    }
    72                                  ]
    73                                }
    74                              },
    75                              {
    76                                "unquoted_string": {
    77                                  "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:4:11-2:5:12",
    78                                  "value": [
    79                                    {
    80                                      "string": "a",
    81                                      "raw_string": "a"
    82                                    }
    83                                  ]
    84                                }
    85                              },
    86                              {
    87                                "unquoted_string": {
    88                                  "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:6:13-2:7:14",
    89                                  "value": [
    90                                    {
    91                                      "string": "c",
    92                                      "raw_string": "c"
    93                                    }
    94                                  ]
    95                                }
    96                              }
    97                            ]
    98                          },
    99                          "src_arrow": "",
   100                          "dst": {
   101                            "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:11:18-2:12:19",
   102                            "path": [
   103                              {
   104                                "unquoted_string": {
   105                                  "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:11:18-2:12:19",
   106                                  "value": [
   107                                    {
   108                                      "string": "d",
   109                                      "raw_string": "d"
   110                                    }
   111                                  ]
   112                                }
   113                              }
   114                            ]
   115                          },
   116                          "dst_arrow": ">"
   117                        }
   118                      ],
   119                      "primary": {},
   120                      "value": {}
   121                    }
   122                  },
   123                  {
   124                    "map_key": {
   125                      "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:2:22-3:16:36",
   126                      "edges": [
   127                        {
   128                          "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:2:22-3:16:36",
   129                          "src": {
   130                            "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:2:22-3:7:27",
   131                            "path": [
   132                              {
   133                                "unquoted_string": {
   134                                  "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:2:22-3:3:23",
   135                                  "value": [
   136                                    {
   137                                      "string": "_",
   138                                      "raw_string": "_"
   139                                    }
   140                                  ]
   141                                }
   142                              },
   143                              {
   144                                "unquoted_string": {
   145                                  "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:4:24-3:5:25",
   146                                  "value": [
   147                                    {
   148                                      "string": "a",
   149                                      "raw_string": "a"
   150                                    }
   151                                  ]
   152                                }
   153                              },
   154                              {
   155                                "unquoted_string": {
   156                                  "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:6:26-3:7:27",
   157                                  "value": [
   158                                    {
   159                                      "string": "c",
   160                                      "raw_string": "c"
   161                                    }
   162                                  ]
   163                                }
   164                              }
   165                            ]
   166                          },
   167                          "src_arrow": "",
   168                          "dst": {
   169                            "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:11:31-3:16:36",
   170                            "path": [
   171                              {
   172                                "unquoted_string": {
   173                                  "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:11:31-3:12:32",
   174                                  "value": [
   175                                    {
   176                                      "string": "_",
   177                                      "raw_string": "_"
   178                                    }
   179                                  ]
   180                                }
   181                              },
   182                              {
   183                                "unquoted_string": {
   184                                  "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:13:33-3:14:34",
   185                                  "value": [
   186                                    {
   187                                      "string": "a",
   188                                      "raw_string": "a"
   189                                    }
   190                                  ]
   191                                }
   192                              },
   193                              {
   194                                "unquoted_string": {
   195                                  "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:15:35-3:16:36",
   196                                  "value": [
   197                                    {
   198                                      "string": "d",
   199                                      "raw_string": "d"
   200                                    }
   201                                  ]
   202                                }
   203                              }
   204                            ]
   205                          },
   206                          "dst_arrow": ">"
   207                        }
   208                      ],
   209                      "primary": {},
   210                      "value": {}
   211                    }
   212                  }
   213                ]
   214              }
   215            }
   216          }
   217        }
   218      ]
   219    },
   220    "root": {
   221      "id": "",
   222      "id_val": "",
   223      "attributes": {
   224        "label": {
   225          "value": ""
   226        },
   227        "labelDimensions": {
   228          "width": 0,
   229          "height": 0
   230        },
   231        "style": {},
   232        "near_key": null,
   233        "shape": {
   234          "value": ""
   235        },
   236        "direction": {
   237          "value": ""
   238        },
   239        "constraint": null
   240      },
   241      "zIndex": 0
   242    },
   243    "edges": [
   244      {
   245        "index": 0,
   246        "isCurve": false,
   247        "src_arrow": false,
   248        "dst_arrow": true,
   249        "references": [
   250          {
   251            "map_key_edge_index": 0
   252          }
   253        ],
   254        "attributes": {
   255          "label": {
   256            "value": ""
   257          },
   258          "labelDimensions": {
   259            "width": 0,
   260            "height": 0
   261          },
   262          "style": {},
   263          "near_key": null,
   264          "shape": {
   265            "value": ""
   266          },
   267          "direction": {
   268            "value": ""
   269          },
   270          "constraint": null
   271        },
   272        "zIndex": 0
   273      },
   274      {
   275        "index": 0,
   276        "isCurve": false,
   277        "src_arrow": false,
   278        "dst_arrow": true,
   279        "references": [
   280          {
   281            "map_key_edge_index": 0
   282          }
   283        ],
   284        "attributes": {
   285          "label": {
   286            "value": ""
   287          },
   288          "labelDimensions": {
   289            "width": 0,
   290            "height": 0
   291          },
   292          "style": {},
   293          "near_key": null,
   294          "shape": {
   295            "value": ""
   296          },
   297          "direction": {
   298            "value": ""
   299          },
   300          "constraint": null
   301        },
   302        "zIndex": 0
   303      }
   304    ],
   305    "objects": [
   306      {
   307        "id": "a",
   308        "id_val": "a",
   309        "references": [
   310          {
   311            "key": {
   312              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,0:0:0-0:1:1",
   313              "path": [
   314                {
   315                  "unquoted_string": {
   316                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,0:0:0-0:1:1",
   317                    "value": [
   318                      {
   319                        "string": "a",
   320                        "raw_string": "a"
   321                      }
   322                    ]
   323                  }
   324                }
   325              ]
   326            },
   327            "key_path_index": 0,
   328            "map_key_edge_index": -1
   329          },
   330          {
   331            "key": {
   332              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:2:9-2:7:14",
   333              "path": [
   334                {
   335                  "unquoted_string": {
   336                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:2:9-2:3:10",
   337                    "value": [
   338                      {
   339                        "string": "_",
   340                        "raw_string": "_"
   341                      }
   342                    ]
   343                  }
   344                },
   345                {
   346                  "unquoted_string": {
   347                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:4:11-2:5:12",
   348                    "value": [
   349                      {
   350                        "string": "a",
   351                        "raw_string": "a"
   352                      }
   353                    ]
   354                  }
   355                },
   356                {
   357                  "unquoted_string": {
   358                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:6:13-2:7:14",
   359                    "value": [
   360                      {
   361                        "string": "c",
   362                        "raw_string": "c"
   363                      }
   364                    ]
   365                  }
   366                }
   367              ]
   368            },
   369            "key_path_index": 1,
   370            "map_key_edge_index": 0
   371          },
   372          {
   373            "key": {
   374              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:2:22-3:7:27",
   375              "path": [
   376                {
   377                  "unquoted_string": {
   378                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:2:22-3:3:23",
   379                    "value": [
   380                      {
   381                        "string": "_",
   382                        "raw_string": "_"
   383                      }
   384                    ]
   385                  }
   386                },
   387                {
   388                  "unquoted_string": {
   389                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:4:24-3:5:25",
   390                    "value": [
   391                      {
   392                        "string": "a",
   393                        "raw_string": "a"
   394                      }
   395                    ]
   396                  }
   397                },
   398                {
   399                  "unquoted_string": {
   400                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:6:26-3:7:27",
   401                    "value": [
   402                      {
   403                        "string": "c",
   404                        "raw_string": "c"
   405                      }
   406                    ]
   407                  }
   408                }
   409              ]
   410            },
   411            "key_path_index": 1,
   412            "map_key_edge_index": 0
   413          },
   414          {
   415            "key": {
   416              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:11:31-3:16:36",
   417              "path": [
   418                {
   419                  "unquoted_string": {
   420                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:11:31-3:12:32",
   421                    "value": [
   422                      {
   423                        "string": "_",
   424                        "raw_string": "_"
   425                      }
   426                    ]
   427                  }
   428                },
   429                {
   430                  "unquoted_string": {
   431                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:13:33-3:14:34",
   432                    "value": [
   433                      {
   434                        "string": "a",
   435                        "raw_string": "a"
   436                      }
   437                    ]
   438                  }
   439                },
   440                {
   441                  "unquoted_string": {
   442                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:15:35-3:16:36",
   443                    "value": [
   444                      {
   445                        "string": "d",
   446                        "raw_string": "d"
   447                      }
   448                    ]
   449                  }
   450                }
   451              ]
   452            },
   453            "key_path_index": 1,
   454            "map_key_edge_index": 0
   455          }
   456        ],
   457        "attributes": {
   458          "label": {
   459            "value": "a"
   460          },
   461          "labelDimensions": {
   462            "width": 0,
   463            "height": 0
   464          },
   465          "style": {},
   466          "near_key": null,
   467          "shape": {
   468            "value": "rectangle"
   469          },
   470          "direction": {
   471            "value": ""
   472          },
   473          "constraint": null
   474        },
   475        "zIndex": 0
   476      },
   477      {
   478        "id": "b",
   479        "id_val": "b",
   480        "references": [
   481          {
   482            "key": {
   483              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,1:0:2-1:1:3",
   484              "path": [
   485                {
   486                  "unquoted_string": {
   487                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,1:0:2-1:1:3",
   488                    "value": [
   489                      {
   490                        "string": "b",
   491                        "raw_string": "b"
   492                      }
   493                    ]
   494                  }
   495                }
   496              ]
   497            },
   498            "key_path_index": 0,
   499            "map_key_edge_index": -1
   500          }
   501        ],
   502        "attributes": {
   503          "label": {
   504            "value": "b"
   505          },
   506          "labelDimensions": {
   507            "width": 0,
   508            "height": 0
   509          },
   510          "style": {},
   511          "near_key": null,
   512          "shape": {
   513            "value": "rectangle"
   514          },
   515          "direction": {
   516            "value": ""
   517          },
   518          "constraint": null
   519        },
   520        "zIndex": 0
   521      },
   522      {
   523        "id": "c",
   524        "id_val": "c",
   525        "references": [
   526          {
   527            "key": {
   528              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:2:9-2:7:14",
   529              "path": [
   530                {
   531                  "unquoted_string": {
   532                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:2:9-2:3:10",
   533                    "value": [
   534                      {
   535                        "string": "_",
   536                        "raw_string": "_"
   537                      }
   538                    ]
   539                  }
   540                },
   541                {
   542                  "unquoted_string": {
   543                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:4:11-2:5:12",
   544                    "value": [
   545                      {
   546                        "string": "a",
   547                        "raw_string": "a"
   548                      }
   549                    ]
   550                  }
   551                },
   552                {
   553                  "unquoted_string": {
   554                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:6:13-2:7:14",
   555                    "value": [
   556                      {
   557                        "string": "c",
   558                        "raw_string": "c"
   559                      }
   560                    ]
   561                  }
   562                }
   563              ]
   564            },
   565            "key_path_index": 2,
   566            "map_key_edge_index": 0
   567          },
   568          {
   569            "key": {
   570              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:2:22-3:7:27",
   571              "path": [
   572                {
   573                  "unquoted_string": {
   574                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:2:22-3:3:23",
   575                    "value": [
   576                      {
   577                        "string": "_",
   578                        "raw_string": "_"
   579                      }
   580                    ]
   581                  }
   582                },
   583                {
   584                  "unquoted_string": {
   585                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:4:24-3:5:25",
   586                    "value": [
   587                      {
   588                        "string": "a",
   589                        "raw_string": "a"
   590                      }
   591                    ]
   592                  }
   593                },
   594                {
   595                  "unquoted_string": {
   596                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:6:26-3:7:27",
   597                    "value": [
   598                      {
   599                        "string": "c",
   600                        "raw_string": "c"
   601                      }
   602                    ]
   603                  }
   604                }
   605              ]
   606            },
   607            "key_path_index": 2,
   608            "map_key_edge_index": 0
   609          }
   610        ],
   611        "attributes": {
   612          "label": {
   613            "value": "c"
   614          },
   615          "labelDimensions": {
   616            "width": 0,
   617            "height": 0
   618          },
   619          "style": {},
   620          "near_key": null,
   621          "shape": {
   622            "value": "rectangle"
   623          },
   624          "direction": {
   625            "value": ""
   626          },
   627          "constraint": null
   628        },
   629        "zIndex": 0
   630      },
   631      {
   632        "id": "d",
   633        "id_val": "d",
   634        "references": [
   635          {
   636            "key": {
   637              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:11:18-2:12:19",
   638              "path": [
   639                {
   640                  "unquoted_string": {
   641                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,2:11:18-2:12:19",
   642                    "value": [
   643                      {
   644                        "string": "d",
   645                        "raw_string": "d"
   646                      }
   647                    ]
   648                  }
   649                }
   650              ]
   651            },
   652            "key_path_index": 0,
   653            "map_key_edge_index": 0
   654          }
   655        ],
   656        "attributes": {
   657          "label": {
   658            "value": "d"
   659          },
   660          "labelDimensions": {
   661            "width": 0,
   662            "height": 0
   663          },
   664          "style": {},
   665          "near_key": null,
   666          "shape": {
   667            "value": "rectangle"
   668          },
   669          "direction": {
   670            "value": ""
   671          },
   672          "constraint": null
   673        },
   674        "zIndex": 0
   675      },
   676      {
   677        "id": "d",
   678        "id_val": "d",
   679        "references": [
   680          {
   681            "key": {
   682              "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:11:31-3:16:36",
   683              "path": [
   684                {
   685                  "unquoted_string": {
   686                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:11:31-3:12:32",
   687                    "value": [
   688                      {
   689                        "string": "_",
   690                        "raw_string": "_"
   691                      }
   692                    ]
   693                  }
   694                },
   695                {
   696                  "unquoted_string": {
   697                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:13:33-3:14:34",
   698                    "value": [
   699                      {
   700                        "string": "a",
   701                        "raw_string": "a"
   702                      }
   703                    ]
   704                  }
   705                },
   706                {
   707                  "unquoted_string": {
   708                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_underscore_3.d2,3:15:35-3:16:36",
   709                    "value": [
   710                      {
   711                        "string": "d",
   712                        "raw_string": "d"
   713                      }
   714                    ]
   715                  }
   716                }
   717              ]
   718            },
   719            "key_path_index": 2,
   720            "map_key_edge_index": 0
   721          }
   722        ],
   723        "attributes": {
   724          "label": {
   725            "value": "d"
   726          },
   727          "labelDimensions": {
   728            "width": 0,
   729            "height": 0
   730          },
   731          "style": {},
   732          "near_key": null,
   733          "shape": {
   734            "value": "rectangle"
   735          },
   736          "direction": {
   737            "value": ""
   738          },
   739          "constraint": null
   740        },
   741        "zIndex": 0
   742      }
   743    ]
   744  },
   745  "err": "<nil>"
   746}

View as plain text