Various hover improvements (#5617)

* Show more info on hover for variables

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Move hover impls to lsp module

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Make hover work on names inside calls, fix doc line breaking, trim docs in tool tips

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Test the new hovers; fix signature syntax

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* Hover tips for kwargs

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-03-04 22:53:31 +13:00
committed by GitHub
parent 6e57a80c13
commit df278c7e6a
200 changed files with 7888 additions and 4459 deletions

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing angled_line.kcl
---
{
@ -93,8 +93,10 @@ description: Result of parsing angled_line.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 81,
"name": "end",
"start": 78,
"type": "Identifier"
},
"arg": {
"elements": [
@ -145,8 +147,10 @@ description: Result of parsing angled_line.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 111,
"name": "end",
"start": 108,
"type": "Identifier"
},
"arg": {
"elements": [
@ -189,8 +193,10 @@ description: Result of parsing angled_line.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 132,
"name": "tag",
"start": 129,
"type": "Identifier"
},
"arg": {
"end": 141,
@ -218,8 +224,10 @@ description: Result of parsing angled_line.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 156,
"name": "end",
"start": 153,
"type": "Identifier"
},
"arg": {
"elements": [
@ -344,8 +352,10 @@ description: Result of parsing angled_line.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 231,
"name": "end",
"start": 228,
"type": "Identifier"
},
"arg": {
"elements": [
@ -423,8 +433,10 @@ description: Result of parsing angled_line.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 284,
"name": "length",
"start": 278,
"type": "Identifier"
},
"arg": {
"end": 288,

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing artifact_graph_example_code1.kcl
snapshot_kind: text
---
{
"Ok": {
@ -108,8 +107,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 78,
"name": "end",
"start": 75,
"type": "Identifier"
},
"arg": {
"elements": [
@ -160,8 +161,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 103,
"name": "end",
"start": 100,
"type": "Identifier"
},
"arg": {
"elements": [
@ -197,8 +200,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 121,
"name": "tag",
"start": 118,
"type": "Identifier"
},
"arg": {
"end": 130,
@ -226,8 +231,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 145,
"name": "end",
"start": 142,
"type": "Identifier"
},
"arg": {
"elements": [
@ -270,8 +277,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 161,
"name": "tag",
"start": 158,
"type": "Identifier"
},
"arg": {
"end": 170,
@ -299,8 +308,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 193,
"name": "endAbsolute",
"start": 182,
"type": "Identifier"
},
"arg": {
"elements": [
@ -408,8 +419,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 285,
"name": "length",
"start": 279,
"type": "Identifier"
},
"arg": {
"argument": {
@ -454,8 +467,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 311,
"name": "radius",
"start": 305,
"type": "Identifier"
},
"arg": {
"end": 315,
@ -472,8 +487,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 321,
"name": "tags",
"start": 317,
"type": "Identifier"
},
"arg": {
"elements": [
@ -627,8 +644,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 424,
"name": "end",
"start": 421,
"type": "Identifier"
},
"arg": {
"elements": [
@ -679,8 +698,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 448,
"name": "end",
"start": 445,
"type": "Identifier"
},
"arg": {
"elements": [
@ -738,8 +759,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 481,
"name": "endAbsolute",
"start": 470,
"type": "Identifier"
},
"arg": {
"elements": [
@ -845,8 +868,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 573,
"name": "length",
"start": 567,
"type": "Identifier"
},
"arg": {
"end": 577,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing artifact_graph_example_code_no_3d.kcl
---
{
@ -319,8 +319,10 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 375,
"name": "endAbsolute",
"start": 364,
"type": "Identifier"
},
"arg": {
"elements": [
@ -500,8 +502,10 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 510,
"name": "end",
"start": 507,
"type": "Identifier"
},
"arg": {
"elements": [

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing artifact_graph_example_code_offset_planes.kcl
snapshot_kind: text
---
{
"Ok": {
@ -20,8 +19,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "offset"
"end": 41,
"name": "offset",
"start": 35,
"type": "Identifier"
},
"arg": {
"end": 46,
@ -78,8 +79,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "offset"
"end": 89,
"name": "offset",
"start": 83,
"type": "Identifier"
},
"arg": {
"argument": {
@ -143,8 +146,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "offset"
"end": 138,
"name": "offset",
"start": 132,
"type": "Identifier"
},
"arg": {
"end": 143,
@ -274,8 +279,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 232,
"name": "end",
"start": 229,
"type": "Identifier"
},
"arg": {
"elements": [

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
---
{
@ -93,8 +93,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 76,
"name": "end",
"start": 73,
"type": "Identifier"
},
"arg": {
"elements": [
@ -145,8 +147,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 100,
"name": "end",
"start": 97,
"type": "Identifier"
},
"arg": {
"elements": [
@ -189,8 +193,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 115,
"name": "tag",
"start": 112,
"type": "Identifier"
},
"arg": {
"end": 124,
@ -218,8 +224,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 147,
"name": "endAbsolute",
"start": 136,
"type": "Identifier"
},
"arg": {
"elements": [
@ -325,8 +333,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 239,
"name": "length",
"start": 233,
"type": "Identifier"
},
"arg": {
"end": 243,
@ -469,8 +479,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 339,
"name": "end",
"start": 336,
"type": "Identifier"
},
"arg": {
"elements": [
@ -521,8 +533,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 363,
"name": "end",
"start": 360,
"type": "Identifier"
},
"arg": {
"elements": [
@ -580,8 +594,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 396,
"name": "endAbsolute",
"start": 385,
"type": "Identifier"
},
"arg": {
"elements": [
@ -687,8 +703,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 488,
"name": "length",
"start": 482,
"type": "Identifier"
},
"arg": {
"end": 492,
@ -825,8 +843,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 585,
"name": "end",
"start": 582,
"type": "Identifier"
},
"arg": {
"elements": [
@ -862,8 +882,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 601,
"name": "tag",
"start": 598,
"type": "Identifier"
},
"arg": {
"end": 610,
@ -891,8 +913,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 625,
"name": "end",
"start": 622,
"type": "Identifier"
},
"arg": {
"elements": [
@ -950,8 +974,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 658,
"name": "endAbsolute",
"start": 647,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1057,8 +1083,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 750,
"name": "length",
"start": 744,
"type": "Identifier"
},
"arg": {
"end": 754,
@ -1201,8 +1229,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 847,
"name": "end",
"start": 844,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1253,8 +1283,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 873,
"name": "end",
"start": 870,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1312,8 +1344,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 908,
"name": "endAbsolute",
"start": 897,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1419,8 +1453,10 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 1000,
"name": "length",
"start": 994,
"type": "Identifier"
},
"arg": {
"end": 1004,

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing basic_fillet_cube_close_opposite.kcl
snapshot_kind: text
---
{
"Ok": {
@ -94,8 +93,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 74,
"name": "end",
"start": 71,
"type": "Identifier"
},
"arg": {
"elements": [
@ -131,8 +132,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 89,
"name": "tag",
"start": 86,
"type": "Identifier"
},
"arg": {
"end": 98,
@ -160,8 +163,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 113,
"name": "end",
"start": 110,
"type": "Identifier"
},
"arg": {
"elements": [
@ -212,8 +217,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 138,
"name": "end",
"start": 135,
"type": "Identifier"
},
"arg": {
"elements": [
@ -256,8 +263,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 154,
"name": "tag",
"start": 151,
"type": "Identifier"
},
"arg": {
"end": 164,
@ -285,8 +294,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 180,
"name": "tag",
"start": 177,
"type": "Identifier"
},
"arg": {
"end": 190,
@ -314,8 +325,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 211,
"name": "length",
"start": 205,
"type": "Identifier"
},
"arg": {
"end": 216,
@ -347,8 +360,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 236,
"name": "radius",
"start": 230,
"type": "Identifier"
},
"arg": {
"end": 240,
@ -365,8 +380,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 246,
"name": "tags",
"start": 242,
"type": "Identifier"
},
"arg": {
"elements": [

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing basic_fillet_cube_end.kcl
snapshot_kind: text
---
{
"Ok": {
@ -94,8 +93,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 74,
"name": "end",
"start": 71,
"type": "Identifier"
},
"arg": {
"elements": [
@ -131,8 +132,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 89,
"name": "tag",
"start": 86,
"type": "Identifier"
},
"arg": {
"end": 98,
@ -160,8 +163,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 113,
"name": "end",
"start": 110,
"type": "Identifier"
},
"arg": {
"elements": [
@ -212,8 +217,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 138,
"name": "end",
"start": 135,
"type": "Identifier"
},
"arg": {
"elements": [
@ -256,8 +263,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 154,
"name": "tag",
"start": 151,
"type": "Identifier"
},
"arg": {
"end": 164,
@ -305,8 +314,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 199,
"name": "length",
"start": 193,
"type": "Identifier"
},
"arg": {
"end": 204,
@ -338,8 +349,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 224,
"name": "radius",
"start": 218,
"type": "Identifier"
},
"arg": {
"end": 228,
@ -356,8 +369,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 234,
"name": "tags",
"start": 230,
"type": "Identifier"
},
"arg": {
"elements": [

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing basic_fillet_cube_next_adjacent.kcl
snapshot_kind: text
---
{
"Ok": {
@ -94,8 +93,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 74,
"name": "end",
"start": 71,
"type": "Identifier"
},
"arg": {
"elements": [
@ -131,8 +132,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 89,
"name": "tag",
"start": 86,
"type": "Identifier"
},
"arg": {
"end": 98,
@ -160,8 +163,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 113,
"name": "end",
"start": 110,
"type": "Identifier"
},
"arg": {
"elements": [
@ -197,8 +202,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 128,
"name": "tag",
"start": 125,
"type": "Identifier"
},
"arg": {
"end": 138,
@ -226,8 +233,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 153,
"name": "end",
"start": 150,
"type": "Identifier"
},
"arg": {
"elements": [
@ -270,8 +279,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 169,
"name": "tag",
"start": 166,
"type": "Identifier"
},
"arg": {
"end": 179,
@ -299,8 +310,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 195,
"name": "tag",
"start": 192,
"type": "Identifier"
},
"arg": {
"end": 205,
@ -328,8 +341,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 226,
"name": "length",
"start": 220,
"type": "Identifier"
},
"arg": {
"end": 231,
@ -361,8 +376,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 251,
"name": "radius",
"start": 245,
"type": "Identifier"
},
"arg": {
"end": 255,
@ -379,8 +396,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 261,
"name": "tags",
"start": 257,
"type": "Identifier"
},
"arg": {
"elements": [

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing basic_fillet_cube_previous_adjacent.kcl
snapshot_kind: text
---
{
"Ok": {
@ -94,8 +93,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 74,
"name": "end",
"start": 71,
"type": "Identifier"
},
"arg": {
"elements": [
@ -131,8 +132,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 89,
"name": "tag",
"start": 86,
"type": "Identifier"
},
"arg": {
"end": 98,
@ -160,8 +163,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 113,
"name": "end",
"start": 110,
"type": "Identifier"
},
"arg": {
"elements": [
@ -197,8 +202,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 128,
"name": "tag",
"start": 125,
"type": "Identifier"
},
"arg": {
"end": 138,
@ -226,8 +233,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 153,
"name": "end",
"start": 150,
"type": "Identifier"
},
"arg": {
"elements": [
@ -270,8 +279,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 169,
"name": "tag",
"start": 166,
"type": "Identifier"
},
"arg": {
"end": 179,
@ -299,8 +310,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 195,
"name": "tag",
"start": 192,
"type": "Identifier"
},
"arg": {
"end": 205,
@ -328,8 +341,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 226,
"name": "length",
"start": 220,
"type": "Identifier"
},
"arg": {
"end": 231,
@ -361,8 +376,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 251,
"name": "radius",
"start": 245,
"type": "Identifier"
},
"arg": {
"end": 255,
@ -379,8 +396,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 261,
"name": "tags",
"start": 257,
"type": "Identifier"
},
"arg": {
"elements": [

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing basic_fillet_cube_start.kcl
snapshot_kind: text
---
{
"Ok": {
@ -94,8 +93,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 74,
"name": "end",
"start": 71,
"type": "Identifier"
},
"arg": {
"elements": [
@ -131,8 +132,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 89,
"name": "tag",
"start": 86,
"type": "Identifier"
},
"arg": {
"end": 98,
@ -160,8 +163,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 113,
"name": "end",
"start": 110,
"type": "Identifier"
},
"arg": {
"elements": [
@ -212,8 +217,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 138,
"name": "end",
"start": 135,
"type": "Identifier"
},
"arg": {
"elements": [
@ -256,8 +263,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 154,
"name": "tag",
"start": 151,
"type": "Identifier"
},
"arg": {
"end": 164,
@ -305,8 +314,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 199,
"name": "length",
"start": 193,
"type": "Identifier"
},
"arg": {
"end": 204,
@ -338,8 +349,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 224,
"name": "radius",
"start": 218,
"type": "Identifier"
},
"arg": {
"end": 228,
@ -356,8 +369,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 234,
"name": "tags",
"start": 230,
"type": "Identifier"
},
"arg": {
"elements": [

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing big_number_angle_to_match_length_x.kcl
snapshot_kind: text
---
{
"Ok": {
@ -94,8 +93,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 74,
"name": "end",
"start": 71,
"type": "Identifier"
},
"arg": {
"elements": [
@ -131,8 +132,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 91,
"name": "tag",
"start": 88,
"type": "Identifier"
},
"arg": {
"end": 100,
@ -264,8 +267,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 197,
"name": "length",
"start": 191,
"type": "Identifier"
},
"arg": {
"end": 202,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing big_number_angle_to_match_length_y.kcl
---
{
@ -93,8 +93,10 @@ description: Result of parsing big_number_angle_to_match_length_y.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 74,
"name": "end",
"start": 71,
"type": "Identifier"
},
"arg": {
"elements": [
@ -130,8 +132,10 @@ description: Result of parsing big_number_angle_to_match_length_y.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 91,
"name": "tag",
"start": 88,
"type": "Identifier"
},
"arg": {
"end": 100,
@ -263,8 +267,10 @@ description: Result of parsing big_number_angle_to_match_length_y.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 197,
"name": "length",
"start": 191,
"type": "Identifier"
},
"arg": {
"end": 202,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing circle_three_point.kcl
---
{
@ -43,8 +43,10 @@ description: Result of parsing circle_three_point.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "p1"
"end": 56,
"name": "p1",
"start": 54,
"type": "Identifier"
},
"arg": {
"elements": [
@ -80,8 +82,10 @@ description: Result of parsing circle_three_point.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "p2"
"end": 71,
"name": "p2",
"start": 69,
"type": "Identifier"
},
"arg": {
"elements": [
@ -117,8 +121,10 @@ description: Result of parsing circle_three_point.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "p3"
"end": 86,
"name": "p3",
"start": 84,
"type": "Identifier"
},
"arg": {
"elements": [
@ -169,8 +175,10 @@ description: Result of parsing circle_three_point.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 118,
"name": "length",
"start": 112,
"type": "Identifier"
},
"arg": {
"end": 123,

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing circular_pattern3d_a_pattern.kcl
snapshot_kind: text
---
{
"Ok": {
@ -94,8 +93,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 80,
"name": "end",
"start": 77,
"type": "Identifier"
},
"arg": {
"elements": [
@ -146,8 +147,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 104,
"name": "end",
"start": 101,
"type": "Identifier"
},
"arg": {
"elements": [
@ -198,8 +201,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 128,
"name": "end",
"start": 125,
"type": "Identifier"
},
"arg": {
"elements": [
@ -277,8 +282,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 173,
"name": "length",
"start": 167,
"type": "Identifier"
},
"arg": {
"end": 177,
@ -334,8 +341,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "axis"
"end": 229,
"name": "axis",
"start": 225,
"type": "Identifier"
},
"arg": {
"elements": [
@ -382,8 +391,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "instances"
"end": 254,
"name": "instances",
"start": 245,
"type": "Identifier"
},
"arg": {
"end": 258,
@ -400,8 +411,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "distance"
"end": 270,
"name": "distance",
"start": 262,
"type": "Identifier"
},
"arg": {
"end": 274,
@ -457,8 +470,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "axis"
"end": 323,
"name": "axis",
"start": 319,
"type": "Identifier"
},
"arg": {
"elements": [
@ -505,8 +520,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "center"
"end": 345,
"name": "center",
"start": 339,
"type": "Identifier"
},
"arg": {
"elements": [
@ -574,8 +591,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "instances"
"end": 376,
"name": "instances",
"start": 367,
"type": "Identifier"
},
"arg": {
"end": 381,
@ -592,8 +611,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "arcDegrees"
"end": 395,
"name": "arcDegrees",
"start": 385,
"type": "Identifier"
},
"arg": {
"end": 401,
@ -610,8 +631,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "rotateDuplicates"
"end": 421,
"name": "rotateDuplicates",
"start": 405,
"type": "Identifier"
},
"arg": {
"end": 429,

View File

@ -502,8 +502,10 @@ description: Result of parsing cube.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 255,
"name": "endAbsolute",
"start": 244,
"type": "Identifier"
},
"arg": {
"end": 260,
@ -531,8 +533,10 @@ description: Result of parsing cube.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 285,
"name": "endAbsolute",
"start": 274,
"type": "Identifier"
},
"arg": {
"end": 290,
@ -560,8 +564,10 @@ description: Result of parsing cube.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 315,
"name": "endAbsolute",
"start": 304,
"type": "Identifier"
},
"arg": {
"end": 320,
@ -589,8 +595,10 @@ description: Result of parsing cube.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 345,
"name": "endAbsolute",
"start": 334,
"type": "Identifier"
},
"arg": {
"end": 350,
@ -631,8 +639,10 @@ description: Result of parsing cube.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 388,
"name": "length",
"start": 382,
"type": "Identifier"
},
"arg": {
"end": 401,
@ -733,8 +743,10 @@ description: Result of parsing cube.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "sideLength"
"end": 430,
"name": "sideLength",
"start": 420,
"type": "Identifier"
},
"arg": {
"end": 435,
@ -751,8 +763,10 @@ description: Result of parsing cube.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "center"
"end": 443,
"name": "center",
"start": 437,
"type": "Identifier"
},
"arg": {
"elements": [

View File

@ -502,8 +502,10 @@ description: Result of parsing cube_with_error.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 247,
"name": "endAbsolute",
"start": 236,
"type": "Identifier"
},
"arg": {
"end": 252,
@ -531,8 +533,10 @@ description: Result of parsing cube_with_error.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 277,
"name": "endAbsolute",
"start": 266,
"type": "Identifier"
},
"arg": {
"end": 282,
@ -560,8 +564,10 @@ description: Result of parsing cube_with_error.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 307,
"name": "endAbsolute",
"start": 296,
"type": "Identifier"
},
"arg": {
"end": 312,
@ -589,8 +595,10 @@ description: Result of parsing cube_with_error.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 337,
"name": "endAbsolute",
"start": 326,
"type": "Identifier"
},
"arg": {
"end": 342,
@ -631,8 +639,10 @@ description: Result of parsing cube_with_error.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 380,
"name": "length",
"start": 374,
"type": "Identifier"
},
"arg": {
"end": 389,

View File

@ -672,8 +672,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 510,
"name": "endAbsolute",
"start": 499,
"type": "Identifier"
},
"arg": {
"elements": [
@ -766,8 +768,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 607,
"name": "endAbsolute",
"start": 596,
"type": "Identifier"
},
"arg": {
"elements": [
@ -860,8 +864,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 704,
"name": "endAbsolute",
"start": 693,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1072,8 +1078,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 876,
"name": "endAbsolute",
"start": 865,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1105,8 +1113,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 898,
"name": "tag",
"start": 895,
"type": "Identifier"
},
"arg": {
"end": 907,
@ -1134,8 +1144,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 930,
"name": "endAbsolute",
"start": 919,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1163,8 +1175,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 961,
"name": "tag",
"start": 958,
"type": "Identifier"
},
"arg": {
"end": 970,
@ -1192,8 +1206,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 993,
"name": "endAbsolute",
"start": 982,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1225,8 +1241,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 1016,
"name": "tag",
"start": 1013,
"type": "Identifier"
},
"arg": {
"end": 1025,
@ -1254,8 +1272,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 1041,
"name": "tag",
"start": 1038,
"type": "Identifier"
},
"arg": {
"end": 1050,
@ -1283,8 +1303,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 1071,
"name": "length",
"start": 1065,
"type": "Identifier"
},
"arg": {
"end": 1084,
@ -1312,8 +1334,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 1112,
"name": "radius",
"start": 1106,
"type": "Identifier"
},
"arg": {
"end": 1116,
@ -1330,8 +1354,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 1129,
"name": "tags",
"start": 1125,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1554,8 +1580,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "center"
"end": 1410,
"name": "center",
"start": 1404,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1583,8 +1611,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 1427,
"name": "radius",
"start": 1421,
"type": "Identifier"
},
"arg": {
"end": 1433,
@ -1618,8 +1648,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "center"
"end": 1460,
"name": "center",
"start": 1454,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1647,8 +1679,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 1477,
"name": "radius",
"start": 1471,
"type": "Identifier"
},
"arg": {
"end": 1484,
@ -1698,8 +1732,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 1511,
"name": "length",
"start": 1505,
"type": "Identifier"
},
"arg": {
"end": 1520,
@ -2552,8 +2588,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "faces"
"end": 2073,
"name": "faces",
"start": 2068,
"type": "Identifier"
},
"arg": {
"elements": [
@ -2575,8 +2613,10 @@ description: Result of parsing fillet-and-shell.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "thickness"
"end": 2094,
"name": "thickness",
"start": 2085,
"type": "Identifier"
},
"arg": {
"end": 2110,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing flush_batch_on_end.kcl
---
{
@ -200,8 +200,10 @@ description: Result of parsing flush_batch_on_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "center"
"end": 311,
"name": "center",
"start": 305,
"type": "Identifier"
},
"arg": {
"elements": [
@ -237,8 +239,10 @@ description: Result of parsing flush_batch_on_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 334,
"name": "radius",
"start": 328,
"type": "Identifier"
},
"arg": {
"end": 354,
@ -269,8 +273,10 @@ description: Result of parsing flush_batch_on_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 361,
"name": "tag",
"start": 358,
"type": "Identifier"
},
"arg": {
"end": 371,
@ -322,8 +328,10 @@ description: Result of parsing flush_batch_on_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "center"
"end": 466,
"name": "center",
"start": 460,
"type": "Identifier"
},
"arg": {
"elements": [
@ -359,8 +367,10 @@ description: Result of parsing flush_batch_on_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 489,
"name": "radius",
"start": 483,
"type": "Identifier"
},
"arg": {
"end": 509,
@ -391,8 +401,10 @@ description: Result of parsing flush_batch_on_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 516,
"name": "tag",
"start": 513,
"type": "Identifier"
},
"arg": {
"end": 526,
@ -521,8 +533,10 @@ description: Result of parsing flush_batch_on_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 723,
"name": "length",
"start": 717,
"type": "Identifier"
},
"arg": {
"end": 732,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing function_sketch.kcl
---
{
@ -105,8 +105,10 @@ description: Result of parsing function_sketch.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 96,
"name": "end",
"start": 93,
"type": "Identifier"
},
"arg": {
"elements": [
@ -153,8 +155,10 @@ description: Result of parsing function_sketch.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 122,
"name": "end",
"start": 119,
"type": "Identifier"
},
"arg": {
"elements": [
@ -201,8 +205,10 @@ description: Result of parsing function_sketch.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 148,
"name": "end",
"start": 145,
"type": "Identifier"
},
"arg": {
"elements": [
@ -276,8 +282,10 @@ description: Result of parsing function_sketch.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 197,
"name": "length",
"start": 191,
"type": "Identifier"
},
"arg": {
"end": 201,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing function_sketch_with_position.kcl
---
{
@ -82,8 +82,10 @@ description: Result of parsing function_sketch_with_position.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 94,
"name": "end",
"start": 91,
"type": "Identifier"
},
"arg": {
"elements": [
@ -130,8 +132,10 @@ description: Result of parsing function_sketch_with_position.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 120,
"name": "end",
"start": 117,
"type": "Identifier"
},
"arg": {
"elements": [
@ -178,8 +182,10 @@ description: Result of parsing function_sketch_with_position.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 146,
"name": "end",
"start": 143,
"type": "Identifier"
},
"arg": {
"elements": [
@ -253,8 +259,10 @@ description: Result of parsing function_sketch_with_position.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 195,
"name": "length",
"start": 189,
"type": "Identifier"
},
"arg": {
"end": 199,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing helix_ccw.kcl
---
{
@ -43,8 +43,10 @@ description: Result of parsing helix_ccw.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "center"
"end": 48,
"name": "center",
"start": 42,
"type": "Identifier"
},
"arg": {
"elements": [
@ -80,8 +82,10 @@ description: Result of parsing helix_ccw.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 65,
"name": "radius",
"start": 59,
"type": "Identifier"
},
"arg": {
"end": 70,
@ -113,8 +117,10 @@ description: Result of parsing helix_ccw.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 91,
"name": "length",
"start": 85,
"type": "Identifier"
},
"arg": {
"end": 96,

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing helix_simple.kcl
snapshot_kind: text
---
{
"Ok": {
@ -94,8 +93,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 110,
"name": "end",
"start": 107,
"type": "Identifier"
},
"arg": {
"elements": [
@ -131,8 +132,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 125,
"name": "tag",
"start": 122,
"type": "Identifier"
},
"arg": {
"end": 136,
@ -184,8 +187,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "angleStart"
"end": 170,
"name": "angleStart",
"start": 160,
"type": "Identifier"
},
"arg": {
"end": 174,
@ -202,8 +207,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "ccw"
"end": 181,
"name": "ccw",
"start": 178,
"type": "Identifier"
},
"arg": {
"end": 188,
@ -217,8 +224,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "revolutions"
"end": 203,
"name": "revolutions",
"start": 192,
"type": "Identifier"
},
"arg": {
"end": 207,
@ -235,8 +244,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 217,
"name": "length",
"start": 211,
"type": "Identifier"
},
"arg": {
"end": 222,
@ -253,8 +264,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 232,
"name": "radius",
"start": 226,
"type": "Identifier"
},
"arg": {
"end": 236,
@ -271,8 +284,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "axis"
"end": 244,
"name": "axis",
"start": 240,
"type": "Identifier"
},
"arg": {
"end": 254,

View File

@ -384,8 +384,10 @@ description: Result of parsing i_shape.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 473,
"name": "end",
"start": 470,
"type": "Identifier"
},
"arg": {
"elements": [
@ -2476,8 +2478,10 @@ description: Result of parsing i_shape.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 2434,
"name": "length",
"start": 2428,
"type": "Identifier"
},
"arg": {
"end": 2440,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing import_whole.kcl
---
{
@ -47,8 +47,10 @@ description: Result of parsing import_whole.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "faces"
"end": 94,
"name": "faces",
"start": 89,
"type": "Identifier"
},
"arg": {
"elements": [
@ -70,8 +72,10 @@ description: Result of parsing import_whole.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "thickness"
"end": 115,
"name": "thickness",
"start": 106,
"type": "Identifier"
},
"arg": {
"end": 122,

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing kw_fn.kcl
---
{
@ -213,8 +213,10 @@ description: Result of parsing kw_fn.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "delta"
"end": 118,
"name": "delta",
"start": 113,
"type": "Identifier"
},
"arg": {
"end": 122,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing kw_fn_too_few_args.kcl
---
{
@ -96,8 +96,10 @@ description: Result of parsing kw_fn_too_few_args.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "x"
"end": 46,
"name": "x",
"start": 45,
"type": "Identifier"
},
"arg": {
"end": 50,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing kw_fn_unlabeled_but_has_label.kcl
---
{
@ -92,8 +92,10 @@ description: Result of parsing kw_fn_unlabeled_but_has_label.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "x"
"end": 42,
"name": "x",
"start": 41,
"type": "Identifier"
},
"arg": {
"end": 46,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing kw_fn_with_defaults.kcl
---
{
@ -151,8 +151,10 @@ description: Result of parsing kw_fn_with_defaults.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "by"
"end": 93,
"name": "by",
"start": 91,
"type": "Identifier"
},
"arg": {
"end": 98,

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing linear_pattern3d_a_pattern.kcl
snapshot_kind: text
---
{
"Ok": {
@ -94,8 +93,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 80,
"name": "end",
"start": 77,
"type": "Identifier"
},
"arg": {
"elements": [
@ -146,8 +147,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 104,
"name": "end",
"start": 101,
"type": "Identifier"
},
"arg": {
"elements": [
@ -198,8 +201,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 128,
"name": "end",
"start": 125,
"type": "Identifier"
},
"arg": {
"elements": [
@ -277,8 +282,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 173,
"name": "length",
"start": 167,
"type": "Identifier"
},
"arg": {
"end": 177,
@ -334,8 +341,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "axis"
"end": 229,
"name": "axis",
"start": 225,
"type": "Identifier"
},
"arg": {
"elements": [
@ -382,8 +391,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "instances"
"end": 254,
"name": "instances",
"start": 245,
"type": "Identifier"
},
"arg": {
"end": 258,
@ -400,8 +411,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "distance"
"end": 270,
"name": "distance",
"start": 262,
"type": "Identifier"
},
"arg": {
"end": 274,
@ -457,8 +470,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "axis"
"end": 321,
"name": "axis",
"start": 317,
"type": "Identifier"
},
"arg": {
"elements": [
@ -505,8 +520,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "distance"
"end": 345,
"name": "distance",
"start": 337,
"type": "Identifier"
},
"arg": {
"end": 349,
@ -523,8 +540,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "instances"
"end": 362,
"name": "instances",
"start": 353,
"type": "Identifier"
},
"arg": {
"end": 366,

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing neg_xz_plane.kcl
---
{
@ -93,8 +93,10 @@ description: Result of parsing neg_xz_plane.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 83,
"name": "endAbsolute",
"start": 72,
"type": "Identifier"
},
"arg": {
"elements": [
@ -145,8 +147,10 @@ description: Result of parsing neg_xz_plane.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 119,
"name": "endAbsolute",
"start": 108,
"type": "Identifier"
},
"arg": {
"elements": [
@ -217,8 +221,10 @@ description: Result of parsing neg_xz_plane.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 165,
"name": "length",
"start": 159,
"type": "Identifier"
},
"arg": {
"end": 173,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing parametric.kcl
---
{
@ -409,8 +409,10 @@ description: Result of parsing parametric.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 292,
"name": "end",
"start": 289,
"type": "Identifier"
},
"arg": {
"elements": [
@ -457,8 +459,10 @@ description: Result of parsing parametric.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 319,
"name": "end",
"start": 316,
"type": "Identifier"
},
"arg": {
"elements": [
@ -505,8 +509,10 @@ description: Result of parsing parametric.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 346,
"name": "end",
"start": 343,
"type": "Identifier"
},
"arg": {
"elements": [
@ -560,8 +566,10 @@ description: Result of parsing parametric.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 379,
"name": "end",
"start": 376,
"type": "Identifier"
},
"arg": {
"elements": [
@ -629,8 +637,10 @@ description: Result of parsing parametric.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 419,
"name": "end",
"start": 416,
"type": "Identifier"
},
"arg": {
"elements": [
@ -718,8 +728,10 @@ description: Result of parsing parametric.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 479,
"name": "length",
"start": 473,
"type": "Identifier"
},
"arg": {
"end": 487,

View File

@ -451,8 +451,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 301,
"name": "end",
"start": 298,
"type": "Identifier"
},
"arg": {
"elements": [
@ -567,8 +569,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 391,
"name": "end",
"start": 388,
"type": "Identifier"
},
"arg": {
"elements": [
@ -622,8 +626,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 426,
"name": "end",
"start": 423,
"type": "Identifier"
},
"arg": {
"elements": [
@ -677,8 +683,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 459,
"name": "end",
"start": 456,
"type": "Identifier"
},
"arg": {
"elements": [
@ -814,8 +822,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 582,
"name": "end",
"start": 579,
"type": "Identifier"
},
"arg": {
"elements": [
@ -889,8 +899,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 636,
"name": "length",
"start": 630,
"type": "Identifier"
},
"arg": {
"end": 644,

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing pentagon_fillet_sugar.kcl
snapshot_kind: text
---
{
"Ok": {
@ -523,8 +522,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 393,
"name": "length",
"start": 387,
"type": "Identifier"
},
"arg": {
"end": 410,
@ -862,8 +863,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 626,
"name": "length",
"start": 620,
"type": "Identifier"
},
"arg": {
"end": 639,
@ -891,8 +894,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 667,
"name": "radius",
"start": 661,
"type": "Identifier"
},
"arg": {
"end": 671,
@ -909,8 +914,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 684,
"name": "tags",
"start": 680,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1106,8 +1113,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 826,
"name": "length",
"start": 820,
"type": "Identifier"
},
"arg": {
"end": 839,
@ -1135,8 +1144,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 867,
"name": "radius",
"start": 861,
"type": "Identifier"
},
"arg": {
"end": 871,
@ -1153,8 +1164,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 884,
"name": "tags",
"start": 880,
"type": "Identifier"
},
"arg": {
"elements": [

View File

@ -502,8 +502,10 @@ description: Result of parsing pipe_as_arg.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 247,
"name": "endAbsolute",
"start": 236,
"type": "Identifier"
},
"arg": {
"end": 252,
@ -531,8 +533,10 @@ description: Result of parsing pipe_as_arg.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 277,
"name": "endAbsolute",
"start": 266,
"type": "Identifier"
},
"arg": {
"end": 282,
@ -560,8 +564,10 @@ description: Result of parsing pipe_as_arg.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 307,
"name": "endAbsolute",
"start": 296,
"type": "Identifier"
},
"arg": {
"end": 312,
@ -589,8 +595,10 @@ description: Result of parsing pipe_as_arg.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 337,
"name": "endAbsolute",
"start": 326,
"type": "Identifier"
},
"arg": {
"end": 342,
@ -638,8 +646,10 @@ description: Result of parsing pipe_as_arg.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 381,
"name": "length",
"start": 375,
"type": "Identifier"
},
"arg": {
"end": 390,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing poop_chute.kcl
---
{
@ -2050,8 +2050,10 @@ description: Result of parsing poop_chute.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 1607,
"name": "length",
"start": 1601,
"type": "Identifier"
},
"arg": {
"end": 1630,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing revolve_about_edge.kcl
---
{
@ -193,8 +193,10 @@ description: Result of parsing revolve_about_edge.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "center"
"end": 158,
"name": "center",
"start": 152,
"type": "Identifier"
},
"arg": {
"elements": [
@ -237,8 +239,10 @@ description: Result of parsing revolve_about_edge.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 177,
"name": "radius",
"start": 171,
"type": "Identifier"
},
"arg": {
"end": 182,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing riddle_small.kcl
---
{
@ -426,8 +426,10 @@ description: Result of parsing riddle_small.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 207,
"name": "end",
"start": 204,
"type": "Identifier"
},
"arg": {
"elements": [
@ -478,8 +480,10 @@ description: Result of parsing riddle_small.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 231,
"name": "end",
"start": 228,
"type": "Identifier"
},
"arg": {
"elements": [
@ -537,8 +541,10 @@ description: Result of parsing riddle_small.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 256,
"name": "end",
"start": 253,
"type": "Identifier"
},
"arg": {
"elements": [
@ -616,8 +622,10 @@ description: Result of parsing riddle_small.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 301,
"name": "length",
"start": 295,
"type": "Identifier"
},
"arg": {
"end": 305,

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl
snapshot_kind: text
---
{
"Ok": {
@ -313,8 +312,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 372,
"name": "endAbsolute",
"start": 361,
"type": "Identifier"
},
"arg": {
"elements": [
@ -368,8 +369,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 416,
"name": "tag",
"start": 413,
"type": "Identifier"
},
"arg": {
"end": 425,
@ -460,8 +463,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 479,
"name": "length",
"start": 473,
"type": "Identifier"
},
"arg": {
"end": 485,
@ -499,8 +504,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 505,
"name": "radius",
"start": 499,
"type": "Identifier"
},
"arg": {
"end": 510,
@ -517,8 +524,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 516,
"name": "tags",
"start": 512,
"type": "Identifier"
},
"arg": {
"elements": [
@ -554,8 +563,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 547,
"name": "length",
"start": 541,
"type": "Identifier"
},
"arg": {
"end": 552,
@ -572,8 +583,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 558,
"name": "tags",
"start": 554,
"type": "Identifier"
},
"arg": {
"elements": [
@ -608,8 +621,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 590,
"name": "tag",
"start": 587,
"type": "Identifier"
},
"arg": {
"end": 599,
@ -637,8 +652,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 620,
"name": "length",
"start": 614,
"type": "Identifier"
},
"arg": {
"end": 625,
@ -655,8 +672,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 631,
"name": "tags",
"start": 627,
"type": "Identifier"
},
"arg": {
"elements": [
@ -677,8 +696,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 646,
"name": "tag",
"start": 643,
"type": "Identifier"
},
"arg": {
"end": 655,
@ -1043,8 +1064,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 1051,
"name": "endAbsolute",
"start": 1040,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1463,8 +1486,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 1501,
"name": "endAbsolute",
"start": 1490,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1577,8 +1602,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 1594,
"name": "length",
"start": 1588,
"type": "Identifier"
},
"arg": {
"end": 1599,

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing sketch-on-chamfer-two-times.kcl
snapshot_kind: text
---
{
"Ok": {
@ -313,8 +312,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 372,
"name": "endAbsolute",
"start": 361,
"type": "Identifier"
},
"arg": {
"elements": [
@ -368,8 +369,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 416,
"name": "tag",
"start": 413,
"type": "Identifier"
},
"arg": {
"end": 425,
@ -460,8 +463,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 479,
"name": "length",
"start": 473,
"type": "Identifier"
},
"arg": {
"end": 485,
@ -499,8 +504,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 505,
"name": "radius",
"start": 499,
"type": "Identifier"
},
"arg": {
"end": 510,
@ -517,8 +524,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 516,
"name": "tags",
"start": 512,
"type": "Identifier"
},
"arg": {
"elements": [
@ -554,8 +563,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 547,
"name": "length",
"start": 541,
"type": "Identifier"
},
"arg": {
"end": 552,
@ -572,8 +583,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 558,
"name": "tags",
"start": 554,
"type": "Identifier"
},
"arg": {
"elements": [
@ -594,8 +607,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 573,
"name": "tag",
"start": 570,
"type": "Identifier"
},
"arg": {
"end": 582,
@ -623,8 +638,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 603,
"name": "length",
"start": 597,
"type": "Identifier"
},
"arg": {
"end": 608,
@ -641,8 +658,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 614,
"name": "tags",
"start": 610,
"type": "Identifier"
},
"arg": {
"elements": [
@ -677,8 +696,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 646,
"name": "tag",
"start": 643,
"type": "Identifier"
},
"arg": {
"end": 655,
@ -1043,8 +1064,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 1051,
"name": "endAbsolute",
"start": 1040,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1463,8 +1486,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 1501,
"name": "endAbsolute",
"start": 1490,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1577,8 +1602,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 1594,
"name": "length",
"start": 1588,
"type": "Identifier"
},
"arg": {
"end": 1599,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing sketch_in_object.kcl
---
{
@ -97,8 +97,10 @@ description: Result of parsing sketch_in_object.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 89,
"name": "end",
"start": 86,
"type": "Identifier"
},
"arg": {
"elements": [
@ -149,8 +151,10 @@ description: Result of parsing sketch_in_object.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 115,
"name": "end",
"start": 112,
"type": "Identifier"
},
"arg": {
"elements": [
@ -201,8 +205,10 @@ description: Result of parsing sketch_in_object.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 141,
"name": "end",
"start": 138,
"type": "Identifier"
},
"arg": {
"elements": [
@ -423,8 +429,10 @@ description: Result of parsing sketch_in_object.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 302,
"name": "end",
"start": 299,
"type": "Identifier"
},
"arg": {
"elements": [
@ -475,8 +483,10 @@ description: Result of parsing sketch_in_object.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 332,
"name": "end",
"start": 329,
"type": "Identifier"
},
"arg": {
"elements": [
@ -527,8 +537,10 @@ description: Result of parsing sketch_in_object.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 362,
"name": "end",
"start": 359,
"type": "Identifier"
},
"arg": {
"elements": [
@ -690,8 +702,10 @@ description: Result of parsing sketch_in_object.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 439,
"name": "length",
"start": 433,
"type": "Identifier"
},
"arg": {
"argument": {
@ -810,8 +824,10 @@ description: Result of parsing sketch_in_object.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 497,
"name": "length",
"start": 491,
"type": "Identifier"
},
"arg": {
"end": 502,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing sketch_on_face.kcl
---
{
@ -93,8 +93,10 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 82,
"name": "end",
"start": 79,
"type": "Identifier"
},
"arg": {
"elements": [
@ -137,8 +139,10 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 105,
"name": "tag",
"start": 102,
"type": "Identifier"
},
"arg": {
"end": 113,
@ -166,8 +170,10 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 128,
"name": "end",
"start": 125,
"type": "Identifier"
},
"arg": {
"elements": [
@ -232,8 +238,10 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 161,
"name": "end",
"start": 158,
"type": "Identifier"
},
"arg": {
"elements": [
@ -311,8 +319,10 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 214,
"name": "length",
"start": 208,
"type": "Identifier"
},
"arg": {
"end": 218,
@ -448,8 +458,10 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 304,
"name": "end",
"start": 301,
"type": "Identifier"
},
"arg": {
"elements": [
@ -500,8 +512,10 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 329,
"name": "end",
"start": 326,
"type": "Identifier"
},
"arg": {
"elements": [
@ -552,8 +566,10 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 354,
"name": "end",
"start": 351,
"type": "Identifier"
},
"arg": {
"elements": [
@ -631,8 +647,10 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 400,
"name": "length",
"start": 394,
"type": "Identifier"
},
"arg": {
"end": 404,

View File

@ -1,7 +1,6 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl
snapshot_kind: text
---
{
"Ok": {
@ -482,8 +481,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 1056,
"name": "end",
"start": 1053,
"type": "Identifier"
},
"arg": {
"elements": [
@ -515,8 +516,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 1079,
"name": "tag",
"start": 1076,
"type": "Identifier"
},
"arg": {
"end": 1092,
@ -544,8 +547,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 1107,
"name": "end",
"start": 1104,
"type": "Identifier"
},
"arg": {
"elements": [
@ -584,8 +589,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 1132,
"name": "tag",
"start": 1129,
"type": "Identifier"
},
"arg": {
"end": 1141,
@ -613,8 +620,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 1156,
"name": "end",
"start": 1153,
"type": "Identifier"
},
"arg": {
"elements": [
@ -668,8 +677,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 1189,
"name": "end",
"start": 1186,
"type": "Identifier"
},
"arg": {
"elements": [
@ -715,8 +726,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 1225,
"name": "tag",
"start": 1222,
"type": "Identifier"
},
"arg": {
"end": 1238,
@ -744,8 +757,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 1253,
"name": "end",
"start": 1250,
"type": "Identifier"
},
"arg": {
"elements": [
@ -833,8 +848,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 1319,
"name": "length",
"start": 1313,
"type": "Identifier"
},
"arg": {
"end": 1327,
@ -862,8 +879,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 1347,
"name": "radius",
"start": 1341,
"type": "Identifier"
},
"arg": {
"end": 1357,
@ -876,8 +895,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 1363,
"name": "tags",
"start": 1359,
"type": "Identifier"
},
"arg": {
"elements": [
@ -927,8 +948,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 1418,
"name": "radius",
"start": 1412,
"type": "Identifier"
},
"arg": {
"end": 1440,
@ -955,8 +978,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tags"
"end": 1446,
"name": "tags",
"start": 1442,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1110,8 +1135,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 1576,
"name": "end",
"start": 1573,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1169,8 +1196,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 1607,
"name": "end",
"start": 1604,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1235,8 +1264,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 1638,
"name": "end",
"start": 1635,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1294,8 +1325,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 1677,
"name": "endAbsolute",
"start": 1666,
"type": "Identifier"
},
"arg": {
"elements": [
@ -1384,8 +1417,10 @@ snapshot_kind: text
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 1751,
"name": "length",
"start": 1745,
"type": "Identifier"
},
"arg": {
"end": 1756,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing sketch_on_face_circle_tagged.kcl
---
{
@ -82,8 +82,10 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 94,
"name": "end",
"start": 91,
"type": "Identifier"
},
"arg": {
"elements": [
@ -130,8 +132,10 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 124,
"name": "end",
"start": 121,
"type": "Identifier"
},
"arg": {
"elements": [
@ -178,8 +182,10 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 154,
"name": "end",
"start": 151,
"type": "Identifier"
},
"arg": {
"elements": [
@ -400,8 +406,10 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 245,
"name": "length",
"start": 239,
"type": "Identifier"
},
"arg": {
"end": 250,
@ -488,8 +496,10 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "center"
"end": 311,
"name": "center",
"start": 305,
"type": "Identifier"
},
"arg": {
"elements": [
@ -525,8 +535,10 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 328,
"name": "radius",
"start": 322,
"type": "Identifier"
},
"arg": {
"end": 332,
@ -543,8 +555,10 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 337,
"name": "tag",
"start": 334,
"type": "Identifier"
},
"arg": {
"end": 349,
@ -572,8 +586,10 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 370,
"name": "length",
"start": 364,
"type": "Identifier"
},
"arg": {
"end": 374,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing sketch_on_face_end.kcl
---
{
@ -82,8 +82,10 @@ description: Result of parsing sketch_on_face_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 94,
"name": "end",
"start": 91,
"type": "Identifier"
},
"arg": {
"elements": [
@ -130,8 +132,10 @@ description: Result of parsing sketch_on_face_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 124,
"name": "end",
"start": 121,
"type": "Identifier"
},
"arg": {
"elements": [
@ -178,8 +182,10 @@ description: Result of parsing sketch_on_face_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 154,
"name": "end",
"start": 151,
"type": "Identifier"
},
"arg": {
"elements": [
@ -400,8 +406,10 @@ description: Result of parsing sketch_on_face_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 245,
"name": "length",
"start": 239,
"type": "Identifier"
},
"arg": {
"end": 250,
@ -538,8 +546,10 @@ description: Result of parsing sketch_on_face_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 337,
"name": "end",
"start": 334,
"type": "Identifier"
},
"arg": {
"elements": [
@ -590,8 +600,10 @@ description: Result of parsing sketch_on_face_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 362,
"name": "end",
"start": 359,
"type": "Identifier"
},
"arg": {
"elements": [
@ -642,8 +654,10 @@ description: Result of parsing sketch_on_face_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 387,
"name": "end",
"start": 384,
"type": "Identifier"
},
"arg": {
"elements": [
@ -721,8 +735,10 @@ description: Result of parsing sketch_on_face_end.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 433,
"name": "length",
"start": 427,
"type": "Identifier"
},
"arg": {
"end": 437,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing sketch_on_face_end_negative_extrude.kcl
---
{
@ -82,8 +82,10 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 94,
"name": "end",
"start": 91,
"type": "Identifier"
},
"arg": {
"elements": [
@ -130,8 +132,10 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 124,
"name": "end",
"start": 121,
"type": "Identifier"
},
"arg": {
"elements": [
@ -178,8 +182,10 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 154,
"name": "end",
"start": 151,
"type": "Identifier"
},
"arg": {
"elements": [
@ -400,8 +406,10 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 245,
"name": "length",
"start": 239,
"type": "Identifier"
},
"arg": {
"end": 250,
@ -538,8 +546,10 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 337,
"name": "end",
"start": 334,
"type": "Identifier"
},
"arg": {
"elements": [
@ -590,8 +600,10 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 362,
"name": "end",
"start": 359,
"type": "Identifier"
},
"arg": {
"elements": [
@ -642,8 +654,10 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 387,
"name": "end",
"start": 384,
"type": "Identifier"
},
"arg": {
"elements": [
@ -721,8 +735,10 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 433,
"name": "length",
"start": 427,
"type": "Identifier"
},
"arg": {
"argument": {

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing sketch_on_face_start.kcl
---
{
@ -82,8 +82,10 @@ description: Result of parsing sketch_on_face_start.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 94,
"name": "end",
"start": 91,
"type": "Identifier"
},
"arg": {
"elements": [
@ -130,8 +132,10 @@ description: Result of parsing sketch_on_face_start.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 124,
"name": "end",
"start": 121,
"type": "Identifier"
},
"arg": {
"elements": [
@ -178,8 +182,10 @@ description: Result of parsing sketch_on_face_start.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 154,
"name": "end",
"start": 151,
"type": "Identifier"
},
"arg": {
"elements": [
@ -402,8 +408,10 @@ description: Result of parsing sketch_on_face_start.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 245,
"name": "length",
"start": 239,
"type": "Identifier"
},
"arg": {
"end": 250,
@ -550,8 +558,10 @@ description: Result of parsing sketch_on_face_start.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 342,
"name": "end",
"start": 339,
"type": "Identifier"
},
"arg": {
"elements": [
@ -602,8 +612,10 @@ description: Result of parsing sketch_on_face_start.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 367,
"name": "end",
"start": 364,
"type": "Identifier"
},
"arg": {
"elements": [
@ -654,8 +666,10 @@ description: Result of parsing sketch_on_face_start.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 392,
"name": "end",
"start": 389,
"type": "Identifier"
},
"arg": {
"elements": [
@ -733,8 +747,10 @@ description: Result of parsing sketch_on_face_start.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 438,
"name": "length",
"start": 432,
"type": "Identifier"
},
"arg": {
"end": 442,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing ssi_pattern.kcl
---
{
@ -138,8 +138,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 105,
"name": "end",
"start": 102,
"type": "Identifier"
},
"arg": {
"elements": [
@ -285,8 +287,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 205,
"name": "endAbsolute",
"start": 194,
"type": "Identifier"
},
"arg": {
"elements": [
@ -340,8 +344,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "tag"
"end": 249,
"name": "tag",
"start": 246,
"type": "Identifier"
},
"arg": {
"end": 258,
@ -406,8 +412,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 312,
"name": "length",
"start": 306,
"type": "Identifier"
},
"arg": {
"end": 317,
@ -493,8 +501,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "center"
"end": 383,
"name": "center",
"start": 377,
"type": "Identifier"
},
"arg": {
"elements": [
@ -537,8 +547,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "radius"
"end": 407,
"name": "radius",
"start": 401,
"type": "Identifier"
},
"arg": {
"end": 413,
@ -570,8 +582,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "instances"
"end": 445,
"name": "instances",
"start": 436,
"type": "Identifier"
},
"arg": {
"end": 449,
@ -588,8 +602,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "distance"
"end": 459,
"name": "distance",
"start": 451,
"type": "Identifier"
},
"arg": {
"end": 463,
@ -606,8 +622,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "axis"
"end": 469,
"name": "axis",
"start": 465,
"type": "Identifier"
},
"arg": {
"elements": [
@ -658,8 +676,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "instances"
"end": 563,
"name": "instances",
"start": 554,
"type": "Identifier"
},
"arg": {
"end": 567,
@ -676,8 +696,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "distance"
"end": 577,
"name": "distance",
"start": 569,
"type": "Identifier"
},
"arg": {
"end": 581,
@ -694,8 +716,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "axis"
"end": 587,
"name": "axis",
"start": 583,
"type": "Identifier"
},
"arg": {
"elements": [
@ -753,8 +777,10 @@ description: Result of parsing ssi_pattern.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 618,
"name": "length",
"start": 612,
"type": "Identifier"
},
"arg": {
"argument": {

View File

@ -92,8 +92,10 @@ description: Result of parsing tangential_arc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 74,
"name": "end",
"start": 71,
"type": "Identifier"
},
"arg": {
"elements": [
@ -216,8 +218,10 @@ description: Result of parsing tangential_arc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "end"
"end": 150,
"name": "end",
"start": 147,
"type": "Identifier"
},
"arg": {
"elements": [
@ -275,8 +279,10 @@ description: Result of parsing tangential_arc.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 182,
"name": "length",
"start": 176,
"type": "Identifier"
},
"arg": {
"end": 187,

View File

@ -1,5 +1,5 @@
---
source: kcl/src/simulation_tests.rs
source: kcl-lib/src/simulation_tests.rs
description: Result of parsing xz_plane.kcl
---
{
@ -93,8 +93,10 @@ description: Result of parsing xz_plane.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 82,
"name": "endAbsolute",
"start": 71,
"type": "Identifier"
},
"arg": {
"elements": [
@ -145,8 +147,10 @@ description: Result of parsing xz_plane.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "endAbsolute"
"end": 118,
"name": "endAbsolute",
"start": 107,
"type": "Identifier"
},
"arg": {
"elements": [
@ -217,8 +221,10 @@ description: Result of parsing xz_plane.kcl
{
"type": "LabeledArg",
"label": {
"type": "Identifier",
"name": "length"
"end": 164,
"name": "length",
"start": 158,
"type": "Identifier"
},
"arg": {
"end": 172,