Support paths to names rather than just raw idents (#5778)

* Support paths to names rather than just raw idents

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

* A snapshot a day keeps the bugs away! 📷🐛

* A snapshot a day keeps the bugs away! 📷🐛

* A snapshot a day keeps the bugs away! 📷🐛

* A snapshot a day keeps the bugs away! 📷🐛

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Nick Cameron
2025-03-24 20:58:55 +13:00
committed by GitHub
parent cfbb03765e
commit dddcd5ff46
221 changed files with 71261 additions and 16926 deletions

View File

@ -51,12 +51,20 @@ description: Result of parsing assembly_mixed_units_cubes.kcl
"commentStart": 100,
"end": 0,
"expression": {
"abs_path": false,
"commentStart": 102,
"end": 0,
"name": "cubeIn",
"name": {
"commentStart": 102,
"end": 0,
"name": "cubeIn",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Identifier",
"type": "Identifier"
"type": "Name",
"type": "Name"
},
"start": 0,
"type": "ExpressionStatement",
@ -66,12 +74,20 @@ description: Result of parsing assembly_mixed_units_cubes.kcl
"commentStart": 109,
"end": 0,
"expression": {
"abs_path": false,
"commentStart": 109,
"end": 0,
"name": "cubeMm",
"name": {
"commentStart": 109,
"end": 0,
"name": "cubeMm",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Identifier",
"type": "Identifier"
"type": "Name",
"type": "Name"
},
"start": 0,
"type": "ExpressionStatement",
@ -105,12 +121,20 @@ description: Result of parsing assembly_mixed_units_cubes.kcl
"start": 0,
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 30,
"end": 0,
"name": "in",
"name": {
"commentStart": 30,
"end": 0,
"name": "in",
"start": 0,
"type": "Identifier"
},
"path": [],
"start": 0,
"type": "Identifier",
"type": "Identifier"
"type": "Name",
"type": "Name"
}
}
],