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

@ -6,7 +6,7 @@ description: Result of parsing import_cycle1.kcl
"Ok": {
"body": [
{
"commentStart": 33,
"commentStart": 0,
"end": 0,
"path": {
"type": "Kcl",
@ -17,10 +17,10 @@ description: Result of parsing import_cycle1.kcl
"items": [
{
"alias": null,
"commentStart": 42,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 42,
"commentStart": 0,
"end": 0,
"name": "two",
"start": 0,
@ -36,12 +36,12 @@ description: Result of parsing import_cycle1.kcl
"type": "ImportStatement"
},
{
"commentStart": 70,
"commentStart": 0,
"declaration": {
"commentStart": 82,
"commentStart": 0,
"end": 0,
"id": {
"commentStart": 82,
"commentStart": 0,
"end": 0,
"name": "one",
"start": 0,
@ -52,16 +52,16 @@ description: Result of parsing import_cycle1.kcl
"body": [
{
"argument": {
"commentStart": 99,
"commentStart": 0,
"end": 0,
"left": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 99,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 99,
"commentStart": 0,
"end": 0,
"name": "two",
"start": 0,
@ -71,7 +71,7 @@ description: Result of parsing import_cycle1.kcl
"start": 0,
"type": "Name"
},
"commentStart": 99,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "CallExpression",
@ -79,7 +79,7 @@ description: Result of parsing import_cycle1.kcl
},
"operator": "-",
"right": {
"commentStart": 107,
"commentStart": 0,
"end": 0,
"raw": "1",
"start": 0,
@ -94,18 +94,18 @@ description: Result of parsing import_cycle1.kcl
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"commentStart": 92,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "ReturnStatement",
"type": "ReturnStatement"
}
],
"commentStart": 88,
"commentStart": 0,
"end": 0,
"start": 0
},
"commentStart": 85,
"commentStart": 0,
"end": 0,
"params": [],
"start": 0,
@ -130,7 +130,7 @@ description: Result of parsing import_cycle1.kcl
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 1,
"commentStart": 0,
"end": 0,
"name": "settings",
"start": 0,
@ -138,10 +138,10 @@ description: Result of parsing import_cycle1.kcl
},
"properties": [
{
"commentStart": 10,
"commentStart": 0,
"end": 0,
"key": {
"commentStart": 10,
"commentStart": 0,
"end": 0,
"name": "defaultLengthUnit",
"start": 0,
@ -151,10 +151,10 @@ description: Result of parsing import_cycle1.kcl
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 30,
"commentStart": 0,
"end": 0,
"name": {
"commentStart": 30,
"commentStart": 0,
"end": 0,
"name": "in",
"start": 0,
@ -175,7 +175,7 @@ description: Result of parsing import_cycle1.kcl
"nonCodeNodes": {
"0": [
{
"commentStart": 70,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "NonCodeNode",
@ -187,7 +187,7 @@ description: Result of parsing import_cycle1.kcl
},
"startNodes": [
{
"commentStart": 33,
"commentStart": 0,
"end": 0,
"start": 0,
"type": "NonCodeNode",