d2/testdata/d2ir/TestCompile/fields/quoted.exp.json
2024-11-23 18:40:36 -08:00

898 lines
31 KiB
JSON
Generated

{
"fields": [
{
"name": {
"range": "TestCompile/fields/quoted.d2,0:0:0-0:8:8",
"value": [
{
"string": "my_table",
"raw_string": "my_table"
}
]
},
"composite": {
"fields": [
{
"name": {
"range": "TestCompile/fields/quoted.d2,1:2:14-1:7:19",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
},
"primary": {
"value": {
"range": "TestCompile/fields/quoted.d2,1:9:21-1:18:30",
"value": [
{
"string": "sql_table",
"raw_string": "sql_table"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/fields/quoted.d2,1:2:14-1:7:19",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
},
"key_path": {
"range": "TestCompile/fields/quoted.d2,1:2:14-1:7:19",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,1:2:14-1:7:19",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/fields/quoted.d2,1:2:14-1:18:30",
"key": {
"range": "TestCompile/fields/quoted.d2,1:2:14-1:7:19",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,1:2:14-1:7:19",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,1:9:21-1:18:30",
"value": [
{
"string": "sql_table",
"raw_string": "sql_table"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},
{
"name": {
"range": "TestCompile/fields/quoted.d2,2:2:33-2:7:38",
"value": [
{
"string": "width",
"raw_string": "width"
}
]
},
"primary": {
"value": {
"range": "TestCompile/fields/quoted.d2,2:9:40-2:12:43",
"raw": "200",
"value": "200"
}
},
"references": [
{
"string": {
"range": "TestCompile/fields/quoted.d2,2:2:33-2:7:38",
"value": [
{
"string": "width",
"raw_string": "width"
}
]
},
"key_path": {
"range": "TestCompile/fields/quoted.d2,2:2:33-2:7:38",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,2:2:33-2:7:38",
"value": [
{
"string": "width",
"raw_string": "width"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/fields/quoted.d2,2:2:33-2:12:43",
"key": {
"range": "TestCompile/fields/quoted.d2,2:2:33-2:7:38",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,2:2:33-2:7:38",
"value": [
{
"string": "width",
"raw_string": "width"
}
]
}
}
]
},
"primary": {},
"value": {
"number": {
"range": "TestCompile/fields/quoted.d2,2:9:40-2:12:43",
"raw": "200",
"value": "200"
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},
{
"name": {
"range": "TestCompile/fields/quoted.d2,3:2:46-3:8:52",
"value": [
{
"string": "height",
"raw_string": "height"
}
]
},
"primary": {
"value": {
"range": "TestCompile/fields/quoted.d2,3:10:54-3:13:57",
"raw": "200",
"value": "200"
}
},
"references": [
{
"string": {
"range": "TestCompile/fields/quoted.d2,3:2:46-3:8:52",
"value": [
{
"string": "height",
"raw_string": "height"
}
]
},
"key_path": {
"range": "TestCompile/fields/quoted.d2,3:2:46-3:8:52",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,3:2:46-3:8:52",
"value": [
{
"string": "height",
"raw_string": "height"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/fields/quoted.d2,3:2:46-3:13:57",
"key": {
"range": "TestCompile/fields/quoted.d2,3:2:46-3:8:52",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,3:2:46-3:8:52",
"value": [
{
"string": "height",
"raw_string": "height"
}
]
}
}
]
},
"primary": {},
"value": {
"number": {
"range": "TestCompile/fields/quoted.d2,3:10:54-3:13:57",
"raw": "200",
"value": "200"
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},
{
"name": {
"range": "TestCompile/fields/quoted.d2,4:2:60-4:9:67",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
},
"primary": {
"value": {
"range": "TestCompile/fields/quoted.d2,4:11:69-4:17:75",
"value": [
{
"string": "string",
"raw_string": "string"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/fields/quoted.d2,4:2:60-4:9:67",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
},
"key_path": {
"range": "TestCompile/fields/quoted.d2,4:2:60-4:9:67",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,4:2:60-4:9:67",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/fields/quoted.d2,4:2:60-4:17:75",
"key": {
"range": "TestCompile/fields/quoted.d2,4:2:60-4:9:67",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,4:2:60-4:9:67",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,4:11:69-4:17:75",
"value": [
{
"string": "string",
"raw_string": "string"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},
{
"name": {
"range": "TestCompile/fields/quoted.d2,5:2:78-5:8:84",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
},
"primary": {
"value": {
"range": "TestCompile/fields/quoted.d2,5:10:86-5:16:92",
"value": [
{
"string": "string",
"raw_string": "string"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/fields/quoted.d2,5:2:78-5:8:84",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
},
"key_path": {
"range": "TestCompile/fields/quoted.d2,5:2:78-5:8:84",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,5:2:78-5:8:84",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/fields/quoted.d2,5:2:78-5:16:92",
"key": {
"range": "TestCompile/fields/quoted.d2,5:2:78-5:8:84",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,5:2:78-5:8:84",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,5:10:86-5:16:92",
"value": [
{
"string": "string",
"raw_string": "string"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},
{
"name": {
"range": "TestCompile/fields/quoted.d2,6:2:95-6:9:102",
"value": [
{
"string": "width",
"raw_string": "width"
}
]
},
"primary": {
"value": {
"range": "TestCompile/fields/quoted.d2,6:11:104-6:14:107",
"value": [
{
"string": "int",
"raw_string": "int"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/fields/quoted.d2,6:2:95-6:9:102",
"value": [
{
"string": "width",
"raw_string": "width"
}
]
},
"key_path": {
"range": "TestCompile/fields/quoted.d2,6:2:95-6:9:102",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,6:2:95-6:9:102",
"value": [
{
"string": "width",
"raw_string": "width"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/fields/quoted.d2,6:2:95-6:14:107",
"key": {
"range": "TestCompile/fields/quoted.d2,6:2:95-6:9:102",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,6:2:95-6:9:102",
"value": [
{
"string": "width",
"raw_string": "width"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,6:11:104-6:14:107",
"value": [
{
"string": "int",
"raw_string": "int"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
},
{
"name": {
"range": "TestCompile/fields/quoted.d2,7:2:110-7:10:118",
"value": [
{
"string": "height",
"raw_string": "height"
}
]
},
"primary": {
"value": {
"range": "TestCompile/fields/quoted.d2,7:12:120-7:15:123",
"value": [
{
"string": "int",
"raw_string": "int"
}
]
}
},
"references": [
{
"string": {
"range": "TestCompile/fields/quoted.d2,7:2:110-7:10:118",
"value": [
{
"string": "height",
"raw_string": "height"
}
]
},
"key_path": {
"range": "TestCompile/fields/quoted.d2,7:2:110-7:10:118",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,7:2:110-7:10:118",
"value": [
{
"string": "height",
"raw_string": "height"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/fields/quoted.d2,7:2:110-7:15:123",
"key": {
"range": "TestCompile/fields/quoted.d2,7:2:110-7:10:118",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,7:2:110-7:10:118",
"value": [
{
"string": "height",
"raw_string": "height"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,7:12:120-7:15:123",
"value": [
{
"string": "int",
"raw_string": "int"
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
}
],
"edges": null
},
"references": [
{
"string": {
"range": "TestCompile/fields/quoted.d2,0:0:0-0:8:8",
"value": [
{
"string": "my_table",
"raw_string": "my_table"
}
]
},
"key_path": {
"range": "TestCompile/fields/quoted.d2,0:0:0-0:8:8",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,0:0:0-0:8:8",
"value": [
{
"string": "my_table",
"raw_string": "my_table"
}
]
}
}
]
},
"context": {
"edge": null,
"key": {
"range": "TestCompile/fields/quoted.d2,0:0:0-8:1:125",
"key": {
"range": "TestCompile/fields/quoted.d2,0:0:0-0:8:8",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,0:0:0-0:8:8",
"value": [
{
"string": "my_table",
"raw_string": "my_table"
}
]
}
}
]
},
"primary": {},
"value": {
"map": {
"range": "TestCompile/fields/quoted.d2,0:10:10-8:1:125",
"nodes": [
{
"map_key": {
"range": "TestCompile/fields/quoted.d2,1:2:14-1:18:30",
"key": {
"range": "TestCompile/fields/quoted.d2,1:2:14-1:7:19",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,1:2:14-1:7:19",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,1:9:21-1:18:30",
"value": [
{
"string": "sql_table",
"raw_string": "sql_table"
}
]
}
}
}
},
{
"map_key": {
"range": "TestCompile/fields/quoted.d2,2:2:33-2:12:43",
"key": {
"range": "TestCompile/fields/quoted.d2,2:2:33-2:7:38",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,2:2:33-2:7:38",
"value": [
{
"string": "width",
"raw_string": "width"
}
]
}
}
]
},
"primary": {},
"value": {
"number": {
"range": "TestCompile/fields/quoted.d2,2:9:40-2:12:43",
"raw": "200",
"value": "200"
}
}
}
},
{
"map_key": {
"range": "TestCompile/fields/quoted.d2,3:2:46-3:13:57",
"key": {
"range": "TestCompile/fields/quoted.d2,3:2:46-3:8:52",
"path": [
{
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,3:2:46-3:8:52",
"value": [
{
"string": "height",
"raw_string": "height"
}
]
}
}
]
},
"primary": {},
"value": {
"number": {
"range": "TestCompile/fields/quoted.d2,3:10:54-3:13:57",
"raw": "200",
"value": "200"
}
}
}
},
{
"map_key": {
"range": "TestCompile/fields/quoted.d2,4:2:60-4:17:75",
"key": {
"range": "TestCompile/fields/quoted.d2,4:2:60-4:9:67",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,4:2:60-4:9:67",
"value": [
{
"string": "shape",
"raw_string": "shape"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,4:11:69-4:17:75",
"value": [
{
"string": "string",
"raw_string": "string"
}
]
}
}
}
},
{
"map_key": {
"range": "TestCompile/fields/quoted.d2,5:2:78-5:16:92",
"key": {
"range": "TestCompile/fields/quoted.d2,5:2:78-5:8:84",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,5:2:78-5:8:84",
"value": [
{
"string": "icon",
"raw_string": "icon"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,5:10:86-5:16:92",
"value": [
{
"string": "string",
"raw_string": "string"
}
]
}
}
}
},
{
"map_key": {
"range": "TestCompile/fields/quoted.d2,6:2:95-6:14:107",
"key": {
"range": "TestCompile/fields/quoted.d2,6:2:95-6:9:102",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,6:2:95-6:9:102",
"value": [
{
"string": "width",
"raw_string": "width"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,6:11:104-6:14:107",
"value": [
{
"string": "int",
"raw_string": "int"
}
]
}
}
}
},
{
"map_key": {
"range": "TestCompile/fields/quoted.d2,7:2:110-7:15:123",
"key": {
"range": "TestCompile/fields/quoted.d2,7:2:110-7:10:118",
"path": [
{
"double_quoted_string": {
"range": "TestCompile/fields/quoted.d2,7:2:110-7:10:118",
"value": [
{
"string": "height",
"raw_string": "height"
}
]
}
}
]
},
"primary": {},
"value": {
"unquoted_string": {
"range": "TestCompile/fields/quoted.d2,7:12:120-7:15:123",
"value": [
{
"string": "int",
"raw_string": "int"
}
]
}
}
}
}
]
}
}
}
},
"due_to_glob": false,
"due_to_lazy_glob": false
}
]
}
],
"edges": null
}