...

Text file src/oss.terrastruct.com/d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.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_non_conflict.d2,0:0:0-5:0:21",
     7      "nodes": [
     8        {
     9          "map_key": {
    10            "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,0:0:0-3:1:18",
    11            "key": {
    12              "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,0:0:0-0:1:1",
    13              "path": [
    14                {
    15                  "unquoted_string": {
    16                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,0:0:0-0:1:1",
    17                    "value": [
    18                      {
    19                        "string": "z",
    20                        "raw_string": "z"
    21                      }
    22                    ]
    23                  }
    24                }
    25              ]
    26            },
    27            "primary": {},
    28            "value": {
    29              "map": {
    30                "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,0:3:3-3:1:18",
    31                "nodes": [
    32                  {
    33                    "map_key": {
    34                      "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,1:2:7-1:3:8",
    35                      "key": {
    36                        "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,1:2:7-1:3:8",
    37                        "path": [
    38                          {
    39                            "unquoted_string": {
    40                              "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,1:2:7-1:3:8",
    41                              "value": [
    42                                {
    43                                  "string": "x",
    44                                  "raw_string": "x"
    45                                }
    46                              ]
    47                            }
    48                          }
    49                        ]
    50                      },
    51                      "primary": {},
    52                      "value": {}
    53                    }
    54                  },
    55                  {
    56                    "map_key": {
    57                      "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,2:2:11-2:7:16",
    58                      "key": {
    59                        "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,2:2:11-2:7:16",
    60                        "path": [
    61                          {
    62                            "unquoted_string": {
    63                              "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,2:2:11-2:5:14",
    64                              "value": [
    65                                {
    66                                  "string": "x 2",
    67                                  "raw_string": "x 2"
    68                                }
    69                              ]
    70                            }
    71                          },
    72                          {
    73                            "unquoted_string": {
    74                              "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,2:6:15-2:7:16",
    75                              "value": [
    76                                {
    77                                  "string": "y",
    78                                  "raw_string": "y"
    79                                }
    80                              ]
    81                            }
    82                          }
    83                        ]
    84                      },
    85                      "primary": {},
    86                      "value": {}
    87                    }
    88                  }
    89                ]
    90              }
    91            }
    92          }
    93        },
    94        {
    95          "map_key": {
    96            "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,4:0:19-4:1:20",
    97            "key": {
    98              "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,4:0:19-4:1:20",
    99              "path": [
   100                {
   101                  "unquoted_string": {
   102                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,4:0:19-4:1:20",
   103                    "value": [
   104                      {
   105                        "string": "y",
   106                        "raw_string": "y"
   107                      }
   108                    ]
   109                  }
   110                }
   111              ]
   112            },
   113            "primary": {},
   114            "value": {}
   115          }
   116        }
   117      ]
   118    },
   119    "root": {
   120      "id": "",
   121      "id_val": "",
   122      "attributes": {
   123        "label": {
   124          "value": ""
   125        },
   126        "labelDimensions": {
   127          "width": 0,
   128          "height": 0
   129        },
   130        "style": {},
   131        "near_key": null,
   132        "shape": {
   133          "value": ""
   134        },
   135        "direction": {
   136          "value": ""
   137        },
   138        "constraint": null
   139      },
   140      "zIndex": 0
   141    },
   142    "edges": null,
   143    "objects": [
   144      {
   145        "id": "z",
   146        "id_val": "z",
   147        "references": [
   148          {
   149            "key": {
   150              "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,0:0:0-0:1:1",
   151              "path": [
   152                {
   153                  "unquoted_string": {
   154                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,0:0:0-0:1:1",
   155                    "value": [
   156                      {
   157                        "string": "z",
   158                        "raw_string": "z"
   159                      }
   160                    ]
   161                  }
   162                }
   163              ]
   164            },
   165            "key_path_index": 0,
   166            "map_key_edge_index": -1
   167          }
   168        ],
   169        "attributes": {
   170          "label": {
   171            "value": "z"
   172          },
   173          "labelDimensions": {
   174            "width": 0,
   175            "height": 0
   176          },
   177          "style": {},
   178          "near_key": null,
   179          "shape": {
   180            "value": "rectangle"
   181          },
   182          "direction": {
   183            "value": ""
   184          },
   185          "constraint": null
   186        },
   187        "zIndex": 0
   188      },
   189      {
   190        "id": "x",
   191        "id_val": "x",
   192        "references": [
   193          {
   194            "key": {
   195              "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,1:2:7-1:3:8",
   196              "path": [
   197                {
   198                  "unquoted_string": {
   199                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,1:2:7-1:3:8",
   200                    "value": [
   201                      {
   202                        "string": "x",
   203                        "raw_string": "x"
   204                      }
   205                    ]
   206                  }
   207                }
   208              ]
   209            },
   210            "key_path_index": 0,
   211            "map_key_edge_index": -1
   212          }
   213        ],
   214        "attributes": {
   215          "label": {
   216            "value": "x"
   217          },
   218          "labelDimensions": {
   219            "width": 0,
   220            "height": 0
   221          },
   222          "style": {},
   223          "near_key": null,
   224          "shape": {
   225            "value": "rectangle"
   226          },
   227          "direction": {
   228            "value": ""
   229          },
   230          "constraint": null
   231        },
   232        "zIndex": 0
   233      },
   234      {
   235        "id": "x 2",
   236        "id_val": "x 2",
   237        "references": [
   238          {
   239            "key": {
   240              "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,2:2:11-2:7:16",
   241              "path": [
   242                {
   243                  "unquoted_string": {
   244                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,2:2:11-2:5:14",
   245                    "value": [
   246                      {
   247                        "string": "x 2",
   248                        "raw_string": "x 2"
   249                      }
   250                    ]
   251                  }
   252                },
   253                {
   254                  "unquoted_string": {
   255                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,2:6:15-2:7:16",
   256                    "value": [
   257                      {
   258                        "string": "y",
   259                        "raw_string": "y"
   260                      }
   261                    ]
   262                  }
   263                }
   264              ]
   265            },
   266            "key_path_index": 0,
   267            "map_key_edge_index": -1
   268          }
   269        ],
   270        "attributes": {
   271          "label": {
   272            "value": "x 2"
   273          },
   274          "labelDimensions": {
   275            "width": 0,
   276            "height": 0
   277          },
   278          "style": {},
   279          "near_key": null,
   280          "shape": {
   281            "value": "rectangle"
   282          },
   283          "direction": {
   284            "value": ""
   285          },
   286          "constraint": null
   287        },
   288        "zIndex": 0
   289      },
   290      {
   291        "id": "y",
   292        "id_val": "y",
   293        "references": [
   294          {
   295            "key": {
   296              "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,2:2:11-2:7:16",
   297              "path": [
   298                {
   299                  "unquoted_string": {
   300                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,2:2:11-2:5:14",
   301                    "value": [
   302                      {
   303                        "string": "x 2",
   304                        "raw_string": "x 2"
   305                      }
   306                    ]
   307                  }
   308                },
   309                {
   310                  "unquoted_string": {
   311                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,2:6:15-2:7:16",
   312                    "value": [
   313                      {
   314                        "string": "y",
   315                        "raw_string": "y"
   316                      }
   317                    ]
   318                  }
   319                }
   320              ]
   321            },
   322            "key_path_index": 1,
   323            "map_key_edge_index": -1
   324          }
   325        ],
   326        "attributes": {
   327          "label": {
   328            "value": "y"
   329          },
   330          "labelDimensions": {
   331            "width": 0,
   332            "height": 0
   333          },
   334          "style": {},
   335          "near_key": null,
   336          "shape": {
   337            "value": "rectangle"
   338          },
   339          "direction": {
   340            "value": ""
   341          },
   342          "constraint": null
   343        },
   344        "zIndex": 0
   345      },
   346      {
   347        "id": "y",
   348        "id_val": "y",
   349        "references": [
   350          {
   351            "key": {
   352              "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,4:0:19-4:1:20",
   353              "path": [
   354                {
   355                  "unquoted_string": {
   356                    "range": "d2/testdata/d2oracle/TestMove/include_descendants_non_conflict.d2,4:0:19-4:1:20",
   357                    "value": [
   358                      {
   359                        "string": "y",
   360                        "raw_string": "y"
   361                      }
   362                    ]
   363                  }
   364                }
   365              ]
   366            },
   367            "key_path_index": 0,
   368            "map_key_edge_index": -1
   369          }
   370        ],
   371        "attributes": {
   372          "label": {
   373            "value": "y"
   374          },
   375          "labelDimensions": {
   376            "width": 0,
   377            "height": 0
   378          },
   379          "style": {},
   380          "near_key": null,
   381          "shape": {
   382            "value": "rectangle"
   383          },
   384          "direction": {
   385            "value": ""
   386          },
   387          "constraint": null
   388        },
   389        "zIndex": 0
   390      }
   391    ]
   392  },
   393  "err": "<nil>"
   394}

View as plain text