Erase comment start positions from snapshot tests (#6178)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-04-07 17:42:15 +12:00
committed by GitHub
parent e7b23e1638
commit e6ae89ebf9
145 changed files with 41979 additions and 41979 deletions

View File

@ -22,7 +22,7 @@ description: Result of parsing sketch_on_face.kcl
{
"arguments": [
{
"commentStart": 24,
"commentStart": 0,
"end": 0,
"raw": "'XY'",
"start": 0,
@ -33,10 +33,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 10,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 10,
"commentStart": 0,
"end": 0,
"name": "startSketchOn",
"start": 0,
@ -46,7 +46,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 10,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -55,10 +55,10 @@ description: Result of parsing sketch_on_face.kcl
{
"arguments": [
{
"commentStart": 50,
"commentStart": 0,
"elements": [
{
"commentStart": 51,
"commentStart": 0,
"end": 0,
"raw": "11.19",
"start": 0,
@ -70,7 +70,7 @@ description: Result of parsing sketch_on_face.kcl
}
},
{
"commentStart": 58,
"commentStart": 0,
"end": 0,
"raw": "28.35",
"start": 0,
@ -88,7 +88,7 @@ description: Result of parsing sketch_on_face.kcl
"type": "ArrayExpression"
},
{
"commentStart": 66,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
@ -97,10 +97,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 35,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 35,
"commentStart": 0,
"end": 0,
"name": "startProfileAt",
"start": 0,
@ -110,7 +110,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 35,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -121,17 +121,17 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 79,
"commentStart": 0,
"end": 0,
"name": "end",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 85,
"commentStart": 0,
"elements": [
{
"commentStart": 86,
"commentStart": 0,
"end": 0,
"raw": "28.67",
"start": 0,
@ -144,7 +144,7 @@ description: Result of parsing sketch_on_face.kcl
},
{
"argument": {
"commentStart": 94,
"commentStart": 0,
"end": 0,
"raw": "13.25",
"start": 0,
@ -155,7 +155,7 @@ description: Result of parsing sketch_on_face.kcl
"suffix": "None"
}
},
"commentStart": 93,
"commentStart": 0,
"end": 0,
"operator": "-",
"start": 0,
@ -172,14 +172,14 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 102,
"commentStart": 0,
"end": 0,
"name": "tag",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 108,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "TagDeclarator",
@ -190,10 +190,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 74,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 74,
"commentStart": 0,
"end": 0,
"name": "line",
"start": 0,
@ -203,7 +203,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 74,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -215,18 +215,18 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 125,
"commentStart": 0,
"end": 0,
"name": "end",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 131,
"commentStart": 0,
"elements": [
{
"argument": {
"commentStart": 133,
"commentStart": 0,
"end": 0,
"raw": "4.12",
"start": 0,
@ -237,7 +237,7 @@ description: Result of parsing sketch_on_face.kcl
"suffix": "None"
}
},
"commentStart": 132,
"commentStart": 0,
"end": 0,
"operator": "-",
"start": 0,
@ -246,7 +246,7 @@ description: Result of parsing sketch_on_face.kcl
},
{
"argument": {
"commentStart": 140,
"commentStart": 0,
"end": 0,
"raw": "22.81",
"start": 0,
@ -257,7 +257,7 @@ description: Result of parsing sketch_on_face.kcl
"suffix": "None"
}
},
"commentStart": 139,
"commentStart": 0,
"end": 0,
"operator": "-",
"start": 0,
@ -274,10 +274,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 120,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 120,
"commentStart": 0,
"end": 0,
"name": "line",
"start": 0,
@ -287,7 +287,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 120,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -299,18 +299,18 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 158,
"commentStart": 0,
"end": 0,
"name": "end",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 164,
"commentStart": 0,
"elements": [
{
"argument": {
"commentStart": 166,
"commentStart": 0,
"end": 0,
"raw": "33.24",
"start": 0,
@ -321,7 +321,7 @@ description: Result of parsing sketch_on_face.kcl
"suffix": "None"
}
},
"commentStart": 165,
"commentStart": 0,
"end": 0,
"operator": "-",
"start": 0,
@ -329,7 +329,7 @@ description: Result of parsing sketch_on_face.kcl
"type": "UnaryExpression"
},
{
"commentStart": 173,
"commentStart": 0,
"end": 0,
"raw": "14.55",
"start": 0,
@ -350,10 +350,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 153,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 153,
"commentStart": 0,
"end": 0,
"name": "line",
"start": 0,
@ -363,7 +363,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 153,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -373,7 +373,7 @@ description: Result of parsing sketch_on_face.kcl
{
"arguments": [
{
"commentStart": 192,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
@ -382,10 +382,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 186,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 186,
"commentStart": 0,
"end": 0,
"name": "close",
"start": 0,
@ -395,7 +395,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 186,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -406,14 +406,14 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 208,
"commentStart": 0,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 217,
"commentStart": 0,
"end": 0,
"raw": "5",
"start": 0,
@ -428,10 +428,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 200,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 200,
"commentStart": 0,
"end": 0,
"name": "extrude",
"start": 0,
@ -441,7 +441,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 200,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -449,7 +449,7 @@ description: Result of parsing sketch_on_face.kcl
"unlabeled": null
}
],
"commentStart": 10,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "PipeExpression",
@ -465,12 +465,12 @@ description: Result of parsing sketch_on_face.kcl
"type": "VariableDeclaration"
},
{
"commentStart": 219,
"commentStart": 0,
"declaration": {
"commentStart": 221,
"commentStart": 0,
"end": 0,
"id": {
"commentStart": 221,
"commentStart": 0,
"end": 0,
"name": "part002",
"start": 0,
@ -482,10 +482,10 @@ description: Result of parsing sketch_on_face.kcl
"arguments": [
{
"abs_path": false,
"commentStart": 245,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 245,
"commentStart": 0,
"end": 0,
"name": "part001",
"start": 0,
@ -498,10 +498,10 @@ description: Result of parsing sketch_on_face.kcl
},
{
"abs_path": false,
"commentStart": 254,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 254,
"commentStart": 0,
"end": 0,
"name": "here",
"start": 0,
@ -515,10 +515,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 231,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 231,
"commentStart": 0,
"end": 0,
"name": "startSketchOn",
"start": 0,
@ -528,7 +528,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 231,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -537,10 +537,10 @@ description: Result of parsing sketch_on_face.kcl
{
"arguments": [
{
"commentStart": 280,
"commentStart": 0,
"elements": [
{
"commentStart": 281,
"commentStart": 0,
"end": 0,
"raw": "0",
"start": 0,
@ -552,7 +552,7 @@ description: Result of parsing sketch_on_face.kcl
}
},
{
"commentStart": 284,
"commentStart": 0,
"end": 0,
"raw": "0",
"start": 0,
@ -570,7 +570,7 @@ description: Result of parsing sketch_on_face.kcl
"type": "ArrayExpression"
},
{
"commentStart": 288,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
@ -579,10 +579,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 265,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 265,
"commentStart": 0,
"end": 0,
"name": "startProfileAt",
"start": 0,
@ -592,7 +592,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 265,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -603,17 +603,17 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 301,
"commentStart": 0,
"end": 0,
"name": "end",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 307,
"commentStart": 0,
"elements": [
{
"commentStart": 308,
"commentStart": 0,
"end": 0,
"raw": "0",
"start": 0,
@ -625,7 +625,7 @@ description: Result of parsing sketch_on_face.kcl
}
},
{
"commentStart": 311,
"commentStart": 0,
"end": 0,
"raw": "10",
"start": 0,
@ -646,10 +646,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 296,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 296,
"commentStart": 0,
"end": 0,
"name": "line",
"start": 0,
@ -659,7 +659,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 296,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -671,17 +671,17 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 326,
"commentStart": 0,
"end": 0,
"name": "end",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 332,
"commentStart": 0,
"elements": [
{
"commentStart": 333,
"commentStart": 0,
"end": 0,
"raw": "10",
"start": 0,
@ -693,7 +693,7 @@ description: Result of parsing sketch_on_face.kcl
}
},
{
"commentStart": 337,
"commentStart": 0,
"end": 0,
"raw": "0",
"start": 0,
@ -714,10 +714,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 321,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 321,
"commentStart": 0,
"end": 0,
"name": "line",
"start": 0,
@ -727,7 +727,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 321,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -739,17 +739,17 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 351,
"commentStart": 0,
"end": 0,
"name": "end",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 357,
"commentStart": 0,
"elements": [
{
"commentStart": 358,
"commentStart": 0,
"end": 0,
"raw": "0",
"start": 0,
@ -762,7 +762,7 @@ description: Result of parsing sketch_on_face.kcl
},
{
"argument": {
"commentStart": 362,
"commentStart": 0,
"end": 0,
"raw": "10",
"start": 0,
@ -773,7 +773,7 @@ description: Result of parsing sketch_on_face.kcl
"suffix": "None"
}
},
"commentStart": 361,
"commentStart": 0,
"end": 0,
"operator": "-",
"start": 0,
@ -790,10 +790,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 346,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 346,
"commentStart": 0,
"end": 0,
"name": "line",
"start": 0,
@ -803,7 +803,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 346,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -813,7 +813,7 @@ description: Result of parsing sketch_on_face.kcl
{
"arguments": [
{
"commentStart": 378,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "PipeSubstitution",
@ -822,10 +822,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 372,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 372,
"commentStart": 0,
"end": 0,
"name": "close",
"start": 0,
@ -835,7 +835,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 372,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -846,14 +846,14 @@ description: Result of parsing sketch_on_face.kcl
{
"type": "LabeledArg",
"label": {
"commentStart": 394,
"commentStart": 0,
"end": 0,
"name": "length",
"start": 0,
"type": "Identifier"
},
"arg": {
"commentStart": 403,
"commentStart": 0,
"end": 0,
"raw": "5",
"start": 0,
@ -868,10 +868,10 @@ description: Result of parsing sketch_on_face.kcl
],
"callee": {
"abs_path": false,
"commentStart": 386,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 386,
"commentStart": 0,
"end": 0,
"name": "extrude",
"start": 0,
@ -881,7 +881,7 @@ description: Result of parsing sketch_on_face.kcl
"start": 0,
"type": "Name"
},
"commentStart": 386,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpressionKw",
@ -889,7 +889,7 @@ description: Result of parsing sketch_on_face.kcl
"unlabeled": null
}
],
"commentStart": 231,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "PipeExpression",
@ -911,7 +911,7 @@ description: Result of parsing sketch_on_face.kcl
"nonCodeNodes": {
"0": [
{
"commentStart": 219,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "NonCodeNode",