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 basic_fillet_cube_end.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 basic_fillet_cube_end.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,
 | 
			
		||||
@ -165,11 +181,19 @@ description: Result of parsing basic_fillet_cube_end.kcl
 | 
			
		||||
                  }
 | 
			
		||||
                ],
 | 
			
		||||
                "callee": {
 | 
			
		||||
                  "abs_path": false,
 | 
			
		||||
                  "commentStart": 66,
 | 
			
		||||
                  "end": 0,
 | 
			
		||||
                  "name": "line",
 | 
			
		||||
                  "name": {
 | 
			
		||||
                    "commentStart": 66,
 | 
			
		||||
                    "end": 0,
 | 
			
		||||
                    "name": "line",
 | 
			
		||||
                    "start": 0,
 | 
			
		||||
                    "type": "Identifier"
 | 
			
		||||
                  },
 | 
			
		||||
                  "path": [],
 | 
			
		||||
                  "start": 0,
 | 
			
		||||
                  "type": "Identifier"
 | 
			
		||||
                  "type": "Name"
 | 
			
		||||
                },
 | 
			
		||||
                "commentStart": 66,
 | 
			
		||||
                "end": 0,
 | 
			
		||||
@ -225,11 +249,19 @@ description: Result of parsing basic_fillet_cube_end.kcl
 | 
			
		||||
                  }
 | 
			
		||||
                ],
 | 
			
		||||
                "callee": {
 | 
			
		||||
                  "abs_path": false,
 | 
			
		||||
                  "commentStart": 105,
 | 
			
		||||
                  "end": 0,
 | 
			
		||||
                  "name": "line",
 | 
			
		||||
                  "name": {
 | 
			
		||||
                    "commentStart": 105,
 | 
			
		||||
                    "end": 0,
 | 
			
		||||
                    "name": "line",
 | 
			
		||||
                    "start": 0,
 | 
			
		||||
                    "type": "Identifier"
 | 
			
		||||
                  },
 | 
			
		||||
                  "path": [],
 | 
			
		||||
                  "start": 0,
 | 
			
		||||
                  "type": "Identifier"
 | 
			
		||||
                  "type": "Name"
 | 
			
		||||
                },
 | 
			
		||||
                "commentStart": 105,
 | 
			
		||||
                "end": 0,
 | 
			
		||||
@ -311,11 +343,19 @@ description: Result of parsing basic_fillet_cube_end.kcl
 | 
			
		||||
                  }
 | 
			
		||||
                ],
 | 
			
		||||
                "callee": {
 | 
			
		||||
                  "abs_path": false,
 | 
			
		||||
                  "commentStart": 130,
 | 
			
		||||
                  "end": 0,
 | 
			
		||||
                  "name": "line",
 | 
			
		||||
                  "name": {
 | 
			
		||||
                    "commentStart": 130,
 | 
			
		||||
                    "end": 0,
 | 
			
		||||
                    "name": "line",
 | 
			
		||||
                    "start": 0,
 | 
			
		||||
                    "type": "Identifier"
 | 
			
		||||
                  },
 | 
			
		||||
                  "path": [],
 | 
			
		||||
                  "start": 0,
 | 
			
		||||
                  "type": "Identifier"
 | 
			
		||||
                  "type": "Name"
 | 
			
		||||
                },
 | 
			
		||||
                "commentStart": 130,
 | 
			
		||||
                "end": 0,
 | 
			
		||||
@ -335,11 +375,19 @@ description: Result of parsing basic_fillet_cube_end.kcl
 | 
			
		||||
                  }
 | 
			
		||||
                ],
 | 
			
		||||
                "callee": {
 | 
			
		||||
                  "abs_path": false,
 | 
			
		||||
                  "commentStart": 171,
 | 
			
		||||
                  "end": 0,
 | 
			
		||||
                  "name": "close",
 | 
			
		||||
                  "name": {
 | 
			
		||||
                    "commentStart": 171,
 | 
			
		||||
                    "end": 0,
 | 
			
		||||
                    "name": "close",
 | 
			
		||||
                    "start": 0,
 | 
			
		||||
                    "type": "Identifier"
 | 
			
		||||
                  },
 | 
			
		||||
                  "path": [],
 | 
			
		||||
                  "start": 0,
 | 
			
		||||
                  "type": "Identifier"
 | 
			
		||||
                  "type": "Name"
 | 
			
		||||
                },
 | 
			
		||||
                "commentStart": 171,
 | 
			
		||||
                "end": 0,
 | 
			
		||||
