{
  "graph": {
    "name": "",
    "isFolderOnly": false,
    "ast": {
      "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,0:0:0-8:0:94",
      "nodes": [
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,0:0:0-5:1:81",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,0:0:0-0:1:1",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,0:0:0-0:1:1",
                    "value": [
                      {
                        "string": "x",
                        "raw_string": "x"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "map": {
                "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,0:3:3-5:1:81",
                "nodes": [
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,1:2:7-1:14:19",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,1:2:7-1:6:11",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,1:2:7-1:6:11",
                              "value": [
                                {
                                  "string": "icon",
                                  "raw_string": "icon"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,1:8:13-1:14:19",
                          "value": [
                            {
                              "string": "orange",
                              "raw_string": "orange"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,2:2:22-2:20:40",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,2:2:22-2:15:35",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,2:2:22-2:7:27",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,2:8:28-2:15:35",
                              "value": [
                                {
                                  "string": "opacity",
                                  "raw_string": "opacity"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "number": {
                          "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,2:17:37-2:20:40",
                          "raw": "0.5",
                          "value": "1/2"
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,3:2:43-3:19:60",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,3:2:43-3:14:55",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,3:2:43-3:7:48",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,3:8:49-3:14:55",
                              "value": [
                                {
                                  "string": "stroke",
                                  "raw_string": "stroke"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,3:16:57-3:19:60",
                          "value": [
                            {
                              "string": "red",
                              "raw_string": "red"
                            }
                          ]
                        }
                      }
                    }
                  },
                  {
                    "map_key": {
                      "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,4:1:62-4:18:79",
                      "key": {
                        "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,4:1:62-4:11:72",
                        "path": [
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,4:1:62-4:6:67",
                              "value": [
                                {
                                  "string": "style",
                                  "raw_string": "style"
                                }
                              ]
                            }
                          },
                          {
                            "unquoted_string": {
                              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,4:7:68-4:11:72",
                              "value": [
                                {
                                  "string": "fill",
                                  "raw_string": "fill"
                                }
                              ]
                            }
                          }
                        ]
                      },
                      "primary": {},
                      "value": {
                        "unquoted_string": {
                          "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,4:13:74-4:18:79",
                          "value": [
                            {
                              "string": "green",
                              "raw_string": "green"
                            }
                          ]
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,6:0:82-6:9:91",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,6:0:82-6:6:88",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,6:0:82-6:1:83",
                    "value": [
                      {
                        "string": "x",
                        "raw_string": "x"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,6:2:84-6:6:88",
                    "value": [
                      {
                        "string": "near",
                        "raw_string": "near"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {
              "unquoted_string": {
                "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,6:8:90-6:9:91",
                "value": [
                  {
                    "string": "y",
                    "raw_string": "y"
                  }
                ]
              }
            }
          }
        },
        {
          "map_key": {
            "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,7:0:92-7:1:93",
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,7:0:92-7:1:93",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,7:0:92-7:1:93",
                    "value": [
                      {
                        "string": "y",
                        "raw_string": "y"
                      }
                    ]
                  }
                }
              ]
            },
            "primary": {},
            "value": {}
          }
        }
      ]
    },
    "root": {
      "id": "",
      "id_val": "",
      "attributes": {
        "label": {
          "value": ""
        },
        "labelDimensions": {
          "width": 0,
          "height": 0
        },
        "style": {},
        "iconStyle": {},
        "near_key": null,
        "shape": {
          "value": ""
        },
        "direction": {
          "value": ""
        },
        "constraint": null
      },
      "zIndex": 0
    },
    "edges": null,
    "objects": [
      {
        "id": "x",
        "id_val": "x",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,0:0:0-0:1:1",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,0:0:0-0:1:1",
                    "value": [
                      {
                        "string": "x",
                        "raw_string": "x"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          },
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,6:0:82-6:6:88",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,6:0:82-6:1:83",
                    "value": [
                      {
                        "string": "x",
                        "raw_string": "x"
                      }
                    ]
                  }
                },
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,6:2:84-6:6:88",
                    "value": [
                      {
                        "string": "near",
                        "raw_string": "near"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          }
        ],
        "attributes": {
          "label": {
            "value": "x"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {
            "opacity": {
              "value": "0.5"
            },
            "stroke": {
              "value": "red"
            },
            "fill": {
              "value": "green"
            }
          },
          "icon": {
            "Scheme": "",
            "Opaque": "",
            "User": null,
            "Host": "",
            "Path": "orange",
            "RawPath": "",
            "OmitHost": false,
            "ForceQuery": false,
            "RawQuery": "",
            "Fragment": "",
            "RawFragment": ""
          },
          "iconStyle": {},
          "near_key": {
            "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,6:8:90-6:9:91",
            "path": [
              {
                "unquoted_string": {
                  "range": ",0:0:0-0:1:1",
                  "value": [
                    {
                      "string": "y",
                      "raw_string": "y"
                    }
                  ]
                }
              }
            ]
          },
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      },
      {
        "id": "y",
        "id_val": "y",
        "references": [
          {
            "key": {
              "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,7:0:92-7:1:93",
              "path": [
                {
                  "unquoted_string": {
                    "range": "d2/testdata/d2compiler/TestCompile/reserved_icon_near_style.d2,7:0:92-7:1:93",
                    "value": [
                      {
                        "string": "y",
                        "raw_string": "y"
                      }
                    ]
                  }
                }
              ]
            },
            "key_path_index": 0,
            "map_key_edge_index": -1
          }
        ],
        "attributes": {
          "label": {
            "value": "y"
          },
          "labelDimensions": {
            "width": 0,
            "height": 0
          },
          "style": {},
          "iconStyle": {},
          "near_key": null,
          "shape": {
            "value": "rectangle"
          },
          "direction": {
            "value": ""
          },
          "constraint": null
        },
        "zIndex": 0
      }
    ]
  },
  "err": null
}
