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:
@ -47,11 +47,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 29,
|
||||
"end": 0,
|
||||
"name": "startSketchOn",
|
||||
"name": {
|
||||
"commentStart": 29,
|
||||
"end": 0,
|
||||
"name": "startSketchOn",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 29,
|
||||
"end": 0,
|
||||
@ -62,12 +70,20 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"abs_path": false,
|
||||
"commentStart": 71,
|
||||
"end": 0,
|
||||
"name": "pos",
|
||||
"name": {
|
||||
"commentStart": 71,
|
||||
"end": 0,
|
||||
"name": "pos",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
},
|
||||
{
|
||||
"commentStart": 76,
|
||||
@ -78,11 +94,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 56,
|
||||
"end": 0,
|
||||
"name": "startProfileAt",
|
||||
"name": {
|
||||
"commentStart": 56,
|
||||
"end": 0,
|
||||
"name": "startProfileAt",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 56,
|
||||
"end": 0,
|
||||
@ -117,12 +141,20 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
},
|
||||
{
|
||||
"abs_path": false,
|
||||
"commentStart": 101,
|
||||
"end": 0,
|
||||
"name": "scale",
|
||||
"name": {
|
||||
"commentStart": 101,
|
||||
"end": 0,
|
||||
"name": "scale",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
}
|
||||
],
|
||||
"end": 0,
|
||||
@ -133,11 +165,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 86,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 86,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 86,
|
||||
"end": 0,
|
||||
@ -161,12 +201,20 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
"commentStart": 127,
|
||||
"elements": [
|
||||
{
|
||||
"abs_path": false,
|
||||
"commentStart": 128,
|
||||
"end": 0,
|
||||
"name": "scale",
|
||||
"name": {
|
||||
"commentStart": 128,
|
||||
"end": 0,
|
||||
"name": "scale",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
},
|
||||
{
|
||||
"commentStart": 135,
|
||||
@ -189,11 +237,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 116,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 116,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 116,
|
||||
"end": 0,
|
||||
@ -230,12 +286,20 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
},
|
||||
{
|
||||
"argument": {
|
||||
"abs_path": false,
|
||||
"commentStart": 162,
|
||||
"end": 0,
|
||||
"name": "scale",
|
||||
"name": {
|
||||
"commentStart": 162,
|
||||
"end": 0,
|
||||
"name": "scale",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 161,
|
||||
"end": 0,
|
||||
@ -253,11 +317,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 146,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 146,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 146,
|
||||
"end": 0,
|
||||
@ -284,12 +356,20 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
},
|
||||
{
|
||||
"argument": {
|
||||
"abs_path": false,
|
||||
"commentStart": 180,
|
||||
"end": 0,
|
||||
"name": "sg",
|
||||
"name": {
|
||||
"commentStart": 180,
|
||||
"end": 0,
|
||||
"name": "sg",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 169,
|
||||
"end": 0,
|
||||
@ -418,11 +498,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 195,
|
||||
"end": 0,
|
||||
"name": "cube",
|
||||
"name": {
|
||||
"commentStart": 195,
|
||||
"end": 0,
|
||||
"name": "cube",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 195,
|
||||
"end": 0,
|
||||
@ -441,11 +529,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 217,
|
||||
"end": 0,
|
||||
"name": "close",
|
||||
"name": {
|
||||
"commentStart": 217,
|
||||
"end": 0,
|
||||
"name": "close",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 217,
|
||||
"end": 0,
|
||||
@ -479,11 +575,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 231,
|
||||
"end": 0,
|
||||
"name": "extrude",
|
||||
"name": {
|
||||
"commentStart": 231,
|
||||
"end": 0,
|
||||
"name": "extrude",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 231,
|
||||
"end": 0,
|
||||
@ -525,12 +629,20 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"abs_path": false,
|
||||
"commentStart": 277,
|
||||
"end": 0,
|
||||
"name": "part001",
|
||||
"name": {
|
||||
"commentStart": 277,
|
||||
"end": 0,
|
||||
"name": "part001",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
},
|
||||
{
|
||||
"commentStart": 286,
|
||||
@ -543,11 +655,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 263,
|
||||
"end": 0,
|
||||
"name": "startSketchOn",
|
||||
"name": {
|
||||
"commentStart": 263,
|
||||
"end": 0,
|
||||
"name": "startSketchOn",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 263,
|
||||
"end": 0,
|
||||
@ -599,11 +719,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 298,
|
||||
"end": 0,
|
||||
"name": "startProfileAt",
|
||||
"name": {
|
||||
"commentStart": 298,
|
||||
"end": 0,
|
||||
"name": "startProfileAt",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 298,
|
||||
"end": 0,
|
||||
@ -658,11 +786,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 329,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 329,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 329,
|
||||
"end": 0,
|
||||
@ -718,11 +854,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 354,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 354,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 354,
|
||||
"end": 0,
|
||||
@ -786,11 +930,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 379,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 379,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 379,
|
||||
"end": 0,
|
||||
@ -810,11 +962,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 405,
|
||||
"end": 0,
|
||||
"name": "close",
|
||||
"name": {
|
||||
"commentStart": 405,
|
||||
"end": 0,
|
||||
"name": "close",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 405,
|
||||
"end": 0,
|
||||
@ -848,11 +1008,19 @@ description: Result of parsing sketch_on_face_end.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 419,
|
||||
"end": 0,
|
||||
"name": "extrude",
|
||||
"name": {
|
||||
"commentStart": 419,
|
||||
"end": 0,
|
||||
"name": "extrude",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 419,
|
||||
"end": 0,
|
||||
|
||||
Reference in New Issue
Block a user