@ -373,11 +421,19 @@ description: Result of parsing basic_fillet_cube_end.kcl
 | 
			
		||||
                  }
 | 
			
		||||
                ],
 | 
			
		||||
                "callee": {
 | 
			
		||||
                  "abs_path": false,
 | 
			
		||||
                  "commentStart": 185,
 | 
			
		||||
                  "end": 0,
 | 
			
		||||
                  "name": "extrude",
 | 
			
		||||
                  "name": {
 | 
			
		||||
                    "commentStart": 185,
 | 
			
		||||
                    "end": 0,
 | 
			
		||||
                    "name": "extrude",
 | 
			
		||||
                    "start": 0,
 | 
			
		||||
                    "type": "Identifier"
 | 
			
		||||
                  },
 | 
			
		||||
                  "path": [],
 | 
			
		||||
                  "start": 0,
 | 
			
		||||
                  "type": "Identifier"
 | 
			
		||||
                  "type": "Name"
 | 
			
		||||
                },
 | 
			
		||||
                "commentStart": 185,
 | 
			
		||||
                "end": 0,
 | 
			
		||||
@ -423,30 +479,54 @@ description: Result of parsing basic_fillet_cube_end.kcl
 | 
			
		||||
                      "commentStart": 237,
 | 
			
		||||
                      "elements": [
 | 
			
		||||
                        {
 | 
			
		||||
                          "abs_path": false,
 | 
			
		||||
                          "commentStart": 238,
 | 
			
		||||
                          "end": 0,
 | 
			
		||||
                          "name": "thing",
 | 
			
		||||
                          "name": {
 | 
			
		||||
                            "commentStart": 238,
 | 
			
		||||
                            "end": 0,
 | 
			
		||||
                            "name": "thing",
 | 
			
		||||
                            "start": 0,
 | 
			
		||||
                            "type": "Identifier"
 | 
			
		||||
                          },
 | 
			
		||||
                          "path": [],
 | 
			
		||||
                          "start": 0,
 | 
			
		||||
                          "type": "Identifier",
 | 
			
		||||
                          "type": "Identifier"
 | 
			
		||||
                          "type": "Name",
 | 
			
		||||
                          "type": "Name"
 | 
			
		||||
                        },
 | 
			
		||||
                        {
 | 
			
		||||
                          "arguments": [
 | 
			
		||||
                            {
 | 
			
		||||
                              "abs_path": false,
 | 
			
		||||
                              "commentStart": 261,
 | 
			
		||||
                              "end": 0,
 | 
			
		||||
                              "name": "thing",
 | 
			
		||||
                              "name": {
 | 
			
		||||
                                "commentStart": 261,
 | 
			
		||||
                                "end": 0,
 | 
			
		||||
                                "name": "thing",
 | 
			
		||||
                                "start": 0,
 | 
			
		||||
                                "type": "Identifier"
 | 
			
		||||
                              },
 | 
			
		||||
                              "path": [],
 | 
			
		||||
                              "start": 0,
 | 
			
		||||
                              "type": "Identifier",
 | 
			
		||||
                              "type": "Identifier"
 | 
			
		||||
                              "type": "Name",
 | 
			
		||||
                              "type": "Name"
 | 
			
		||||
                            }
 | 
			
		||||
                          ],
 | 
			
		||||
                          "callee": {
 | 
			
		||||
                            "abs_path": false,
 | 
			
		||||
                            "commentStart": 245,
 | 
			
		||||
                            "end": 0,
 | 
			
		||||
                            "name": "getOppositeEdge",
 | 
			
		||||
                            "name": {
 | 
			
		||||
                              "commentStart": 245,
 | 
			
		||||
                              "end": 0,
 | 
			
		||||
                              "name": "getOppositeEdge",
 | 
			
		||||
                              "start": 0,
 | 
			
		||||
                              "type": "Identifier"
 | 
			
		||||
                            },
 | 
			
		||||
                            "path": [],
 | 
			
		||||
                            "start": 0,
 | 
			
		||||
                            "type": "Identifier"
 | 
			
		||||
                            "type": "Name"
 | 
			
		||||
                          },
 | 
			
		||||
                          "commentStart": 245,
 | 
			
		||||
                          "end": 0,
 | 
			
		||||
@ -463,11 +543,19 @@ description: Result of parsing basic_fillet_cube_end.kcl
 | 
			
		||||
                  }
 | 
			
		||||
                ],
 | 
			
		||||
                "callee": {
 | 
			
		||||
                  "abs_path": false,
 | 
			
		||||
                  "commentStart": 211,
 | 
			
		||||
                  "end": 0,
 | 
			
		||||
                  "name": "fillet",
 | 
			
		||||
                  "name": {
 | 
			
		||||
                    "commentStart": 211,
 | 
			
		||||
                    "end": 0,
 | 
			
		||||
                    "name": "fillet",
 | 
			
		||||
                    "start": 0,
 | 
			
		||||
                    "type": "Identifier"
 | 
			
		||||
                  },
 | 
			
		||||
                  "path": [],
 | 
			
		||||
                  "start": 0,
 | 
			
		||||
                  "type": "Identifier"
 | 
			
		||||
                  "type": "Name"
 | 
			
		||||
                },
 | 
			
		||||
                "commentStart": 211,
 | 
			
		||||
                "end": 0,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user