2024-12-16 13:10:31 -05:00
|
|
|
---
|
2025-03-20 11:06:27 +13:00
|
|
|
source: kcl-lib/src/simulation_tests.rs
|
2024-12-16 13:10:31 -05:00
|
|
|
description: Operations executed kw_fn_with_defaults.kcl
|
|
|
|
---
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionCall",
|
|
|
|
"name": "increment",
|
|
|
|
"functionSourceRange": [
|
|
|
|
12,
|
|
|
|
45,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"unlabeledArg": null,
|
|
|
|
"labeledArgs": {},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2024-12-16 13:10:31 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionCall",
|
|
|
|
"name": "increment",
|
|
|
|
"functionSourceRange": [
|
|
|
|
12,
|
|
|
|
45,
|
|
|
|
0
|
|
|
|
],
|
|
|
|
"unlabeledArg": {
|
2025-02-21 10:24:12 -05:00
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 1.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2024-12-16 13:10:31 -05:00
|
|
|
},
|
|
|
|
"labeledArgs": {
|
|
|
|
"by": {
|
2025-02-21 10:24:12 -05:00
|
|
|
"value": {
|
|
|
|
"type": "Number",
|
|
|
|
"value": 20.0,
|
|
|
|
"ty": {
|
|
|
|
"type": "Default",
|
|
|
|
"len": {
|
|
|
|
"type": "Mm"
|
|
|
|
},
|
|
|
|
"angle": {
|
|
|
|
"type": "Degrees"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2024-12-16 13:10:31 -05:00
|
|
|
}
|
|
|
|
},
|
2025-03-20 11:06:27 +13:00
|
|
|
"sourceRange": []
|
2024-12-16 13:10:31 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "UserDefinedFunctionReturn"
|
|
|
|
}
|
|
|
|
]
|