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:
@ -32,11 +32,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 10,
|
||||
"end": 0,
|
||||
"name": "startSketchOn",
|
||||
"name": {
|
||||
"commentStart": 10,
|
||||
"end": 0,
|
||||
"name": "startSketchOn",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 10,
|
||||
"end": 0,
|
||||
@ -88,11 +96,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 35,
|
||||
"end": 0,
|
||||
"name": "startProfileAt",
|
||||
"name": {
|
||||
"commentStart": 35,
|
||||
"end": 0,
|
||||
"name": "startProfileAt",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 35,
|
||||
"end": 0,
|
||||
@ -173,11 +189,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 74,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 74,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 74,
|
||||
"end": 0,
|
||||
@ -249,11 +273,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 120,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 120,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 120,
|
||||
"end": 0,
|
||||
@ -317,11 +349,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 153,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 153,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 153,
|
||||
"end": 0,
|
||||
@ -341,11 +381,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 186,
|
||||
"end": 0,
|
||||
"name": "close",
|
||||
"name": {
|
||||
"commentStart": 186,
|
||||
"end": 0,
|
||||
"name": "close",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 186,
|
||||
"end": 0,
|
||||
@ -379,11 +427,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 200,
|
||||
"end": 0,
|
||||
"name": "extrude",
|
||||
"name": {
|
||||
"commentStart": 200,
|
||||
"end": 0,
|
||||
"name": "extrude",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 200,
|
||||
"end": 0,
|
||||
@ -425,28 +481,52 @@ description: Result of parsing sketch_on_face.kcl
|
||||
{
|
||||
"arguments": [
|
||||
{
|
||||
"abs_path": false,
|
||||
"commentStart": 245,
|
||||
"end": 0,
|
||||
"name": "part001",
|
||||
"name": {
|
||||
"commentStart": 245,
|
||||
"end": 0,
|
||||
"name": "part001",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
},
|
||||
{
|
||||
"abs_path": false,
|
||||
"commentStart": 254,
|
||||
"end": 0,
|
||||
"name": "here",
|
||||
"name": {
|
||||
"commentStart": 254,
|
||||
"end": 0,
|
||||
"name": "here",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier",
|
||||
"type": "Identifier"
|
||||
"type": "Name",
|
||||
"type": "Name"
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 231,
|
||||
"end": 0,
|
||||
"name": "startSketchOn",
|
||||
"name": {
|
||||
"commentStart": 231,
|
||||
"end": 0,
|
||||
"name": "startSketchOn",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 231,
|
||||
"end": 0,
|
||||
@ -498,11 +578,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 265,
|
||||
"end": 0,
|
||||
"name": "startProfileAt",
|
||||
"name": {
|
||||
"commentStart": 265,
|
||||
"end": 0,
|
||||
"name": "startProfileAt",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 265,
|
||||
"end": 0,
|
||||
@ -557,11 +645,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 296,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 296,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 296,
|
||||
"end": 0,
|
||||
@ -617,11 +713,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 321,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 321,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 321,
|
||||
"end": 0,
|
||||
@ -685,11 +789,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 346,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"name": {
|
||||
"commentStart": 346,
|
||||
"end": 0,
|
||||
"name": "line",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 346,
|
||||
"end": 0,
|
||||
@ -709,11 +821,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 372,
|
||||
"end": 0,
|
||||
"name": "close",
|
||||
"name": {
|
||||
"commentStart": 372,
|
||||
"end": 0,
|
||||
"name": "close",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 372,
|
||||
"end": 0,
|
||||
@ -747,11 +867,19 @@ description: Result of parsing sketch_on_face.kcl
|
||||
}
|
||||
],
|
||||
"callee": {
|
||||
"abs_path": false,
|
||||
"commentStart": 386,
|
||||
"end": 0,
|
||||
"name": "extrude",
|
||||
"name": {
|
||||
"commentStart": 386,
|
||||
"end": 0,
|
||||
"name": "extrude",
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"path": [],
|
||||
"start": 0,
|
||||
"type": "Identifier"
|
||||
"type": "Name"
|
||||
},
|
||||
"commentStart": 386,
|
||||
"end": 0,
|
||||
|
||||
Reference in New Issue
Block a user