diff --git a/docs/kcl/modules.md b/docs/kcl/modules.md index 262780c51..47c4daa9a 100644 --- a/docs/kcl/modules.md +++ b/docs/kcl/modules.md @@ -12,7 +12,7 @@ to other modules. ```kcl // util.kcl -export fn increment(x) { +export fn increment(@x) { return x + 1 } ``` @@ -37,11 +37,11 @@ Multiple functions can be exported in a file. ```kcl // util.kcl -export fn increment(x) { +export fn increment(@x) { return x + 1 } -export fn decrement(x) { +export fn decrement(@x) { return x - 1 } ``` @@ -81,7 +81,7 @@ fn cube(center) { |> extrude(length = 10) } -myCube = cube([0, 0]) +myCube = cube(center = [0, 0]) ``` *Pros* diff --git a/docs/kcl/types.md b/docs/kcl/types.md index c1c4ef22f..7cea7be5a 100644 --- a/docs/kcl/types.md +++ b/docs/kcl/types.md @@ -249,8 +249,8 @@ fn rect(origin) { |> close() } -rect([0, 0]) -rect([20, 0]) +rect(origin = [0, 0]) +rect(origin = [20, 0]) ``` Those tags would only be available in the `rect` function and not globally. @@ -279,8 +279,8 @@ fn rect(origin) { |> close() } -rect([0, 0]) -myRect = rect([20, 0]) +rect(origin = [0, 0]) +myRect = rect(origin = [20, 0]) myRect |> extrude(length = 10) diff --git a/e2e/playwright/editor-tests.spec.ts b/e2e/playwright/editor-tests.spec.ts index 404d46d00..1528406dd 100644 --- a/e2e/playwright/editor-tests.spec.ts +++ b/e2e/playwright/editor-tests.spec.ts @@ -871,14 +871,18 @@ a1 = startSketchOn(offsetPlane(XY, offset = 10)) await page.keyboard.press('Enter') await page.keyboard.type(`extrusion = startSketchOn(XY) |> circle(center = [0, 0], radius = dia/2) - |> subtract2d(tool = squareHole(length, width, height)) + |> subtract2d(tool = squareHole(l = length, w = width, height)) |> extrude(length = height)`) // error in gutter await expect(page.locator('.cm-lint-marker-error').first()).toBeVisible() await page.hover('.cm-lint-marker-error:first-child') await expect( - page.getByText('Expected 2 arguments, got 3').first() + page + .getByText( + 'TODO ADAM: find the right error Expected 2 arguments, got 3' + ) + .first() ).toBeVisible() // Make sure there are two diagnostics diff --git a/e2e/playwright/feature-tree-pane.spec.ts b/e2e/playwright/feature-tree-pane.spec.ts index 2bc34ff3e..c5d6a67e9 100644 --- a/e2e/playwright/feature-tree-pane.spec.ts +++ b/e2e/playwright/feature-tree-pane.spec.ts @@ -3,7 +3,7 @@ import * as fsp from 'fs/promises' import { expect, test } from '@e2e/playwright/zoo-test' -const FEATURE_TREE_EXAMPLE_CODE = `export fn timesFive(x) { +const FEATURE_TREE_EXAMPLE_CODE = `export fn timesFive(@x) { return 5 * x } export fn triangle() { diff --git a/e2e/playwright/sketch-tests.spec.ts b/e2e/playwright/sketch-tests.spec.ts index b4d7e0faa..c256b0f56 100644 --- a/e2e/playwright/sketch-tests.spec.ts +++ b/e2e/playwright/sketch-tests.spec.ts @@ -1222,7 +1222,7 @@ profile001 = startProfile(sketch001, at = [299.72, 230.82]) return lugSketch } - lug([0, 0], 10, .5, XY)` + lug(origin = [0, 0], length = 10, diameter = .5, plane = XY)` ) }) diff --git a/e2e/playwright/testing-selections.spec.ts b/e2e/playwright/testing-selections.spec.ts index 3ecc99c7c..c66a0d6ac 100644 --- a/e2e/playwright/testing-selections.spec.ts +++ b/e2e/playwright/testing-selections.spec.ts @@ -1130,7 +1130,7 @@ part001 = startSketchOn(XZ) |> line(end = [-20.38, -10.12]) |> line(end = [-15.79, 17.08]) - fn yohey(pos) { + fn yohey(@pos) { sketch004 = startSketchOn(XZ) ${extrudeAndEditBlockedInFunction} |> line(end = [27.55, -1.65]) diff --git a/package-lock.json b/package-lock.json index f466a9116..76d797331 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14664,6 +14664,7 @@ "version": "0.1.0", "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, "license": "MIT", "engines": { "node": ">=10" diff --git a/public/kcl-samples/bench/bench-parts.kcl b/public/kcl-samples/bench/bench-parts.kcl index 8ec7b91e1..6ba6a0896 100644 --- a/public/kcl-samples/bench/bench-parts.kcl +++ b/public/kcl-samples/bench/bench-parts.kcl @@ -125,7 +125,7 @@ fn armRestProfile(@plane, offset) { } export fn armRest(@plane, offset) { - path = armRestPath( offsetPlane(plane, offset = offset)) + path = armRestPath(offsetPlane(plane, offset = offset)) profile = armRestProfile(offsetPlane(-XZ, offset = 20), offset = -offset) sweep(profile, path = path) return 0 diff --git a/public/kcl-samples/food-service-spatula/main.kcl b/public/kcl-samples/food-service-spatula/main.kcl index 29f42a6ec..bdec5f98f 100644 --- a/public/kcl-samples/food-service-spatula/main.kcl +++ b/public/kcl-samples/food-service-spatula/main.kcl @@ -28,7 +28,7 @@ fn slot(sketch1, start, end, width) { if end[0] < start[0] { units::toDegrees(atan((end[1] - start[1]) / (end[0] - start[0]))) + 180 } else { - units::toDegrees( atan((end[1] - start[1]) / (end[0] - start[0]))) + units::toDegrees(atan((end[1] - start[1]) / (end[0] - start[0]))) } } dist = sqrt(pow(end[1] - start[1], exp = 2) + pow(end[0] - start[0], exp = 2)) diff --git a/public/kcl-samples/gear/main.kcl b/public/kcl-samples/gear/main.kcl index 61e467bab..db8f0b6ee 100644 --- a/public/kcl-samples/gear/main.kcl +++ b/public/kcl-samples/gear/main.kcl @@ -28,7 +28,7 @@ rs = map( angles = map( rs, f = fn(r) { - return units::toDegrees( acos(baseDiameter / 2 / r)) + return units::toDegrees(acos(baseDiameter / 2 / r)) }, ) diff --git a/public/kcl-samples/makeup-mirror/main.kcl b/public/kcl-samples/makeup-mirror/main.kcl index e88b25e15..cff7739d0 100644 --- a/public/kcl-samples/makeup-mirror/main.kcl +++ b/public/kcl-samples/makeup-mirror/main.kcl @@ -52,7 +52,7 @@ armPartB = armFn(plane = XZ, offset = armLength, altitude = hingeHeight * 2.5 + // Add a function to create the mirror fn mirrorFn(plane, offsetX, offsetY, altitude, radius, tiefe, gestellR, gestellD) { - armPlane = startSketchOn( offsetPlane(plane, offset = offsetY - (tiefe / 2))) + armPlane = startSketchOn(offsetPlane(plane, offset = offsetY - (tiefe / 2))) armBody = circle(armPlane, center = [offsetX, altitude], radius = radius) |> extrude(length = tiefe) diff --git a/rust/kcl-lib/e2e/executor/inputs/broken-code-test.kcl b/rust/kcl-lib/e2e/executor/inputs/broken-code-test.kcl index 4681535e4..cefecba01 100644 --- a/rust/kcl-lib/e2e/executor/inputs/broken-code-test.kcl +++ b/rust/kcl-lib/e2e/executor/inputs/broken-code-test.kcl @@ -32,13 +32,13 @@ bracket = startSketchOn(XY) |> fillet( radius = filletR, tags = [ - getPreviousAdjacentEdge('innerEdge', %) + getPreviousAdjacentEdge('innerEdge') ] ) |> fillet( radius = filletR + thickness, tags = [ - getPreviousAdjacentEdge('outerEdge', %) + getPreviousAdjacentEdge('outerEdge') ] ) diff --git a/rust/kcl-lib/e2e/executor/inputs/math.kcl b/rust/kcl-lib/e2e/executor/inputs/math.kcl index 4a9d729a2..c1858728d 100644 --- a/rust/kcl-lib/e2e/executor/inputs/math.kcl +++ b/rust/kcl-lib/e2e/executor/inputs/math.kcl @@ -1,20 +1,20 @@ svg = startSketchOn(XY) -|> lineTo([0],%) -|> lineTo([0 + 1],%) -|> lineTo([0 + 1 + 2],%) -|> lineTo([0 + 1 + 2 + 3],%) -|> lineTo([0 + 1 + 2 + 3 + 4],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17],%) -|> lineTo([0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18],%) +|> line(endAbsolute = [0]) +|> line(endAbsolute = [0 + 1]) +|> line(endAbsolute = [0 + 1 + 2]) +|> line(endAbsolute = [0 + 1 + 2 + 3]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17]) +|> line(endAbsolute = [0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18]) diff --git a/rust/kcl-lib/e2e/executor/inputs/router-template-slate.kcl b/rust/kcl-lib/e2e/executor/inputs/router-template-slate.kcl index a8e5a847e..0413ee157 100644 --- a/rust/kcl-lib/e2e/executor/inputs/router-template-slate.kcl +++ b/rust/kcl-lib/e2e/executor/inputs/router-template-slate.kcl @@ -21,10 +21,10 @@ sketch001 = startSketchOn(XZ) |> xLine(endAbsolute = slateWidthHalf + templateThickness, tag = $seg04) |> yLine(length = -length002, tag = $seg03) |> xLine(endAbsolute = 0, tag = $seg02) - |> xLine(length = -segLen(seg02, %)) - |> yLine(length = segLen(seg03, %)) - |> xLine(length = segLen(seg04, %)) - |> yLine(length = segLen(seg05, %)) + |> xLine(length = -segLen(seg02)) + |> yLine(length = segLen(seg03)) + |> xLine(length = segLen(seg04)) + |> yLine(length = segLen(seg05)) |> arc( angleEnd = 90, angleStart = 180, @@ -36,16 +36,16 @@ extrude001 = extrude(sketch001, length = 5) sketch002 = startSketchOn(extrude001, face = 'START') |> startProfile(at = [-slateWidthHalf, -templateGap * 2 - (templateDiameter / 2)]) |> xLine(length = -7, tag = $rectangleSegmentA001) - |> angledLine(angle = segAng(rectangleSegmentA001, %) + 90, length = minClampingDistance, tag = $rectangleSegmentB001) - |> angledLine(angle = segAng(rectangleSegmentA001, %), length = -segLen(rectangleSegmentA001, %), tag = $rectangleSegmentC001) + |> angledLine(angle = segAng(rectangleSegmentA001) + 90, length = minClampingDistance, tag = $rectangleSegmentB001) + |> angledLine(angle = segAng(rectangleSegmentA001), length = -segLen(rectangleSegmentA001), tag = $rectangleSegmentC001) |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) |> close() extrude002 = extrude(sketch002, length = 7.5) sketch003 = startSketchOn(extrude001, face = 'START') |> startProfile(at = [slateWidthHalf, -templateGap * 2 - (templateDiameter / 2)]) |> xLine(length = 7, tag = $rectangleSegmentA002) - |> angledLine(angle = segAng(rectangleSegmentA002, %) - 90, length = minClampingDistance) - |> angledLine(angle = segAng(rectangleSegmentA002, %), length = -segLen(rectangleSegmentA002, %)) + |> angledLine(angle = segAng(rectangleSegmentA002) - 90, length = minClampingDistance) + |> angledLine(angle = segAng(rectangleSegmentA002), length = -segLen(rectangleSegmentA002)) |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) |> close() extrude003 = extrude(sketch003, length = 7.5) diff --git a/rust/kcl-lib/src/execution/exec_ast.rs b/rust/kcl-lib/src/execution/exec_ast.rs index 848ae9c18..b666a0c70 100644 --- a/rust/kcl-lib/src/execution/exec_ast.rs +++ b/rust/kcl-lib/src/execution/exec_ast.rs @@ -19,9 +19,9 @@ use crate::{ modules::{ModuleId, ModulePath, ModuleRepr}, parsing::ast::types::{ Annotation, ArrayExpression, ArrayRangeExpression, BinaryExpression, BinaryOperator, BinaryPart, BodyItem, - CallExpression, CallExpressionKw, Expr, FunctionExpression, IfExpression, ImportPath, ImportSelector, - ItemVisibility, LiteralIdentifier, LiteralValue, MemberExpression, MemberObject, Name, Node, NodeRef, - ObjectExpression, PipeExpression, Program, TagDeclarator, Type, UnaryExpression, UnaryOperator, + CallExpressionKw, Expr, FunctionExpression, IfExpression, ImportPath, ImportSelector, ItemVisibility, + LiteralIdentifier, LiteralValue, MemberExpression, MemberObject, Name, Node, NodeRef, ObjectExpression, + PipeExpression, Program, TagDeclarator, Type, UnaryExpression, UnaryOperator, }, source_range::SourceRange, std::{ @@ -668,7 +668,6 @@ impl ExecutorContext { } } } - Expr::CallExpression(call_expression) => call_expression.execute(exec_state, self).await?, Expr::CallExpressionKw(call_expression) => call_expression.execute(exec_state, self).await?, Expr::PipeExpression(pipe_expression) => pipe_expression.get_result(exec_state, self).await?, Expr::PipeSubstitution(pipe_substitution) => match statement_kind { @@ -755,7 +754,6 @@ impl BinaryPart { BinaryPart::Literal(literal) => Ok(KclValue::from_literal((**literal).clone(), exec_state)), BinaryPart::Name(name) => name.get_result(exec_state, ctx).await.cloned(), BinaryPart::BinaryExpression(binary_expression) => binary_expression.get_result(exec_state, ctx).await, - BinaryPart::CallExpression(call_expression) => call_expression.execute(exec_state, ctx).await, BinaryPart::CallExpressionKw(call_expression) => call_expression.execute(exec_state, ctx).await, BinaryPart::UnaryExpression(unary_expression) => unary_expression.get_result(exec_state, ctx).await, BinaryPart::MemberExpression(member_expression) => member_expression.get_result(exec_state), @@ -1426,12 +1424,6 @@ impl Node { e.add_source_ranges(vec![callsite]) })?; - #[cfg(feature = "artifact-graph")] - if matches!(fn_src, FunctionSource::User { .. }) { - // Track return operation. - exec_state.global.operations.push(Operation::GroupEnd); - } - let result = return_value.ok_or_else(move || { let mut source_ranges: Vec = vec![callsite]; // We want to send the source range of the original function. @@ -1450,145 +1442,6 @@ impl Node { } } -impl Node { - #[async_recursion] - pub async fn execute(&self, exec_state: &mut ExecState, ctx: &ExecutorContext) -> Result { - let fn_name = &self.callee; - let callsite = SourceRange::from(self); - - let mut fn_args: Vec = Vec::with_capacity(self.arguments.len()); - - for arg_expr in &self.arguments { - let metadata = Metadata { - source_range: SourceRange::from(arg_expr), - }; - let value = ctx - .execute_expr(arg_expr, exec_state, &metadata, &[], StatementKind::Expression) - .await?; - let arg = Arg::new(value, SourceRange::from(arg_expr)); - fn_args.push(arg); - } - let fn_args = fn_args; // remove mutability - - match ctx.stdlib.get_either(fn_name) { - FunctionKind::Core(func) => { - if func.deprecated() { - exec_state.warn(CompilationError::err( - self.callee.as_source_range(), - format!("`{fn_name}` is deprecated, see the docs for a recommended replacement"), - )); - } - - #[cfg(feature = "artifact-graph")] - let op = if func.feature_tree_operation() { - let op_labeled_args = func - .args(false) - .iter() - .zip(&fn_args) - .map(|(k, arg)| { - ( - k.name.clone(), - OpArg::new(OpKclValue::from(&arg.value), arg.source_range), - ) - }) - .collect(); - Some(Operation::StdLibCall { - std_lib_fn: (&func).into(), - unlabeled_arg: None, - labeled_args: op_labeled_args, - source_range: callsite, - is_error: false, - }) - } else { - None - }; - - // Attempt to call the function. - let args = crate::std::Args::new( - fn_args, - self.into(), - ctx.clone(), - exec_state.mod_local.pipe_value.clone().map(|v| Arg::new(v, callsite)), - ); - let mut return_value = { - // Don't early-return in this block. - exec_state.mut_stack().push_new_env_for_rust_call(); - let result = func.std_lib_fn()(exec_state, args).await; - exec_state.mut_stack().pop_env(); - - #[cfg(feature = "artifact-graph")] - if let Some(mut op) = op { - op.set_std_lib_call_is_error(result.is_err()); - // Track call operation. We do this after the call - // since things like patternTransform may call user code - // before running, and we will likely want to use the - // return value. The call takes ownership of the args, - // so we need to build the op before the call. - exec_state.global.operations.push(op); - } - result - }?; - - update_memory_for_tags_of_geometry(&mut return_value, exec_state)?; - - Ok(return_value) - } - FunctionKind::UserDefined => { - let source_range = SourceRange::from(self); - // Clone the function so that we can use a mutable reference to - // exec_state. - let func = fn_name.get_result(exec_state, ctx).await?.clone(); - - // Track call operation. - #[cfg(feature = "artifact-graph")] - exec_state.global.operations.push(Operation::GroupBegin { - group: Group::FunctionCall { - name: Some(fn_name.to_string()), - function_source_range: func.function_def_source_range().unwrap_or_default(), - unlabeled_arg: None, - // TODO: Add the arguments for legacy positional parameters. - labeled_args: Default::default(), - }, - source_range: callsite, - }); - - let Some(fn_src) = func.as_fn() else { - return Err(KclError::Semantic(KclErrorDetails { - message: "cannot call this because it isn't a function".to_string(), - source_ranges: vec![source_range], - })); - }; - let return_value = fn_src - .call(Some(fn_name.to_string()), exec_state, ctx, fn_args, source_range) - .await - .map_err(|e| { - // Add the call expression to the source ranges. - // TODO currently ignored by the frontend - e.add_source_ranges(vec![source_range]) - })?; - - let result = return_value.ok_or_else(move || { - let mut source_ranges: Vec = vec![source_range]; - // We want to send the source range of the original function. - if let KclValue::Function { meta, .. } = func { - source_ranges = meta.iter().map(|m| m.source_range).collect(); - }; - KclError::UndefinedValue(KclErrorDetails { - message: format!("Result of function {} is undefined", fn_name), - source_ranges, - }) - })?; - - // Track return operation. - #[cfg(feature = "artifact-graph")] - exec_state.global.operations.push(Operation::GroupEnd); - - Ok(result) - } - } - } -} - fn update_memory_for_tags_of_geometry(result: &mut KclValue, exec_state: &mut ExecState) -> Result<(), KclError> { // If the return result is a sketch or solid, we want to update the // memory for the tags of the group. @@ -2474,7 +2327,15 @@ impl FunctionSource { }); } - call_user_defined_function_kw(fn_name.as_deref(), args.kw_args, *memory, ast, exec_state, ctx).await + let result = + call_user_defined_function_kw(fn_name.as_deref(), args.kw_args, *memory, ast, exec_state, ctx) + .await; + + // Track return operation. + #[cfg(feature = "artifact-graph")] + exec_state.global.operations.push(Operation::GroupEnd); + + result } FunctionSource::None => unreachable!(), } diff --git a/rust/kcl-lib/src/execution/kcl_value.rs b/rust/kcl-lib/src/execution/kcl_value.rs index 72608d4e1..cb388210e 100644 --- a/rust/kcl-lib/src/execution/kcl_value.rs +++ b/rust/kcl-lib/src/execution/kcl_value.rs @@ -263,20 +263,6 @@ impl KclValue { } } - #[cfg(feature = "artifact-graph")] - pub(crate) fn function_def_source_range(&self) -> Option { - let KclValue::Function { - value: FunctionSource::User { ast, .. }, - .. - } = self - else { - return None; - }; - // TODO: It would be nice if we could extract the source range starting - // at the fn, but that's the variable declaration. - Some(ast.as_source_range()) - } - #[allow(unused)] pub(crate) fn none() -> Self { Self::KclNone { diff --git a/rust/kcl-lib/src/lint/checks/offset_plane.rs b/rust/kcl-lib/src/lint/checks/offset_plane.rs index 67f7d49d1..614c862d9 100644 --- a/rust/kcl-lib/src/lint/checks/offset_plane.rs +++ b/rust/kcl-lib/src/lint/checks/offset_plane.rs @@ -6,8 +6,7 @@ use crate::{ execution::{types::UnitLen, PlaneInfo, Point3d}, lint::rule::{def_finding, Discovered, Finding}, parsing::ast::types::{ - BinaryPart, CallExpression, CallExpressionKw, Expr, LiteralValue, Node as AstNode, ObjectExpression, Program, - UnaryOperator, + BinaryPart, CallExpressionKw, Expr, LiteralValue, Node as AstNode, ObjectExpression, Program, UnaryOperator, }, walk::Node, SourceRange, @@ -128,37 +127,11 @@ fn get_offset(info: &PlaneInfo) -> Option { pub fn start_sketch_on_check_specific_plane(node: Node) -> Result> { match node { - Node::CallExpression(node) => start_sketch_on_check_specific_plane_pos(node), Node::CallExpressionKw(node) => start_sketch_on_check_specific_plane_kw(node), _ => Ok(None), } } -pub fn start_sketch_on_check_specific_plane_pos( - call: &AstNode, -) -> Result> { - if call.inner.callee.inner.name.name != "startSketchOn" { - return Ok(None); - } - - if call.arguments.len() != 1 { - // we only look for single-argument object patterns, if there's more - // than that we don't have a plane decl - return Ok(None); - } - - let call_source_range = SourceRange::new( - call.arguments[0].start(), - call.arguments[0].end(), - call.arguments[0].module_id(), - ); - - let Expr::ObjectExpression(arg) = &call.arguments[0] else { - return Ok(None); - }; - common(arg, call_source_range) -} - pub fn start_sketch_on_check_specific_plane_kw( call: &AstNode, ) -> Result> { diff --git a/rust/kcl-lib/src/lsp/kcl/hover.rs b/rust/kcl-lib/src/lsp/kcl/hover.rs index 690d0ef77..56869250e 100644 --- a/rust/kcl-lib/src/lsp/kcl/hover.rs +++ b/rust/kcl-lib/src/lsp/kcl/hover.rs @@ -89,7 +89,6 @@ impl Expr { Expr::FunctionExpression(function_expression) => { function_expression.get_hover_value_for_position(pos, code, opts) } - Expr::CallExpression(call_expression) => call_expression.get_hover_value_for_position(pos, code, opts), Expr::CallExpressionKw(call_expression) => call_expression.get_hover_value_for_position(pos, code, opts), Expr::PipeExpression(pipe_expression) => pipe_expression.get_hover_value_for_position(pos, code, opts), Expr::ArrayExpression(array_expression) => array_expression.get_hover_value_for_position(pos, code, opts), @@ -144,9 +143,6 @@ impl BinaryPart { BinaryPart::BinaryExpression(binary_expression) => { binary_expression.get_hover_value_for_position(pos, code, opts) } - BinaryPart::CallExpression(call_expression) => { - call_expression.get_hover_value_for_position(pos, code, opts) - } BinaryPart::CallExpressionKw(call_expression) => { call_expression.get_hover_value_for_position(pos, code, opts) } @@ -161,35 +157,6 @@ impl BinaryPart { } } -impl CallExpression { - fn get_hover_value_for_position(&self, pos: usize, code: &str, opts: &HoverOpts) -> Option { - let callee_source_range: SourceRange = self.callee.clone().into(); - if callee_source_range.contains(pos) { - return Some(Hover::Function { - name: self.callee.to_string(), - range: callee_source_range.to_lsp_range(code), - }); - } - - for (index, arg) in self.arguments.iter().enumerate() { - let source_range: SourceRange = arg.into(); - if source_range.contains(pos) { - return if opts.prefer_sig { - Some(Hover::Signature { - name: self.callee.to_string(), - parameter_index: index as u32, - range: source_range.to_lsp_range(code), - }) - } else { - arg.get_hover_value_for_position(pos, code, opts) - }; - } - } - - None - } -} - impl CallExpressionKw { fn get_hover_value_for_position(&self, pos: usize, code: &str, opts: &HoverOpts) -> Option { let callee_source_range: SourceRange = self.callee.clone().into(); diff --git a/rust/kcl-lib/src/lsp/kcl/mod.rs b/rust/kcl-lib/src/lsp/kcl/mod.rs index 90b09e802..51149fd2f 100644 --- a/rust/kcl-lib/src/lsp/kcl/mod.rs +++ b/rust/kcl-lib/src/lsp/kcl/mod.rs @@ -516,23 +516,6 @@ impl Backend { } return get_modifier(vec![SemanticTokenModifier::DECLARATION]); } - crate::walk::Node::CallExpression(call_expr) => { - let sr: SourceRange = (&call_expr.callee).into(); - if sr.contains(source_range.start()) { - let mut ti = token_index.lock().map_err(|_| anyhow::anyhow!("mutex"))?; - *ti = match self.get_semantic_token_type_index(&SemanticTokenType::FUNCTION) { - Some(index) => index, - None => token_type_index, - }; - - if self.stdlib_completions.contains_key(&call_expr.callee.name.name) { - // This is a stdlib function. - return get_modifier(vec![SemanticTokenModifier::DEFAULT_LIBRARY]); - } - - return Ok(false); - } - } crate::walk::Node::CallExpressionKw(call_expr) => { let sr: SourceRange = (&call_expr.callee).into(); if sr.contains(source_range.start()) { diff --git a/rust/kcl-lib/src/parsing/ast/digest.rs b/rust/kcl-lib/src/parsing/ast/digest.rs index 96bceee1e..78590ad67 100644 --- a/rust/kcl-lib/src/parsing/ast/digest.rs +++ b/rust/kcl-lib/src/parsing/ast/digest.rs @@ -2,11 +2,11 @@ use sha2::{Digest as DigestTrait, Sha256}; use crate::parsing::ast::types::{ Annotation, ArrayExpression, ArrayRangeExpression, AscribedExpression, BinaryExpression, BinaryPart, BodyItem, - CallExpression, CallExpressionKw, DefaultParamVal, ElseIf, Expr, ExpressionStatement, FunctionExpression, - Identifier, IfExpression, ImportItem, ImportSelector, ImportStatement, ItemVisibility, KclNone, LabelledExpression, - Literal, LiteralIdentifier, LiteralValue, MemberExpression, MemberObject, Name, ObjectExpression, ObjectProperty, - Parameter, PipeExpression, PipeSubstitution, PrimitiveType, Program, ReturnStatement, TagDeclarator, Type, - TypeDeclaration, UnaryExpression, VariableDeclaration, VariableDeclarator, VariableKind, + CallExpressionKw, DefaultParamVal, ElseIf, Expr, ExpressionStatement, FunctionExpression, Identifier, IfExpression, + ImportItem, ImportSelector, ImportStatement, ItemVisibility, KclNone, LabelledExpression, Literal, + LiteralIdentifier, LiteralValue, MemberExpression, MemberObject, Name, ObjectExpression, ObjectProperty, Parameter, + PipeExpression, PipeSubstitution, PrimitiveType, Program, ReturnStatement, TagDeclarator, Type, TypeDeclaration, + UnaryExpression, VariableDeclaration, VariableDeclarator, VariableKind, }; /// Position-independent digest of the AST node. @@ -132,7 +132,6 @@ impl Expr { Expr::TagDeclarator(tag) => tag.compute_digest(), Expr::BinaryExpression(be) => be.compute_digest(), Expr::FunctionExpression(fe) => fe.compute_digest(), - Expr::CallExpression(ce) => ce.compute_digest(), Expr::CallExpressionKw(ce) => ce.compute_digest(), Expr::PipeExpression(pe) => pe.compute_digest(), Expr::PipeSubstitution(ps) => ps.compute_digest(), @@ -159,7 +158,6 @@ impl BinaryPart { BinaryPart::Literal(lit) => lit.compute_digest(), BinaryPart::Name(id) => id.compute_digest(), BinaryPart::BinaryExpression(be) => be.compute_digest(), - BinaryPart::CallExpression(ce) => ce.compute_digest(), BinaryPart::CallExpressionKw(ce) => ce.compute_digest(), BinaryPart::UnaryExpression(ue) => ue.compute_digest(), BinaryPart::MemberExpression(me) => me.compute_digest(), @@ -480,16 +478,6 @@ impl PipeExpression { }); } -impl CallExpression { - compute_digest!(|slf, hasher| { - hasher.update(slf.callee.compute_digest()); - hasher.update(slf.arguments.len().to_ne_bytes()); - for argument in slf.arguments.iter_mut() { - hasher.update(argument.compute_digest()); - } - }); -} - impl CallExpressionKw { compute_digest!(|slf, hasher| { hasher.update(slf.callee.compute_digest()); diff --git a/rust/kcl-lib/src/parsing/ast/mod.rs b/rust/kcl-lib/src/parsing/ast/mod.rs index ed23328e3..5ae0a068c 100644 --- a/rust/kcl-lib/src/parsing/ast/mod.rs +++ b/rust/kcl-lib/src/parsing/ast/mod.rs @@ -26,7 +26,6 @@ impl Expr { Expr::TagDeclarator(tag) => tag.module_id, Expr::BinaryExpression(binary_expression) => binary_expression.module_id, Expr::FunctionExpression(function_expression) => function_expression.module_id, - Expr::CallExpression(call_expression) => call_expression.module_id, Expr::CallExpressionKw(call_expression) => call_expression.module_id, Expr::PipeExpression(pipe_expression) => pipe_expression.module_id, Expr::PipeSubstitution(pipe_substitution) => pipe_substitution.module_id, @@ -49,7 +48,6 @@ impl BinaryPart { BinaryPart::Literal(literal) => literal.module_id, BinaryPart::Name(identifier) => identifier.module_id, BinaryPart::BinaryExpression(binary_expression) => binary_expression.module_id, - BinaryPart::CallExpression(call_expression) => call_expression.module_id, BinaryPart::CallExpressionKw(call_expression) => call_expression.module_id, BinaryPart::UnaryExpression(unary_expression) => unary_expression.module_id, BinaryPart::MemberExpression(member_expression) => member_expression.module_id, diff --git a/rust/kcl-lib/src/parsing/ast/types/mod.rs b/rust/kcl-lib/src/parsing/ast/types/mod.rs index 9905c37af..5d0c6e9c7 100644 --- a/rust/kcl-lib/src/parsing/ast/types/mod.rs +++ b/rust/kcl-lib/src/parsing/ast/types/mod.rs @@ -932,7 +932,6 @@ pub enum Expr { TagDeclarator(BoxNode), BinaryExpression(BoxNode), FunctionExpression(BoxNode), - CallExpression(BoxNode), CallExpressionKw(BoxNode), PipeExpression(BoxNode), PipeSubstitution(BoxNode), @@ -978,7 +977,6 @@ impl Expr { Expr::MemberExpression(_mem_exp) => None, Expr::Literal(_literal) => None, Expr::FunctionExpression(_func_exp) => None, - Expr::CallExpression(_call_exp) => None, Expr::CallExpressionKw(_call_exp) => None, Expr::Name(_ident) => None, Expr::TagDeclarator(_tag) => None, @@ -1006,7 +1004,6 @@ impl Expr { Expr::MemberExpression(_) => {} Expr::Literal(_) => {} Expr::FunctionExpression(ref mut func_exp) => func_exp.replace_value(source_range, new_value), - Expr::CallExpression(ref mut call_exp) => call_exp.replace_value(source_range, new_value), Expr::CallExpressionKw(ref mut call_exp) => call_exp.replace_value(source_range, new_value), Expr::Name(_) => {} Expr::TagDeclarator(_) => {} @@ -1027,7 +1024,6 @@ impl Expr { Expr::TagDeclarator(tag) => tag.start, Expr::BinaryExpression(binary_expression) => binary_expression.start, Expr::FunctionExpression(function_expression) => function_expression.start, - Expr::CallExpression(call_expression) => call_expression.start, Expr::CallExpressionKw(call_expression) => call_expression.start, Expr::PipeExpression(pipe_expression) => pipe_expression.start, Expr::PipeSubstitution(pipe_substitution) => pipe_substitution.start, @@ -1050,7 +1046,6 @@ impl Expr { Expr::TagDeclarator(tag) => tag.end, Expr::BinaryExpression(binary_expression) => binary_expression.end, Expr::FunctionExpression(function_expression) => function_expression.end, - Expr::CallExpression(call_expression) => call_expression.end, Expr::CallExpressionKw(call_expression) => call_expression.end, Expr::PipeExpression(pipe_expression) => pipe_expression.end, Expr::PipeSubstitution(pipe_substitution) => pipe_substitution.end, @@ -1081,7 +1076,6 @@ impl Expr { binary_expression.rename_identifiers(old_name, new_name) } Expr::FunctionExpression(_function_identifier) => {} - Expr::CallExpression(ref mut call_expression) => call_expression.rename_identifiers(old_name, new_name), Expr::CallExpressionKw(ref mut call_expression) => call_expression.rename_identifiers(old_name, new_name), Expr::PipeExpression(ref mut pipe_expression) => pipe_expression.rename_identifiers(old_name, new_name), Expr::PipeSubstitution(_) => {} @@ -1110,7 +1104,6 @@ impl Expr { Expr::BinaryExpression(binary_expression) => binary_expression.get_constraint_level(), Expr::FunctionExpression(function_identifier) => function_identifier.get_constraint_level(), - Expr::CallExpression(call_expression) => call_expression.get_constraint_level(), Expr::CallExpressionKw(call_expression) => call_expression.get_constraint_level(), Expr::PipeExpression(pipe_expression) => pipe_expression.get_constraint_level(), Expr::PipeSubstitution(pipe_substitution) => ConstraintLevel::Ignore { @@ -1128,16 +1121,6 @@ impl Expr { } } - pub fn has_substitution_arg(&self) -> bool { - match self { - Expr::CallExpression(call_expression) => call_expression.has_substitution_arg(), - Expr::CallExpressionKw(call_expression) => call_expression.has_substitution_arg(), - Expr::LabelledExpression(expr) => expr.expr.has_substitution_arg(), - Expr::AscribedExpression(expr) => expr.expr.has_substitution_arg(), - _ => false, - } - } - pub fn literal_bool(&self) -> Option { match self { Expr::Literal(lit) => match lit.value { @@ -1194,7 +1177,6 @@ impl From<&BinaryPart> for Expr { BinaryPart::Literal(literal) => Expr::Literal(literal.clone()), BinaryPart::Name(name) => Expr::Name(name.clone()), BinaryPart::BinaryExpression(binary_expression) => Expr::BinaryExpression(binary_expression.clone()), - BinaryPart::CallExpression(call_expression) => Expr::CallExpression(call_expression.clone()), BinaryPart::CallExpressionKw(call_expression) => Expr::CallExpressionKw(call_expression.clone()), BinaryPart::UnaryExpression(unary_expression) => Expr::UnaryExpression(unary_expression.clone()), BinaryPart::MemberExpression(member_expression) => Expr::MemberExpression(member_expression.clone()), @@ -1261,7 +1243,6 @@ pub enum BinaryPart { Literal(BoxNode), Name(BoxNode), BinaryExpression(BoxNode), - CallExpression(BoxNode), CallExpressionKw(BoxNode), UnaryExpression(BoxNode), MemberExpression(BoxNode), @@ -1287,7 +1268,6 @@ impl BinaryPart { BinaryPart::Literal(literal) => literal.get_constraint_level(), BinaryPart::Name(identifier) => identifier.get_constraint_level(), BinaryPart::BinaryExpression(binary_expression) => binary_expression.get_constraint_level(), - BinaryPart::CallExpression(call_expression) => call_expression.get_constraint_level(), BinaryPart::CallExpressionKw(call_expression) => call_expression.get_constraint_level(), BinaryPart::UnaryExpression(unary_expression) => unary_expression.get_constraint_level(), BinaryPart::MemberExpression(member_expression) => member_expression.get_constraint_level(), @@ -1302,9 +1282,6 @@ impl BinaryPart { BinaryPart::BinaryExpression(ref mut binary_expression) => { binary_expression.replace_value(source_range, new_value) } - BinaryPart::CallExpression(ref mut call_expression) => { - call_expression.replace_value(source_range, new_value) - } BinaryPart::CallExpressionKw(ref mut call_expression) => { call_expression.replace_value(source_range, new_value) } @@ -1321,7 +1298,6 @@ impl BinaryPart { BinaryPart::Literal(literal) => literal.start, BinaryPart::Name(identifier) => identifier.start, BinaryPart::BinaryExpression(binary_expression) => binary_expression.start, - BinaryPart::CallExpression(call_expression) => call_expression.start, BinaryPart::CallExpressionKw(call_expression) => call_expression.start, BinaryPart::UnaryExpression(unary_expression) => unary_expression.start, BinaryPart::MemberExpression(member_expression) => member_expression.start, @@ -1334,7 +1310,6 @@ impl BinaryPart { BinaryPart::Literal(literal) => literal.end, BinaryPart::Name(identifier) => identifier.end, BinaryPart::BinaryExpression(binary_expression) => binary_expression.end, - BinaryPart::CallExpression(call_expression) => call_expression.end, BinaryPart::CallExpressionKw(call_expression) => call_expression.end, BinaryPart::UnaryExpression(unary_expression) => unary_expression.end, BinaryPart::MemberExpression(member_expression) => member_expression.end, @@ -1350,9 +1325,6 @@ impl BinaryPart { BinaryPart::BinaryExpression(ref mut binary_expression) => { binary_expression.rename_identifiers(old_name, new_name) } - BinaryPart::CallExpression(ref mut call_expression) => { - call_expression.rename_identifiers(old_name, new_name) - } BinaryPart::CallExpressionKw(ref mut call_expression) => { call_expression.rename_identifiers(old_name, new_name) } @@ -1844,18 +1816,6 @@ pub struct ExpressionStatement { pub digest: Option, } -#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, ts_rs::TS, JsonSchema)] -#[ts(export)] -#[serde(tag = "type")] -pub struct CallExpression { - pub callee: Node, - pub arguments: Vec, - - #[serde(default, skip_serializing_if = "Option::is_none")] - #[ts(optional)] - pub digest: Option, -} - #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, ts_rs::TS, JsonSchema)] #[ts(export)] #[serde(rename_all = "camelCase", tag = "type")] @@ -1881,37 +1841,12 @@ pub struct LabeledArg { pub arg: Expr, } -impl From> for Expr { - fn from(call_expression: Node) -> Self { - Expr::CallExpression(Box::new(call_expression)) - } -} - impl From> for Expr { fn from(call_expression: Node) -> Self { Expr::CallExpressionKw(Box::new(call_expression)) } } -impl Node { - /// Return the constraint level for this call expression. - pub fn get_constraint_level(&self) -> ConstraintLevel { - if self.arguments.is_empty() { - return ConstraintLevel::Ignore { - source_ranges: vec![self.into()], - }; - } - - // Iterate over the arguments and get the constraint level for each one. - let mut constraint_levels = ConstraintLevels::new(); - for arg in &self.arguments { - constraint_levels.push(arg.get_constraint_level()); - } - - constraint_levels.get_constraint_level(self.into()) - } -} - impl Node { /// Return the constraint level for this call expression. pub fn get_constraint_level(&self) -> ConstraintLevel { @@ -1931,38 +1866,6 @@ impl Node { } } -impl CallExpression { - pub fn new(name: &str, arguments: Vec) -> Result, KclError> { - Ok(Node::no_src(Self { - callee: Name::new(name), - arguments, - digest: None, - })) - } - - /// Is at least one argument the '%' i.e. the substitution operator? - pub fn has_substitution_arg(&self) -> bool { - self.arguments - .iter() - .any(|arg| matches!(arg, Expr::PipeSubstitution(_))) - } - - pub fn replace_value(&mut self, source_range: SourceRange, new_value: Expr) { - for arg in &mut self.arguments { - arg.replace_value(source_range, new_value.clone()); - } - } - - /// Rename all identifiers that have the old name to the new given name. - fn rename_identifiers(&mut self, old_name: &str, new_name: &str) { - self.callee.rename(old_name, new_name); - - for arg in &mut self.arguments { - arg.rename_identifiers(old_name, new_name); - } - } -} - impl CallExpressionKw { pub fn new(name: &str, unlabeled: Option, arguments: Vec) -> Result, KclError> { Ok(Node::no_src(Self { @@ -1982,13 +1885,6 @@ impl CallExpressionKw { .chain(self.arguments.iter().map(|arg| (Some(&arg.label), &arg.arg))) } - /// Is at least one argument the '%' i.e. the substitution operator? - pub fn has_substitution_arg(&self) -> bool { - self.arguments - .iter() - .any(|arg| matches!(arg.arg, Expr::PipeSubstitution(_))) - } - pub fn replace_value(&mut self, source_range: SourceRange, new_value: Expr) { for arg in &mut self.arguments { arg.arg.replace_value(source_range, new_value.clone()); @@ -4188,13 +4084,8 @@ cylinder = startSketchOn(-XZ) }; oe } - Expr::CallExpression(ce) => { - let Expr::ObjectExpression(ref oe) = (ce.arguments).first().unwrap() else { - panic!("expected an object!"); - }; - oe - } - other => panic!("expected a Call or CallKw, found {other:?}"), + + other => panic!("expected a CallKw, found {other:?}"), }; assert_eq!(oe.properties.len(), 2); diff --git a/rust/kcl-lib/src/parsing/ast/types/path.rs b/rust/kcl-lib/src/parsing/ast/types/path.rs index 931c05a60..331f53a90 100644 --- a/rust/kcl-lib/src/parsing/ast/types/path.rs +++ b/rust/kcl-lib/src/parsing/ast/types/path.rs @@ -177,18 +177,6 @@ impl NodePath { } } } - Expr::CallExpression(node) => { - if node.callee.contains_range(&range) { - path.push(Step::CallCallee); - return Some(path); - } - for (i, arg) in node.arguments.iter().enumerate() { - if arg.contains_range(&range) { - path.push(Step::CallArg { index: i }); - return Self::from_expr(arg, range, path); - } - } - } Expr::CallExpressionKw(node) => { if node.callee.contains_range(&range) { path.push(Step::CallKwCallee); diff --git a/rust/kcl-lib/src/parsing/parser.rs b/rust/kcl-lib/src/parsing/parser.rs index edd47d47e..8ae5b8aed 100644 --- a/rust/kcl-lib/src/parsing/parser.rs +++ b/rust/kcl-lib/src/parsing/parser.rs @@ -14,7 +14,7 @@ use winnow::{ }; use super::{ - ast::types::{AscribedExpression, CallExpression, ImportPath, LabelledExpression}, + ast::types::{AscribedExpression, ImportPath, LabelledExpression}, token::{NumericSuffix, RESERVED_WORDS}, DeprecationKind, }; @@ -630,7 +630,6 @@ fn operand(i: &mut TokenSlice) -> PResult { Expr::Literal(x) => BinaryPart::Literal(x), Expr::Name(x) => BinaryPart::Name(x), Expr::BinaryExpression(x) => BinaryPart::BinaryExpression(x), - Expr::CallExpression(x) => BinaryPart::CallExpression(x), Expr::CallExpressionKw(x) => BinaryPart::CallExpressionKw(x), Expr::MemberExpression(x) => BinaryPart::MemberExpression(x), Expr::IfExpression(x) => BinaryPart::IfExpression(x), @@ -2030,7 +2029,6 @@ fn expr_allowed_in_pipe_expr(i: &mut TokenSlice) -> PResult { bool_value.map(Expr::Literal), tag.map(Box::new).map(Expr::TagDeclarator), literal.map(Expr::Literal), - fn_call.map(Box::new).map(Expr::CallExpression), fn_call_kw.map(Box::new).map(Expr::CallExpressionKw), name.map(Box::new).map(Expr::Name), array, @@ -2050,7 +2048,6 @@ fn possible_operands(i: &mut TokenSlice) -> PResult { bool_value.map(Expr::Literal), member_expression.map(Box::new).map(Expr::MemberExpression), literal.map(Expr::Literal), - fn_call.map(Box::new).map(Expr::CallExpression), fn_call_kw.map(Box::new).map(Expr::CallExpressionKw), name.map(Box::new).map(Expr::Name), binary_expr_in_parens.map(Box::new).map(Expr::BinaryExpression), @@ -2711,13 +2708,6 @@ fn pipe_sep(i: &mut TokenSlice) -> PResult<()> { Ok(()) } -/// Arguments are passed into a function. -fn arguments(i: &mut TokenSlice) -> PResult> { - separated(0.., expression, comma_sep) - .context(expected("function arguments")) - .parse_next(i) -} - fn labeled_argument(i: &mut TokenSlice) -> PResult { separated_pair( terminated(nameable_identifier, opt(whitespace)), @@ -2986,11 +2976,7 @@ fn binding_name(i: &mut TokenSlice) -> PResult> { /// Either a positional or keyword function call. fn fn_call_pos_or_kw(i: &mut TokenSlice) -> PResult { - alt(( - fn_call.map(Box::new).map(Expr::CallExpression), - fn_call_kw.map(Box::new).map(Expr::CallExpressionKw), - )) - .parse_next(i) + alt((fn_call_kw.map(Box::new).map(Expr::CallExpressionKw),)).parse_next(i) } fn labelled_fn_call(i: &mut TokenSlice) -> PResult { @@ -3003,43 +2989,6 @@ fn labelled_fn_call(i: &mut TokenSlice) -> PResult { } } -fn fn_call(i: &mut TokenSlice) -> PResult> { - let fn_name = name(i)?; - opt(whitespace).parse_next(i)?; - let _ = terminated(open_paren, opt(whitespace)).parse_next(i)?; - let args = arguments(i)?; - let end = preceded(opt(whitespace), close_paren).parse_next(i)?.end; - - let result = Node::new_node( - fn_name.start, - end, - fn_name.module_id, - CallExpression { - callee: fn_name, - arguments: args, - digest: None, - }, - ); - - let callee_str = result.callee.name.name.to_string(); - if let Some(suggestion) = super::deprecation(&callee_str, DeprecationKind::Function) { - ParseContext::warn( - CompilationError::err( - result.as_source_range(), - format!("Calling `{}` is deprecated, prefer using `{}`.", callee_str, suggestion), - ) - .with_suggestion( - format!("Replace `{}` with `{}`", callee_str, suggestion), - suggestion, - None, - Tag::Deprecated, - ), - ); - } - - Ok(result) -} - fn fn_call_kw(i: &mut TokenSlice) -> PResult> { let fn_name = name(i)?; opt(whitespace).parse_next(i)?; @@ -3231,18 +3180,6 @@ mod tests { assert_reserved("import"); } - #[test] - fn parse_args() { - for (i, (test, expected_len)) in [("someVar", 1), ("5, 3", 2), (r#""a""#, 1)].into_iter().enumerate() { - let tokens = crate::parsing::token::lex(test, ModuleId::default()).unwrap(); - let actual = match arguments.parse(tokens.as_slice()) { - Ok(x) => x, - Err(e) => panic!("Failed test {i}, could not parse function arguments from \"{test}\": {e:?}"), - }; - assert_eq!(actual.len(), expected_len, "failed test {i}"); - } - } - #[test] fn parse_names() { for (test, expected_len) in [("someVar", 0), ("::foo", 0), ("foo::bar::baz", 2)] { diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__a.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__a.snap index f95faad91..adae7a13a 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__a.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__a.snap @@ -19,24 +19,6 @@ expression: actual "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 26, - "end": 28, - "name": { - "commentStart": 26, - "end": 28, - "name": "XY", - "start": 26, - "type": "Identifier" - }, - "path": [], - "start": 26, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 12, @@ -55,8 +37,24 @@ expression: actual "commentStart": 12, "end": 29, "start": 12, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 26, + "end": 28, + "name": { + "commentStart": 26, + "end": 28, + "name": "XY", + "start": 26, + "type": "Identifier" + }, + "path": [], + "start": 26, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ad.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ad.snap index cc50c6e15..fb4260fb3 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ad.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ad.snap @@ -63,7 +63,6 @@ expression: actual "commentStart": 56, "end": 74, "expression": { - "arguments": [], "callee": { "abs_path": false, "commentStart": 56, @@ -82,8 +81,9 @@ expression: actual "commentStart": 56, "end": 74, "start": 56, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, "start": 56, "type": "ExpressionStatement", diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ae.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ae.snap index a4805a445..2e585988f 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ae.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ae.snap @@ -71,17 +71,6 @@ expression: actual "commentStart": 48, "end": 60, "expression": { - "arguments": [ - { - "commentStart": 54, - "end": 59, - "raw": "false", - "start": 54, - "type": "Literal", - "type": "Literal", - "value": false - } - ], "callee": { "abs_path": false, "commentStart": 48, @@ -100,8 +89,17 @@ expression: actual "commentStart": 48, "end": 60, "start": 48, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 54, + "end": 59, + "raw": "false", + "start": 54, + "type": "Literal", + "type": "Literal", + "value": false + } }, "start": 48, "type": "ExpressionStatement", diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__af.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__af.snap index 8b47a911b..5d10eba57 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__af.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__af.snap @@ -19,24 +19,6 @@ expression: actual "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 25, - "end": 27, - "name": { - "commentStart": 25, - "end": 27, - "name": "XY", - "start": 25, - "type": "Identifier" - }, - "path": [], - "start": 25, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 11, @@ -55,8 +37,24 @@ expression: actual "commentStart": 11, "end": 28, "start": 11, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 25, + "end": 27, + "name": { + "commentStart": 25, + "end": 27, + "name": "XY", + "start": 25, + "type": "Identifier" + }, + "path": [], + "start": 25, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -367,7 +365,6 @@ expression: actual "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 223, @@ -386,8 +383,9 @@ expression: actual "commentStart": 223, "end": 230, "start": 223, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 11, diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ag.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ag.snap index bc65025da..51bca9ec9 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ag.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ag.snap @@ -19,24 +19,6 @@ expression: actual "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 25, - "end": 27, - "name": { - "commentStart": 25, - "end": 27, - "name": "XY", - "start": 25, - "type": "Identifier" - }, - "path": [], - "start": 25, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 11, @@ -55,8 +37,24 @@ expression: actual "commentStart": 11, "end": 28, "start": 11, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 25, + "end": 27, + "name": { + "commentStart": 25, + "end": 27, + "name": "XY", + "start": 25, + "type": "Identifier" + }, + "path": [], + "start": 25, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -195,7 +193,6 @@ expression: actual "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 90, @@ -214,8 +211,9 @@ expression: actual "commentStart": 90, "end": 97, "start": 90, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 11, diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ah.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ah.snap index 5f0163dc0..af6c4ca15 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ah.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ah.snap @@ -19,24 +19,6 @@ expression: actual "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 22, - "end": 24, - "name": { - "commentStart": 22, - "end": 24, - "name": "XY", - "start": 22, - "type": "Identifier" - }, - "path": [], - "start": 22, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 8, @@ -55,8 +37,24 @@ expression: actual "commentStart": 8, "end": 25, "start": 8, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 22, + "end": 24, + "name": { + "commentStart": 22, + "end": 24, + "name": "XY", + "start": 22, + "type": "Identifier" + }, + "path": [], + "start": 22, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ai.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ai.snap index e1c34d5a5..71c2f5ebb 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ai.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ai.snap @@ -19,20 +19,6 @@ expression: actual "init": { "body": [ { - "arguments": [ - { - "commentStart": 10, - "end": 11, - "raw": "1", - "start": 10, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 8, @@ -51,24 +37,22 @@ expression: actual "commentStart": 8, "end": 12, "start": 8, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 10, + "end": 11, + "raw": "1", + "start": 10, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + } }, { - "arguments": [ - { - "commentStart": 18, - "end": 19, - "raw": "2", - "start": 18, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 16, @@ -87,8 +71,20 @@ expression: actual "commentStart": 16, "end": 20, "start": 16, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 18, + "end": 19, + "raw": "2", + "start": 18, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + } } ], "commentStart": 8, diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__aj.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__aj.snap index fd35296e0..5eb974579 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__aj.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__aj.snap @@ -19,24 +19,6 @@ expression: actual "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 22, - "end": 24, - "name": { - "commentStart": 22, - "end": 24, - "name": "XY", - "start": 22, - "type": "Identifier" - }, - "path": [], - "start": 22, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 8, @@ -55,8 +37,24 @@ expression: actual "commentStart": 8, "end": 25, "start": 8, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 22, + "end": 24, + "name": { + "commentStart": 22, + "end": 24, + "name": "XY", + "start": 22, + "type": "Identifier" + }, + "path": [], + "start": 22, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ap.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ap.snap index 54f7e9385..d07790a28 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ap.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__ap.snap @@ -19,24 +19,6 @@ expression: actual "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 25, - "end": 27, - "name": { - "commentStart": 25, - "end": 27, - "name": "XY", - "start": 25, - "type": "Identifier" - }, - "path": [], - "start": 25, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 11, @@ -55,8 +37,24 @@ expression: actual "commentStart": 11, "end": 28, "start": 11, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 25, + "end": 27, + "name": { + "commentStart": 25, + "end": 27, + "name": "XY", + "start": 25, + "type": "Identifier" + }, + "path": [], + "start": 25, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__at.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__at.snap index c306ce489..95df117ed 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__at.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__at.snap @@ -8,45 +8,6 @@ expression: actual "commentStart": 0, "end": 12, "expression": { - "arguments": [ - { - "commentStart": 5, - "elements": [ - { - "commentStart": 6, - "end": 7, - "raw": "0", - "start": 6, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - { - "abs_path": false, - "commentStart": 9, - "end": 10, - "name": { - "commentStart": 9, - "end": 10, - "name": "l", - "start": 9, - "type": "Identifier" - }, - "path": [], - "start": 9, - "type": "Name", - "type": "Name" - } - ], - "end": 11, - "start": 5, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -65,8 +26,45 @@ expression: actual "commentStart": 0, "end": 12, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 5, + "elements": [ + { + "commentStart": 6, + "end": 7, + "raw": "0", + "start": 6, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + { + "abs_path": false, + "commentStart": 9, + "end": 10, + "name": { + "commentStart": 9, + "end": 10, + "name": "l", + "start": 9, + "type": "Identifier" + }, + "path": [], + "start": 9, + "type": "Name", + "type": "Name" + } + ], + "end": 11, + "start": 5, + "type": "ArrayExpression", + "type": "ArrayExpression" + } }, "start": 0, "type": "ExpressionStatement", diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__au.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__au.snap index 417b74eaa..29eb410e4 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__au.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__au.snap @@ -19,24 +19,6 @@ expression: actual "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 25, - "end": 27, - "name": { - "commentStart": 25, - "end": 27, - "name": "XY", - "start": 25, - "type": "Identifier" - }, - "path": [], - "start": 25, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 11, @@ -55,8 +37,24 @@ expression: actual "commentStart": 11, "end": 28, "start": 11, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 25, + "end": 27, + "name": { + "commentStart": 25, + "end": 27, + "name": "XY", + "start": 25, + "type": "Identifier" + }, + "path": [], + "start": 25, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__bd.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__bd.snap index 1c6c69fcf..8d7a439e7 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__bd.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__bd.snap @@ -32,24 +32,6 @@ expression: actual { "commentStart": 38, "cond": { - "arguments": [ - { - "abs_path": false, - "commentStart": 51, - "end": 57, - "name": { - "commentStart": 51, - "end": 57, - "name": "radius", - "start": 51, - "type": "Identifier" - }, - "path": [], - "start": 51, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 46, @@ -68,8 +50,24 @@ expression: actual "commentStart": 46, "end": 58, "start": 46, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 51, + "end": 57, + "name": { + "commentStart": 51, + "end": 57, + "name": "radius", + "start": 51, + "type": "Identifier" + }, + "path": [], + "start": 51, + "type": "Name", + "type": "Name" + } }, "digest": null, "end": 84, diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__d.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__d.snap index ed8ee2e44..8c6a2b270 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__d.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__d.snap @@ -51,20 +51,6 @@ expression: actual "type": "BinaryExpression" }, { - "arguments": [ - { - "commentStart": 24, - "end": 26, - "raw": "45", - "start": 24, - "type": "Literal", - "type": "Literal", - "value": { - "value": 45.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 17, @@ -83,8 +69,20 @@ expression: actual "commentStart": 17, "end": 27, "start": 17, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 24, + "end": 26, + "raw": "45", + "start": 24, + "type": "Literal", + "type": "Literal", + "value": { + "value": 45.0, + "suffix": "None" + } + } } ], "commentStart": 8, diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__y.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__y.snap index 21fc852c7..8e542b8be 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__y.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__y.snap @@ -19,24 +19,6 @@ expression: actual "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 19, - "end": 21, - "name": { - "commentStart": 19, - "end": 21, - "name": "XY", - "start": 19, - "type": "Identifier" - }, - "path": [], - "start": 19, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 5, @@ -55,28 +37,26 @@ expression: actual "commentStart": 5, "end": 22, "start": 5, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 19, + "end": 21, + "name": { + "commentStart": 19, + "end": 21, + "name": "XY", + "start": 19, + "type": "Identifier" + }, + "path": [], + "start": 19, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 39, - "end": 42, - "name": { - "commentStart": 39, - "end": 42, - "name": "pos", - "start": 39, - "type": "Identifier" - }, - "path": [], - "start": 39, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 26, @@ -95,8 +75,24 @@ expression: actual "commentStart": 26, "end": 43, "start": 26, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 39, + "end": 42, + "name": { + "commentStart": 39, + "end": 42, + "name": "pos", + "start": 39, + "type": "Identifier" + }, + "path": [], + "start": 39, + "type": "Name", + "type": "Name" + } } ], "commentStart": 5, diff --git a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__z.snap b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__z.snap index 7ba69bb3a..e7d918c0b 100644 --- a/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__z.snap +++ b/rust/kcl-lib/src/parsing/snapshots/kcl_lib__parsing__parser__snapshot_tests__z.snap @@ -19,24 +19,6 @@ expression: actual "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 19, - "end": 21, - "name": { - "commentStart": 19, - "end": 21, - "name": "XY", - "start": 19, - "type": "Identifier" - }, - "path": [], - "start": 19, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 5, @@ -55,28 +37,26 @@ expression: actual "commentStart": 5, "end": 22, "start": 5, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 19, + "end": 21, + "name": { + "commentStart": 19, + "end": 21, + "name": "XY", + "start": 19, + "type": "Identifier" + }, + "path": [], + "start": 19, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 43, - "end": 46, - "name": { - "commentStart": 43, - "end": 46, - "name": "pos", - "start": 43, - "type": "Identifier" - }, - "path": [], - "start": 43, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 30, @@ -95,57 +75,26 @@ expression: actual "commentStart": 30, "end": 47, "start": 30, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 43, + "end": 46, + "name": { + "commentStart": 43, + "end": 46, + "name": "pos", + "start": 43, + "type": "Identifier" + }, + "path": [], + "start": 43, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "commentStart": 56, - "elements": [ - { - "commentStart": 57, - "end": 58, - "raw": "0", - "start": 57, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - { - "argument": { - "abs_path": false, - "commentStart": 61, - "end": 66, - "name": { - "commentStart": 61, - "end": 66, - "name": "scale", - "start": 61, - "type": "Identifier" - }, - "path": [], - "start": 61, - "type": "Name", - "type": "Name" - }, - "commentStart": 60, - "end": 66, - "operator": "-", - "start": 60, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], - "end": 67, - "start": 56, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], "callee": { "abs_path": false, "commentStart": 51, @@ -164,8 +113,53 @@ expression: actual "commentStart": 51, "end": 68, "start": 51, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 56, + "elements": [ + { + "commentStart": 57, + "end": 58, + "raw": "0", + "start": 57, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + { + "argument": { + "abs_path": false, + "commentStart": 61, + "end": 66, + "name": { + "commentStart": 61, + "end": 66, + "name": "scale", + "start": 61, + "type": "Identifier" + }, + "path": [], + "start": 61, + "type": "Name", + "type": "Name" + }, + "commentStart": 60, + "end": 66, + "operator": "-", + "start": 60, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + ], + "end": 67, + "start": 56, + "type": "ArrayExpression", + "type": "ArrayExpression" + } } ], "commentStart": 5, diff --git a/rust/kcl-lib/src/unparser.rs b/rust/kcl-lib/src/unparser.rs index 815f383f3..776ba4767 100644 --- a/rust/kcl-lib/src/unparser.rs +++ b/rust/kcl-lib/src/unparser.rs @@ -3,10 +3,10 @@ use std::fmt::Write; use crate::parsing::{ ast::types::{ Annotation, ArrayExpression, ArrayRangeExpression, BinaryExpression, BinaryOperator, BinaryPart, BodyItem, - CallExpression, CallExpressionKw, CommentStyle, DefaultParamVal, Expr, FormatOptions, FunctionExpression, - IfExpression, ImportSelector, ImportStatement, ItemVisibility, LabeledArg, Literal, LiteralIdentifier, - LiteralValue, MemberExpression, MemberObject, Node, NonCodeNode, NonCodeValue, ObjectExpression, Parameter, - PipeExpression, Program, TagDeclarator, TypeDeclaration, UnaryExpression, VariableDeclaration, VariableKind, + CallExpressionKw, CommentStyle, DefaultParamVal, Expr, FormatOptions, FunctionExpression, IfExpression, + ImportSelector, ImportStatement, ItemVisibility, LabeledArg, Literal, LiteralIdentifier, LiteralValue, + MemberExpression, MemberObject, Node, NonCodeNode, NonCodeValue, ObjectExpression, Parameter, PipeExpression, + Program, TagDeclarator, TypeDeclaration, UnaryExpression, VariableDeclaration, VariableKind, }, deprecation, token::NumericSuffix, @@ -291,7 +291,6 @@ impl Expr { result += &func_exp.recast(options, indentation_level); result } - Expr::CallExpression(call_exp) => call_exp.recast(options, indentation_level, ctxt), Expr::CallExpressionKw(call_exp) => call_exp.recast(options, indentation_level, ctxt), Expr::Name(name) => { let result = name.to_string(); @@ -342,9 +341,6 @@ impl BinaryPart { } } BinaryPart::BinaryExpression(binary_expression) => binary_expression.recast(options), - BinaryPart::CallExpression(call_expression) => { - call_expression.recast(options, indentation_level, ExprContext::Other) - } BinaryPart::CallExpressionKw(call_expression) => { call_expression.recast(options, indentation_level, ExprContext::Other) } @@ -355,25 +351,6 @@ impl BinaryPart { } } -impl CallExpression { - fn recast(&self, options: &FormatOptions, indentation_level: usize, ctxt: ExprContext) -> String { - format!( - "{}{}({})", - if ctxt == ExprContext::Pipe { - "".to_string() - } else { - options.get_indentation(indentation_level) - }, - self.callee, - self.arguments - .iter() - .map(|arg| arg.recast(options, indentation_level, ctxt)) - .collect::>() - .join(", ") - ) - } -} - impl CallExpressionKw { fn recast_args(&self, options: &FormatOptions, indentation_level: usize, ctxt: ExprContext) -> Vec { let mut arg_list = if let Some(first_arg) = &self.unlabeled { @@ -748,8 +725,7 @@ impl UnaryExpression { | BinaryPart::Name(_) | BinaryPart::MemberExpression(_) | BinaryPart::IfExpression(_) - | BinaryPart::CallExpressionKw(_) - | BinaryPart::CallExpression(_) => { + | BinaryPart::CallExpressionKw(_) => { format!("{}{}", &self.operator, self.argument.recast(options, 0)) } BinaryPart::BinaryExpression(_) | BinaryPart::UnaryExpression(_) => { diff --git a/rust/kcl-lib/src/walk/ast_node.rs b/rust/kcl-lib/src/walk/ast_node.rs index e3ce4c426..7de47e114 100644 --- a/rust/kcl-lib/src/walk/ast_node.rs +++ b/rust/kcl-lib/src/walk/ast_node.rs @@ -23,7 +23,6 @@ pub enum Node<'a> { Name(NodeRef<'a, types::Name>), BinaryExpression(NodeRef<'a, types::BinaryExpression>), FunctionExpression(NodeRef<'a, types::FunctionExpression>), - CallExpression(NodeRef<'a, types::CallExpression>), CallExpressionKw(NodeRef<'a, types::CallExpressionKw>), PipeExpression(NodeRef<'a, types::PipeExpression>), PipeSubstitution(NodeRef<'a, types::PipeSubstitution>), @@ -64,7 +63,6 @@ impl Node<'_> { Node::Name(n) => n.digest, Node::BinaryExpression(n) => n.digest, Node::FunctionExpression(n) => n.digest, - Node::CallExpression(n) => n.digest, Node::CallExpressionKw(n) => n.digest, Node::PipeExpression(n) => n.digest, Node::PipeSubstitution(n) => n.digest, @@ -109,7 +107,6 @@ impl Node<'_> { Node::Name(n) => *n as *const _ as *const (), Node::BinaryExpression(n) => *n as *const _ as *const (), Node::FunctionExpression(n) => *n as *const _ as *const (), - Node::CallExpression(n) => *n as *const _ as *const (), Node::CallExpressionKw(n) => *n as *const _ as *const (), Node::PipeExpression(n) => *n as *const _ as *const (), Node::PipeSubstitution(n) => *n as *const _ as *const (), @@ -154,7 +151,6 @@ impl TryFrom<&Node<'_>> for SourceRange { Node::Name(n) => SourceRange::from(*n), Node::BinaryExpression(n) => SourceRange::from(*n), Node::FunctionExpression(n) => SourceRange::from(*n), - Node::CallExpression(n) => SourceRange::from(*n), Node::CallExpressionKw(n) => SourceRange::from(*n), Node::PipeExpression(n) => SourceRange::from(*n), Node::PipeSubstitution(n) => SourceRange::from(*n), @@ -199,7 +195,6 @@ impl<'tree> From<&'tree types::Expr> for Node<'tree> { types::Expr::Name(id) => id.as_ref().into(), types::Expr::BinaryExpression(be) => be.as_ref().into(), types::Expr::FunctionExpression(fe) => fe.as_ref().into(), - types::Expr::CallExpression(ce) => ce.as_ref().into(), types::Expr::CallExpressionKw(ce) => ce.as_ref().into(), types::Expr::PipeExpression(pe) => pe.as_ref().into(), types::Expr::PipeSubstitution(ps) => ps.as_ref().into(), @@ -222,7 +217,6 @@ impl<'tree> From<&'tree types::BinaryPart> for Node<'tree> { types::BinaryPart::Literal(lit) => lit.as_ref().into(), types::BinaryPart::Name(id) => id.as_ref().into(), types::BinaryPart::BinaryExpression(be) => be.as_ref().into(), - types::BinaryPart::CallExpression(ce) => ce.as_ref().into(), types::BinaryPart::CallExpressionKw(ce) => ce.as_ref().into(), types::BinaryPart::UnaryExpression(ue) => ue.as_ref().into(), types::BinaryPart::MemberExpression(me) => me.as_ref().into(), @@ -282,7 +276,6 @@ impl_from!(Node, Identifier); impl_from!(Node, Name); impl_from!(Node, BinaryExpression); impl_from!(Node, FunctionExpression); -impl_from!(Node, CallExpression); impl_from!(Node, CallExpressionKw); impl_from!(Node, PipeExpression); impl_from!(Node, PipeSubstitution); diff --git a/rust/kcl-lib/src/walk/ast_visitor.rs b/rust/kcl-lib/src/walk/ast_visitor.rs index e3c2635e4..3eaa77db6 100644 --- a/rust/kcl-lib/src/walk/ast_visitor.rs +++ b/rust/kcl-lib/src/walk/ast_visitor.rs @@ -78,19 +78,17 @@ impl<'tree> Visitable<'tree> for Node<'tree> { children.push((&n.body).into()); children } - Node::CallExpression(n) => { - let mut children = n.arguments.iter().map(|v| v.into()).collect::>(); - children.insert(0, (&n.callee).into()); - children - } Node::CallExpressionKw(n) => { - let mut children = n.unlabeled.iter().map(|v| v.into()).collect::>(); + let mut children: Vec> = + Vec::with_capacity(1 + if n.unlabeled.is_some() { 1 } else { 0 } + n.arguments.len()); + children.push((&n.callee).into()); + children.extend(n.unlabeled.iter().map(Node::from)); // TODO: this is wrong but it's what the old walk code was doing. // We likely need a real LabeledArg AST node, but I don't // want to tango with it since it's a lot deeper than // adding it to the enum. - children.extend(n.arguments.iter().map(|v| (&v.arg).into()).collect::>()); + children.extend(n.arguments.iter().map(|v| Node::from(&v.arg))); children } Node::PipeExpression(n) => n.body.iter().map(|v| v.into()).collect(), diff --git a/rust/kcl-lib/tests/add_lots/ast.snap b/rust/kcl-lib/tests/add_lots/ast.snap index 0c13597e8..4ef307ace 100644 --- a/rust/kcl-lib/tests/add_lots/ast.snap +++ b/rust/kcl-lib/tests/add_lots/ast.snap @@ -289,20 +289,6 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -321,25 +307,23 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + } }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -358,8 +342,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -367,20 +363,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -399,8 +381,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -408,20 +402,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "3", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 3.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -440,8 +420,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -449,20 +441,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "4", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 4.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -481,8 +459,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "4", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 4.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -490,20 +480,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "5", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 5.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -522,8 +498,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "5", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 5.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -531,20 +519,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "6", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 6.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -563,8 +537,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "6", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 6.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -572,20 +558,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "7", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 7.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -604,8 +576,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "7", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 7.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -613,20 +597,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "8", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 8.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -645,8 +615,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "8", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 8.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -654,20 +636,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "9", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 9.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -686,8 +654,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "9", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 9.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -695,20 +675,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "10", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 10.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -727,8 +693,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "10", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 10.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -736,20 +714,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "11", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 11.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -768,8 +732,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "11", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 11.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -777,20 +753,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "12", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 12.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -809,8 +771,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "12", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 12.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -818,20 +792,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "13", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 13.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -850,8 +810,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "13", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 13.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -859,20 +831,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "14", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 14.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -891,8 +849,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "14", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 14.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -900,20 +870,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "15", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 15.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -932,8 +888,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "15", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 15.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -941,20 +909,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "16", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 16.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -973,8 +927,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "16", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 16.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -982,20 +948,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "17", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 17.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1014,8 +966,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "17", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 17.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1023,20 +987,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "18", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 18.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1055,8 +1005,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "18", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 18.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1064,20 +1026,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "19", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 19.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1096,8 +1044,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "19", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 19.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1105,20 +1065,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "20", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 20.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1137,8 +1083,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "20", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 20.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1146,20 +1104,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "21", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 21.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1178,8 +1122,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "21", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 21.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1187,20 +1143,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "22", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 22.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1219,8 +1161,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "22", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 22.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1228,20 +1182,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "23", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 23.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1260,8 +1200,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "23", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 23.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1269,20 +1221,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "24", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 24.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1301,8 +1239,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "24", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 24.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1310,20 +1260,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "25", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 25.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1342,8 +1278,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "25", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 25.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1351,20 +1299,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "26", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 26.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1383,8 +1317,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "26", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 26.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1392,20 +1338,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "27", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 27.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1424,8 +1356,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "27", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 27.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1433,20 +1377,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "28", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 28.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1465,8 +1395,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "28", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 28.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1474,20 +1416,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "29", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 29.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1506,8 +1434,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "29", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 29.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1515,20 +1455,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "30", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 30.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1547,8 +1473,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "30", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 30.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1556,20 +1494,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "31", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 31.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1588,8 +1512,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "31", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 31.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1597,20 +1533,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "32", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 32.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1629,8 +1551,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "32", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 32.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1638,20 +1572,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "33", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 33.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1670,8 +1590,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "33", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 33.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1679,20 +1611,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "34", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 34.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1711,8 +1629,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "34", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 34.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1720,20 +1650,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "35", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 35.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1752,8 +1668,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "35", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 35.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1761,20 +1689,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "36", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 36.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1793,8 +1707,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "36", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 36.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1802,20 +1728,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "37", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 37.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1834,8 +1746,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "37", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 37.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1843,20 +1767,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "38", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 38.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1875,8 +1785,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "38", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 38.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1884,20 +1806,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "39", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 39.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1916,8 +1824,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "39", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 39.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1925,20 +1845,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "40", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 40.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1957,8 +1863,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "40", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 40.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -1966,20 +1884,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "41", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 41.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1998,8 +1902,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "41", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 41.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2007,20 +1923,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "42", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 42.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2039,8 +1941,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "42", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 42.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2048,20 +1962,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "43", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 43.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2080,8 +1980,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "43", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 43.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2089,20 +2001,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "44", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 44.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2121,8 +2019,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "44", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 44.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2130,20 +2040,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "45", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 45.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2162,8 +2058,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "45", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 45.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2171,20 +2079,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "46", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 46.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2203,8 +2097,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "46", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 46.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2212,20 +2118,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "47", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 47.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2244,8 +2136,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "47", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 47.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2253,20 +2157,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "48", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 48.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2285,8 +2175,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "48", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 48.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2294,20 +2196,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "49", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 49.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2326,8 +2214,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "49", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 49.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2335,20 +2235,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "50", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 50.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2367,8 +2253,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "50", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 50.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2376,20 +2274,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "51", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 51.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2408,8 +2292,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "51", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 51.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2417,20 +2313,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "52", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 52.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2449,8 +2331,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "52", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 52.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2458,20 +2352,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "53", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 53.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2490,8 +2370,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "53", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 53.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2499,20 +2391,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "54", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 54.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2531,8 +2409,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "54", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 54.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2540,20 +2430,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "55", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 55.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2572,8 +2448,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "55", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 55.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2581,20 +2469,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "56", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 56.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2613,8 +2487,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "56", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 56.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2622,20 +2508,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "57", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 57.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2654,8 +2526,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "57", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 57.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2663,20 +2547,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "58", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 58.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2695,8 +2565,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "58", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 58.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2704,20 +2586,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "59", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 59.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2736,8 +2604,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "59", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 59.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2745,20 +2625,6 @@ description: Result of parsing add_lots.kcl }, "operator": "+", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "60", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 60.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2777,8 +2643,20 @@ description: Result of parsing add_lots.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "60", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 60.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", diff --git a/rust/kcl-lib/tests/add_lots/ops.snap b/rust/kcl-lib/tests/add_lots/ops.snap index 66e81bf49..bab5697e1 100644 --- a/rust/kcl-lib/tests/add_lots/ops.snap +++ b/rust/kcl-lib/tests/add_lots/ops.snap @@ -9,7 +9,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -20,7 +35,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -31,7 +61,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 2.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -42,7 +87,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 3.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -53,7 +113,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 4.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -64,7 +139,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 5.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -75,7 +165,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 6.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -86,7 +191,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 7.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -97,7 +217,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 8.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -108,7 +243,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 9.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -119,7 +269,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 10.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -130,7 +295,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 11.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -141,7 +321,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -152,7 +347,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 13.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -163,7 +373,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -174,7 +399,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -185,7 +425,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -196,7 +451,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -207,7 +477,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -218,7 +503,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -229,7 +529,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -240,7 +555,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -251,7 +581,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -262,7 +607,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -273,7 +633,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -284,7 +659,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -295,7 +685,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -306,7 +711,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -317,7 +737,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -328,7 +763,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -339,7 +789,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -350,7 +815,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 31.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -361,7 +841,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 32.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -372,7 +867,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 33.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -383,7 +893,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 34.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -394,7 +919,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 35.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -405,7 +945,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 36.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -416,7 +971,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 37.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -427,7 +997,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 38.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -438,7 +1023,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 39.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -449,7 +1049,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 40.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -460,7 +1075,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 41.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -471,7 +1101,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 42.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -482,7 +1127,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 43.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -493,7 +1153,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 44.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -504,7 +1179,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 45.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -515,7 +1205,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 46.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -526,7 +1231,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 47.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -537,7 +1257,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 48.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -548,7 +1283,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 49.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -559,7 +1309,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 50.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -570,7 +1335,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 51.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -581,7 +1361,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 52.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -592,7 +1387,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 53.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -603,7 +1413,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 54.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -614,7 +1439,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 55.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -625,7 +1465,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 56.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -636,7 +1491,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 57.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -647,7 +1517,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 58.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -658,7 +1543,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 59.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -669,7 +1569,22 @@ description: Operations executed add_lots.kcl "type": "FunctionCall", "name": "f", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 60.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] diff --git a/rust/kcl-lib/tests/angled_line/ast.snap b/rust/kcl-lib/tests/angled_line/ast.snap index 5c074ec45..e3de01be8 100644 --- a/rust/kcl-lib/tests/angled_line/ast.snap +++ b/rust/kcl-lib/tests/angled_line/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing angled_line.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing angled_line.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -385,24 +383,6 @@ description: Result of parsing angled_line.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -421,8 +401,24 @@ description: Result of parsing angled_line.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -547,7 +543,6 @@ description: Result of parsing angled_line.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -566,8 +561,9 @@ description: Result of parsing angled_line.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/angled_line/ops.snap b/rust/kcl-lib/tests/angled_line/ops.snap index 451f720a2..d0f5288e8 100644 --- a/rust/kcl-lib/tests/angled_line/ops.snap +++ b/rust/kcl-lib/tests/angled_line/ops.snap @@ -4,19 +4,17 @@ description: Operations executed angled_line.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/array_elem_pop/ast.snap b/rust/kcl-lib/tests/array_elem_pop/ast.snap index 25b8dea2d..5dc122b50 100644 --- a/rust/kcl-lib/tests/array_elem_pop/ast.snap +++ b/rust/kcl-lib/tests/array_elem_pop/ast.snap @@ -84,24 +84,6 @@ description: Result of parsing array_elem_pop.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "arr", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -120,8 +102,24 @@ description: Result of parsing array_elem_pop.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "arr", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -145,24 +143,6 @@ description: Result of parsing array_elem_pop.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "new_arr1", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -181,8 +161,24 @@ description: Result of parsing array_elem_pop.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "new_arr1", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -206,24 +202,6 @@ description: Result of parsing array_elem_pop.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "new_arr2", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -242,8 +220,24 @@ description: Result of parsing array_elem_pop.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "new_arr2", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/array_elem_pop_empty_fail/ast.snap b/rust/kcl-lib/tests/array_elem_pop_empty_fail/ast.snap index 48aeeacdd..b05461526 100644 --- a/rust/kcl-lib/tests/array_elem_pop_empty_fail/ast.snap +++ b/rust/kcl-lib/tests/array_elem_pop_empty_fail/ast.snap @@ -47,24 +47,6 @@ description: Result of parsing array_elem_pop_empty_fail.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "arr", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -83,8 +65,24 @@ description: Result of parsing array_elem_pop_empty_fail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "arr", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/array_elem_pop_fail/ast.snap b/rust/kcl-lib/tests/array_elem_pop_fail/ast.snap index d3fb1e444..bcbd61044 100644 --- a/rust/kcl-lib/tests/array_elem_pop_fail/ast.snap +++ b/rust/kcl-lib/tests/array_elem_pop_fail/ast.snap @@ -84,24 +84,6 @@ description: Result of parsing array_elem_pop_fail.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "arr", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -120,8 +102,24 @@ description: Result of parsing array_elem_pop_fail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "arr", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/artifact_graph_example_code1/ast.snap b/rust/kcl-lib/tests/artifact_graph_example_code1/ast.snap index ea5b677ac..7a130f288 100644 --- a/rust/kcl-lib/tests/artifact_graph_example_code1/ast.snap +++ b/rust/kcl-lib/tests/artifact_graph_example_code1/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing artifact_graph_example_code1.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing artifact_graph_example_code1.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -406,15 +404,6 @@ description: Result of parsing artifact_graph_example_code1.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -433,19 +422,17 @@ description: Result of parsing artifact_graph_example_code1.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -464,8 +451,15 @@ description: Result of parsing artifact_graph_example_code1.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -498,7 +492,6 @@ description: Result of parsing artifact_graph_example_code1.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -517,8 +510,9 @@ description: Result of parsing artifact_graph_example_code1.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1041,15 +1035,6 @@ description: Result of parsing artifact_graph_example_code1.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1068,19 +1053,17 @@ description: Result of parsing artifact_graph_example_code1.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1099,8 +1082,15 @@ description: Result of parsing artifact_graph_example_code1.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1133,7 +1123,6 @@ description: Result of parsing artifact_graph_example_code1.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1152,8 +1141,9 @@ description: Result of parsing artifact_graph_example_code1.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/artifact_graph_example_code1/ops.snap b/rust/kcl-lib/tests/artifact_graph_example_code1/ops.snap index 739119aa7..673a53eca 100644 --- a/rust/kcl-lib/tests/artifact_graph_example_code1/ops.snap +++ b/rust/kcl-lib/tests/artifact_graph_example_code1/ops.snap @@ -4,19 +4,17 @@ description: Operations executed artifact_graph_example_code1.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/artifact_graph_example_code_no_3d/ast.snap b/rust/kcl-lib/tests/artifact_graph_example_code_no_3d/ast.snap index 4fb5d27fb..8cd46a1ec 100644 --- a/rust/kcl-lib/tests/artifact_graph_example_code_no_3d/ast.snap +++ b/rust/kcl-lib/tests/artifact_graph_example_code_no_3d/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -229,24 +227,6 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -265,8 +245,24 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -361,24 +357,6 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -397,8 +375,24 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -412,24 +406,6 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -448,8 +424,24 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -515,15 +507,6 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -542,19 +525,17 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -573,8 +554,15 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -607,7 +595,6 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -626,8 +613,9 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -660,32 +648,6 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "init": { "body": [ { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -704,8 +666,32 @@ description: Result of parsing artifact_graph_example_code_no_3d.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/artifact_graph_example_code_no_3d/ops.snap b/rust/kcl-lib/tests/artifact_graph_example_code_no_3d/ops.snap index 7ded8fc98..abb95dde1 100644 --- a/rust/kcl-lib/tests/artifact_graph_example_code_no_3d/ops.snap +++ b/rust/kcl-lib/tests/artifact_graph_example_code_no_3d/ops.snap @@ -4,33 +4,29 @@ description: Operations executed artifact_graph_example_code_no_3d.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } } ] diff --git a/rust/kcl-lib/tests/artifact_graph_example_code_offset_planes/ast.snap b/rust/kcl-lib/tests/artifact_graph_example_code_offset_planes/ast.snap index beecbd55b..fa4c61336 100644 --- a/rust/kcl-lib/tests/artifact_graph_example_code_offset_planes/ast.snap +++ b/rust/kcl-lib/tests/artifact_graph_example_code_offset_planes/ast.snap @@ -277,24 +277,6 @@ description: Result of parsing artifact_graph_example_code_offset_planes.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -313,8 +295,24 @@ description: Result of parsing artifact_graph_example_code_offset_planes.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/artifact_graph_example_code_offset_planes/ops.snap b/rust/kcl-lib/tests/artifact_graph_example_code_offset_planes/ops.snap index 236e22be5..a434a917f 100644 --- a/rust/kcl-lib/tests/artifact_graph_example_code_offset_planes/ops.snap +++ b/rust/kcl-lib/tests/artifact_graph_example_code_offset_planes/ops.snap @@ -94,18 +94,16 @@ description: Operations executed artifact_graph_example_code_offset_planes.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } } ] diff --git a/rust/kcl-lib/tests/artifact_graph_sketch_on_face_etc/ast.snap b/rust/kcl-lib/tests/artifact_graph_sketch_on_face_etc/ast.snap index 51904aa69..00737c92e 100644 --- a/rust/kcl-lib/tests/artifact_graph_sketch_on_face_etc/ast.snap +++ b/rust/kcl-lib/tests/artifact_graph_sketch_on_face_etc/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -304,15 +302,6 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -331,19 +320,17 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -362,8 +349,15 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -396,7 +390,6 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -415,8 +408,9 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -832,15 +826,6 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -859,19 +844,17 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -890,8 +873,15 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -924,7 +914,6 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -943,8 +932,9 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1363,15 +1353,6 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1390,19 +1371,17 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1421,8 +1400,15 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1455,7 +1441,6 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1474,8 +1459,9 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1891,15 +1877,6 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1918,19 +1895,17 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1949,8 +1924,15 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1983,7 +1965,6 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2002,8 +1983,9 @@ description: Result of parsing artifact_graph_sketch_on_face_etc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/artifact_graph_sketch_on_face_etc/ops.snap b/rust/kcl-lib/tests/artifact_graph_sketch_on_face_etc/ops.snap index 63c97057b..1e43ac525 100644 --- a/rust/kcl-lib/tests/artifact_graph_sketch_on_face_etc/ops.snap +++ b/rust/kcl-lib/tests/artifact_graph_sketch_on_face_etc/ops.snap @@ -4,19 +4,17 @@ description: Operations executed artifact_graph_sketch_on_face_etc.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/bad_units_in_annotation/ast.snap b/rust/kcl-lib/tests/bad_units_in_annotation/ast.snap index 4376cdf07..c8cf04d13 100644 --- a/rust/kcl-lib/tests/bad_units_in_annotation/ast.snap +++ b/rust/kcl-lib/tests/bad_units_in_annotation/ast.snap @@ -162,24 +162,6 @@ description: Result of parsing bad_units_in_annotation.kcl "argument": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -198,8 +180,24 @@ description: Result of parsing bad_units_in_annotation.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -560,68 +558,6 @@ description: Result of parsing bad_units_in_annotation.kcl }, "operator": "*", "right": { - "arguments": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "bondAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toRadians", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -640,8 +576,66 @@ description: Result of parsing bad_units_in_annotation.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toRadians", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "bondAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } }, "start": 0, "type": "BinaryExpression", @@ -694,68 +688,6 @@ description: Result of parsing bad_units_in_annotation.kcl }, "operator": "*", "right": { - "arguments": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "bondAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toRadians", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -774,8 +706,66 @@ description: Result of parsing bad_units_in_annotation.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toRadians", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "bondAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } }, "start": 0, "type": "BinaryExpression", diff --git a/rust/kcl-lib/tests/basic_fillet_cube_close_opposite/ast.snap b/rust/kcl-lib/tests/basic_fillet_cube_close_opposite/ast.snap index 5e913fc8b..c8d4cc20e 100644 --- a/rust/kcl-lib/tests/basic_fillet_cube_close_opposite/ast.snap +++ b/rust/kcl-lib/tests/basic_fillet_cube_close_opposite/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing basic_fillet_cube_close_opposite.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing basic_fillet_cube_close_opposite.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -518,24 +516,6 @@ description: Result of parsing basic_fillet_cube_close_opposite.kcl "type": "Name" }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "thing3", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -554,8 +534,24 @@ description: Result of parsing basic_fillet_cube_close_opposite.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "thing3", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/basic_fillet_cube_close_opposite/ops.snap b/rust/kcl-lib/tests/basic_fillet_cube_close_opposite/ops.snap index 0f25f67dd..38d90c27a 100644 --- a/rust/kcl-lib/tests/basic_fillet_cube_close_opposite/ops.snap +++ b/rust/kcl-lib/tests/basic_fillet_cube_close_opposite/ops.snap @@ -4,19 +4,17 @@ description: Operations executed basic_fillet_cube_close_opposite.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/basic_fillet_cube_end/ast.snap b/rust/kcl-lib/tests/basic_fillet_cube_end/ast.snap index d3b4310f2..e6809944c 100644 --- a/rust/kcl-lib/tests/basic_fillet_cube_end/ast.snap +++ b/rust/kcl-lib/tests/basic_fillet_cube_end/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing basic_fillet_cube_end.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing basic_fillet_cube_end.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -376,15 +374,6 @@ description: Result of parsing basic_fillet_cube_end.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -403,8 +392,15 @@ description: Result of parsing basic_fillet_cube_end.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ @@ -506,24 +502,6 @@ description: Result of parsing basic_fillet_cube_end.kcl "type": "Name" }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "thing", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -542,8 +520,24 @@ description: Result of parsing basic_fillet_cube_end.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "thing", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/basic_fillet_cube_end/ops.snap b/rust/kcl-lib/tests/basic_fillet_cube_end/ops.snap index c09e339d5..6b1327ecd 100644 --- a/rust/kcl-lib/tests/basic_fillet_cube_end/ops.snap +++ b/rust/kcl-lib/tests/basic_fillet_cube_end/ops.snap @@ -4,19 +4,17 @@ description: Operations executed basic_fillet_cube_end.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/basic_fillet_cube_next_adjacent/ast.snap b/rust/kcl-lib/tests/basic_fillet_cube_next_adjacent/ast.snap index 76d311a4d..0d2c8b1ff 100644 --- a/rust/kcl-lib/tests/basic_fillet_cube_next_adjacent/ast.snap +++ b/rust/kcl-lib/tests/basic_fillet_cube_next_adjacent/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing basic_fillet_cube_next_adjacent.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing basic_fillet_cube_next_adjacent.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -520,24 +518,6 @@ description: Result of parsing basic_fillet_cube_next_adjacent.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "thing3", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -556,8 +536,24 @@ description: Result of parsing basic_fillet_cube_next_adjacent.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "thing3", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/basic_fillet_cube_next_adjacent/ops.snap b/rust/kcl-lib/tests/basic_fillet_cube_next_adjacent/ops.snap index fbcd515d6..55d386186 100644 --- a/rust/kcl-lib/tests/basic_fillet_cube_next_adjacent/ops.snap +++ b/rust/kcl-lib/tests/basic_fillet_cube_next_adjacent/ops.snap @@ -4,19 +4,17 @@ description: Operations executed basic_fillet_cube_next_adjacent.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/basic_fillet_cube_previous_adjacent/ast.snap b/rust/kcl-lib/tests/basic_fillet_cube_previous_adjacent/ast.snap index 5763f8bb4..49564d7ab 100644 --- a/rust/kcl-lib/tests/basic_fillet_cube_previous_adjacent/ast.snap +++ b/rust/kcl-lib/tests/basic_fillet_cube_previous_adjacent/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing basic_fillet_cube_previous_adjacent.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing basic_fillet_cube_previous_adjacent.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -520,24 +518,6 @@ description: Result of parsing basic_fillet_cube_previous_adjacent.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "thing3", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -556,8 +536,24 @@ description: Result of parsing basic_fillet_cube_previous_adjacent.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "thing3", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/basic_fillet_cube_previous_adjacent/ops.snap b/rust/kcl-lib/tests/basic_fillet_cube_previous_adjacent/ops.snap index 8bcfc8719..6945175de 100644 --- a/rust/kcl-lib/tests/basic_fillet_cube_previous_adjacent/ops.snap +++ b/rust/kcl-lib/tests/basic_fillet_cube_previous_adjacent/ops.snap @@ -4,19 +4,17 @@ description: Operations executed basic_fillet_cube_previous_adjacent.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/basic_fillet_cube_start/ast.snap b/rust/kcl-lib/tests/basic_fillet_cube_start/ast.snap index 3d86d6b0b..bfd60e77f 100644 --- a/rust/kcl-lib/tests/basic_fillet_cube_start/ast.snap +++ b/rust/kcl-lib/tests/basic_fillet_cube_start/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing basic_fillet_cube_start.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing basic_fillet_cube_start.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -376,15 +374,6 @@ description: Result of parsing basic_fillet_cube_start.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -403,8 +392,15 @@ description: Result of parsing basic_fillet_cube_start.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/basic_fillet_cube_start/ops.snap b/rust/kcl-lib/tests/basic_fillet_cube_start/ops.snap index 4a3c8fed0..5571e0399 100644 --- a/rust/kcl-lib/tests/basic_fillet_cube_start/ops.snap +++ b/rust/kcl-lib/tests/basic_fillet_cube_start/ops.snap @@ -4,19 +4,17 @@ description: Operations executed basic_fillet_cube_start.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/circle_three_point/ast.snap b/rust/kcl-lib/tests/circle_three_point/ast.snap index 15ba4e395..f972a38f2 100644 --- a/rust/kcl-lib/tests/circle_three_point/ast.snap +++ b/rust/kcl-lib/tests/circle_three_point/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing circle_three_point.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing circle_three_point.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/circle_three_point/ops.snap b/rust/kcl-lib/tests/circle_three_point/ops.snap index 44a384873..3ce6a1a75 100644 --- a/rust/kcl-lib/tests/circle_three_point/ops.snap +++ b/rust/kcl-lib/tests/circle_three_point/ops.snap @@ -4,19 +4,17 @@ description: Operations executed circle_three_point.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/circular_pattern3d_a_pattern/ast.snap b/rust/kcl-lib/tests/circular_pattern3d_a_pattern/ast.snap index 54dee41e0..5ef437335 100644 --- a/rust/kcl-lib/tests/circular_pattern3d_a_pattern/ast.snap +++ b/rust/kcl-lib/tests/circular_pattern3d_a_pattern/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing circular_pattern3d_a_pattern.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing circular_pattern3d_a_pattern.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -340,15 +338,6 @@ description: Result of parsing circular_pattern3d_a_pattern.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -367,8 +356,15 @@ description: Result of parsing circular_pattern3d_a_pattern.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/circular_pattern3d_a_pattern/ops.snap b/rust/kcl-lib/tests/circular_pattern3d_a_pattern/ops.snap index d3c6dca23..eae9693c6 100644 --- a/rust/kcl-lib/tests/circular_pattern3d_a_pattern/ops.snap +++ b/rust/kcl-lib/tests/circular_pattern3d_a_pattern/ops.snap @@ -4,19 +4,17 @@ description: Operations executed circular_pattern3d_a_pattern.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/clone_w_fillets/ast.snap b/rust/kcl-lib/tests/clone_w_fillets/ast.snap index 0817b549f..1b9739a01 100644 --- a/rust/kcl-lib/tests/clone_w_fillets/ast.snap +++ b/rust/kcl-lib/tests/clone_w_fillets/ast.snap @@ -152,24 +152,6 @@ description: Result of parsing clone_w_fillets.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -188,8 +170,24 @@ description: Result of parsing clone_w_fillets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -921,24 +919,6 @@ description: Result of parsing clone_w_fillets.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge1", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -957,28 +937,26 @@ description: Result of parsing clone_w_fillets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge1", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge2", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -997,28 +975,26 @@ description: Result of parsing clone_w_fillets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge2", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge3", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1037,28 +1013,26 @@ description: Result of parsing clone_w_fillets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge3", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge4", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1077,8 +1051,24 @@ description: Result of parsing clone_w_fillets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge4", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1141,24 +1131,6 @@ description: Result of parsing clone_w_fillets.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "mountingPlate", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1177,8 +1149,24 @@ description: Result of parsing clone_w_fillets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "mountingPlate", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/clone_w_fillets/ops.snap b/rust/kcl-lib/tests/clone_w_fillets/ops.snap index 4895bf4db..1e3bf5899 100644 --- a/rust/kcl-lib/tests/clone_w_fillets/ops.snap +++ b/rust/kcl-lib/tests/clone_w_fillets/ops.snap @@ -4,19 +4,17 @@ description: Operations executed clone_w_fillets.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -107,20 +105,18 @@ description: Operations executed clone_w_fillets.kcl "sourceRange": [] }, { - "labeledArgs": { - "geometry": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "clone", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + "sourceRange": [] + } } ] diff --git a/rust/kcl-lib/tests/clone_w_shell/ast.snap b/rust/kcl-lib/tests/clone_w_shell/ast.snap index f7dadbcbf..e0f726df9 100644 --- a/rust/kcl-lib/tests/clone_w_shell/ast.snap +++ b/rust/kcl-lib/tests/clone_w_shell/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing clone_w_shell.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing clone_w_shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -356,7 +354,6 @@ description: Result of parsing clone_w_shell.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -375,8 +372,9 @@ description: Result of parsing clone_w_shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -595,24 +593,6 @@ description: Result of parsing clone_w_shell.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "firstShell", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -631,8 +611,24 @@ description: Result of parsing clone_w_shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "firstShell", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/clone_w_shell/ops.snap b/rust/kcl-lib/tests/clone_w_shell/ops.snap index ed88a2078..ffa3ef78c 100644 --- a/rust/kcl-lib/tests/clone_w_shell/ops.snap +++ b/rust/kcl-lib/tests/clone_w_shell/ops.snap @@ -4,19 +4,17 @@ description: Operations executed clone_w_shell.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -100,20 +98,18 @@ description: Operations executed clone_w_shell.kcl "sourceRange": [] }, { - "labeledArgs": { - "geometry": { - "value": { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "clone", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + "sourceRange": [] + } } ] diff --git a/rust/kcl-lib/tests/computed_var/ast.snap b/rust/kcl-lib/tests/computed_var/ast.snap index fda4cdc5a..daa3ad8d1 100644 --- a/rust/kcl-lib/tests/computed_var/ast.snap +++ b/rust/kcl-lib/tests/computed_var/ast.snap @@ -585,59 +585,6 @@ description: Result of parsing computed_var.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "expr": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "PI", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "start": 0, - "ty": { - "Rad": null, - "commentStart": 0, - "end": 0, - "p_type": "Number", - "start": 0, - "type": "Primitive" - }, - "type": "AscribedExpression", - "type": "AscribedExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -656,8 +603,59 @@ description: Result of parsing computed_var.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "expr": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "PI", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "ty": { + "Rad": null, + "commentStart": 0, + "end": 0, + "p_type": "Number", + "start": 0, + "type": "Primitive" + }, + "type": "AscribedExpression", + "type": "AscribedExpression" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/computed_var/ops.snap b/rust/kcl-lib/tests/computed_var/ops.snap index 628fec06d..45b2688ab 100644 --- a/rust/kcl-lib/tests/computed_var/ops.snap +++ b/rust/kcl-lib/tests/computed_var/ops.snap @@ -2,19 +2,4 @@ source: kcl-lib/src/simulation_tests.rs description: Operations executed computed_var.kcl --- -[ - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupEnd" - } -] +[] diff --git a/rust/kcl-lib/tests/crazy_multi_profile/ast.snap b/rust/kcl-lib/tests/crazy_multi_profile/ast.snap index 66d3fda65..bb7001708 100644 --- a/rust/kcl-lib/tests/crazy_multi_profile/ast.snap +++ b/rust/kcl-lib/tests/crazy_multi_profile/ast.snap @@ -18,24 +18,6 @@ description: Result of parsing crazy_multi_profile.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -54,8 +36,24 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -366,15 +364,6 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -393,19 +382,17 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -424,8 +411,15 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -458,7 +452,6 @@ description: Result of parsing crazy_multi_profile.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -477,8 +470,9 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1122,24 +1116,6 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1158,8 +1134,24 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -1236,24 +1228,6 @@ description: Result of parsing crazy_multi_profile.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1272,8 +1246,24 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -1287,24 +1277,6 @@ description: Result of parsing crazy_multi_profile.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1323,8 +1295,24 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -1372,15 +1360,6 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1399,19 +1378,17 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1430,8 +1407,15 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1464,7 +1448,6 @@ description: Result of parsing crazy_multi_profile.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1483,8 +1466,9 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1745,15 +1729,6 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1772,19 +1747,17 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1803,8 +1776,15 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1837,7 +1817,6 @@ description: Result of parsing crazy_multi_profile.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1856,8 +1835,9 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -2257,15 +2237,6 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2284,19 +2255,17 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2315,8 +2284,15 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -2349,7 +2325,6 @@ description: Result of parsing crazy_multi_profile.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2368,8 +2343,9 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -2433,24 +2409,6 @@ description: Result of parsing crazy_multi_profile.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2469,8 +2427,24 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2616,32 +2590,6 @@ description: Result of parsing crazy_multi_profile.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2660,8 +2608,32 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, "start": 0, "type": "VariableDeclarator" @@ -3185,15 +3157,6 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3212,19 +3175,17 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3243,8 +3204,15 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3277,7 +3245,6 @@ description: Result of parsing crazy_multi_profile.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3296,8 +3263,9 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -3571,15 +3539,6 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3598,19 +3557,17 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3629,8 +3586,15 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3663,7 +3627,6 @@ description: Result of parsing crazy_multi_profile.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3682,8 +3645,9 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -4042,24 +4006,6 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4078,8 +4024,24 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -4156,24 +4118,6 @@ description: Result of parsing crazy_multi_profile.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4192,8 +4136,24 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -4207,24 +4167,6 @@ description: Result of parsing crazy_multi_profile.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4243,8 +4185,24 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -4292,15 +4250,6 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4319,19 +4268,17 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4350,8 +4297,15 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -4384,7 +4338,6 @@ description: Result of parsing crazy_multi_profile.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -4403,8 +4356,9 @@ description: Result of parsing crazy_multi_profile.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/crazy_multi_profile/ops.snap b/rust/kcl-lib/tests/crazy_multi_profile/ops.snap index 1fbf4166b..04e843e52 100644 --- a/rust/kcl-lib/tests/crazy_multi_profile/ops.snap +++ b/rust/kcl-lib/tests/crazy_multi_profile/ops.snap @@ -4,19 +4,17 @@ description: Operations executed crazy_multi_profile.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -151,19 +149,17 @@ description: Operations executed crazy_multi_profile.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/cube/ast.snap b/rust/kcl-lib/tests/cube/ast.snap index 7a171d947..8499fc8a0 100644 --- a/rust/kcl-lib/tests/cube/ast.snap +++ b/rust/kcl-lib/tests/cube/ast.snap @@ -651,24 +651,6 @@ description: Result of parsing cube.kcl "argument": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -687,8 +669,24 @@ description: Result of parsing cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -946,7 +944,6 @@ description: Result of parsing cube.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -965,8 +962,9 @@ description: Result of parsing cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/cube/ops.snap b/rust/kcl-lib/tests/cube/ops.snap index 92c526aae..c1122cba7 100644 --- a/rust/kcl-lib/tests/cube/ops.snap +++ b/rust/kcl-lib/tests/cube/ops.snap @@ -4,19 +4,17 @@ description: Operations executed cube.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/cube_with_error/ast.snap b/rust/kcl-lib/tests/cube_with_error/ast.snap index ee0652279..a659712b6 100644 --- a/rust/kcl-lib/tests/cube_with_error/ast.snap +++ b/rust/kcl-lib/tests/cube_with_error/ast.snap @@ -651,24 +651,6 @@ description: Result of parsing cube_with_error.kcl "argument": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -687,8 +669,24 @@ description: Result of parsing cube_with_error.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -946,7 +944,6 @@ description: Result of parsing cube_with_error.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -965,8 +962,9 @@ description: Result of parsing cube_with_error.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/cube_with_error/ops.snap b/rust/kcl-lib/tests/cube_with_error/ops.snap index 2895df93a..0fcfd2119 100644 --- a/rust/kcl-lib/tests/cube_with_error/ops.snap +++ b/rust/kcl-lib/tests/cube_with_error/ops.snap @@ -4,19 +4,17 @@ description: Operations executed cube_with_error.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/fillet-and-shell/ast.snap b/rust/kcl-lib/tests/fillet-and-shell/ast.snap index ba795a618..4cb0fb415 100644 --- a/rust/kcl-lib/tests/fillet-and-shell/ast.snap +++ b/rust/kcl-lib/tests/fillet-and-shell/ast.snap @@ -664,24 +664,6 @@ description: Result of parsing fillet-and-shell.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -700,8 +682,24 @@ description: Result of parsing fillet-and-shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1264,15 +1262,6 @@ description: Result of parsing fillet-and-shell.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1291,8 +1280,15 @@ description: Result of parsing fillet-and-shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, @@ -1325,24 +1321,6 @@ description: Result of parsing fillet-and-shell.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1361,8 +1339,24 @@ description: Result of parsing fillet-and-shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1837,24 +1831,6 @@ description: Result of parsing fillet-and-shell.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge1", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1873,28 +1849,26 @@ description: Result of parsing fillet-and-shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge1", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge2", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1913,28 +1887,26 @@ description: Result of parsing fillet-and-shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge2", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge3", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1953,28 +1925,26 @@ description: Result of parsing fillet-and-shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge3", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge4", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1993,8 +1963,24 @@ description: Result of parsing fillet-and-shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge4", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -2072,24 +2058,6 @@ description: Result of parsing fillet-and-shell.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2108,8 +2076,24 @@ description: Result of parsing fillet-and-shell.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/fillet-and-shell/ops.snap b/rust/kcl-lib/tests/fillet-and-shell/ops.snap index 58e96ec21..54d3c0dc4 100644 --- a/rust/kcl-lib/tests/fillet-and-shell/ops.snap +++ b/rust/kcl-lib/tests/fillet-and-shell/ops.snap @@ -4,34 +4,30 @@ description: Operations executed fillet-and-shell.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -122,64 +118,56 @@ description: Operations executed fillet-and-shell.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/flush_batch_on_end/ast.snap b/rust/kcl-lib/tests/flush_batch_on_end/ast.snap index 6c5841dd9..04c9057cd 100644 --- a/rust/kcl-lib/tests/flush_batch_on_end/ast.snap +++ b/rust/kcl-lib/tests/flush_batch_on_end/ast.snap @@ -183,24 +183,6 @@ description: Result of parsing flush_batch_on_end.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -219,8 +201,24 @@ description: Result of parsing flush_batch_on_end.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/flush_batch_on_end/ops.snap b/rust/kcl-lib/tests/flush_batch_on_end/ops.snap index 594916c29..c664728fb 100644 --- a/rust/kcl-lib/tests/flush_batch_on_end/ops.snap +++ b/rust/kcl-lib/tests/flush_batch_on_end/ops.snap @@ -4,19 +4,17 @@ description: Operations executed flush_batch_on_end.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/function_sketch/ast.snap b/rust/kcl-lib/tests/function_sketch/ast.snap index 65d15bbea..4952d68b1 100644 --- a/rust/kcl-lib/tests/function_sketch/ast.snap +++ b/rust/kcl-lib/tests/function_sketch/ast.snap @@ -35,24 +35,6 @@ description: Result of parsing function_sketch.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -71,8 +53,24 @@ description: Result of parsing function_sketch.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -367,15 +365,6 @@ description: Result of parsing function_sketch.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -394,8 +383,15 @@ description: Result of parsing function_sketch.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/function_sketch/ops.snap b/rust/kcl-lib/tests/function_sketch/ops.snap index 712a5a388..de65352ea 100644 --- a/rust/kcl-lib/tests/function_sketch/ops.snap +++ b/rust/kcl-lib/tests/function_sketch/ops.snap @@ -4,19 +4,17 @@ description: Operations executed function_sketch.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/function_sketch_with_position/ast.snap b/rust/kcl-lib/tests/function_sketch_with_position/ast.snap index 8392cf01c..4b2680396 100644 --- a/rust/kcl-lib/tests/function_sketch_with_position/ast.snap +++ b/rust/kcl-lib/tests/function_sketch_with_position/ast.snap @@ -35,24 +35,6 @@ description: Result of parsing function_sketch_with_position.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -71,8 +53,24 @@ description: Result of parsing function_sketch_with_position.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -350,15 +348,6 @@ description: Result of parsing function_sketch_with_position.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -377,8 +366,15 @@ description: Result of parsing function_sketch_with_position.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/function_sketch_with_position/ops.snap b/rust/kcl-lib/tests/function_sketch_with_position/ops.snap index cc8fced1b..cd890108a 100644 --- a/rust/kcl-lib/tests/function_sketch_with_position/ops.snap +++ b/rust/kcl-lib/tests/function_sketch_with_position/ops.snap @@ -4,19 +4,17 @@ description: Operations executed function_sketch_with_position.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/helix_ccw/ast.snap b/rust/kcl-lib/tests/helix_ccw/ast.snap index a7645f95d..6222e48a4 100644 --- a/rust/kcl-lib/tests/helix_ccw/ast.snap +++ b/rust/kcl-lib/tests/helix_ccw/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing helix_ccw.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing helix_ccw.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/helix_ccw/ops.snap b/rust/kcl-lib/tests/helix_ccw/ops.snap index 7005b417d..590f06399 100644 --- a/rust/kcl-lib/tests/helix_ccw/ops.snap +++ b/rust/kcl-lib/tests/helix_ccw/ops.snap @@ -4,19 +4,17 @@ description: Operations executed helix_ccw.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/helix_simple/ast.snap b/rust/kcl-lib/tests/helix_simple/ast.snap index 1918585f2..62d7f6418 100644 --- a/rust/kcl-lib/tests/helix_simple/ast.snap +++ b/rust/kcl-lib/tests/helix_simple/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing helix_simple.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing helix_simple.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/helix_simple/ops.snap b/rust/kcl-lib/tests/helix_simple/ops.snap index 62dde8602..f8b9d69e0 100644 --- a/rust/kcl-lib/tests/helix_simple/ops.snap +++ b/rust/kcl-lib/tests/helix_simple/ops.snap @@ -4,19 +4,17 @@ description: Operations executed helix_simple.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", diff --git a/rust/kcl-lib/tests/i_shape/ast.snap b/rust/kcl-lib/tests/i_shape/ast.snap index b971de72f..d82e9a655 100644 --- a/rust/kcl-lib/tests/i_shape/ast.snap +++ b/rust/kcl-lib/tests/i_shape/ast.snap @@ -354,24 +354,6 @@ description: Result of parsing i_shape.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -390,8 +372,24 @@ description: Result of parsing i_shape.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2779,15 +2777,6 @@ description: Result of parsing i_shape.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2806,8 +2795,15 @@ description: Result of parsing i_shape.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, @@ -2847,24 +2843,6 @@ description: Result of parsing i_shape.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2883,8 +2861,24 @@ description: Result of parsing i_shape.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -3583,15 +3577,6 @@ description: Result of parsing i_shape.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3610,8 +3595,15 @@ description: Result of parsing i_shape.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/i_shape/ops.snap b/rust/kcl-lib/tests/i_shape/ops.snap index 97250f037..4a5e202d1 100644 --- a/rust/kcl-lib/tests/i_shape/ops.snap +++ b/rust/kcl-lib/tests/i_shape/ops.snap @@ -4,34 +4,30 @@ description: Operations executed i_shape.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/import_async/ast.snap b/rust/kcl-lib/tests/import_async/ast.snap index 2f71265ea..15e647b07 100644 --- a/rust/kcl-lib/tests/import_async/ast.snap +++ b/rust/kcl-lib/tests/import_async/ast.snap @@ -116,24 +116,6 @@ description: Result of parsing import_async.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -152,8 +134,24 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -456,24 +454,6 @@ description: Result of parsing import_async.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "pressureAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -492,8 +472,24 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "pressureAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -964,92 +960,6 @@ description: Result of parsing import_async.kcl "body": [ { "argument": { - "arguments": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "baseDiameter", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "r", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "acos", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1076,8 +986,90 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "acos", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "baseDiameter", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "r", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } }, "commentStart": 0, "end": 0, @@ -1192,56 +1184,6 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "a", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toRadians", - "start": 0, - "type": "Identifier" - }, - "path": [ - { - "commentStart": 0, - "end": 0, - "name": "units", - "start": 0, - "type": "Identifier" - } - ], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1260,13 +1202,38 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - "operator": "-", - "right": { - "arguments": [ - { + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toRadians", + "start": 0, + "type": "Identifier" + }, + "path": [ + { + "commentStart": 0, + "end": 0, + "name": "units", + "start": 0, + "type": "Identifier" + } + ], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { "abs_path": false, "commentStart": 0, "end": 0, @@ -1282,7 +1249,10 @@ description: Result of parsing import_async.kcl "type": "Name", "type": "Name" } - ], + } + }, + "operator": "-", + "right": { "callee": { "abs_path": false, "commentStart": 0, @@ -1309,8 +1279,24 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "a", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -1454,47 +1440,6 @@ description: Result of parsing import_async.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "expr": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "invas", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "ty": { - "Rad": null, - "commentStart": 0, - "end": 0, - "p_type": "Number", - "start": 0, - "type": "Primitive" - }, - "type": "AscribedExpression", - "type": "AscribedExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1513,8 +1458,47 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "expr": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "invas", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "ty": { + "Rad": null, + "commentStart": 0, + "end": 0, + "p_type": "Number", + "start": 0, + "type": "Primitive" + }, + "type": "AscribedExpression", + "type": "AscribedExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -1678,47 +1662,6 @@ description: Result of parsing import_async.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "expr": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "invas", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "ty": { - "Rad": null, - "commentStart": 0, - "end": 0, - "p_type": "Number", - "start": 0, - "type": "Primitive" - }, - "type": "AscribedExpression", - "type": "AscribedExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1737,8 +1680,47 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "expr": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "invas", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "ty": { + "Rad": null, + "commentStart": 0, + "end": 0, + "p_type": "Number", + "start": 0, + "type": "Primitive" + }, + "type": "AscribedExpression", + "type": "AscribedExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -1856,24 +1838,6 @@ description: Result of parsing import_async.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1892,8 +1856,24 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2465,152 +2445,6 @@ description: Result of parsing import_async.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toothAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - "operator": "+", - "right": { - "arguments": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "ys", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "xs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "atan", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toDegrees", - "start": 0, - "type": "Identifier" - }, - "path": [ - { - "commentStart": 0, - "end": 0, - "name": "units", - "start": 0, - "type": "Identifier" - } - ], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2629,8 +2463,148 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toothAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "+", + "right": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toDegrees", + "start": 0, + "type": "Identifier" + }, + "path": [ + { + "commentStart": 0, + "end": 0, + "name": "units", + "start": 0, + "type": "Identifier" + } + ], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "atan", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "ys", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "xs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -2694,152 +2668,6 @@ description: Result of parsing import_async.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toothAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - "operator": "+", - "right": { - "arguments": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "ys", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "xs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "atan", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toDegrees", - "start": 0, - "type": "Identifier" - }, - "path": [ - { - "commentStart": 0, - "end": 0, - "name": "units", - "start": 0, - "type": "Identifier" - } - ], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2858,8 +2686,148 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toothAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "+", + "right": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toDegrees", + "start": 0, + "type": "Identifier" + }, + "path": [ + { + "commentStart": 0, + "end": 0, + "name": "units", + "start": 0, + "type": "Identifier" + } + ], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "atan", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "ys", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "xs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -3029,24 +2997,6 @@ description: Result of parsing import_async.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3065,8 +3015,24 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -3530,7 +3496,6 @@ description: Result of parsing import_async.kcl } }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3549,8 +3514,9 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -4008,68 +3974,6 @@ description: Result of parsing import_async.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "keywayWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "holeRadius", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4088,8 +3992,68 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "keywayWidth", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "holeRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "VariableDeclarator" @@ -4215,24 +4179,6 @@ description: Result of parsing import_async.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "startAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4251,8 +4197,24 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "startAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -4279,24 +4241,6 @@ description: Result of parsing import_async.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "startAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4315,8 +4259,24 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "startAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -4560,24 +4520,6 @@ description: Result of parsing import_async.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "startAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4604,8 +4546,24 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "startAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -4734,24 +4692,6 @@ description: Result of parsing import_async.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "startAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4778,8 +4718,24 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "startAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -4832,7 +4788,6 @@ description: Result of parsing import_async.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -4851,8 +4806,9 @@ description: Result of parsing import_async.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/import_async/ops.snap b/rust/kcl-lib/tests/import_async/ops.snap index 9bc33a377..36f125799 100644 --- a/rust/kcl-lib/tests/import_async/ops.snap +++ b/rust/kcl-lib/tests/import_async/ops.snap @@ -13,415 +13,17 @@ description: Operations executed import_async.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -429,7483 +31,6744 @@ description: Operations executed import_async.kcl "type": "FunctionCall", "name": "units::toDegrees", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { + "unlabeledArg": { "value": { - "type": "Plane", - "artifact_id": "[uuid]" + "type": "Number", + "value": 0.0, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } }, "sourceRange": [] - } + }, + "labeledArgs": {} }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0572, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0809, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.099, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1142, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1276, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1397, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1508, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1611, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1707, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1798, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1885, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1967, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2046, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2122, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2195, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2265, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2334, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.24, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2464, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2526, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2587, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2646, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2704, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.276, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2815, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2869, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2922, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2973, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3024, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3074, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3122, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.317, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3217, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3264, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3309, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3354, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3398, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3441, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3484, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3526, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3568, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3608, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3649, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3689, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3728, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3767, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3805, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3843, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.388, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3917, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3953, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3989, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4025, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.406, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4095, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.413, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4164, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4197, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4231, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4264, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4296, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4329, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4361, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4393, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4424, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4455, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4486, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4516, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4547, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4577, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4606, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4636, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4665, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4694, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4723, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4751, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4779, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4807, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4835, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4863, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.489, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4917, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4944, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4971, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4997, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5023, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5049, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5075, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5101, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5126, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5152, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5177, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5202, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5226, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5251, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5275, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5299, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5324, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5347, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5371, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5395, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 3.2781, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 4.6327, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 5.67, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 6.5427, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 7.31, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 8.0023, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 8.6377, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 9.2278, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 9.781, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 10.3031, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 10.7987, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 11.2713, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 11.7237, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.1581, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.5764, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.9802, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 13.3708, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 13.7492, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.1166, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.4737, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.8213, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.16, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.4905, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.8132, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.1286, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.4372, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.7393, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.0353, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.3255, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.6101, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.8895, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.1639, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.4335, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.6985, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.9591, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.2156, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.468, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.7165, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.9613, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.2026, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.4404, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.6748, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.906, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.1341, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.3592, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.5814, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.8007, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.0174, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.2313, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.4427, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.6516, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.858, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.0621, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.2639, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.4635, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.6608, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.8561, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.0492, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.2404, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.4296, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.6168, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.8022, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.9858, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.1675, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.3475, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.5258, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.7024, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.8774, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.0508, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.2226, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.3928, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.5616, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.7289, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.8947, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.0591, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.2221, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.3837, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.544, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.703, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.8607, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.0171, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.1723, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.3263, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.479, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.6306, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.781, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.9302, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.0783, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.2254, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.3713, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.5162, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.66, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.8028, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.9445, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.0853, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.225, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.3638, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.5016, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.6385, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.7744, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.9094, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 3.2781, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 4.6327, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 5.67, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 6.5427, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 7.31, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 8.0023, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 8.6377, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 9.2278, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 9.781, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 10.3031, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 10.7987, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 11.2713, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 11.7237, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.1581, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.5764, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.9802, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 13.3708, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 13.7492, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.1166, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.4737, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.8213, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.16, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.4905, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.8132, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.1286, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.4372, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.7393, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.0353, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.3255, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.6101, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.8895, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.1639, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.4335, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.6985, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.9591, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.2156, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.468, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.7165, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.9613, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.2026, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.4404, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.6748, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.906, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.1341, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.3592, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.5814, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.8007, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.0174, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.2313, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.4427, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.6516, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.858, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.0621, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.2639, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.4635, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.6608, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.8561, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.0492, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.2404, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.4296, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.6168, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.8022, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.9858, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.1675, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.3475, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.5258, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.7024, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.8774, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.0508, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.2226, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.3928, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.5616, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.7289, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.8947, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.0591, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.2221, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.3837, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.544, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.703, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.8607, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.0171, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.1723, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.3263, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.479, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.6306, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.781, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.9302, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.0783, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.2254, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.3713, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.5162, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.66, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.8028, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.9445, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.0853, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.225, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.3638, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.5016, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.6385, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.7744, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.9094, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -7939,6686 +6802,4462 @@ description: Operations executed import_async.kcl "sourceRange": [] } }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "units::toDegrees", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { + "unlabeledArg": { "value": { - "type": "Plane", - "artifact_id": "[uuid]" + "type": "Number", + "value": 0.0001, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } }, "sourceRange": [] - } + }, + "labeledArgs": {} }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0002, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0003, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0005, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0007, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0009, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0012, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0014, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0017, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.002, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0023, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0026, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0029, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0032, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0036, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.004, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0043, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0047, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0051, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0055, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0059, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0064, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0068, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0072, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0077, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0081, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0086, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0091, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0096, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0101, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0106, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0111, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0116, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0121, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0126, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0132, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0137, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0143, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0148, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0154, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0159, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0165, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0171, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0177, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0183, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0189, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0195, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0201, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0207, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0213, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.022, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0226, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0232, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0239, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0245, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0252, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0259, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0265, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0272, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0279, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0285, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0292, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0299, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0306, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0313, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.032, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0327, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0334, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0342, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0349, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0356, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0363, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0371, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0378, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0386, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0393, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0401, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0408, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0416, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0423, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0431, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0439, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0446, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0454, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0462, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.047, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0478, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0486, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0494, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0502, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.051, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0518, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0526, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0534, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0542, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0551, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0559, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0567, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0576, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0584, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0592, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0001, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0002, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0003, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0005, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0007, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0009, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0012, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0014, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0017, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.002, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0023, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0026, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0029, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0032, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0036, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.004, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0043, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0047, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0051, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0055, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0059, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0064, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0068, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0072, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0077, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0081, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0086, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0091, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0096, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0101, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0106, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0111, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0116, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0121, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0126, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0132, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0137, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0143, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0148, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0154, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0159, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0165, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0171, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0177, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0183, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0189, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0195, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0201, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0207, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0213, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.022, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0226, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0232, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0239, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0245, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0252, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0259, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0265, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0272, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0279, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0285, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0292, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0299, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0306, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0313, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.032, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0327, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0334, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0342, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0349, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0356, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0363, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0371, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0378, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0386, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0393, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0401, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0408, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0416, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0423, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0431, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0439, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0446, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0454, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0462, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.047, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0478, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0486, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0494, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0502, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.051, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0518, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0526, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0534, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0542, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0551, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0559, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0567, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0576, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0584, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0592, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -14801,17 +11440,6 @@ description: Operations executed import_async.kcl "sourceRange": [] } }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "asin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, { "labeledArgs": { "face": { @@ -14839,20 +11467,20 @@ description: Operations executed import_async.kcl "type": "GroupBegin", "group": { "type": "FunctionCall", - "name": "cos", + "name": "units::toDegrees", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1253, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -14863,18 +11491,18 @@ description: Operations executed import_async.kcl "type": "FunctionCall", "name": "units::toDegrees", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1253, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -16441,2454 +13069,6 @@ description: Operations executed import_async.kcl { "type": "GroupEnd" }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, { "type": "GroupEnd" } diff --git a/rust/kcl-lib/tests/import_async/unparsed.snap b/rust/kcl-lib/tests/import_async/unparsed.snap index 57a58a4e0..2c66535ab 100644 --- a/rust/kcl-lib/tests/import_async/unparsed.snap +++ b/rust/kcl-lib/tests/import_async/unparsed.snap @@ -36,7 +36,7 @@ rs = map( angles = map( rs, f = fn(r) { - return units::toDegrees( acos(baseDiameter / 2 / r)) + return units::toDegrees(acos(baseDiameter / 2 / r)) }, ) diff --git a/rust/kcl-lib/tests/import_cycle1/ast.snap b/rust/kcl-lib/tests/import_cycle1/ast.snap index d2f609bff..056501066 100644 --- a/rust/kcl-lib/tests/import_cycle1/ast.snap +++ b/rust/kcl-lib/tests/import_cycle1/ast.snap @@ -55,7 +55,6 @@ description: Result of parsing import_cycle1.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -74,8 +73,9 @@ description: Result of parsing import_cycle1.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, "operator": "-", "right": { diff --git a/rust/kcl-lib/tests/import_function_not_sketch/ast.snap b/rust/kcl-lib/tests/import_function_not_sketch/ast.snap index b68e6096c..78240d7a4 100644 --- a/rust/kcl-lib/tests/import_function_not_sketch/ast.snap +++ b/rust/kcl-lib/tests/import_function_not_sketch/ast.snap @@ -55,7 +55,6 @@ description: Result of parsing import_function_not_sketch.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -74,8 +73,9 @@ description: Result of parsing import_function_not_sketch.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, "operator": "-", "right": { diff --git a/rust/kcl-lib/tests/import_mesh_clone/ast.snap b/rust/kcl-lib/tests/import_mesh_clone/ast.snap index 10057f4d9..9fe25bb38 100644 --- a/rust/kcl-lib/tests/import_mesh_clone/ast.snap +++ b/rust/kcl-lib/tests/import_mesh_clone/ast.snap @@ -78,24 +78,6 @@ description: Result of parsing import_mesh_clone.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "model", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -114,8 +96,24 @@ description: Result of parsing import_mesh_clone.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "model", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/intersect_cubes/ast.snap b/rust/kcl-lib/tests/intersect_cubes/ast.snap index a84ec9b1b..6c0538519 100644 --- a/rust/kcl-lib/tests/intersect_cubes/ast.snap +++ b/rust/kcl-lib/tests/intersect_cubes/ast.snap @@ -24,24 +24,6 @@ description: Result of parsing intersect_cubes.kcl "argument": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -60,8 +42,24 @@ description: Result of parsing intersect_cubes.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -656,7 +654,6 @@ description: Result of parsing intersect_cubes.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -675,8 +672,9 @@ description: Result of parsing intersect_cubes.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1095,49 +1093,6 @@ description: Result of parsing intersect_cubes.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "elements": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "part001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "part002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1156,8 +1111,49 @@ description: Result of parsing intersect_cubes.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "elements": [ + { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "part001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "part002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/intersect_cubes/ops.snap b/rust/kcl-lib/tests/intersect_cubes/ops.snap index 9b09eb6d1..0251b53b2 100644 --- a/rust/kcl-lib/tests/intersect_cubes/ops.snap +++ b/rust/kcl-lib/tests/intersect_cubes/ops.snap @@ -4,34 +4,30 @@ description: Operations executed intersect_cubes.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -222,32 +218,30 @@ description: Operations executed intersect_cubes.kcl "sourceRange": [] }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { "type": "GroupEnd" diff --git a/rust/kcl-lib/tests/kcl_samples/80-20-rail/ast.snap b/rust/kcl-lib/tests/kcl_samples/80-20-rail/ast.snap index c9d7cf90f..f30bd529d 100644 --- a/rust/kcl-lib/tests/kcl_samples/80-20-rail/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/80-20-rail/ast.snap @@ -35,32 +35,6 @@ description: Result of parsing 80-20-rail.kcl "init": { "body": [ { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -79,8 +53,32 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, { "arguments": [ @@ -7475,7 +7473,6 @@ description: Result of parsing 80-20-rail.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -7494,8 +7491,9 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -7874,24 +7872,6 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge3", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7910,28 +7890,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge3", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge4", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7950,28 +7928,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge4", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge5", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7990,28 +7966,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge5", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge6", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8030,28 +8004,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge6", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge11", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8070,28 +8042,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge11", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge12", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8110,28 +8080,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge12", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge13", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8150,28 +8118,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge13", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge14", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8190,28 +8156,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge14", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge19", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8230,28 +8194,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge19", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge20", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8270,28 +8232,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge20", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge21", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8310,28 +8270,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge21", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge22", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8350,28 +8308,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge22", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge27", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8390,28 +8346,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge27", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge28", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8430,28 +8384,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge28", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge29", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8470,28 +8422,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge29", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge30", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8510,8 +8460,24 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge30", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -8580,24 +8546,6 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge1", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8616,28 +8564,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge1", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge2", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8656,28 +8602,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge2", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge7", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8696,28 +8640,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge7", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge8", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8736,28 +8678,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge8", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge9", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8776,28 +8716,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge9", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge10", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8816,28 +8754,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge10", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge15", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8856,28 +8792,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge15", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge16", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8896,28 +8830,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge16", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge17", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8936,28 +8868,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge17", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge18", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8976,28 +8906,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge18", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge23", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9016,28 +8944,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge23", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge24", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9056,28 +8982,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge24", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge25", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9096,28 +9020,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge25", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge26", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9136,28 +9058,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge26", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge31", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9176,28 +9096,26 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge31", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge32", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9216,8 +9134,24 @@ description: Result of parsing 80-20-rail.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge32", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/80-20-rail/ops.snap b/rust/kcl-lib/tests/kcl_samples/80-20-rail/ops.snap index 895eeadd7..caf0c6c0a 100644 --- a/rust/kcl-lib/tests/kcl_samples/80-20-rail/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/80-20-rail/ops.snap @@ -4,19 +4,17 @@ description: Operations executed 80-20-rail.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/ball-bearing/ast.snap b/rust/kcl-lib/tests/kcl_samples/ball-bearing/ast.snap index 23f46cbdc..976b0d221 100644 --- a/rust/kcl-lib/tests/kcl_samples/ball-bearing/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/ball-bearing/ast.snap @@ -425,102 +425,6 @@ description: Result of parsing ball-bearing.kcl "init": { "body": [ { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "left": { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "overallThickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -539,8 +443,102 @@ description: Result of parsing ball-bearing.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "overallThickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, { "arguments": [ @@ -970,24 +968,6 @@ description: Result of parsing ball-bearing.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1006,8 +986,24 @@ description: Result of parsing ball-bearing.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1241,7 +1237,6 @@ description: Result of parsing ball-bearing.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1260,8 +1255,9 @@ description: Result of parsing ball-bearing.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1633,24 +1629,6 @@ description: Result of parsing ball-bearing.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1669,8 +1647,24 @@ description: Result of parsing ball-bearing.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1851,20 +1845,6 @@ description: Result of parsing ball-bearing.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "60", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 60.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1883,8 +1863,20 @@ description: Result of parsing ball-bearing.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "60", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 60.0, + "suffix": "None" + } + } }, "start": 0, "type": "BinaryExpression", @@ -2188,7 +2180,6 @@ description: Result of parsing ball-bearing.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2207,8 +2198,9 @@ description: Result of parsing ball-bearing.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -2575,24 +2567,6 @@ description: Result of parsing ball-bearing.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2611,8 +2585,24 @@ description: Result of parsing ball-bearing.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -3231,102 +3221,6 @@ description: Result of parsing ball-bearing.kcl "init": { "body": [ { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "left": { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "overallThickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3345,8 +3239,102 @@ description: Result of parsing ball-bearing.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "overallThickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/ball-bearing/ops.snap b/rust/kcl-lib/tests/kcl_samples/ball-bearing/ops.snap index 7b66cea85..87aaaef2e 100644 --- a/rust/kcl-lib/tests/kcl_samples/ball-bearing/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/ball-bearing/ops.snap @@ -4,19 +4,17 @@ description: Operations executed ball-bearing.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -106,19 +104,17 @@ description: Operations executed ball-bearing.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -361,30 +357,17 @@ description: Operations executed ball-bearing.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -627,19 +610,17 @@ description: Operations executed ball-bearing.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -898,19 +879,17 @@ description: Operations executed ball-bearing.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -998,8 +977,5 @@ description: Operations executed ball-bearing.kcl }, "sourceRange": [] } - }, - { - "type": "GroupEnd" } ] diff --git a/rust/kcl-lib/tests/kcl_samples/bench/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/bench/artifact_graph_flowchart.snap.md index c6cc25d53..afa8606bd 100644 --- a/rust/kcl-lib/tests/kcl_samples/bench/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/bench/artifact_graph_flowchart.snap.md @@ -239,10 +239,10 @@ flowchart LR 5["Plane
[1223, 1290, 0]"] 6["Plane
[334, 354, 1]"] 7["Plane
[334, 354, 1]"] - 8["Plane
[3807, 3842, 1]"] - 9["Plane
[3807, 3842, 1]"] - 10["Plane
[3871, 3900, 1]"] - 11["Plane
[3871, 3900, 1]"] + 8["Plane
[3805, 3840, 1]"] + 9["Plane
[3805, 3840, 1]"] + 10["Plane
[3869, 3898, 1]"] + 11["Plane
[3869, 3898, 1]"] 12["StartSketchOnPlane
[2700, 2720, 1]"] 13["StartSketchOnPlane
[1737, 1757, 1]"] 14["StartSketchOnPlane
[3258, 3278, 1]"] @@ -268,8 +268,8 @@ flowchart LR 234["Sweep Extrusion
[2618, 2642, 1]"] 235["Sweep Extrusion
[3180, 3204, 1]"] 236["Sweep Extrusion
[3180, 3204, 1]"] - 237["Sweep Sweep
[3922, 3949, 1]"] - 238["Sweep Sweep
[3922, 3949, 1]"] + 237["Sweep Sweep
[3920, 3947, 1]"] + 238["Sweep Sweep
[3920, 3947, 1]"] 239[Wall] 240[Wall] 241[Wall] diff --git a/rust/kcl-lib/tests/kcl_samples/bench/ast.snap b/rust/kcl-lib/tests/kcl_samples/bench/ast.snap index 5bf496b5b..006386188 100644 --- a/rust/kcl-lib/tests/kcl_samples/bench/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/bench/ast.snap @@ -230,8 +230,146 @@ description: Result of parsing bench.kcl "commentStart": 0, "end": 0, "expression": { - "arguments": [ - { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "divider", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + "preComments": [ + "", + "", + "// Create the dividers, these hold the seat and back slats" + ], + "start": 0, + "type": "ExpressionStatement", + "type": "ExpressionStatement" + }, + { + "commentStart": 0, + "end": 0, + "expression": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "divider", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "benchLength", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { "abs_path": false, "commentStart": 0, "end": 0, @@ -247,7 +385,16 @@ description: Result of parsing bench.kcl "type": "Name", "type": "Name" } - ], + } + }, + "start": 0, + "type": "ExpressionStatement", + "type": "ExpressionStatement" + }, + { + "commentStart": 0, + "end": 0, + "expression": { "callee": { "abs_path": false, "commentStart": 0, @@ -266,38 +413,24 @@ description: Result of parsing bench.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - "preComments": [ - "", - "", - "// Create the dividers, these hold the seat and back slats" - ], - "start": 0, - "type": "ExpressionStatement", - "type": "ExpressionStatement" - }, - { - "commentStart": 0, - "end": 0, - "expression": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "left": { + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "argument": { "abs_path": false, "commentStart": 0, "end": 0, @@ -313,208 +446,69 @@ description: Result of parsing bench.kcl "type": "Name", "type": "Name" }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "divider", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - "start": 0, - "type": "ExpressionStatement", - "type": "ExpressionStatement" - }, - { - "commentStart": 0, - "end": 0, - "expression": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { "commentStart": 0, "end": 0, - "name": "offset", + "operator": "-", "start": 0, - "type": "Identifier" + "type": "UnaryExpression", + "type": "UnaryExpression" }, - "arg": { + "operator": "/", + "right": { "commentStart": 0, "end": 0, - "left": { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "benchLength", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, + "raw": "2", "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, "commentStart": 0, "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "offsetPlane", "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, "commentStart": 0, "end": 0, - "name": { + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, "commentStart": 0, "end": 0, - "name": "divider", + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "Name", + "type": "Name" + } + } }, "start": 0, "type": "ExpressionStatement", diff --git a/rust/kcl-lib/tests/kcl_samples/bench/ops.snap b/rust/kcl-lib/tests/kcl_samples/bench/ops.snap index 46787e6d8..b60135672 100644 --- a/rust/kcl-lib/tests/kcl_samples/bench/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/bench/ops.snap @@ -18,7 +18,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "divider", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -29,7 +35,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "divider", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -70,7 +82,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "divider", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -366,94 +384,82 @@ description: Operations executed bench.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -461,7 +467,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "dividerSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -472,7 +484,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "dividerSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -483,7 +501,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "dividerSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -590,7 +614,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "dividerSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -601,7 +631,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "dividerSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -612,7 +648,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "dividerSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1008,34 +1050,30 @@ description: Operations executed bench.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -1206,19 +1244,17 @@ description: Operations executed bench.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -1226,7 +1262,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "seatSlatSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1281,19 +1323,17 @@ description: Operations executed bench.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -1301,7 +1341,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "backSlatsSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1350,64 +1396,56 @@ description: Operations executed bench.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -1415,7 +1453,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "armRestPath", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1426,7 +1470,13 @@ description: Operations executed bench.kcl "type": "FunctionCall", "name": "armRestPath", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] diff --git a/rust/kcl-lib/tests/kcl_samples/bottle/ast.snap b/rust/kcl-lib/tests/kcl_samples/bottle/ast.snap index 95b7a58d8..c56e83442 100644 --- a/rust/kcl-lib/tests/kcl_samples/bottle/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/bottle/ast.snap @@ -221,24 +221,6 @@ description: Result of parsing bottle.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -257,8 +239,24 @@ description: Result of parsing bottle.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -713,7 +711,6 @@ description: Result of parsing bottle.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -732,8 +729,9 @@ description: Result of parsing bottle.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/bottle/ops.snap b/rust/kcl-lib/tests/kcl_samples/bottle/ops.snap index 7fccf221c..b71e3d51e 100644 --- a/rust/kcl-lib/tests/kcl_samples/bottle/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/bottle/ops.snap @@ -4,19 +4,17 @@ description: Operations executed bottle.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/bracket/ast.snap b/rust/kcl-lib/tests/kcl_samples/bracket/ast.snap index b46de9e8d..36449ab92 100644 --- a/rust/kcl-lib/tests/kcl_samples/bracket/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/bracket/ast.snap @@ -384,116 +384,6 @@ description: Result of parsing bracket.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "moment", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "fos", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "*", - "right": { - "commentStart": 0, - "end": 0, - "raw": "6", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 6.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "sigmaAllow", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "width", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -512,8 +402,116 @@ description: Result of parsing bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "moment", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "fos", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "*", + "right": { + "commentStart": 0, + "end": 0, + "raw": "6", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 6.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "sigmaAllow", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "width", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "VariableDeclarator" @@ -1233,24 +1231,6 @@ description: Result of parsing bracket.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1269,8 +1249,24 @@ description: Result of parsing bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1740,15 +1736,6 @@ description: Result of parsing bracket.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1767,19 +1754,17 @@ description: Result of parsing bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1798,8 +1783,15 @@ description: Result of parsing bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1850,7 +1842,6 @@ description: Result of parsing bracket.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1869,8 +1860,9 @@ description: Result of parsing bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -3258,24 +3250,6 @@ description: Result of parsing bracket.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg03", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3294,8 +3268,24 @@ description: Result of parsing bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg03", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -3390,24 +3380,6 @@ description: Result of parsing bracket.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg06", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3426,8 +3398,24 @@ description: Result of parsing bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg06", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -3538,24 +3526,6 @@ description: Result of parsing bracket.kcl "type": "Name" }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg02", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3574,8 +3544,24 @@ description: Result of parsing bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg02", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "abs_path": false, @@ -3594,24 +3580,6 @@ description: Result of parsing bracket.kcl "type": "Name" }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg05", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3630,8 +3598,24 @@ description: Result of parsing bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg05", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/bracket/ops.snap b/rust/kcl-lib/tests/kcl_samples/bracket/ops.snap index 28f8eed67..d7f7f2b2d 100644 --- a/rust/kcl-lib/tests/kcl_samples/bracket/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/bracket/ops.snap @@ -4,30 +4,17 @@ description: Operations executed bracket.kcl --- [ { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sqrt", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -352,8 +339,5 @@ description: Operations executed bracket.kcl } }, "sourceRange": [] - }, - { - "type": "GroupEnd" } ] diff --git a/rust/kcl-lib/tests/kcl_samples/color-cube/ast.snap b/rust/kcl-lib/tests/kcl_samples/color-cube/ast.snap index d4f37a9bb..4b03ccc10 100644 --- a/rust/kcl-lib/tests/kcl_samples/color-cube/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/color-cube/ast.snap @@ -1012,24 +1012,6 @@ description: Result of parsing color-cube.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1048,8 +1030,24 @@ description: Result of parsing color-cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -1148,24 +1146,6 @@ description: Result of parsing color-cube.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1184,8 +1164,24 @@ description: Result of parsing color-cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -1199,24 +1195,6 @@ description: Result of parsing color-cube.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1235,8 +1213,24 @@ description: Result of parsing color-cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -1302,15 +1296,6 @@ description: Result of parsing color-cube.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1329,19 +1314,17 @@ description: Result of parsing color-cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1360,8 +1343,15 @@ description: Result of parsing color-cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1394,7 +1384,6 @@ description: Result of parsing color-cube.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1413,8 +1402,9 @@ description: Result of parsing color-cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/ast.snap b/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/ast.snap index e476b1877..c7f0c6934 100644 --- a/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/ast.snap @@ -135,74 +135,6 @@ description: Result of parsing cycloidal-gear.kcl "init": { "body": [ { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "gHeight", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -221,8 +153,74 @@ description: Result of parsing cycloidal-gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "gHeight", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, { "arguments": [ @@ -282,24 +280,6 @@ description: Result of parsing cycloidal-gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "helixAngleP", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -318,8 +298,24 @@ description: Result of parsing cycloidal-gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "helixAngleP", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -347,32 +343,6 @@ description: Result of parsing cycloidal-gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "helixAngleP", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -391,8 +361,32 @@ description: Result of parsing cycloidal-gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "helixAngleP", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -446,24 +440,6 @@ description: Result of parsing cycloidal-gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "helixAngleP", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -482,8 +458,24 @@ description: Result of parsing cycloidal-gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "helixAngleP", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -511,32 +503,6 @@ description: Result of parsing cycloidal-gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "helixAngleP", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -555,8 +521,32 @@ description: Result of parsing cycloidal-gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "helixAngleP", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -1110,15 +1100,6 @@ description: Result of parsing cycloidal-gear.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1137,19 +1118,17 @@ description: Result of parsing cycloidal-gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1168,8 +1147,15 @@ description: Result of parsing cycloidal-gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1202,15 +1188,6 @@ description: Result of parsing cycloidal-gear.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1229,8 +1206,15 @@ description: Result of parsing cycloidal-gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ @@ -1469,153 +1453,6 @@ description: Result of parsing cycloidal-gear.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "elements": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "gearSketch", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "gearHeight", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "gearSketch", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "gearHeight", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "gearSketch", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1634,8 +1471,147 @@ description: Result of parsing cycloidal-gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "elements": [ + { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "gearSketch", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + } + }, + { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "gearSketch", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "gearHeight", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + }, + { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "gearSketch", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "gearHeight", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/ops.snap b/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/ops.snap index 720703856..563a4bb06 100644 --- a/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/cycloidal-gear/ops.snap @@ -4,49 +4,43 @@ description: Operations executed cycloidal-gear.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -138,138 +132,6 @@ description: Operations executed cycloidal-gear.kcl }, "sourceRange": [] }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, { "labeledArgs": { "tool": { @@ -346,38 +208,36 @@ description: Operations executed cycloidal-gear.kcl } }, { - "labeledArgs": { - "sketches": { - "value": { - "type": "Array", - "value": [ - { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "loft", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -385,7 +245,22 @@ description: Operations executed cycloidal-gear.kcl "type": "FunctionCall", "name": "gearSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -396,7 +271,22 @@ description: Operations executed cycloidal-gear.kcl "type": "FunctionCall", "name": "gearSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.75, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -407,7 +297,22 @@ description: Operations executed cycloidal-gear.kcl "type": "FunctionCall", "name": "gearSketch", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 1.5, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -497,42 +402,6 @@ description: Operations executed cycloidal-gear.kcl { "type": "GroupEnd" }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, { "type": "GroupEnd" } diff --git a/rust/kcl-lib/tests/kcl_samples/dodecahedron/ast.snap b/rust/kcl-lib/tests/kcl_samples/dodecahedron/ast.snap index af524641d..ab6874f5c 100644 --- a/rust/kcl-lib/tests/kcl_samples/dodecahedron/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/dodecahedron/ast.snap @@ -71,24 +71,6 @@ description: Result of parsing dodecahedron.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -107,8 +89,24 @@ description: Result of parsing dodecahedron.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -607,7 +605,6 @@ description: Result of parsing dodecahedron.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -626,8 +623,9 @@ description: Result of parsing dodecahedron.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -2015,36 +2013,6 @@ description: Result of parsing dodecahedron.kcl "argument": { "body": [ { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "rotation", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "3", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 3.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2063,8 +2031,36 @@ description: Result of parsing dodecahedron.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "rotation", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } }, { "arguments": [ @@ -2551,49 +2547,6 @@ description: Result of parsing dodecahedron.kcl "body": [ { "argument": { - "arguments": [ - { - "commentStart": 0, - "elements": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "previous", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "current", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2612,8 +2565,49 @@ description: Result of parsing dodecahedron.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "elements": [ + { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "previous", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "current", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } }, "commentStart": 0, "end": 0, @@ -2679,24 +2673,6 @@ description: Result of parsing dodecahedron.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "solids", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2715,8 +2691,24 @@ description: Result of parsing dodecahedron.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "solids", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -2802,24 +2794,6 @@ description: Result of parsing dodecahedron.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "solids", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2838,8 +2812,24 @@ description: Result of parsing dodecahedron.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "solids", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -2986,24 +2976,6 @@ description: Result of parsing dodecahedron.kcl "commentStart": 0, "end": 0, "expression": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "dodecFaces", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3022,8 +2994,24 @@ description: Result of parsing dodecahedron.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "dodecFaces", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "preComments": [ "", diff --git a/rust/kcl-lib/tests/kcl_samples/dodecahedron/ops.snap b/rust/kcl-lib/tests/kcl_samples/dodecahedron/ops.snap index 709412018..fc302ad0e 100644 --- a/rust/kcl-lib/tests/kcl_samples/dodecahedron/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/dodecahedron/ops.snap @@ -4,184 +4,160 @@ description: Operations executed dodecahedron.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -573,7 +549,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -584,7 +575,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -595,7 +601,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -606,7 +627,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -617,7 +653,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -628,7 +679,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -639,7 +705,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.6, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -650,7 +731,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -661,7 +757,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.8, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -672,7 +783,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.9, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -683,7 +809,22 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.11, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -694,318 +835,311 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createFaceTemplate", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.12, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "intersect", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -1013,7 +1147,86 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "calculateArrayLength", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1024,7 +1237,86 @@ description: Operations executed dodecahedron.kcl "type": "FunctionCall", "name": "createIntersection", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] diff --git a/rust/kcl-lib/tests/kcl_samples/dual-basin-utility-sink/ast.snap b/rust/kcl-lib/tests/kcl_samples/dual-basin-utility-sink/ast.snap index e40c10fe0..13e0ca2d8 100644 --- a/rust/kcl-lib/tests/kcl_samples/dual-basin-utility-sink/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/dual-basin-utility-sink/ast.snap @@ -536,24 +536,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -572,8 +554,24 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -985,15 +983,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1012,19 +1001,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1043,8 +1030,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1077,7 +1071,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1096,8 +1089,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1527,74 +1521,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "lowerBeltHeightAboveTheFloor", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1613,8 +1539,74 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "lowerBeltHeightAboveTheFloor", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, "start": 0, "type": "VariableDeclarator" @@ -1902,15 +1894,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1929,19 +1912,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1960,8 +1941,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1994,7 +1982,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2013,8 +2000,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -2657,15 +2645,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2684,19 +2663,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2715,8 +2692,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -2749,7 +2733,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2768,8 +2751,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -3070,74 +3054,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "pillarHeightAboveTheFloor", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3156,8 +3072,74 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "pillarHeightAboveTheFloor", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, "start": 0, "type": "VariableDeclarator" @@ -3530,15 +3512,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3557,19 +3530,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3588,8 +3559,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3622,7 +3600,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3641,8 +3618,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -3978,74 +3956,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "blockHeight", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4064,8 +3974,74 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "blockHeight", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, "start": 0, "type": "VariableDeclarator" @@ -4349,15 +4325,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4376,19 +4343,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4407,8 +4372,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -4441,7 +4413,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -4460,8 +4431,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -4992,15 +4964,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5019,19 +4982,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5050,8 +5011,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -5084,7 +5052,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -5103,8 +5070,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -5352,74 +5320,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "tableHeight", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5438,8 +5338,74 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "tableHeight", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, "start": 0, "type": "VariableDeclarator" @@ -5723,15 +5689,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5750,19 +5707,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5781,8 +5736,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -5815,7 +5777,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -5834,8 +5795,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -6599,15 +6561,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6626,19 +6579,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6657,8 +6608,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -6691,7 +6649,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -6710,8 +6667,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -7456,15 +7414,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7483,19 +7432,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7514,8 +7461,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -7548,7 +7502,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -7567,8 +7520,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -8226,74 +8180,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "doorHeightAboveTheFloor", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8312,8 +8198,74 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "doorHeightAboveTheFloor", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, "start": 0, "type": "VariableDeclarator" @@ -8601,15 +8553,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8628,19 +8571,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8659,8 +8600,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -8693,7 +8641,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -8712,8 +8659,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -9420,15 +9368,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9447,19 +9386,17 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9478,8 +9415,15 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -9512,7 +9456,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -9531,8 +9474,9 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -10147,74 +10091,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "handleHeightAboveTheFloor", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -10233,8 +10109,74 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "handleHeightAboveTheFloor", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, "start": 0, "type": "VariableDeclarator" @@ -10772,24 +10714,6 @@ description: Result of parsing dual-basin-utility-sink.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -10808,8 +10732,24 @@ description: Result of parsing dual-basin-utility-sink.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/kcl_samples/dual-basin-utility-sink/ops.snap b/rust/kcl-lib/tests/kcl_samples/dual-basin-utility-sink/ops.snap index bb69d696a..434ebf6a8 100644 --- a/rust/kcl-lib/tests/kcl_samples/dual-basin-utility-sink/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/dual-basin-utility-sink/ops.snap @@ -4,19 +4,17 @@ description: Operations executed dual-basin-utility-sink.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -98,19 +96,17 @@ description: Operations executed dual-basin-utility-sink.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -253,19 +249,17 @@ description: Operations executed dual-basin-utility-sink.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -365,19 +359,17 @@ description: Operations executed dual-basin-utility-sink.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -496,19 +488,17 @@ description: Operations executed dual-basin-utility-sink.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -705,19 +695,17 @@ description: Operations executed dual-basin-utility-sink.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -860,19 +848,17 @@ description: Operations executed dual-basin-utility-sink.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -905,19 +891,17 @@ description: Operations executed dual-basin-utility-sink.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/enclosure/ast.snap b/rust/kcl-lib/tests/kcl_samples/enclosure/ast.snap index 3c4839dd4..33c3e8138 100644 --- a/rust/kcl-lib/tests/kcl_samples/enclosure/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/enclosure/ast.snap @@ -188,24 +188,6 @@ description: Result of parsing enclosure.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -224,8 +206,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -401,24 +399,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -437,8 +417,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -537,24 +533,6 @@ description: Result of parsing enclosure.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -573,8 +551,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -588,24 +582,6 @@ description: Result of parsing enclosure.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -624,8 +600,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -691,15 +683,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -718,19 +701,17 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -749,8 +730,15 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -801,7 +789,6 @@ description: Result of parsing enclosure.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -820,8 +807,9 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -985,24 +973,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1021,28 +991,26 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentB001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1061,28 +1029,26 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentB001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentC001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1101,28 +1067,26 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentC001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentD001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1141,8 +1105,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentD001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1606,24 +1586,6 @@ description: Result of parsing enclosure.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1642,8 +1604,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2164,137 +2142,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "expression": { - "arguments": [ - { - "commentStart": 0, - "elements": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "wallThickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "commentStart": 0, - "end": 0, - "raw": "3", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 3.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "+", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "holeDia", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "wallThickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "commentStart": 0, - "end": 0, - "raw": "3", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 3.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "+", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "holeDia", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2313,8 +2160,137 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "wallThickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "commentStart": 0, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "+", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "holeDia", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "wallThickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "commentStart": 0, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "+", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "holeDia", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } }, "preComments": [ "", @@ -2329,11 +2305,110 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "expression": { - "arguments": [ - { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, - "elements": [ - { + "end": 0, + "name": "function001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "wallThickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "commentStart": 0, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "+", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "holeDia", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "-", + "right": { "commentStart": 0, "end": 0, "left": { @@ -2393,97 +2468,25 @@ description: Result of parsing enclosure.kcl "type": "BinaryExpression", "type": "BinaryExpression" }, - { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "length", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "-", - "right": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "wallThickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "commentStart": 0, - "end": 0, - "raw": "3", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 3.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "+", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "holeDia", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } + }, + "start": 0, + "type": "ExpressionStatement", + "type": "ExpressionStatement" + }, + { + "commentStart": 0, + "end": 0, + "expression": { "callee": { "abs_path": false, "commentStart": 0, @@ -2502,106 +2505,32 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - "start": 0, - "type": "ExpressionStatement", - "type": "ExpressionStatement" - }, - { - "commentStart": 0, - "end": 0, - "expression": { - "arguments": [ - { - "commentStart": 0, - "elements": [ - { + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, "commentStart": 0, "end": 0, - "left": { - "abs_path": false, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "width", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "width", "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "-", - "right": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "wallThickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "commentStart": 0, - "end": 0, - "raw": "3", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 3.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "+", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "holeDia", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" + "type": "Identifier" }, + "path": [], "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" + "type": "Name", + "type": "Name" }, - { + "operator": "-", + "right": { "commentStart": 0, "end": 0, "left": { @@ -2660,34 +2589,77 @@ description: Result of parsing enclosure.kcl "start": 0, "type": "BinaryExpression", "type": "BinaryExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "wallThickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "commentStart": 0, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "+", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "holeDia", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + ], "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "function001", - "start": 0, - "type": "Identifier" - }, - "path": [], "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "ArrayExpression", + "type": "ArrayExpression" + } }, "start": 0, "type": "ExpressionStatement", @@ -2697,185 +2669,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "expression": { - "arguments": [ - { - "commentStart": 0, - "elements": [ - { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "width", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "-", - "right": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "wallThickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "commentStart": 0, - "end": 0, - "raw": "3", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 3.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "+", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "holeDia", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "length", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "-", - "right": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "wallThickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "commentStart": 0, - "end": 0, - "raw": "3", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 3.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "+", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "holeDia", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2894,8 +2687,185 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "elements": [ + { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "width", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "-", + "right": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "wallThickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "commentStart": 0, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "+", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "holeDia", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "length", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "-", + "right": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "wallThickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "commentStart": 0, + "end": 0, + "raw": "3", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 3.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "+", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "holeDia", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } }, "start": 0, "type": "ExpressionStatement", @@ -2916,24 +2886,6 @@ description: Result of parsing enclosure.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2952,8 +2904,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -3153,24 +3121,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3189,8 +3139,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -3289,24 +3255,6 @@ description: Result of parsing enclosure.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3325,8 +3273,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -3340,24 +3304,6 @@ description: Result of parsing enclosure.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3376,8 +3322,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -3443,15 +3405,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3470,19 +3423,17 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3501,8 +3452,15 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3553,7 +3511,6 @@ description: Result of parsing enclosure.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3572,8 +3529,9 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -4861,24 +4819,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4897,28 +4837,26 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentB002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4937,28 +4875,26 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentB002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentC002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4977,28 +4913,26 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentC002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentD002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5017,8 +4951,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentD002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -5434,24 +5384,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5470,8 +5402,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -5614,24 +5562,6 @@ description: Result of parsing enclosure.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5650,8 +5580,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -5665,24 +5611,6 @@ description: Result of parsing enclosure.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5701,8 +5629,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -5768,15 +5712,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5795,19 +5730,17 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5826,8 +5759,15 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -5878,7 +5818,6 @@ description: Result of parsing enclosure.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -5897,8 +5836,9 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -7277,24 +7217,6 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7313,28 +7235,26 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentB003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7353,28 +7273,26 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentB003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentC003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7393,28 +7311,26 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentC003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentD003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7433,8 +7349,24 @@ description: Result of parsing enclosure.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentD003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/enclosure/ops.snap b/rust/kcl-lib/tests/kcl_samples/enclosure/ops.snap index 01cd231b6..eaf6649e9 100644 --- a/rust/kcl-lib/tests/kcl_samples/enclosure/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/enclosure/ops.snap @@ -4,19 +4,17 @@ description: Operations executed enclosure.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -151,772 +149,764 @@ description: Operations executed enclosure.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 3.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 3.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 3.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 3.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 3.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 3.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 3.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 3.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1152,58 +1142,188 @@ description: Operations executed enclosure.kcl "type": "FunctionCall", "name": "function001", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "function001", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "function001", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "function001", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { + "unlabeledArg": { "value": { - "type": "Plane", - "artifact_id": "[uuid]" + "type": "Array", + "value": [ + { + "type": "Number", + "value": 13.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 13.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] }, "sourceRange": [] - } + }, + "labeledArgs": {} }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "function001", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 13.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 162.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "function001", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 112.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 13.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "function001", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 112.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 162.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ast.snap b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ast.snap index 41a010275..3e9fe66a4 100644 --- a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ast.snap @@ -309,32 +309,6 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "angle001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -353,36 +327,34 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "angle001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, "commentStart": 0, "end": 0, - "operator": "-", + "name": { + "commentStart": 0, + "end": 0, + "name": "angle001", + "start": 0, + "type": "Identifier" + }, + "path": [], "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -401,8 +373,32 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "angle001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, { "commentStart": 0, @@ -573,24 +569,6 @@ description: Result of parsing exhaust-manifold.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "sweepPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -609,8 +587,24 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "sweepPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -867,24 +861,6 @@ description: Result of parsing exhaust-manifold.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "arc01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -903,8 +879,24 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "arc01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -1059,24 +1051,6 @@ description: Result of parsing exhaust-manifold.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "arc02", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1095,8 +1069,24 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "arc02", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -1202,24 +1192,6 @@ description: Result of parsing exhaust-manifold.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1238,8 +1210,24 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2299,24 +2287,6 @@ description: Result of parsing exhaust-manifold.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2335,8 +2305,24 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2815,24 +2801,6 @@ description: Result of parsing exhaust-manifold.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2851,8 +2819,24 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -3196,24 +3180,6 @@ description: Result of parsing exhaust-manifold.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg05", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3232,8 +3198,24 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg05", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -3289,15 +3271,6 @@ description: Result of parsing exhaust-manifold.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3316,8 +3289,15 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } }, { @@ -3374,24 +3354,6 @@ description: Result of parsing exhaust-manifold.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg03", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3410,8 +3372,24 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg03", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -3623,15 +3601,6 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3650,19 +3619,17 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3681,8 +3648,15 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3715,7 +3689,6 @@ description: Result of parsing exhaust-manifold.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3734,8 +3707,9 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -5393,24 +5367,6 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg04", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5429,28 +5385,26 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg04", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg07", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5469,8 +5423,24 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg07", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -5539,24 +5509,6 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg03", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5575,28 +5527,26 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg03", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg08", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5615,8 +5565,24 @@ description: Result of parsing exhaust-manifold.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg08", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ops.snap b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ops.snap index 98e45cf55..ef6898d50 100644 --- a/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/exhaust-manifold/ops.snap @@ -4,880 +4,776 @@ description: Operations executed exhaust-manifold.kcl --- [ { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": -0.0, - "ty": { - "type": "Known", - "type": "Count" - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Known", - "type": "Count" - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": -0.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] } - }, - "sourceRange": [] - } - }, + } + }, + "sourceRange": [] + } + }, + { + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null - }, - { - "labeledArgs": { - "planeOrSolid": { + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 2.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 2.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": -0.01745240643728351, - "ty": { - "type": "Known", - "type": "Count" - } - }, - { - "type": "Number", - "value": 0.9998476951563913, - "ty": { - "type": "Known", - "type": "Count" - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": -0.01745240643728351, + "ty": { + "type": "Known", + "type": "Count" + } + }, + { + "type": "Number", + "value": 0.9998476951563913, + "ty": { + "type": "Known", + "type": "Count" + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] } - }, - "sourceRange": [] - } - }, + } + }, + "sourceRange": [] + } + }, + { + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null - }, - { - "labeledArgs": { - "planeOrSolid": { + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 4.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 4.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": -0.4115143586051088, - "ty": { - "type": "Known", - "type": "Count" - } - }, - { - "type": "Number", - "value": 0.9114032766354453, - "ty": { - "type": "Known", - "type": "Count" - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": -0.4115143586051088, + "ty": { + "type": "Known", + "type": "Count" + } + }, + { + "type": "Number", + "value": 0.9114032766354453, + "ty": { + "type": "Known", + "type": "Count" + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] } - }, - "sourceRange": [] - } - }, + } + }, + "sourceRange": [] + } + }, + { + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null - }, - { - "labeledArgs": { - "planeOrSolid": { + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 6.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 6.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": -0.4257792915650726, - "ty": { - "type": "Known", - "type": "Count" - } - }, - { - "type": "Number", - "value": 0.9048270524660196, - "ty": { - "type": "Known", - "type": "Count" - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": -0.4257792915650726, + "ty": { + "type": "Known", + "type": "Count" + } + }, + { + "type": "Number", + "value": 0.9048270524660196, + "ty": { + "type": "Known", + "type": "Count" + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } - ] - } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1448,19 +1344,17 @@ description: Operations executed exhaust-manifold.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1799,30 +1693,6 @@ description: Operations executed exhaust-manifold.kcl { "type": "GroupEnd" }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, { "type": "GroupEnd" } diff --git a/rust/kcl-lib/tests/kcl_samples/flange/ast.snap b/rust/kcl-lib/tests/kcl_samples/flange/ast.snap index 9b65d3847..57369468c 100644 --- a/rust/kcl-lib/tests/kcl_samples/flange/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/flange/ast.snap @@ -531,24 +531,6 @@ description: Result of parsing flange.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -567,8 +549,24 @@ description: Result of parsing flange.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -897,24 +895,6 @@ description: Result of parsing flange.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -933,8 +913,24 @@ description: Result of parsing flange.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/flange/ops.snap b/rust/kcl-lib/tests/kcl_samples/flange/ops.snap index 3b2ff009b..150cb964b 100644 --- a/rust/kcl-lib/tests/kcl_samples/flange/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/flange/ops.snap @@ -4,34 +4,30 @@ description: Operations executed flange.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ast.snap b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ast.snap index dfb05b962..0436ef3e7 100644 --- a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ast.snap @@ -814,24 +814,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "bracketPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -850,8 +832,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "bracketPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2413,48 +2411,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "bs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "edge7", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2473,52 +2429,50 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "bs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "edge7", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } }, { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "bs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "edge2", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2537,52 +2491,50 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "bs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "edge2", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } }, { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "bs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "edge3", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2601,52 +2553,50 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "bs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "edge3", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } }, { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "bs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "edge6", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2665,8 +2615,48 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "bs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "edge6", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } } ], "end": 0, @@ -3193,24 +3183,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "tabPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3229,8 +3201,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "tabPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -4302,24 +4290,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge11", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4338,28 +4308,26 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge11", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge12", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4378,8 +4346,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge12", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -4709,24 +4693,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "tabPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4745,8 +4711,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "tabPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -5834,24 +5816,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge21", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5870,28 +5834,26 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge21", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge22", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5910,8 +5872,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge22", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -6706,24 +6684,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "retPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6742,8 +6702,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "retPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -7026,7 +7002,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -7045,8 +7020,9 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -7173,24 +7149,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "retPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7209,8 +7167,24 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "retPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -7561,7 +7535,6 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -7580,8 +7553,9 @@ description: Result of parsing focusrite-scarlett-mounting-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ops.snap b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ops.snap index 5e03346f3..30cc8a6d2 100644 --- a/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/focusrite-scarlett-mounting-bracket/ops.snap @@ -4,196 +4,194 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 44.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 44.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "xAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "xAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "yAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "yAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "zAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "zAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": -1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": -1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } } } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null + } + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -344,196 +342,194 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 49.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 49.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "xAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "xAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "yAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "yAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "zAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "zAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } } } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -736,196 +732,194 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl } }, { - "labeledArgs": { - "planeOrSolid": { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 49.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 49.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "xAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "xAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "yAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "yAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "zAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "zAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } } } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1128,196 +1122,194 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl } }, { - "labeledArgs": { - "planeOrSolid": { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": -52.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": -52.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "xAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "xAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "yAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "yAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "zAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "zAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } } } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1352,196 +1344,194 @@ description: Operations executed focusrite-scarlett-mounting-bracket.kcl } }, { - "labeledArgs": { - "planeOrSolid": { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": -52.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": -52.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "xAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "xAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "yAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "yAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } - }, - "zAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "zAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" } } } } } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null + } + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/food-service-spatula/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/food-service-spatula/artifact_graph_flowchart.snap.md index 6e8bbf853..2acb2ae2f 100644 --- a/rust/kcl-lib/tests/kcl_samples/food-service-spatula/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/food-service-spatula/artifact_graph_flowchart.snap.md @@ -1,83 +1,83 @@ ```mermaid flowchart LR subgraph path6 [Path] - 6["Path
[1005, 1049, 0]"] - 16["Segment
[1057, 1097, 0]"] - 17["Segment
[1105, 1151, 0]"] - 22["Segment
[1159, 1200, 0]"] - 25["Segment
[1208, 1273, 0]"] - 29["Segment
[1281, 1288, 0]"] + 6["Path
[999, 1043, 0]"] + 16["Segment
[1051, 1091, 0]"] + 17["Segment
[1099, 1145, 0]"] + 22["Segment
[1153, 1194, 0]"] + 25["Segment
[1202, 1267, 0]"] + 29["Segment
[1275, 1282, 0]"] 56[Solid2d] end subgraph path7 [Path] - 7["Path
[1005, 1049, 0]"] - 15["Segment
[1057, 1097, 0]"] - 19["Segment
[1105, 1151, 0]"] - 24["Segment
[1159, 1200, 0]"] - 26["Segment
[1208, 1273, 0]"] - 30["Segment
[1281, 1288, 0]"] + 7["Path
[999, 1043, 0]"] + 15["Segment
[1051, 1091, 0]"] + 19["Segment
[1099, 1145, 0]"] + 24["Segment
[1153, 1194, 0]"] + 26["Segment
[1202, 1267, 0]"] + 30["Segment
[1275, 1282, 0]"] 58[Solid2d] end subgraph path8 [Path] - 8["Path
[1005, 1049, 0]"] - 13["Segment
[1057, 1097, 0]"] - 20["Segment
[1105, 1151, 0]"] - 21["Segment
[1159, 1200, 0]"] - 27["Segment
[1208, 1273, 0]"] - 32["Segment
[1281, 1288, 0]"] + 8["Path
[999, 1043, 0]"] + 13["Segment
[1051, 1091, 0]"] + 20["Segment
[1099, 1145, 0]"] + 21["Segment
[1153, 1194, 0]"] + 27["Segment
[1202, 1267, 0]"] + 32["Segment
[1275, 1282, 0]"] 59[Solid2d] end subgraph path9 [Path] - 9["Path
[1005, 1049, 0]"] - 14["Segment
[1057, 1097, 0]"] - 18["Segment
[1105, 1151, 0]"] - 23["Segment
[1159, 1200, 0]"] - 28["Segment
[1208, 1273, 0]"] - 31["Segment
[1281, 1288, 0]"] + 9["Path
[999, 1043, 0]"] + 14["Segment
[1051, 1091, 0]"] + 18["Segment
[1099, 1145, 0]"] + 23["Segment
[1153, 1194, 0]"] + 28["Segment
[1202, 1267, 0]"] + 31["Segment
[1275, 1282, 0]"] 60[Solid2d] end subgraph path10 [Path] - 10["Path
[1450, 1507, 0]"] - 33["Segment
[1513, 1545, 0]"] - 34["Segment
[1551, 1588, 0]"] - 35["Segment
[1594, 1627, 0]"] - 36["Segment
[1633, 1700, 0]"] - 37["Segment
[1706, 1713, 0]"] + 10["Path
[1444, 1501, 0]"] + 33["Segment
[1507, 1539, 0]"] + 34["Segment
[1545, 1582, 0]"] + 35["Segment
[1588, 1621, 0]"] + 36["Segment
[1627, 1694, 0]"] + 37["Segment
[1700, 1707, 0]"] 57[Solid2d] end subgraph path11 [Path] - 11["Path
[2873, 2929, 0]"] - 38["Segment
[2935, 2994, 0]"] - 39["Segment
[3000, 3035, 0]"] - 40["Segment
[3041, 3074, 0]"] - 41["Segment
[3080, 3139, 0]"] - 42["Segment
[3145, 3181, 0]"] - 43["Segment
[3187, 3211, 0]"] - 44["Segment
[3217, 3224, 0]"] + 11["Path
[2867, 2923, 0]"] + 38["Segment
[2929, 2988, 0]"] + 39["Segment
[2994, 3029, 0]"] + 40["Segment
[3035, 3068, 0]"] + 41["Segment
[3074, 3133, 0]"] + 42["Segment
[3139, 3175, 0]"] + 43["Segment
[3181, 3205, 0]"] + 44["Segment
[3211, 3218, 0]"] 54[Solid2d] end subgraph path12 [Path] - 12["Path
[3819, 3869, 0]"] - 45["Segment
[3875, 3925, 0]"] - 46["Segment
[3931, 3997, 0]"] - 47["Segment
[4003, 4054, 0]"] - 48["Segment
[4060, 4125, 0]"] - 49["Segment
[4131, 4184, 0]"] - 50["Segment
[4190, 4257, 0]"] - 51["Segment
[4263, 4337, 0]"] - 52["Segment
[4343, 4411, 0]"] - 53["Segment
[4417, 4424, 0]"] + 12["Path
[3813, 3863, 0]"] + 45["Segment
[3869, 3919, 0]"] + 46["Segment
[3925, 3991, 0]"] + 47["Segment
[3997, 4048, 0]"] + 48["Segment
[4054, 4119, 0]"] + 49["Segment
[4125, 4178, 0]"] + 50["Segment
[4184, 4251, 0]"] + 51["Segment
[4257, 4331, 0]"] + 52["Segment
[4337, 4405, 0]"] + 53["Segment
[4411, 4418, 0]"] 55[Solid2d] end - 1["Plane
[1379, 1396, 0]"] - 2["Plane
[2770, 2812, 0]"] - 3["Plane
[3745, 3771, 0]"] - 4["StartSketchOnPlane
[2756, 2813, 0]"] - 5["StartSketchOnFace
[4581, 4620, 0]"] - 61["Sweep Extrusion
[2447, 2497, 0]"] - 62["Sweep Extrusion
[3258, 3302, 0]"] - 63["Sweep Extrusion
[4480, 4522, 0]"] - 64["Sweep Extrusion
[4800, 4850, 0]"] + 1["Plane
[1373, 1390, 0]"] + 2["Plane
[2764, 2806, 0]"] + 3["Plane
[3739, 3765, 0]"] + 4["StartSketchOnPlane
[2750, 2807, 0]"] + 5["StartSketchOnFace
[4575, 4614, 0]"] + 61["Sweep Extrusion
[2441, 2491, 0]"] + 62["Sweep Extrusion
[3252, 3296, 0]"] + 63["Sweep Extrusion
[4474, 4516, 0]"] + 64["Sweep Extrusion
[4794, 4844, 0]"] 65[Wall] 66[Wall] 67[Wall] @@ -156,10 +156,10 @@ flowchart LR 140["SweepEdge Adjacent"] 141["SweepEdge Adjacent"] 142["SweepEdge Adjacent"] - 143["EdgeCut Fillet
[2534, 2675, 0]"] - 144["EdgeCut Fillet
[2534, 2675, 0]"] - 145["EdgeCut Fillet
[3345, 3476, 0]"] - 146["EdgeCut Fillet
[3345, 3476, 0]"] + 143["EdgeCut Fillet
[2528, 2669, 0]"] + 144["EdgeCut Fillet
[2528, 2669, 0]"] + 145["EdgeCut Fillet
[3339, 3470, 0]"] + 146["EdgeCut Fillet
[3339, 3470, 0]"] 1 --- 6 1 --- 8 1 --- 9 diff --git a/rust/kcl-lib/tests/kcl_samples/food-service-spatula/ast.snap b/rust/kcl-lib/tests/kcl_samples/food-service-spatula/ast.snap index ee8461378..5d10ce570 100644 --- a/rust/kcl-lib/tests/kcl_samples/food-service-spatula/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/food-service-spatula/ast.snap @@ -514,168 +514,6 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "expression": { - "arguments": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "operator": "-", - "right": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "start", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "operator": "-", - "right": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "start", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "atan", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -702,8 +540,166 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "atan", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "end", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "operator": "-", + "right": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "start", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "end", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "operator": "-", + "right": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "start", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } }, "start": 0, "type": "ExpressionStatement", @@ -724,168 +720,6 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "operator": "-", - "right": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "start", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "operator": "-", - "right": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "start", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "atan", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -912,8 +746,166 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "atan", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "end", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "operator": "-", + "right": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "start", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "end", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "operator": "-", + "right": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "start", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } }, "operator": "+", "right": { @@ -1118,236 +1110,6 @@ description: Result of parsing food-service-spatula.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "exp", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "pow", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "operator": "-", - "right": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "start", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - }, - "operator": "+", - "right": { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "exp", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "pow", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "end", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "operator": "-", - "right": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "start", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1366,8 +1128,236 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "exp", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "pow", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "end", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "operator": "-", + "right": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "start", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + }, + "operator": "+", + "right": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "exp", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "pow", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "end", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "operator": "-", + "right": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "start", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "VariableDeclarator" @@ -1434,44 +1424,6 @@ description: Result of parsing food-service-spatula.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "angle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "-", - "right": { - "commentStart": 0, - "end": 0, - "raw": "90", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 90.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1490,8 +1442,44 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "angle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "-", + "right": { + "commentStart": 0, + "end": 0, + "raw": "90", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 90.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -1595,44 +1583,6 @@ description: Result of parsing food-service-spatula.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "angle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "-", - "right": { - "commentStart": 0, - "end": 0, - "raw": "90", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 90.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1651,8 +1601,44 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "angle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "-", + "right": { + "commentStart": 0, + "end": 0, + "raw": "90", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 90.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -2075,15 +2061,6 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2102,19 +2079,17 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2133,8 +2108,15 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -2167,7 +2149,6 @@ description: Result of parsing food-service-spatula.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2186,8 +2167,9 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -2308,24 +2290,6 @@ description: Result of parsing food-service-spatula.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2344,8 +2308,24 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -2787,7 +2767,6 @@ description: Result of parsing food-service-spatula.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2806,8 +2785,9 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -3827,24 +3807,6 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "backEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3863,28 +3825,26 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "backEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "backEdge", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -3903,8 +3863,24 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "backEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -3973,102 +3949,6 @@ description: Result of parsing food-service-spatula.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "left": { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "handleWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4087,8 +3967,102 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "handleWidth", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, "start": 0, "type": "VariableDeclarator" @@ -4669,7 +4643,6 @@ description: Result of parsing food-service-spatula.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -4688,8 +4661,9 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -4857,24 +4831,6 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "handleBottomEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4893,28 +4849,26 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "handleBottomEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "handleTopEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4933,8 +4887,24 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "handleTopEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -5294,24 +5264,6 @@ description: Result of parsing food-service-spatula.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "handlePlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5330,8 +5282,24 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "handlePlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -6263,7 +6231,6 @@ description: Result of parsing food-service-spatula.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -6282,8 +6249,9 @@ description: Result of parsing food-service-spatula.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/food-service-spatula/ops.snap b/rust/kcl-lib/tests/kcl_samples/food-service-spatula/ops.snap index c82d647ef..d6a04ec6c 100644 --- a/rust/kcl-lib/tests/kcl_samples/food-service-spatula/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/food-service-spatula/ops.snap @@ -9,212 +9,78 @@ description: Operations executed food-service-spatula.kcl "type": "FunctionCall", "name": "units::toDegrees", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sqrt", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sqrt", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sqrt", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sqrt", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { + "unlabeledArg": { "value": { - "type": "Plane", - "artifact_id": "[uuid]" + "type": "Number", + "value": -0.0, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } }, "sourceRange": [] - } + }, + "labeledArgs": {} }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": -0.0333, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0333, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -681,19 +547,17 @@ description: Operations executed food-service-spatula.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -806,196 +670,194 @@ description: Operations executed food-service-spatula.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 208.593833, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 75.921946, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.34202, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": -0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": -0.939693, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.939693, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": -0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.34202, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 208.593833, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 75.921946, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.34202, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": -0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": -0.939693, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.939693, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": -0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.34202, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1206,51 +1068,6 @@ description: Operations executed food-service-spatula.kcl { "type": "GroupEnd" }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, { "type": "GroupEnd" } diff --git a/rust/kcl-lib/tests/kcl_samples/food-service-spatula/program_memory.snap b/rust/kcl-lib/tests/kcl_samples/food-service-spatula/program_memory.snap index 8f6389f8b..d7bacf7cd 100644 --- a/rust/kcl-lib/tests/kcl_samples/food-service-spatula/program_memory.snap +++ b/rust/kcl-lib/tests/kcl_samples/food-service-spatula/program_memory.snap @@ -27,9 +27,9 @@ description: Variables in memory after executing food-service-spatula.kcl "id": "[uuid]", "sourceRange": [], "tag": { - "commentStart": 1578, - "end": 1587, - "start": 1578, + "commentStart": 1572, + "end": 1581, + "start": 1572, "type": "TagDeclarator", "value": "backEdge" }, @@ -90,9 +90,9 @@ description: Variables in memory after executing food-service-spatula.kcl -30.0 ], "tag": { - "commentStart": 1578, - "end": 1587, - "start": 1578, + "commentStart": 1572, + "end": 1581, + "start": 1572, "type": "TagDeclarator", "value": "backEdge" }, @@ -299,9 +299,9 @@ description: Variables in memory after executing food-service-spatula.kcl -30.0 ], "tag": { - "commentStart": 1578, - "end": 1587, - "start": 1578, + "commentStart": 1572, + "end": 1581, + "start": 1572, "type": "TagDeclarator", "value": "backEdge" }, @@ -551,9 +551,9 @@ description: Variables in memory after executing food-service-spatula.kcl "id": "[uuid]", "sourceRange": [], "tag": { - "commentStart": 4324, - "end": 4336, - "start": 4324, + "commentStart": 4318, + "end": 4330, + "start": 4318, "type": "TagDeclarator", "value": "gripEdgeTop" }, @@ -713,9 +713,9 @@ description: Variables in memory after executing food-service-spatula.kcl 7.0 ], "tag": { - "commentStart": 4324, - "end": 4336, - "start": 4324, + "commentStart": 4318, + "end": 4330, + "start": 4318, "type": "TagDeclarator", "value": "gripEdgeTop" }, @@ -1058,9 +1058,9 @@ description: Variables in memory after executing food-service-spatula.kcl "id": "[uuid]", "sourceRange": [], "tag": { - "commentStart": 4324, - "end": 4336, - "start": 4324, + "commentStart": 4318, + "end": 4330, + "start": 4318, "type": "TagDeclarator", "value": "gripEdgeTop" }, @@ -1220,9 +1220,9 @@ description: Variables in memory after executing food-service-spatula.kcl 7.0 ], "tag": { - "commentStart": 4324, - "end": 4336, - "start": 4324, + "commentStart": 4318, + "end": 4330, + "start": 4318, "type": "TagDeclarator", "value": "gripEdgeTop" }, @@ -1538,9 +1538,9 @@ description: Variables in memory after executing food-service-spatula.kcl 7.0 ], "tag": { - "commentStart": 4324, - "end": 4336, - "start": 4324, + "commentStart": 4318, + "end": 4330, + "start": 4318, "type": "TagDeclarator", "value": "gripEdgeTop" }, @@ -1729,9 +1729,9 @@ description: Variables in memory after executing food-service-spatula.kcl "id": "[uuid]", "sourceRange": [], "tag": { - "commentStart": 2976, - "end": 2993, - "start": 2976, + "commentStart": 2970, + "end": 2987, + "start": 2970, "type": "TagDeclarator", "value": "handleBottomEdge" }, @@ -1756,9 +1756,9 @@ description: Variables in memory after executing food-service-spatula.kcl "id": "[uuid]", "sourceRange": [], "tag": { - "commentStart": 3124, - "end": 3138, - "start": 3124, + "commentStart": 3118, + "end": 3132, + "start": 3118, "type": "TagDeclarator", "value": "handleTopEdge" }, @@ -1800,9 +1800,9 @@ description: Variables in memory after executing food-service-spatula.kcl 3.5 ], "tag": { - "commentStart": 2976, - "end": 2993, - "start": 2976, + "commentStart": 2970, + "end": 2987, + "start": 2970, "type": "TagDeclarator", "value": "handleBottomEdge" }, @@ -1863,9 +1863,9 @@ description: Variables in memory after executing food-service-spatula.kcl 91.3213 ], "tag": { - "commentStart": 3124, - "end": 3138, - "start": 3124, + "commentStart": 3118, + "end": 3132, + "start": 3118, "type": "TagDeclarator", "value": "handleTopEdge" }, @@ -2211,9 +2211,9 @@ description: Variables in memory after executing food-service-spatula.kcl 3.5 ], "tag": { - "commentStart": 2976, - "end": 2993, - "start": 2976, + "commentStart": 2970, + "end": 2987, + "start": 2970, "type": "TagDeclarator", "value": "handleBottomEdge" }, @@ -2274,9 +2274,9 @@ description: Variables in memory after executing food-service-spatula.kcl 91.3213 ], "tag": { - "commentStart": 3124, - "end": 3138, - "start": 3124, + "commentStart": 3118, + "end": 3132, + "start": 3118, "type": "TagDeclarator", "value": "handleTopEdge" }, @@ -2536,9 +2536,9 @@ description: Variables in memory after executing food-service-spatula.kcl "id": "[uuid]", "sourceRange": [], "tag": { - "commentStart": 4324, - "end": 4336, - "start": 4324, + "commentStart": 4318, + "end": 4330, + "start": 4318, "type": "TagDeclarator", "value": "gripEdgeTop" }, @@ -2698,9 +2698,9 @@ description: Variables in memory after executing food-service-spatula.kcl 7.0 ], "tag": { - "commentStart": 4324, - "end": 4336, - "start": 4324, + "commentStart": 4318, + "end": 4330, + "start": 4318, "type": "TagDeclarator", "value": "gripEdgeTop" }, @@ -3370,9 +3370,9 @@ description: Variables in memory after executing food-service-spatula.kcl -30.0 ], "tag": { - "commentStart": 1578, - "end": 1587, - "start": 1578, + "commentStart": 1572, + "end": 1581, + "start": 1572, "type": "TagDeclarator", "value": "backEdge" }, diff --git a/rust/kcl-lib/tests/kcl_samples/french-press/ast.snap b/rust/kcl-lib/tests/kcl_samples/french-press/ast.snap index 1c9985d74..0c72a8032 100644 --- a/rust/kcl-lib/tests/kcl_samples/french-press/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/french-press/ast.snap @@ -122,24 +122,6 @@ description: Result of parsing french-press.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -158,8 +140,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -355,24 +353,6 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -391,8 +371,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -495,24 +491,6 @@ description: Result of parsing french-press.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -531,8 +509,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -546,24 +540,6 @@ description: Result of parsing french-press.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -582,8 +558,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -649,15 +641,6 @@ description: Result of parsing french-press.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -676,19 +659,17 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -707,8 +688,15 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -741,7 +729,6 @@ description: Result of parsing french-press.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -760,8 +747,9 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1160,24 +1148,6 @@ description: Result of parsing french-press.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1196,8 +1166,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2009,24 +1995,6 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edgeLen", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2045,8 +2013,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edgeLen", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -2236,24 +2220,6 @@ description: Result of parsing french-press.kcl "end": 0, "left": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge3", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2272,8 +2238,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge3", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -2486,24 +2468,6 @@ description: Result of parsing french-press.kcl "end": 0, "left": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "edge2", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2522,8 +2486,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "edge2", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -2697,15 +2677,6 @@ description: Result of parsing french-press.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2724,19 +2695,17 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2755,8 +2724,15 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -2789,7 +2765,6 @@ description: Result of parsing french-press.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2808,8 +2783,9 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -3110,70 +3086,6 @@ description: Result of parsing french-press.kcl "init": { "body": [ { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3192,8 +3104,70 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, { "arguments": [ @@ -3737,15 +3711,6 @@ description: Result of parsing french-press.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3764,19 +3729,17 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3795,8 +3758,15 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3829,7 +3799,6 @@ description: Result of parsing french-press.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3848,8 +3817,9 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -4104,24 +4074,6 @@ description: Result of parsing french-press.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4140,8 +4092,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -4545,24 +4513,6 @@ description: Result of parsing french-press.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg1", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4581,8 +4531,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg1", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -4677,15 +4643,6 @@ description: Result of parsing french-press.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4704,19 +4661,17 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4735,8 +4690,15 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -4769,7 +4731,6 @@ description: Result of parsing french-press.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -4788,8 +4749,9 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -4896,24 +4858,6 @@ description: Result of parsing french-press.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4932,8 +4876,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -5402,15 +5362,6 @@ description: Result of parsing french-press.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5429,19 +5380,17 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5460,8 +5409,15 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -5494,7 +5450,6 @@ description: Result of parsing french-press.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -5513,8 +5468,9 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -5616,70 +5572,6 @@ description: Result of parsing french-press.kcl "init": { "body": [ { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "raw": "1.12", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.12, - "suffix": "None" - } - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5698,8 +5590,70 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "raw": "1.12", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.12, + "suffix": "None" + } + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, { "arguments": [ @@ -6900,24 +6854,6 @@ description: Result of parsing french-press.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6936,8 +6872,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -7303,24 +7255,6 @@ description: Result of parsing french-press.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7339,8 +7273,24 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -7995,15 +7945,6 @@ description: Result of parsing french-press.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8022,19 +7963,17 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8053,8 +7992,15 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -8087,7 +8033,6 @@ description: Result of parsing french-press.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -8106,8 +8051,9 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -8209,94 +8155,6 @@ description: Result of parsing french-press.kcl "init": { "body": [ { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "handleThickness", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8315,8 +8173,94 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "handleThickness", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, { "arguments": [ @@ -9173,15 +9117,6 @@ description: Result of parsing french-press.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9200,19 +9135,17 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9231,8 +9164,15 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -9265,7 +9205,6 @@ description: Result of parsing french-press.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -9284,8 +9223,9 @@ description: Result of parsing french-press.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/french-press/ops.snap b/rust/kcl-lib/tests/kcl_samples/french-press/ops.snap index 5cf691a53..1c6bb6148 100644 --- a/rust/kcl-lib/tests/kcl_samples/french-press/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/french-press/ops.snap @@ -4,19 +4,17 @@ description: Operations executed french-press.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -121,196 +119,194 @@ description: Operations executed french-press.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": -0.26, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.26, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": -0.26, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.26, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -494,19 +490,17 @@ description: Operations executed french-press.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -643,19 +637,17 @@ description: Operations executed french-press.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -744,19 +736,17 @@ description: Operations executed french-press.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -845,19 +835,17 @@ description: Operations executed french-press.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -1127,19 +1115,17 @@ description: Operations executed french-press.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1218,19 +1204,17 @@ description: Operations executed french-press.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -1319,19 +1303,17 @@ description: Operations executed french-press.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", diff --git a/rust/kcl-lib/tests/kcl_samples/gear-rack/ast.snap b/rust/kcl-lib/tests/kcl_samples/gear-rack/ast.snap index 97efdd8a4..2fd1d8fb4 100644 --- a/rust/kcl-lib/tests/kcl_samples/gear-rack/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/gear-rack/ast.snap @@ -188,24 +188,6 @@ description: Result of parsing gear-rack.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -224,8 +206,24 @@ description: Result of parsing gear-rack.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -552,7 +550,6 @@ description: Result of parsing gear-rack.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -571,8 +568,9 @@ description: Result of parsing gear-rack.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -694,24 +692,6 @@ description: Result of parsing gear-rack.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -730,8 +710,24 @@ description: Result of parsing gear-rack.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1358,7 +1354,6 @@ description: Result of parsing gear-rack.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1377,8 +1372,9 @@ description: Result of parsing gear-rack.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1506,7 +1502,6 @@ description: Result of parsing gear-rack.kcl "init": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1525,8 +1520,9 @@ description: Result of parsing gear-rack.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1706,24 +1702,6 @@ description: Result of parsing gear-rack.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1742,8 +1720,24 @@ description: Result of parsing gear-rack.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2102,7 +2096,6 @@ description: Result of parsing gear-rack.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2121,8 +2114,9 @@ description: Result of parsing gear-rack.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -2224,24 +2218,6 @@ description: Result of parsing gear-rack.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2260,8 +2236,24 @@ description: Result of parsing gear-rack.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2620,7 +2612,6 @@ description: Result of parsing gear-rack.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2639,8 +2630,9 @@ description: Result of parsing gear-rack.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/gear-rack/ops.snap b/rust/kcl-lib/tests/kcl_samples/gear-rack/ops.snap index 092286498..6c97423f7 100644 --- a/rust/kcl-lib/tests/kcl_samples/gear-rack/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/gear-rack/ops.snap @@ -4,19 +4,17 @@ description: Operations executed gear-rack.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -51,19 +49,17 @@ description: Operations executed gear-rack.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -204,19 +200,17 @@ description: Operations executed gear-rack.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -251,19 +245,17 @@ description: Operations executed gear-rack.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/gear/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/gear/artifact_graph_flowchart.snap.md index d06d9d64b..0e93cddfe 100644 --- a/rust/kcl-lib/tests/kcl_samples/gear/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/gear/artifact_graph_flowchart.snap.md @@ -1,234 +1,234 @@ ```mermaid flowchart LR subgraph path4 [Path] - 4["Path
[1417, 1467, 0]"] - 7["Segment
[1417, 1467, 0]"] + 4["Path
[1413, 1463, 0]"] + 7["Segment
[1413, 1463, 0]"] 219[Solid2d] end subgraph path5 [Path] - 5["Path
[1936, 1973, 0]"] - 8["Segment
[1632, 1670, 0]"] - 9["Segment
[1632, 1670, 0]"] - 10["Segment
[1632, 1670, 0]"] - 11["Segment
[1632, 1670, 0]"] - 12["Segment
[1632, 1670, 0]"] - 13["Segment
[1632, 1670, 0]"] - 14["Segment
[1632, 1670, 0]"] - 15["Segment
[1632, 1670, 0]"] - 16["Segment
[1632, 1670, 0]"] - 17["Segment
[1632, 1670, 0]"] - 18["Segment
[1632, 1670, 0]"] - 19["Segment
[1632, 1670, 0]"] - 20["Segment
[1632, 1670, 0]"] - 21["Segment
[1632, 1670, 0]"] - 22["Segment
[1632, 1670, 0]"] - 23["Segment
[1632, 1670, 0]"] - 24["Segment
[1632, 1670, 0]"] - 25["Segment
[1632, 1670, 0]"] - 26["Segment
[1632, 1670, 0]"] - 27["Segment
[1632, 1670, 0]"] - 28["Segment
[1632, 1670, 0]"] - 29["Segment
[1632, 1670, 0]"] - 30["Segment
[1632, 1670, 0]"] - 31["Segment
[1632, 1670, 0]"] - 32["Segment
[1632, 1670, 0]"] - 33["Segment
[1632, 1670, 0]"] - 34["Segment
[1632, 1670, 0]"] - 35["Segment
[1632, 1670, 0]"] - 36["Segment
[1632, 1670, 0]"] - 37["Segment
[1632, 1670, 0]"] - 38["Segment
[1632, 1670, 0]"] - 39["Segment
[1632, 1670, 0]"] - 40["Segment
[1632, 1670, 0]"] - 41["Segment
[1632, 1670, 0]"] - 42["Segment
[1632, 1670, 0]"] - 43["Segment
[1632, 1670, 0]"] - 44["Segment
[1632, 1670, 0]"] - 45["Segment
[1632, 1670, 0]"] - 46["Segment
[1632, 1670, 0]"] - 47["Segment
[1632, 1670, 0]"] - 48["Segment
[1632, 1670, 0]"] - 49["Segment
[1632, 1670, 0]"] - 50["Segment
[1632, 1670, 0]"] - 51["Segment
[1632, 1670, 0]"] - 52["Segment
[1632, 1670, 0]"] - 53["Segment
[1632, 1670, 0]"] - 54["Segment
[1632, 1670, 0]"] - 55["Segment
[1632, 1670, 0]"] - 56["Segment
[1632, 1670, 0]"] - 57["Segment
[1632, 1670, 0]"] - 58["Segment
[1632, 1670, 0]"] - 59["Segment
[1632, 1670, 0]"] - 60["Segment
[1632, 1670, 0]"] - 61["Segment
[1632, 1670, 0]"] - 62["Segment
[1632, 1670, 0]"] - 63["Segment
[1632, 1670, 0]"] - 64["Segment
[1632, 1670, 0]"] - 65["Segment
[1632, 1670, 0]"] - 66["Segment
[1632, 1670, 0]"] - 67["Segment
[1632, 1670, 0]"] - 68["Segment
[1632, 1670, 0]"] - 69["Segment
[1632, 1670, 0]"] - 70["Segment
[1632, 1670, 0]"] - 71["Segment
[1632, 1670, 0]"] - 72["Segment
[1632, 1670, 0]"] - 73["Segment
[1632, 1670, 0]"] - 74["Segment
[1632, 1670, 0]"] - 75["Segment
[1632, 1670, 0]"] - 76["Segment
[1632, 1670, 0]"] - 77["Segment
[1632, 1670, 0]"] - 78["Segment
[1632, 1670, 0]"] - 79["Segment
[1632, 1670, 0]"] - 80["Segment
[1632, 1670, 0]"] - 81["Segment
[1632, 1670, 0]"] - 82["Segment
[1632, 1670, 0]"] - 83["Segment
[1632, 1670, 0]"] - 84["Segment
[1632, 1670, 0]"] - 85["Segment
[1632, 1670, 0]"] - 86["Segment
[1632, 1670, 0]"] - 87["Segment
[1632, 1670, 0]"] - 88["Segment
[1632, 1670, 0]"] - 89["Segment
[1632, 1670, 0]"] - 90["Segment
[1632, 1670, 0]"] - 91["Segment
[1632, 1670, 0]"] - 92["Segment
[1632, 1670, 0]"] - 93["Segment
[1632, 1670, 0]"] - 94["Segment
[1632, 1670, 0]"] - 95["Segment
[1632, 1670, 0]"] - 96["Segment
[1632, 1670, 0]"] - 97["Segment
[1632, 1670, 0]"] - 98["Segment
[1632, 1670, 0]"] - 99["Segment
[1632, 1670, 0]"] - 100["Segment
[1632, 1670, 0]"] - 101["Segment
[1632, 1670, 0]"] - 102["Segment
[1632, 1670, 0]"] - 103["Segment
[1632, 1670, 0]"] - 104["Segment
[1632, 1670, 0]"] - 105["Segment
[1632, 1670, 0]"] - 106["Segment
[1632, 1670, 0]"] - 107["Segment
[1632, 1670, 0]"] - 108["Segment
[1632, 1670, 0]"] - 109["Segment
[1852, 1882, 0]"] - 110["Segment
[1852, 1882, 0]"] - 111["Segment
[1852, 1882, 0]"] - 112["Segment
[1852, 1882, 0]"] - 113["Segment
[1852, 1882, 0]"] - 114["Segment
[1852, 1882, 0]"] - 115["Segment
[1852, 1882, 0]"] - 116["Segment
[1852, 1882, 0]"] - 117["Segment
[1852, 1882, 0]"] - 118["Segment
[1852, 1882, 0]"] - 119["Segment
[1852, 1882, 0]"] - 120["Segment
[1852, 1882, 0]"] - 121["Segment
[1852, 1882, 0]"] - 122["Segment
[1852, 1882, 0]"] - 123["Segment
[1852, 1882, 0]"] - 124["Segment
[1852, 1882, 0]"] - 125["Segment
[1852, 1882, 0]"] - 126["Segment
[1852, 1882, 0]"] - 127["Segment
[1852, 1882, 0]"] - 128["Segment
[1852, 1882, 0]"] - 129["Segment
[1852, 1882, 0]"] - 130["Segment
[1852, 1882, 0]"] - 131["Segment
[1852, 1882, 0]"] - 132["Segment
[1852, 1882, 0]"] - 133["Segment
[1852, 1882, 0]"] - 134["Segment
[1852, 1882, 0]"] - 135["Segment
[1852, 1882, 0]"] - 136["Segment
[1852, 1882, 0]"] - 137["Segment
[1852, 1882, 0]"] - 138["Segment
[1852, 1882, 0]"] - 139["Segment
[1852, 1882, 0]"] - 140["Segment
[1852, 1882, 0]"] - 141["Segment
[1852, 1882, 0]"] - 142["Segment
[1852, 1882, 0]"] - 143["Segment
[1852, 1882, 0]"] - 144["Segment
[1852, 1882, 0]"] - 145["Segment
[1852, 1882, 0]"] - 146["Segment
[1852, 1882, 0]"] - 147["Segment
[1852, 1882, 0]"] - 148["Segment
[1852, 1882, 0]"] - 149["Segment
[1852, 1882, 0]"] - 150["Segment
[1852, 1882, 0]"] - 151["Segment
[1852, 1882, 0]"] - 152["Segment
[1852, 1882, 0]"] - 153["Segment
[1852, 1882, 0]"] - 154["Segment
[1852, 1882, 0]"] - 155["Segment
[1852, 1882, 0]"] - 156["Segment
[1852, 1882, 0]"] - 157["Segment
[1852, 1882, 0]"] - 158["Segment
[1852, 1882, 0]"] - 159["Segment
[1852, 1882, 0]"] - 160["Segment
[1852, 1882, 0]"] - 161["Segment
[1852, 1882, 0]"] - 162["Segment
[1852, 1882, 0]"] - 163["Segment
[1852, 1882, 0]"] - 164["Segment
[1852, 1882, 0]"] - 165["Segment
[1852, 1882, 0]"] - 166["Segment
[1852, 1882, 0]"] - 167["Segment
[1852, 1882, 0]"] - 168["Segment
[1852, 1882, 0]"] - 169["Segment
[1852, 1882, 0]"] - 170["Segment
[1852, 1882, 0]"] - 171["Segment
[1852, 1882, 0]"] - 172["Segment
[1852, 1882, 0]"] - 173["Segment
[1852, 1882, 0]"] - 174["Segment
[1852, 1882, 0]"] - 175["Segment
[1852, 1882, 0]"] - 176["Segment
[1852, 1882, 0]"] - 177["Segment
[1852, 1882, 0]"] - 178["Segment
[1852, 1882, 0]"] - 179["Segment
[1852, 1882, 0]"] - 180["Segment
[1852, 1882, 0]"] - 181["Segment
[1852, 1882, 0]"] - 182["Segment
[1852, 1882, 0]"] - 183["Segment
[1852, 1882, 0]"] - 184["Segment
[1852, 1882, 0]"] - 185["Segment
[1852, 1882, 0]"] - 186["Segment
[1852, 1882, 0]"] - 187["Segment
[1852, 1882, 0]"] - 188["Segment
[1852, 1882, 0]"] - 189["Segment
[1852, 1882, 0]"] - 190["Segment
[1852, 1882, 0]"] - 191["Segment
[1852, 1882, 0]"] - 192["Segment
[1852, 1882, 0]"] - 193["Segment
[1852, 1882, 0]"] - 194["Segment
[1852, 1882, 0]"] - 195["Segment
[1852, 1882, 0]"] - 196["Segment
[1852, 1882, 0]"] - 197["Segment
[1852, 1882, 0]"] - 198["Segment
[1852, 1882, 0]"] - 199["Segment
[1852, 1882, 0]"] - 200["Segment
[1852, 1882, 0]"] - 201["Segment
[1852, 1882, 0]"] - 202["Segment
[1852, 1882, 0]"] - 203["Segment
[1852, 1882, 0]"] - 204["Segment
[1852, 1882, 0]"] - 205["Segment
[1852, 1882, 0]"] - 206["Segment
[1852, 1882, 0]"] - 207["Segment
[1852, 1882, 0]"] - 208["Segment
[1852, 1882, 0]"] - 209["Segment
[1852, 1882, 0]"] - 210["Segment
[2039, 2108, 0]"] - 211["Segment
[2168, 2175, 0]"] + 5["Path
[1932, 1969, 0]"] + 8["Segment
[1628, 1666, 0]"] + 9["Segment
[1628, 1666, 0]"] + 10["Segment
[1628, 1666, 0]"] + 11["Segment
[1628, 1666, 0]"] + 12["Segment
[1628, 1666, 0]"] + 13["Segment
[1628, 1666, 0]"] + 14["Segment
[1628, 1666, 0]"] + 15["Segment
[1628, 1666, 0]"] + 16["Segment
[1628, 1666, 0]"] + 17["Segment
[1628, 1666, 0]"] + 18["Segment
[1628, 1666, 0]"] + 19["Segment
[1628, 1666, 0]"] + 20["Segment
[1628, 1666, 0]"] + 21["Segment
[1628, 1666, 0]"] + 22["Segment
[1628, 1666, 0]"] + 23["Segment
[1628, 1666, 0]"] + 24["Segment
[1628, 1666, 0]"] + 25["Segment
[1628, 1666, 0]"] + 26["Segment
[1628, 1666, 0]"] + 27["Segment
[1628, 1666, 0]"] + 28["Segment
[1628, 1666, 0]"] + 29["Segment
[1628, 1666, 0]"] + 30["Segment
[1628, 1666, 0]"] + 31["Segment
[1628, 1666, 0]"] + 32["Segment
[1628, 1666, 0]"] + 33["Segment
[1628, 1666, 0]"] + 34["Segment
[1628, 1666, 0]"] + 35["Segment
[1628, 1666, 0]"] + 36["Segment
[1628, 1666, 0]"] + 37["Segment
[1628, 1666, 0]"] + 38["Segment
[1628, 1666, 0]"] + 39["Segment
[1628, 1666, 0]"] + 40["Segment
[1628, 1666, 0]"] + 41["Segment
[1628, 1666, 0]"] + 42["Segment
[1628, 1666, 0]"] + 43["Segment
[1628, 1666, 0]"] + 44["Segment
[1628, 1666, 0]"] + 45["Segment
[1628, 1666, 0]"] + 46["Segment
[1628, 1666, 0]"] + 47["Segment
[1628, 1666, 0]"] + 48["Segment
[1628, 1666, 0]"] + 49["Segment
[1628, 1666, 0]"] + 50["Segment
[1628, 1666, 0]"] + 51["Segment
[1628, 1666, 0]"] + 52["Segment
[1628, 1666, 0]"] + 53["Segment
[1628, 1666, 0]"] + 54["Segment
[1628, 1666, 0]"] + 55["Segment
[1628, 1666, 0]"] + 56["Segment
[1628, 1666, 0]"] + 57["Segment
[1628, 1666, 0]"] + 58["Segment
[1628, 1666, 0]"] + 59["Segment
[1628, 1666, 0]"] + 60["Segment
[1628, 1666, 0]"] + 61["Segment
[1628, 1666, 0]"] + 62["Segment
[1628, 1666, 0]"] + 63["Segment
[1628, 1666, 0]"] + 64["Segment
[1628, 1666, 0]"] + 65["Segment
[1628, 1666, 0]"] + 66["Segment
[1628, 1666, 0]"] + 67["Segment
[1628, 1666, 0]"] + 68["Segment
[1628, 1666, 0]"] + 69["Segment
[1628, 1666, 0]"] + 70["Segment
[1628, 1666, 0]"] + 71["Segment
[1628, 1666, 0]"] + 72["Segment
[1628, 1666, 0]"] + 73["Segment
[1628, 1666, 0]"] + 74["Segment
[1628, 1666, 0]"] + 75["Segment
[1628, 1666, 0]"] + 76["Segment
[1628, 1666, 0]"] + 77["Segment
[1628, 1666, 0]"] + 78["Segment
[1628, 1666, 0]"] + 79["Segment
[1628, 1666, 0]"] + 80["Segment
[1628, 1666, 0]"] + 81["Segment
[1628, 1666, 0]"] + 82["Segment
[1628, 1666, 0]"] + 83["Segment
[1628, 1666, 0]"] + 84["Segment
[1628, 1666, 0]"] + 85["Segment
[1628, 1666, 0]"] + 86["Segment
[1628, 1666, 0]"] + 87["Segment
[1628, 1666, 0]"] + 88["Segment
[1628, 1666, 0]"] + 89["Segment
[1628, 1666, 0]"] + 90["Segment
[1628, 1666, 0]"] + 91["Segment
[1628, 1666, 0]"] + 92["Segment
[1628, 1666, 0]"] + 93["Segment
[1628, 1666, 0]"] + 94["Segment
[1628, 1666, 0]"] + 95["Segment
[1628, 1666, 0]"] + 96["Segment
[1628, 1666, 0]"] + 97["Segment
[1628, 1666, 0]"] + 98["Segment
[1628, 1666, 0]"] + 99["Segment
[1628, 1666, 0]"] + 100["Segment
[1628, 1666, 0]"] + 101["Segment
[1628, 1666, 0]"] + 102["Segment
[1628, 1666, 0]"] + 103["Segment
[1628, 1666, 0]"] + 104["Segment
[1628, 1666, 0]"] + 105["Segment
[1628, 1666, 0]"] + 106["Segment
[1628, 1666, 0]"] + 107["Segment
[1628, 1666, 0]"] + 108["Segment
[1628, 1666, 0]"] + 109["Segment
[1848, 1878, 0]"] + 110["Segment
[1848, 1878, 0]"] + 111["Segment
[1848, 1878, 0]"] + 112["Segment
[1848, 1878, 0]"] + 113["Segment
[1848, 1878, 0]"] + 114["Segment
[1848, 1878, 0]"] + 115["Segment
[1848, 1878, 0]"] + 116["Segment
[1848, 1878, 0]"] + 117["Segment
[1848, 1878, 0]"] + 118["Segment
[1848, 1878, 0]"] + 119["Segment
[1848, 1878, 0]"] + 120["Segment
[1848, 1878, 0]"] + 121["Segment
[1848, 1878, 0]"] + 122["Segment
[1848, 1878, 0]"] + 123["Segment
[1848, 1878, 0]"] + 124["Segment
[1848, 1878, 0]"] + 125["Segment
[1848, 1878, 0]"] + 126["Segment
[1848, 1878, 0]"] + 127["Segment
[1848, 1878, 0]"] + 128["Segment
[1848, 1878, 0]"] + 129["Segment
[1848, 1878, 0]"] + 130["Segment
[1848, 1878, 0]"] + 131["Segment
[1848, 1878, 0]"] + 132["Segment
[1848, 1878, 0]"] + 133["Segment
[1848, 1878, 0]"] + 134["Segment
[1848, 1878, 0]"] + 135["Segment
[1848, 1878, 0]"] + 136["Segment
[1848, 1878, 0]"] + 137["Segment
[1848, 1878, 0]"] + 138["Segment
[1848, 1878, 0]"] + 139["Segment
[1848, 1878, 0]"] + 140["Segment
[1848, 1878, 0]"] + 141["Segment
[1848, 1878, 0]"] + 142["Segment
[1848, 1878, 0]"] + 143["Segment
[1848, 1878, 0]"] + 144["Segment
[1848, 1878, 0]"] + 145["Segment
[1848, 1878, 0]"] + 146["Segment
[1848, 1878, 0]"] + 147["Segment
[1848, 1878, 0]"] + 148["Segment
[1848, 1878, 0]"] + 149["Segment
[1848, 1878, 0]"] + 150["Segment
[1848, 1878, 0]"] + 151["Segment
[1848, 1878, 0]"] + 152["Segment
[1848, 1878, 0]"] + 153["Segment
[1848, 1878, 0]"] + 154["Segment
[1848, 1878, 0]"] + 155["Segment
[1848, 1878, 0]"] + 156["Segment
[1848, 1878, 0]"] + 157["Segment
[1848, 1878, 0]"] + 158["Segment
[1848, 1878, 0]"] + 159["Segment
[1848, 1878, 0]"] + 160["Segment
[1848, 1878, 0]"] + 161["Segment
[1848, 1878, 0]"] + 162["Segment
[1848, 1878, 0]"] + 163["Segment
[1848, 1878, 0]"] + 164["Segment
[1848, 1878, 0]"] + 165["Segment
[1848, 1878, 0]"] + 166["Segment
[1848, 1878, 0]"] + 167["Segment
[1848, 1878, 0]"] + 168["Segment
[1848, 1878, 0]"] + 169["Segment
[1848, 1878, 0]"] + 170["Segment
[1848, 1878, 0]"] + 171["Segment
[1848, 1878, 0]"] + 172["Segment
[1848, 1878, 0]"] + 173["Segment
[1848, 1878, 0]"] + 174["Segment
[1848, 1878, 0]"] + 175["Segment
[1848, 1878, 0]"] + 176["Segment
[1848, 1878, 0]"] + 177["Segment
[1848, 1878, 0]"] + 178["Segment
[1848, 1878, 0]"] + 179["Segment
[1848, 1878, 0]"] + 180["Segment
[1848, 1878, 0]"] + 181["Segment
[1848, 1878, 0]"] + 182["Segment
[1848, 1878, 0]"] + 183["Segment
[1848, 1878, 0]"] + 184["Segment
[1848, 1878, 0]"] + 185["Segment
[1848, 1878, 0]"] + 186["Segment
[1848, 1878, 0]"] + 187["Segment
[1848, 1878, 0]"] + 188["Segment
[1848, 1878, 0]"] + 189["Segment
[1848, 1878, 0]"] + 190["Segment
[1848, 1878, 0]"] + 191["Segment
[1848, 1878, 0]"] + 192["Segment
[1848, 1878, 0]"] + 193["Segment
[1848, 1878, 0]"] + 194["Segment
[1848, 1878, 0]"] + 195["Segment
[1848, 1878, 0]"] + 196["Segment
[1848, 1878, 0]"] + 197["Segment
[1848, 1878, 0]"] + 198["Segment
[1848, 1878, 0]"] + 199["Segment
[1848, 1878, 0]"] + 200["Segment
[1848, 1878, 0]"] + 201["Segment
[1848, 1878, 0]"] + 202["Segment
[1848, 1878, 0]"] + 203["Segment
[1848, 1878, 0]"] + 204["Segment
[1848, 1878, 0]"] + 205["Segment
[1848, 1878, 0]"] + 206["Segment
[1848, 1878, 0]"] + 207["Segment
[1848, 1878, 0]"] + 208["Segment
[1848, 1878, 0]"] + 209["Segment
[1848, 1878, 0]"] + 210["Segment
[2035, 2104, 0]"] + 211["Segment
[2164, 2171, 0]"] 218[Solid2d] end subgraph path6 [Path] - 6["Path
[2656, 2756, 0]"] - 212["Segment
[2762, 2789, 0]"] - 213["Segment
[2795, 2823, 0]"] - 214["Segment
[2829, 2857, 0]"] - 215["Segment
[2863, 2957, 0]"] - 216["Segment
[2963, 3046, 0]"] - 217["Segment
[3052, 3059, 0]"] + 6["Path
[2652, 2752, 0]"] + 212["Segment
[2758, 2785, 0]"] + 213["Segment
[2791, 2819, 0]"] + 214["Segment
[2825, 2853, 0]"] + 215["Segment
[2859, 2953, 0]"] + 216["Segment
[2959, 3042, 0]"] + 217["Segment
[3048, 3055, 0]"] 220[Solid2d] end - 1["Plane
[1394, 1411, 0]"] - 2["Plane
[1913, 1930, 0]"] - 3["StartSketchOnFace
[2619, 2650, 0]"] - 221["Sweep Extrusion
[1473, 1501, 0]"] - 222["Sweep Extrusion
[2181, 2209, 0]"] - 223["Sweep Extrusion
[3065, 3094, 0]"] + 1["Plane
[1390, 1407, 0]"] + 2["Plane
[1909, 1926, 0]"] + 3["StartSketchOnFace
[2615, 2646, 0]"] + 221["Sweep Extrusion
[1469, 1497, 0]"] + 222["Sweep Extrusion
[2177, 2205, 0]"] + 223["Sweep Extrusion
[3061, 3090, 0]"] 224[Wall] 225[Wall] 226[Wall] diff --git a/rust/kcl-lib/tests/kcl_samples/gear/ast.snap b/rust/kcl-lib/tests/kcl_samples/gear/ast.snap index e56c6de76..baf99f363 100644 --- a/rust/kcl-lib/tests/kcl_samples/gear/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/gear/ast.snap @@ -295,24 +295,6 @@ description: Result of parsing gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "pressureAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -331,8 +313,24 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "pressureAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -803,92 +801,6 @@ description: Result of parsing gear.kcl "body": [ { "argument": { - "arguments": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "baseDiameter", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "r", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "acos", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -915,8 +827,90 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "acos", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "baseDiameter", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "r", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } }, "commentStart": 0, "end": 0, @@ -1031,24 +1025,6 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "a", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1067,29 +1043,27 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "a", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "a", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1116,8 +1090,24 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "a", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -1261,47 +1251,6 @@ description: Result of parsing gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "expr": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "invas", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "ty": { - "Rad": null, - "commentStart": 0, - "end": 0, - "p_type": "Number", - "start": 0, - "type": "Primitive" - }, - "type": "AscribedExpression", - "type": "AscribedExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1320,8 +1269,47 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "expr": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "invas", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "ty": { + "Rad": null, + "commentStart": 0, + "end": 0, + "p_type": "Number", + "start": 0, + "type": "Primitive" + }, + "type": "AscribedExpression", + "type": "AscribedExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -1485,47 +1473,6 @@ description: Result of parsing gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "expr": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "invas", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "ty": { - "Rad": null, - "commentStart": 0, - "end": 0, - "p_type": "Number", - "start": 0, - "type": "Primitive" - }, - "type": "AscribedExpression", - "type": "AscribedExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1544,8 +1491,47 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "expr": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "invas", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "ty": { + "Rad": null, + "commentStart": 0, + "end": 0, + "p_type": "Number", + "start": 0, + "type": "Primitive" + }, + "type": "AscribedExpression", + "type": "AscribedExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -1663,24 +1649,6 @@ description: Result of parsing gear.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1699,8 +1667,24 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2272,152 +2256,6 @@ description: Result of parsing gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toothAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - "operator": "+", - "right": { - "arguments": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "ys", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "xs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "atan", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toDegrees", - "start": 0, - "type": "Identifier" - }, - "path": [ - { - "commentStart": 0, - "end": 0, - "name": "units", - "start": 0, - "type": "Identifier" - } - ], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2436,8 +2274,148 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toothAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "+", + "right": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toDegrees", + "start": 0, + "type": "Identifier" + }, + "path": [ + { + "commentStart": 0, + "end": 0, + "name": "units", + "start": 0, + "type": "Identifier" + } + ], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "atan", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "ys", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "xs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -2501,152 +2479,6 @@ description: Result of parsing gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toothAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - }, - "operator": "+", - "right": { - "arguments": [ - { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "ys", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "computed": true, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "xs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "i", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "atan", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toDegrees", - "start": 0, - "type": "Identifier" - }, - "path": [ - { - "commentStart": 0, - "end": 0, - "name": "units", - "start": 0, - "type": "Identifier" - } - ], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2665,8 +2497,148 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toothAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + }, + "operator": "+", + "right": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toDegrees", + "start": 0, + "type": "Identifier" + }, + "path": [ + { + "commentStart": 0, + "end": 0, + "name": "units", + "start": 0, + "type": "Identifier" + } + ], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "atan", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "ys", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "computed": true, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "xs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "i", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "BinaryExpression", @@ -2836,24 +2808,6 @@ description: Result of parsing gear.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2872,8 +2826,24 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -3337,7 +3307,6 @@ description: Result of parsing gear.kcl } }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3356,8 +3325,9 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -3815,68 +3785,6 @@ description: Result of parsing gear.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "keywayWidth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "holeRadius", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3895,8 +3803,68 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "keywayWidth", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "holeRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "VariableDeclarator" @@ -4022,24 +3990,6 @@ description: Result of parsing gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "startAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4058,8 +4008,24 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "startAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -4086,24 +4052,6 @@ description: Result of parsing gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "startAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4122,8 +4070,24 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "startAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -4367,24 +4331,6 @@ description: Result of parsing gear.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "startAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4411,8 +4357,24 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "startAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -4541,24 +4503,6 @@ description: Result of parsing gear.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "startAngle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4585,8 +4529,24 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "startAngle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -4639,7 +4599,6 @@ description: Result of parsing gear.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -4658,8 +4617,9 @@ description: Result of parsing gear.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/gear/ops.snap b/rust/kcl-lib/tests/kcl_samples/gear/ops.snap index 66c2ebe7d..c27701867 100644 --- a/rust/kcl-lib/tests/kcl_samples/gear/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/gear/ops.snap @@ -3,6763 +3,4506 @@ source: kcl-lib/src/simulation_tests.rs description: Operations executed gear.kcl --- [ - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "units::toDegrees", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "acos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "tan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toRadians", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { + "unlabeledArg": { "value": { - "type": "Plane", - "artifact_id": "[uuid]" + "type": "Number", + "value": 0.0, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } }, "sourceRange": [] - } + }, + "labeledArgs": {} }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0572, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0809, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.099, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1142, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1276, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1397, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1508, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1611, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1707, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1798, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1885, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1967, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2046, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2122, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2195, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2265, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2334, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.24, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2464, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2526, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2587, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2646, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2704, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.276, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2815, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2869, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2922, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.2973, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3024, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3074, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3122, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.317, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3217, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3264, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3309, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3354, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3398, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3441, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3484, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3526, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3568, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3608, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3649, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3689, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3728, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3767, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3805, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3843, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.388, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3917, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3953, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.3989, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4025, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.406, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4095, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.413, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4164, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4197, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4231, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4264, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4296, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4329, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4361, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4393, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4424, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4455, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4486, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4516, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4547, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4577, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4606, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4636, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4665, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4694, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4723, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4751, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4779, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4807, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4835, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4863, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.489, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4917, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4944, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4971, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.4997, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5023, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5049, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5075, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5101, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5126, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5152, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5177, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5202, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5226, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5251, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5275, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5299, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5324, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5347, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5371, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.5395, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 3.2781, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 4.6327, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 5.67, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 6.5427, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 7.31, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 8.0023, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 8.6377, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 9.2278, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 9.781, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 10.3031, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 10.7987, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 11.2713, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 11.7237, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.1581, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.5764, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.9802, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 13.3708, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 13.7492, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.1166, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.4737, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.8213, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.16, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.4905, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.8132, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.1286, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.4372, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.7393, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.0353, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.3255, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.6101, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.8895, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.1639, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.4335, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.6985, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.9591, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.2156, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.468, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.7165, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.9613, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.2026, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.4404, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.6748, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.906, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.1341, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.3592, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.5814, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.8007, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.0174, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.2313, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.4427, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.6516, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.858, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.0621, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.2639, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.4635, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.6608, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.8561, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.0492, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.2404, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.4296, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.6168, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.8022, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.9858, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.1675, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.3475, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.5258, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.7024, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.8774, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.0508, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.2226, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.3928, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.5616, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.7289, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.8947, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.0591, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.2221, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.3837, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.544, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.703, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.8607, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.0171, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.1723, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.3263, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.479, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.6306, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.781, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.9302, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.0783, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.2254, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.3713, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.5162, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.66, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.8028, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.9445, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.0853, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.225, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.3638, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.5016, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.6385, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.7744, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toRadians", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.9094, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Degrees" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -6793,6686 +4536,4462 @@ description: Operations executed gear.kcl "sourceRange": [] } }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, { "type": "GroupBegin", "group": { "type": "FunctionCall", "name": "units::toDegrees", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "atan", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { + "unlabeledArg": { "value": { - "type": "Plane", - "artifact_id": "[uuid]" + "type": "Number", + "value": 0.0001, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } }, "sourceRange": [] - } + }, + "labeledArgs": {} }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0002, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0003, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0005, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0007, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0009, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0012, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0014, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0017, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.002, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0023, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0026, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0029, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0032, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0036, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.004, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0043, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0047, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0051, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0055, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0059, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0064, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0068, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0072, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0077, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0081, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0086, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0091, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0096, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0101, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0106, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0111, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0116, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0121, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0126, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0132, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0137, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0143, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0148, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0154, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0159, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0165, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0171, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0177, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0183, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0189, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0195, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0201, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0207, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0213, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.022, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0226, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0232, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0239, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0245, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0252, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0259, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0265, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0272, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0279, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0285, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0292, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0299, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0306, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0313, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.032, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0327, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0334, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0342, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0349, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0356, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0363, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0371, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0378, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0386, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0393, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0401, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0408, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0416, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0423, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0431, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0439, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0446, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0454, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0462, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.047, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0478, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0486, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0494, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0502, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.051, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0518, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0526, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0534, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0542, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0551, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0559, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0567, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0576, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0584, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0592, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0001, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0002, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0003, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0005, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0007, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0009, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0012, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0014, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0017, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.002, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0023, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0026, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0029, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0032, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0036, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.004, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0043, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0047, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0051, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0055, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0059, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0064, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0068, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0072, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0077, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0081, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0086, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0091, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0096, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0101, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0106, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0111, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0116, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0121, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0126, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0132, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0137, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0143, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0148, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0154, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0159, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0165, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0171, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0177, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0183, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0189, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0195, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0201, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0207, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0213, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.022, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0226, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0232, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0239, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0245, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0252, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0259, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0265, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0272, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0279, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0285, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0292, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0299, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0306, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0313, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.032, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0327, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0334, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0342, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0349, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0356, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0363, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0371, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0378, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0386, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0393, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0401, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0408, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0416, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0423, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0431, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0439, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0446, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0454, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0462, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.047, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0478, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0486, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0494, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0502, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.051, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0518, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0526, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0534, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0542, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0551, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0559, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0567, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0576, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0584, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "units::toDegrees", + "functionSourceRange": [], + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0592, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, + "labeledArgs": {} + }, + "sourceRange": [] + }, + { + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -13655,17 +9174,6 @@ description: Operations executed gear.kcl "sourceRange": [] } }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "asin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, { "labeledArgs": { "face": { @@ -13693,20 +9201,20 @@ description: Operations executed gear.kcl "type": "GroupBegin", "group": { "type": "FunctionCall", - "name": "cos", + "name": "units::toDegrees", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1253, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -13717,18 +9225,18 @@ description: Operations executed gear.kcl "type": "FunctionCall", "name": "units::toDegrees", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "units::toDegrees", - "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.1253, + "ty": { + "type": "Known", + "type": "Angle", + "type": "Radians" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -14986,2454 +10494,6 @@ description: Operations executed gear.kcl { "type": "GroupEnd" }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, { "type": "GroupEnd" } diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate-magnets/ast.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate-magnets/ast.snap index 4bdf56835..90b1db0b8 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate-magnets/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate-magnets/ast.snap @@ -463,24 +463,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -499,8 +481,24 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -843,7 +841,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -862,8 +859,9 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1048,74 +1046,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "cornerRadius", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1134,8 +1064,74 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "cornerRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } } }, "start": 0, @@ -1666,74 +1662,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "cornerRadius", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1752,8 +1680,74 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "cornerRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } } }, "start": 0, @@ -2746,24 +2740,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2782,8 +2758,24 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -5116,7 +5108,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -5135,8 +5126,9 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -5240,24 +5232,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5276,8 +5250,24 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -5497,15 +5487,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5524,8 +5505,15 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } }, { @@ -5624,24 +5612,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5660,8 +5630,24 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -5779,24 +5765,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5815,8 +5783,24 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -6213,24 +6197,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6249,8 +6215,24 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -6485,64 +6467,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "magnetHolesExtrude", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "sketch", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "line001", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6561,12 +6485,13 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { "commentStart": 0, "computed": false, "end": 0, @@ -6576,32 +6501,16 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "end": 0, "object": { "commentStart": 0, - "computed": false, "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "magnetHolesExtrude", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "sketch", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, + "name": "magnetHolesExtrude", "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" + "type": "Identifier", + "type": "Identifier" }, "property": { "commentStart": 0, "end": 0, - "name": "tags", + "name": "sketch", "start": 0, "type": "Identifier", "type": "Identifier" @@ -6613,7 +6522,7 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "property": { "commentStart": 0, "end": 0, - "name": "line001", + "name": "tags", "start": 0, "type": "Identifier", "type": "Identifier" @@ -6621,8 +6530,21 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "start": 0, "type": "MemberExpression", "type": "MemberExpression" - } - ], + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "line001", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -6641,12 +6563,13 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { "commentStart": 0, "computed": false, "end": 0, @@ -6656,32 +6579,16 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "end": 0, "object": { "commentStart": 0, - "computed": false, "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "magnetHolesExtrude", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "sketch", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, + "name": "magnetHolesExtrude", "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" + "type": "Identifier", + "type": "Identifier" }, "property": { "commentStart": 0, "end": 0, - "name": "tags", + "name": "sketch", "start": 0, "type": "Identifier", "type": "Identifier" @@ -6693,7 +6600,7 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "property": { "commentStart": 0, "end": 0, - "name": "line003", + "name": "tags", "start": 0, "type": "Identifier", "type": "Identifier" @@ -6701,8 +6608,21 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "start": 0, "type": "MemberExpression", "type": "MemberExpression" - } - ], + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "line001", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -6721,12 +6641,13 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { "commentStart": 0, "computed": false, "end": 0, @@ -6736,32 +6657,16 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "end": 0, "object": { "commentStart": 0, - "computed": false, "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "magnetHolesExtrude", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "sketch", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, + "name": "magnetHolesExtrude", "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" + "type": "Identifier", + "type": "Identifier" }, "property": { "commentStart": 0, "end": 0, - "name": "tags", + "name": "sketch", "start": 0, "type": "Identifier", "type": "Identifier" @@ -6773,7 +6678,7 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "property": { "commentStart": 0, "end": 0, - "name": "line003", + "name": "tags", "start": 0, "type": "Identifier", "type": "Identifier" @@ -6781,8 +6686,21 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "start": 0, "type": "MemberExpression", "type": "MemberExpression" - } - ], + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "line003", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -6801,8 +6719,64 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "magnetHolesExtrude", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "sketch", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "line003", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } } ], "end": 0, @@ -6876,82 +6850,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "magDepth", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6970,8 +6868,82 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "magDepth", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, "start": 0, "type": "VariableDeclarator" @@ -7140,64 +7112,6 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "magnetCutoutExtrude", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "sketch", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "line001", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7216,12 +7130,13 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { "commentStart": 0, "computed": false, "end": 0, @@ -7231,32 +7146,16 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "end": 0, "object": { "commentStart": 0, - "computed": false, "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "magnetCutoutExtrude", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "sketch", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, + "name": "magnetCutoutExtrude", "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" + "type": "Identifier", + "type": "Identifier" }, "property": { "commentStart": 0, "end": 0, - "name": "tags", + "name": "sketch", "start": 0, "type": "Identifier", "type": "Identifier" @@ -7268,7 +7167,7 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "property": { "commentStart": 0, "end": 0, - "name": "line001", + "name": "tags", "start": 0, "type": "Identifier", "type": "Identifier" @@ -7276,8 +7175,21 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "start": 0, "type": "MemberExpression", "type": "MemberExpression" - } - ], + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "line001", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -7296,12 +7208,13 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { "commentStart": 0, "computed": false, "end": 0, @@ -7311,32 +7224,16 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "end": 0, "object": { "commentStart": 0, - "computed": false, "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "magnetCutoutExtrude", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "sketch", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, + "name": "magnetCutoutExtrude", "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" + "type": "Identifier", + "type": "Identifier" }, "property": { "commentStart": 0, "end": 0, - "name": "tags", + "name": "sketch", "start": 0, "type": "Identifier", "type": "Identifier" @@ -7348,7 +7245,7 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "property": { "commentStart": 0, "end": 0, - "name": "line003", + "name": "tags", "start": 0, "type": "Identifier", "type": "Identifier" @@ -7356,8 +7253,21 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "start": 0, "type": "MemberExpression", "type": "MemberExpression" - } - ], + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "line001", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -7376,12 +7286,13 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { "commentStart": 0, "computed": false, "end": 0, @@ -7391,32 +7302,16 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "end": 0, "object": { "commentStart": 0, - "computed": false, "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "magnetCutoutExtrude", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "sketch", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, + "name": "magnetCutoutExtrude", "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" + "type": "Identifier", + "type": "Identifier" }, "property": { "commentStart": 0, "end": 0, - "name": "tags", + "name": "sketch", "start": 0, "type": "Identifier", "type": "Identifier" @@ -7428,7 +7323,7 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "property": { "commentStart": 0, "end": 0, - "name": "line003", + "name": "tags", "start": 0, "type": "Identifier", "type": "Identifier" @@ -7436,8 +7331,21 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "start": 0, "type": "MemberExpression", "type": "MemberExpression" - } - ], + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "line003", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -7456,8 +7364,64 @@ description: Result of parsing gridfinity-baseplate-magnets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "magnetCutoutExtrude", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "sketch", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "line003", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate-magnets/ops.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate-magnets/ops.snap index af0246453..ee058577a 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate-magnets/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate-magnets/ops.snap @@ -4,34 +4,30 @@ description: Operations executed gridfinity-baseplate-magnets.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -71,7 +67,13 @@ description: Operations executed gridfinity-baseplate-magnets.kcl "type": "FunctionCall", "name": "face", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -368,7 +370,13 @@ description: Operations executed gridfinity-baseplate-magnets.kcl "type": "FunctionCall", "name": "face", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1073,64 +1081,56 @@ description: Operations executed gridfinity-baseplate-magnets.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1188,7 +1188,13 @@ description: Operations executed gridfinity-baseplate-magnets.kcl "type": "FunctionCall", "name": "magnetCenterCutout", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1199,25 +1205,29 @@ description: Operations executed gridfinity-baseplate-magnets.kcl "type": "FunctionCall", "name": "magnetCenterCutout", "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { + "unlabeledArg": { "value": { "type": "Plane", "artifact_id": "[uuid]" }, "sourceRange": [] - } + }, + "labeledArgs": {} }, + "sourceRange": [] + }, + { + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -1225,7 +1235,13 @@ description: Operations executed gridfinity-baseplate-magnets.kcl "type": "FunctionCall", "name": "magnetBase", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1372,7 +1388,13 @@ description: Operations executed gridfinity-baseplate-magnets.kcl "type": "FunctionCall", "name": "magnetBase", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/ast.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/ast.snap index 3399ab139..380865848 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/ast.snap @@ -364,24 +364,6 @@ description: Result of parsing gridfinity-baseplate.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -400,8 +382,24 @@ description: Result of parsing gridfinity-baseplate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -744,7 +742,6 @@ description: Result of parsing gridfinity-baseplate.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -763,8 +760,9 @@ description: Result of parsing gridfinity-baseplate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -949,74 +947,6 @@ description: Result of parsing gridfinity-baseplate.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "cornerRadius", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1035,8 +965,74 @@ description: Result of parsing gridfinity-baseplate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "cornerRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } } }, "start": 0, @@ -1567,74 +1563,6 @@ description: Result of parsing gridfinity-baseplate.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "cornerRadius", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1653,8 +1581,74 @@ description: Result of parsing gridfinity-baseplate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "cornerRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } } }, "start": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/ops.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/ops.snap index 5450606d5..f16ecf5bb 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-baseplate/ops.snap @@ -4,34 +4,30 @@ description: Operations executed gridfinity-baseplate.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -71,7 +67,13 @@ description: Operations executed gridfinity-baseplate.kcl "type": "FunctionCall", "name": "face", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -368,7 +370,13 @@ description: Operations executed gridfinity-baseplate.kcl "type": "FunctionCall", "name": "face", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/ast.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/ast.snap index 5640a569a..7304d0a79 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/ast.snap @@ -959,24 +959,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -995,8 +977,24 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1426,7 +1424,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1445,8 +1442,9 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1631,98 +1629,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "cornerRadius", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "+", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "binTol", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1741,8 +1647,98 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "cornerRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "+", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "binTol", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } } }, "start": 0, @@ -2409,98 +2405,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "cornerRadius", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "+", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "binTol", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2519,8 +2423,98 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "cornerRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "+", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "binTol", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } } }, "start": 0, @@ -2927,24 +2921,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2963,8 +2939,24 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -3370,15 +3362,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3397,8 +3380,15 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } }, { @@ -3577,24 +3567,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line000", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3613,28 +3585,26 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line000", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line000", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -3653,28 +3623,26 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line002", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line000", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -3693,28 +3661,26 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line002", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line002", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -3733,8 +3699,24 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "line002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -5698,74 +5680,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "init": { "body": [ { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "height", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5784,8 +5698,74 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "height", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, { "arguments": [ @@ -6141,15 +6121,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6168,8 +6139,15 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } }, { @@ -6372,24 +6350,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line010", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6408,28 +6368,26 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line010", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line010", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -6448,28 +6406,26 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line012", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line010", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -6488,28 +6444,26 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line012", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line012", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -6528,8 +6482,24 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "line012", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -6711,24 +6681,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6747,8 +6699,24 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -7388,7 +7356,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -7407,8 +7374,9 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -8675,24 +8643,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane000", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8711,8 +8661,24 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane000", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, "start": 0, @@ -8927,24 +8893,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8963,8 +8911,24 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, "start": 0, @@ -10054,24 +10018,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane000", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -10090,8 +10036,24 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane000", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, "start": 0, @@ -10192,24 +10154,6 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -10228,8 +10172,24 @@ description: Result of parsing gridfinity-bins-stacking-lip.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, "start": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/ops.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/ops.snap index 75e06e72c..33b222cdf 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins-stacking-lip/ops.snap @@ -4,34 +4,30 @@ description: Operations executed gridfinity-bins-stacking-lip.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -71,7 +67,13 @@ description: Operations executed gridfinity-bins-stacking-lip.kcl "type": "FunctionCall", "name": "face", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -368,7 +370,13 @@ description: Operations executed gridfinity-bins-stacking-lip.kcl "type": "FunctionCall", "name": "face", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -553,19 +561,17 @@ description: Operations executed gridfinity-bins-stacking-lip.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1455,19 +1461,17 @@ description: Operations executed gridfinity-bins-stacking-lip.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -1631,9 +1635,629 @@ description: Operations executed gridfinity-bins-stacking-lip.kcl }, "sourceRange": [] }, + { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 3.75, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 11.75, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } + }, + { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 122.25, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 11.75, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } + }, + { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 3.75, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 11.75, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } + }, + { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 80.25, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 11.75, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } + }, { "labeledArgs": { - "planeOrSolid": { + "length": { + "value": { + "type": "Number", + "value": 76.5, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + } + }, + "name": "extrude", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + }, + "sourceRange": [] + } + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "lipFace", + "functionSourceRange": [], + "unlabeledArg": { "value": { "type": "Object", "value": { @@ -1772,16 +2396,50 @@ description: Operations executed gridfinity-bins-stacking-lip.kcl } }, "sourceRange": [] - } + }, + "labeledArgs": {} }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null + "sourceRange": [] }, { "labeledArgs": { - "planeOrSolid": { + "length": { + "value": { + "type": "Number", + "value": 118.5, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + } + }, + "name": "extrude", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Sketch", + "value": { + "artifactId": "[uuid]" + } + }, + "sourceRange": [] + } + }, + { + "type": "GroupBegin", + "group": { + "type": "FunctionCall", + "name": "lipFace", + "functionSourceRange": [], + "unlabeledArg": { "value": { "type": "Object", "value": { @@ -1920,391 +2578,7 @@ description: Operations executed gridfinity-bins-stacking-lip.kcl } }, "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 3.75, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 11.75, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 80.25, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 11.75, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null - }, - { - "labeledArgs": { - "length": { - "value": { - "type": "Number", - "value": 76.5, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - } - }, - "name": "extrude", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } }, - "sourceRange": [] - } - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "lipFace", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "length": { - "value": { - "type": "Number", - "value": 118.5, - "ty": { - "type": "Default", - "len": { - "type": "Mm" - }, - "angle": { - "type": "Degrees" - } - } - }, - "sourceRange": [] - } - }, - "name": "extrude", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": { - "value": { - "type": "Sketch", - "value": { - "artifactId": "[uuid]" - } - }, - "sourceRange": [] - } - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "lipFace", - "functionSourceRange": [], - "unlabeledArg": null, "labeledArgs": {} }, "sourceRange": [] @@ -2720,7 +2994,146 @@ description: Operations executed gridfinity-bins-stacking-lip.kcl "type": "FunctionCall", "name": "lipFace", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 3.75, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 11.75, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -2838,7 +3251,146 @@ description: Operations executed gridfinity-bins-stacking-lip.kcl "type": "FunctionCall", "name": "lipFace", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 80.25, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 11.75, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ast.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ast.snap index edcc79ed9..b282643a1 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ast.snap @@ -628,24 +628,6 @@ description: Result of parsing gridfinity-bins.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -664,8 +646,24 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1095,7 +1093,6 @@ description: Result of parsing gridfinity-bins.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1114,8 +1111,9 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1300,98 +1298,6 @@ description: Result of parsing gridfinity-bins.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "cornerRadius", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "+", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "binTol", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1410,8 +1316,98 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "cornerRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "+", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "binTol", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } } }, "start": 0, @@ -2078,98 +2074,6 @@ description: Result of parsing gridfinity-bins.kcl "type": "CallExpressionKw", "type": "CallExpressionKw", "unlabeled": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "cornerRadius", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "+", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "binTol", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2188,8 +2092,98 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "cornerRadius", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "+", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "binTol", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } } }, "start": 0, @@ -2596,24 +2590,6 @@ description: Result of parsing gridfinity-bins.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2632,8 +2608,24 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -3039,15 +3031,6 @@ description: Result of parsing gridfinity-bins.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3066,8 +3049,15 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } }, { @@ -3246,24 +3236,6 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line000", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3282,28 +3254,26 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line000", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line000", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -3322,28 +3292,26 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line002", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line000", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -3362,28 +3330,26 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line002", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line002", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -3402,8 +3368,24 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "line002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -5385,74 +5367,6 @@ description: Result of parsing gridfinity-bins.kcl "init": { "body": [ { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "height", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5471,8 +5385,74 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "height", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, { "arguments": [ @@ -5828,15 +5808,6 @@ description: Result of parsing gridfinity-bins.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5855,8 +5826,15 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } }, { @@ -6059,24 +6037,6 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line010", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -6095,28 +6055,26 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line010", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line010", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -6135,28 +6093,26 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line012", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line010", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -6175,28 +6131,26 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" - }, - { - "arguments": [ - { - "abs_path": false, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { "commentStart": 0, "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "line012", - "start": 0, - "type": "Identifier" - }, - "path": [], + "name": "line012", "start": 0, - "type": "Name", - "type": "Name" - } - ], + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + }, + { "callee": { "abs_path": false, "commentStart": 0, @@ -6215,8 +6169,24 @@ description: Result of parsing gridfinity-bins.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "line012", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ops.snap b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ops.snap index a726add97..d888fdb79 100644 --- a/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/gridfinity-bins/ops.snap @@ -4,34 +4,30 @@ description: Operations executed gridfinity-bins.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -71,7 +67,13 @@ description: Operations executed gridfinity-bins.kcl "type": "FunctionCall", "name": "face", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -368,7 +370,13 @@ description: Operations executed gridfinity-bins.kcl "type": "FunctionCall", "name": "face", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -553,19 +561,17 @@ description: Operations executed gridfinity-bins.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1455,19 +1461,17 @@ description: Operations executed gridfinity-bins.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", diff --git a/rust/kcl-lib/tests/kcl_samples/hex-nut/ast.snap b/rust/kcl-lib/tests/kcl_samples/hex-nut/ast.snap index aac74b806..0633babbf 100644 --- a/rust/kcl-lib/tests/kcl_samples/hex-nut/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/hex-nut/ast.snap @@ -137,32 +137,6 @@ description: Result of parsing hex-nut.kcl "init": { "body": [ { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -181,8 +155,32 @@ description: Result of parsing hex-nut.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, { "arguments": [ @@ -694,7 +692,6 @@ description: Result of parsing hex-nut.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -713,8 +710,9 @@ description: Result of parsing hex-nut.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/hex-nut/ops.snap b/rust/kcl-lib/tests/kcl_samples/hex-nut/ops.snap index 67140e3eb..f87ac71d1 100644 --- a/rust/kcl-lib/tests/kcl_samples/hex-nut/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/hex-nut/ops.snap @@ -4,19 +4,17 @@ description: Operations executed hex-nut.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/i-beam/ast.snap b/rust/kcl-lib/tests/kcl_samples/i-beam/ast.snap index d7734133c..dfdec3efb 100644 --- a/rust/kcl-lib/tests/kcl_samples/i-beam/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/i-beam/ast.snap @@ -221,32 +221,6 @@ description: Result of parsing i-beam.kcl "init": { "body": [ { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -265,8 +239,32 @@ description: Result of parsing i-beam.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/i-beam/ops.snap b/rust/kcl-lib/tests/kcl_samples/i-beam/ops.snap index d57ed5431..325fc2373 100644 --- a/rust/kcl-lib/tests/kcl_samples/i-beam/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/i-beam/ops.snap @@ -4,19 +4,17 @@ description: Operations executed i-beam.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/keyboard/ast.snap b/rust/kcl-lib/tests/kcl_samples/keyboard/ast.snap index cafb642d5..caf2e77e2 100644 --- a/rust/kcl-lib/tests/kcl_samples/keyboard/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/keyboard/ast.snap @@ -694,24 +694,6 @@ description: Result of parsing keyboard.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -730,8 +712,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1155,15 +1153,6 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1182,19 +1171,17 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1213,8 +1200,15 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1265,7 +1259,6 @@ description: Result of parsing keyboard.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1284,8 +1277,9 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1422,24 +1416,6 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1458,28 +1434,26 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg03", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1498,8 +1472,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg03", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "abs_path": false, @@ -2531,20 +2521,6 @@ description: Result of parsing keyboard.kcl } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "7deg", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 7.0, - "suffix": "Deg" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2563,8 +2539,20 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "7deg", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 7.0, + "suffix": "Deg" + } + } } ], "end": 0, @@ -2678,24 +2666,6 @@ description: Result of parsing keyboard.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2714,8 +2684,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -3141,24 +3127,6 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3177,8 +3145,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -3366,24 +3350,6 @@ description: Result of parsing keyboard.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3402,8 +3368,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -3417,24 +3399,6 @@ description: Result of parsing keyboard.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3453,8 +3417,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -3589,15 +3569,6 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3616,19 +3587,17 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3647,8 +3616,15 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3699,7 +3675,6 @@ description: Result of parsing keyboard.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3718,8 +3693,9 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -8952,20 +8928,6 @@ description: Result of parsing keyboard.kcl } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "7deg", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 7.0, - "suffix": "Deg" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -8984,8 +8946,20 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "7deg", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 7.0, + "suffix": "Deg" + } + } } ], "end": 0, @@ -9101,24 +9075,6 @@ description: Result of parsing keyboard.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -9137,8 +9093,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -10237,24 +10209,6 @@ description: Result of parsing keyboard.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg1", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -10273,8 +10227,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg1", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -10337,24 +10307,6 @@ description: Result of parsing keyboard.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg3", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -10373,8 +10325,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg3", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -10658,7 +10626,6 @@ description: Result of parsing keyboard.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -10677,8 +10644,9 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -10916,24 +10884,6 @@ description: Result of parsing keyboard.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -10952,8 +10902,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -11587,7 +11553,6 @@ description: Result of parsing keyboard.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -11606,8 +11571,9 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -11750,24 +11716,6 @@ description: Result of parsing keyboard.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -11786,8 +11734,24 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -12429,7 +12393,6 @@ description: Result of parsing keyboard.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -12448,8 +12411,9 @@ description: Result of parsing keyboard.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/keyboard/ops.snap b/rust/kcl-lib/tests/kcl_samples/keyboard/ops.snap index 7da35ce75..ea5897c4d 100644 --- a/rust/kcl-lib/tests/kcl_samples/keyboard/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/keyboard/ops.snap @@ -4,19 +4,17 @@ description: Operations executed keyboard.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -188,3942 +186,3889 @@ description: Operations executed keyboard.kcl } }, { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.7, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.7, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -8914,202 +8859,189 @@ description: Operations executed keyboard.kcl "sourceRange": [] }, { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.81, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.81, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -9144,378 +9076,374 @@ description: Operations executed keyboard.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.81, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.81, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.81, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.81, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -9582,378 +9510,374 @@ description: Operations executed keyboard.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.81, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.81, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Object", - "value": { - "origin": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.81, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "xAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - }, - "yAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.12186934340514748, - "ty": { - "type": "Known", - "type": "Count" - } - } - ] - }, - "zAxis": { - "type": "Array", - "value": [ - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - }, - { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } - } - } - ] - } - } - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Object", + "value": { + "origin": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.81, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "xAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + }, + "yAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.12186934340514748, + "ty": { + "type": "Known", + "type": "Count" + } + } + ] + }, + "zAxis": { + "type": "Array", + "value": [ + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + }, + { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" + } + } + } + ] + } + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -10322,12 +10246,6 @@ description: Operations executed keyboard.kcl { "type": "GroupEnd" }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, { "type": "GroupEnd" } diff --git a/rust/kcl-lib/tests/kcl_samples/kitt/ast.snap b/rust/kcl-lib/tests/kcl_samples/kitt/ast.snap index 40a0875c8..197c27087 100644 --- a/rust/kcl-lib/tests/kcl_samples/kitt/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/kitt/ast.snap @@ -415,15 +415,6 @@ description: Result of parsing kitt.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -442,19 +433,17 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -473,8 +462,15 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -507,7 +503,6 @@ description: Result of parsing kitt.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -526,8 +521,9 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -870,24 +866,6 @@ description: Result of parsing kitt.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -906,8 +884,24 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1288,15 +1282,6 @@ description: Result of parsing kitt.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1315,19 +1300,17 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1346,8 +1329,15 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1380,7 +1370,6 @@ description: Result of parsing kitt.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1399,8 +1388,9 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -3288,15 +3278,6 @@ description: Result of parsing kitt.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3315,19 +3296,17 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3346,8 +3325,15 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3380,7 +3366,6 @@ description: Result of parsing kitt.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3399,8 +3384,9 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -5817,15 +5803,6 @@ description: Result of parsing kitt.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5844,19 +5821,17 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5875,8 +5850,15 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -5909,7 +5891,6 @@ description: Result of parsing kitt.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -5928,8 +5909,9 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -10940,24 +10922,6 @@ description: Result of parsing kitt.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -10976,8 +10940,24 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -11302,15 +11282,6 @@ description: Result of parsing kitt.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -11329,19 +11300,17 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -11360,8 +11329,15 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -11394,7 +11370,6 @@ description: Result of parsing kitt.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -11413,8 +11388,9 @@ description: Result of parsing kitt.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/kitt/ops.snap b/rust/kcl-lib/tests/kcl_samples/kitt/ops.snap index 685980d0e..4adad6eac 100644 --- a/rust/kcl-lib/tests/kcl_samples/kitt/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/kitt/ops.snap @@ -2106,19 +2106,17 @@ description: Operations executed kitt.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -4207,34 +4205,30 @@ description: Operations executed kitt.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/lego/ast.snap b/rust/kcl-lib/tests/kcl_samples/lego/ast.snap index 7a62ca09f..fbc13be6b 100644 --- a/rust/kcl-lib/tests/kcl_samples/lego/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/lego/ast.snap @@ -958,24 +958,6 @@ description: Result of parsing lego.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -994,8 +976,24 @@ description: Result of parsing lego.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1354,7 +1352,6 @@ description: Result of parsing lego.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1373,8 +1370,9 @@ description: Result of parsing lego.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -2083,7 +2081,6 @@ description: Result of parsing lego.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2102,8 +2099,9 @@ description: Result of parsing lego.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/lego/ops.snap b/rust/kcl-lib/tests/kcl_samples/lego/ops.snap index 1956612e7..952ddb7f5 100644 --- a/rust/kcl-lib/tests/kcl_samples/lego/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/lego/ops.snap @@ -4,19 +4,17 @@ description: Operations executed lego.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/makeup-mirror/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/makeup-mirror/artifact_graph_flowchart.snap.md index db485420b..892d37bcd 100644 --- a/rust/kcl-lib/tests/kcl_samples/makeup-mirror/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/makeup-mirror/artifact_graph_flowchart.snap.md @@ -46,17 +46,17 @@ flowchart LR 52[Solid2d] end subgraph path28 [Path] - 28["Path
[1816, 1879, 0]"] - 39["Segment
[1816, 1879, 0]"] + 28["Path
[1814, 1877, 0]"] + 39["Segment
[1814, 1877, 0]"] 45[Solid2d] end subgraph path29 [Path] - 29["Path
[1925, 1984, 0]"] - 40["Segment
[1992, 2016, 0]"] - 41["Segment
[2024, 2124, 0]"] - 42["Segment
[2132, 2156, 0]"] - 43["Segment
[2164, 2342, 0]"] - 44["Segment
[2350, 2357, 0]"] + 29["Path
[1923, 1982, 0]"] + 40["Segment
[1990, 2014, 0]"] + 41["Segment
[2022, 2122, 0]"] + 42["Segment
[2130, 2154, 0]"] + 43["Segment
[2162, 2340, 0]"] + 44["Segment
[2348, 2355, 0]"] 55[Solid2d] end 1["Plane
[547, 574, 0]"] @@ -68,8 +68,8 @@ flowchart LR 7["Plane
[547, 574, 0]"] 8["Plane
[1284, 1304, 0]"] 9["Plane
[1284, 1304, 0]"] - 10["Plane
[1752, 1802, 0]"] - 11["StartSketchOnPlane
[1736, 1803, 0]"] + 10["Plane
[1750, 1800, 0]"] + 11["StartSketchOnPlane
[1736, 1801, 0]"] 12["StartSketchOnPlane
[533, 575, 0]"] 13["StartSketchOnPlane
[533, 575, 0]"] 14["StartSketchOnPlane
[533, 575, 0]"] @@ -86,8 +86,8 @@ flowchart LR 62["Sweep Extrusion
[636, 665, 0]"] 63["Sweep Extrusion
[1375, 1402, 0]"] 64["Sweep Extrusion
[1375, 1402, 0]"] - 65["Sweep Extrusion
[1887, 1910, 0]"] - 66["Sweep Extrusion
[2365, 2388, 0]"] + 65["Sweep Extrusion
[1885, 1908, 0]"] + 66["Sweep Extrusion
[2363, 2386, 0]"] 67[Wall] 68[Wall] 69[Wall] diff --git a/rust/kcl-lib/tests/kcl_samples/makeup-mirror/ast.snap b/rust/kcl-lib/tests/kcl_samples/makeup-mirror/ast.snap index 2da0e6f84..e7a2f313b 100644 --- a/rust/kcl-lib/tests/kcl_samples/makeup-mirror/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/makeup-mirror/ast.snap @@ -450,74 +450,6 @@ description: Result of parsing makeup-mirror.kcl "init": { "body": [ { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "z", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -536,8 +468,74 @@ description: Result of parsing makeup-mirror.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "z", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, { "arguments": [ @@ -1971,24 +1969,6 @@ description: Result of parsing makeup-mirror.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2007,8 +1987,24 @@ description: Result of parsing makeup-mirror.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2639,118 +2635,6 @@ description: Result of parsing makeup-mirror.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "arguments": [ - { - "type": "LabeledArg", - "label": { - "commentStart": 0, - "end": 0, - "name": "offset", - "start": 0, - "type": "Identifier" - }, - "arg": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "-", - "right": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "tiefe", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "raw": "2", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 2.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - } - ], - "callee": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "offsetPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "start": 0, - "type": "CallExpressionKw", - "type": "CallExpressionKw", - "unlabeled": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "plane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2769,8 +2653,118 @@ description: Result of parsing makeup-mirror.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "arguments": [ + { + "type": "LabeledArg", + "label": { + "commentStart": 0, + "end": 0, + "name": "offset", + "start": 0, + "type": "Identifier" + }, + "arg": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "-", + "right": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "tiefe", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "raw": "2", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 2.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } + } + ], + "callee": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "offsetPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "start": 0, + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "plane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + } }, "start": 0, "type": "VariableDeclarator" @@ -3499,15 +3493,6 @@ description: Result of parsing makeup-mirror.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3526,19 +3511,17 @@ description: Result of parsing makeup-mirror.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3557,8 +3540,15 @@ description: Result of parsing makeup-mirror.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3591,7 +3581,6 @@ description: Result of parsing makeup-mirror.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3610,8 +3599,9 @@ description: Result of parsing makeup-mirror.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/makeup-mirror/ops.snap b/rust/kcl-lib/tests/kcl_samples/makeup-mirror/ops.snap index 6e3b98f48..ad4d38006 100644 --- a/rust/kcl-lib/tests/kcl_samples/makeup-mirror/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/makeup-mirror/ops.snap @@ -4,109 +4,95 @@ description: Operations executed makeup-mirror.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -963,34 +949,30 @@ description: Operations executed makeup-mirror.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1159,19 +1141,17 @@ description: Operations executed makeup-mirror.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", diff --git a/rust/kcl-lib/tests/kcl_samples/mounting-plate/ast.snap b/rust/kcl-lib/tests/kcl_samples/mounting-plate/ast.snap index 30cdd4bbc..c89f5a429 100644 --- a/rust/kcl-lib/tests/kcl_samples/mounting-plate/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/mounting-plate/ast.snap @@ -203,24 +203,6 @@ description: Result of parsing mounting-plate.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -239,8 +221,24 @@ description: Result of parsing mounting-plate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2587,48 +2585,6 @@ description: Result of parsing mounting-plate.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "rs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "edge1", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2647,52 +2603,50 @@ description: Result of parsing mounting-plate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "rs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "edge1", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } }, { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "rs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "edge2", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2711,52 +2665,50 @@ description: Result of parsing mounting-plate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "rs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "edge2", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } }, { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "rs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "edge3", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2775,52 +2727,50 @@ description: Result of parsing mounting-plate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "rs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "edge3", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } }, { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "rs", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "edge4", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2839,8 +2789,48 @@ description: Result of parsing mounting-plate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "rs", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "edge4", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/mounting-plate/ops.snap b/rust/kcl-lib/tests/kcl_samples/mounting-plate/ops.snap index 30085d16c..abbc510c7 100644 --- a/rust/kcl-lib/tests/kcl_samples/mounting-plate/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/mounting-plate/ops.snap @@ -4,19 +4,17 @@ description: Operations executed mounting-plate.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", diff --git a/rust/kcl-lib/tests/kcl_samples/parametric-bearing-pillow-block/ast.snap b/rust/kcl-lib/tests/kcl_samples/parametric-bearing-pillow-block/ast.snap index 253c8dba7..9f3f2a073 100644 --- a/rust/kcl-lib/tests/kcl_samples/parametric-bearing-pillow-block/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/parametric-bearing-pillow-block/ast.snap @@ -287,24 +287,6 @@ description: Result of parsing parametric-bearing-pillow-block.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -323,8 +305,24 @@ description: Result of parsing parametric-bearing-pillow-block.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -823,7 +821,6 @@ description: Result of parsing parametric-bearing-pillow-block.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -842,8 +839,9 @@ description: Result of parsing parametric-bearing-pillow-block.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/parametric-bearing-pillow-block/ops.snap b/rust/kcl-lib/tests/kcl_samples/parametric-bearing-pillow-block/ops.snap index c583809a7..9ccaa3ef3 100644 --- a/rust/kcl-lib/tests/kcl_samples/parametric-bearing-pillow-block/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/parametric-bearing-pillow-block/ops.snap @@ -4,19 +4,17 @@ description: Operations executed parametric-bearing-pillow-block.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/pipe-flange-assembly/ast.snap b/rust/kcl-lib/tests/kcl_samples/pipe-flange-assembly/ast.snap index a7d61f1e9..5649c2a89 100644 --- a/rust/kcl-lib/tests/kcl_samples/pipe-flange-assembly/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/pipe-flange-assembly/ast.snap @@ -205,7 +205,6 @@ description: Result of parsing pipe-flange-assembly.kcl "commentStart": 0, "end": 0, "expression": { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -224,8 +223,9 @@ description: Result of parsing pipe-flange-assembly.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, "preComments": [ "", @@ -242,7 +242,6 @@ description: Result of parsing pipe-flange-assembly.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -261,8 +260,9 @@ description: Result of parsing pipe-flange-assembly.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -717,7 +717,6 @@ description: Result of parsing pipe-flange-assembly.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -736,8 +735,9 @@ description: Result of parsing pipe-flange-assembly.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1351,7 +1351,6 @@ description: Result of parsing pipe-flange-assembly.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1370,8 +1369,9 @@ description: Result of parsing pipe-flange-assembly.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1846,7 +1846,6 @@ description: Result of parsing pipe-flange-assembly.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1865,8 +1864,9 @@ description: Result of parsing pipe-flange-assembly.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -2350,7 +2350,6 @@ description: Result of parsing pipe-flange-assembly.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2369,8 +2368,9 @@ description: Result of parsing pipe-flange-assembly.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -2658,7 +2658,6 @@ description: Result of parsing pipe-flange-assembly.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2677,8 +2676,9 @@ description: Result of parsing pipe-flange-assembly.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/pipe-flange-assembly/ops.snap b/rust/kcl-lib/tests/kcl_samples/pipe-flange-assembly/ops.snap index 53753b533..b3cab5780 100644 --- a/rust/kcl-lib/tests/kcl_samples/pipe-flange-assembly/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/pipe-flange-assembly/ops.snap @@ -709,64 +709,56 @@ description: Operations executed pipe-flange-assembly.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1259,19 +1251,17 @@ description: Operations executed pipe-flange-assembly.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1361,19 +1351,17 @@ description: Operations executed pipe-flange-assembly.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1567,19 +1555,17 @@ description: Operations executed pipe-flange-assembly.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -1669,34 +1655,30 @@ description: Operations executed pipe-flange-assembly.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/pipe-with-bend/ast.snap b/rust/kcl-lib/tests/kcl_samples/pipe-with-bend/ast.snap index fc0dbfc77..316ad81db 100644 --- a/rust/kcl-lib/tests/kcl_samples/pipe-with-bend/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/pipe-with-bend/ast.snap @@ -153,24 +153,6 @@ description: Result of parsing pipe-with-bend.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -189,8 +171,24 @@ description: Result of parsing pipe-with-bend.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/kcl_samples/pipe-with-bend/ops.snap b/rust/kcl-lib/tests/kcl_samples/pipe-with-bend/ops.snap index 8ce67a959..e76a33de8 100644 --- a/rust/kcl-lib/tests/kcl_samples/pipe-with-bend/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/pipe-with-bend/ops.snap @@ -4,19 +4,17 @@ description: Operations executed pipe-with-bend.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/pipe/ast.snap b/rust/kcl-lib/tests/kcl_samples/pipe/ast.snap index 78e0de2b9..bd756f7f5 100644 --- a/rust/kcl-lib/tests/kcl_samples/pipe/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/pipe/ast.snap @@ -122,24 +122,6 @@ description: Result of parsing pipe.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -158,8 +140,24 @@ description: Result of parsing pipe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/pipe/ops.snap b/rust/kcl-lib/tests/kcl_samples/pipe/ops.snap index 5a3304cb7..2baa171ca 100644 --- a/rust/kcl-lib/tests/kcl_samples/pipe/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/pipe/ops.snap @@ -4,19 +4,17 @@ description: Operations executed pipe.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/poopy-shoe/ast.snap b/rust/kcl-lib/tests/kcl_samples/poopy-shoe/ast.snap index 7a0c3f4e1..946d3f098 100644 --- a/rust/kcl-lib/tests/kcl_samples/poopy-shoe/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/poopy-shoe/ast.snap @@ -254,32 +254,6 @@ description: Result of parsing poopy-shoe.kcl "init": { "body": [ { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -298,8 +272,32 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, { "arguments": [ @@ -677,24 +675,6 @@ description: Result of parsing poopy-shoe.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -713,8 +693,24 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -1139,24 +1135,6 @@ description: Result of parsing poopy-shoe.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1175,8 +1153,24 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -1292,7 +1286,6 @@ description: Result of parsing poopy-shoe.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1311,8 +1304,9 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1568,32 +1562,6 @@ description: Result of parsing poopy-shoe.kcl "init": { "body": [ { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1612,8 +1580,32 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, { "arguments": [ @@ -1991,24 +1983,6 @@ description: Result of parsing poopy-shoe.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2027,8 +2001,24 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2453,24 +2443,6 @@ description: Result of parsing poopy-shoe.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg02", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2489,8 +2461,24 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg02", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2606,7 +2594,6 @@ description: Result of parsing poopy-shoe.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2625,8 +2612,9 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -3131,24 +3119,6 @@ description: Result of parsing poopy-shoe.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "customPlane", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3167,8 +3137,24 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "customPlane", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -3381,7 +3367,6 @@ description: Result of parsing poopy-shoe.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3400,8 +3385,9 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -3750,24 +3736,6 @@ description: Result of parsing poopy-shoe.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3786,8 +3754,24 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -4055,24 +4039,6 @@ description: Result of parsing poopy-shoe.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4091,8 +4057,24 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -5081,24 +5063,6 @@ description: Result of parsing poopy-shoe.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "customPlane2", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -5117,8 +5081,24 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "customPlane2", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -5688,7 +5668,6 @@ description: Result of parsing poopy-shoe.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -5707,8 +5686,9 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -6147,7 +6127,6 @@ description: Result of parsing poopy-shoe.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -6166,8 +6145,9 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -6534,7 +6514,6 @@ description: Result of parsing poopy-shoe.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -6553,8 +6532,9 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -7095,24 +7075,6 @@ description: Result of parsing poopy-shoe.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "customPlane3", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -7131,8 +7093,24 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "customPlane3", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -7408,7 +7386,6 @@ description: Result of parsing poopy-shoe.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -7427,8 +7404,9 @@ description: Result of parsing poopy-shoe.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/poopy-shoe/ops.snap b/rust/kcl-lib/tests/kcl_samples/poopy-shoe/ops.snap index 7855146d9..64c9c34e8 100644 --- a/rust/kcl-lib/tests/kcl_samples/poopy-shoe/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/poopy-shoe/ops.snap @@ -4,19 +4,17 @@ description: Operations executed poopy-shoe.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -126,19 +124,17 @@ description: Operations executed poopy-shoe.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -173,152 +169,150 @@ description: Operations executed poopy-shoe.kcl } }, { - "labeledArgs": { - "planeOrSolid": { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": -1.4375, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": -1.4375, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } } - }, - "xAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "xAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } } - }, - "yAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "yAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } } } } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -408,152 +402,150 @@ description: Operations executed poopy-shoe.kcl } }, { - "labeledArgs": { - "planeOrSolid": { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": -3.875, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": -3.875, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } } - }, - "xAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "xAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } } - }, - "yAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "yAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } } } } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null + } + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -699,152 +691,150 @@ description: Operations executed poopy-shoe.kcl } }, { - "labeledArgs": { - "planeOrSolid": { + "labeledArgs": {}, + "name": "startSketchOn", + "sourceRange": [], + "type": "StdLibCall", + "unlabeledArg": { + "value": { + "type": "Object", "value": { - "type": "Object", - "value": { - "origin": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": -3.875, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + "origin": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": -3.875, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.125, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.125, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } } - }, - "xAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "xAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": -1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": -1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } } - }, - "yAxis": { - "type": "Object", - "value": { - "x": { - "type": "Number", - "value": 1.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "yAxis": { + "type": "Object", + "value": { + "x": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "y": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "y": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } - }, - "z": { - "type": "Number", - "value": 0.0, - "ty": { - "type": "Default", - "len": { - "type": "Inches" - }, - "angle": { - "type": "Degrees" - } + } + }, + "z": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Inches" + }, + "angle": { + "type": "Degrees" } } } } } - }, - "sourceRange": [] - } - }, - "name": "startSketchOn", - "sourceRange": [], - "type": "StdLibCall", - "unlabeledArg": null + } + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/ast.snap b/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/ast.snap index 73ab57483..9009c19ea 100644 --- a/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/ast.snap @@ -520,24 +520,6 @@ description: Result of parsing router-template-cross-bar.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -556,8 +538,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1048,24 +1046,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1084,8 +1064,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -1203,24 +1199,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg03", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1239,8 +1217,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg03", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -1409,24 +1403,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg02", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1445,8 +1421,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg02", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -1522,24 +1514,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1558,8 +1532,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -1702,24 +1692,6 @@ description: Result of parsing router-template-cross-bar.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg04", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1738,8 +1710,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg04", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -1785,24 +1773,6 @@ description: Result of parsing router-template-cross-bar.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg10", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1821,8 +1791,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg10", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -1868,24 +1854,6 @@ description: Result of parsing router-template-cross-bar.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg05", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1904,8 +1872,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg05", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -1951,24 +1935,6 @@ description: Result of parsing router-template-cross-bar.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg08", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1987,8 +1953,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg08", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -2033,24 +2015,6 @@ description: Result of parsing router-template-cross-bar.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg06", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2069,8 +2033,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg06", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2109,24 +2089,6 @@ description: Result of parsing router-template-cross-bar.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg02", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2145,8 +2107,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg02", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -2191,24 +2169,6 @@ description: Result of parsing router-template-cross-bar.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg07", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2227,8 +2187,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg07", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2266,24 +2242,6 @@ description: Result of parsing router-template-cross-bar.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg03", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2302,8 +2260,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg03", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2459,15 +2433,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2486,19 +2451,17 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2517,8 +2480,15 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -2551,7 +2521,6 @@ description: Result of parsing router-template-cross-bar.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2570,8 +2539,9 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -2953,24 +2923,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2989,8 +2941,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -3089,24 +3057,6 @@ description: Result of parsing router-template-cross-bar.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3125,8 +3075,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -3140,24 +3106,6 @@ description: Result of parsing router-template-cross-bar.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3176,8 +3124,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -3243,15 +3207,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3270,19 +3225,17 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3301,8 +3254,15 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3335,7 +3295,6 @@ description: Result of parsing router-template-cross-bar.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3354,8 +3313,9 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -3745,24 +3705,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3781,8 +3723,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -3881,24 +3839,6 @@ description: Result of parsing router-template-cross-bar.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3917,8 +3857,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -3932,24 +3888,6 @@ description: Result of parsing router-template-cross-bar.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3968,8 +3906,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -4035,15 +3989,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4062,19 +4007,17 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4093,8 +4036,15 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -4127,7 +4077,6 @@ description: Result of parsing router-template-cross-bar.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -4146,8 +4095,9 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -4557,24 +4507,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4593,8 +4525,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -4693,24 +4641,6 @@ description: Result of parsing router-template-cross-bar.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4729,8 +4659,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -4744,24 +4690,6 @@ description: Result of parsing router-template-cross-bar.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4780,8 +4708,24 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -4847,15 +4791,6 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4874,19 +4809,17 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -4905,8 +4838,15 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -4939,7 +4879,6 @@ description: Result of parsing router-template-cross-bar.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -4958,8 +4897,9 @@ description: Result of parsing router-template-cross-bar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/ops.snap b/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/ops.snap index cb48304fd..f5a5d28c8 100644 --- a/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/router-template-cross-bar/ops.snap @@ -4,19 +4,17 @@ description: Operations executed router-template-cross-bar.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/router-template-slate/ast.snap b/rust/kcl-lib/tests/kcl_samples/router-template-slate/ast.snap index 61fb955f2..328200086 100644 --- a/rust/kcl-lib/tests/kcl_samples/router-template-slate/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/router-template-slate/ast.snap @@ -557,24 +557,6 @@ description: Result of parsing router-template-slate.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -593,8 +575,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1269,24 +1267,6 @@ description: Result of parsing router-template-slate.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg02", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1305,8 +1285,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg02", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -1351,24 +1347,6 @@ description: Result of parsing router-template-slate.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg03", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1387,8 +1365,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg03", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -1426,24 +1420,6 @@ description: Result of parsing router-template-slate.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg04", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1462,8 +1438,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg04", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -1501,24 +1493,6 @@ description: Result of parsing router-template-slate.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg05", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1537,8 +1511,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg05", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -1698,15 +1688,6 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1725,19 +1706,17 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1756,8 +1735,15 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1790,7 +1776,6 @@ description: Result of parsing router-template-slate.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1809,8 +1794,9 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -2271,24 +2257,6 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2307,8 +2275,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "+", "right": { @@ -2407,24 +2391,6 @@ description: Result of parsing router-template-slate.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2443,8 +2409,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -2458,24 +2440,6 @@ description: Result of parsing router-template-slate.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2494,8 +2458,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -2561,15 +2541,6 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2588,19 +2559,17 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2619,8 +2588,15 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -2653,7 +2629,6 @@ description: Result of parsing router-template-slate.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2672,8 +2647,9 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -3105,24 +3081,6 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3141,8 +3099,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -3223,24 +3197,6 @@ description: Result of parsing router-template-slate.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3259,8 +3215,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -3274,24 +3246,6 @@ description: Result of parsing router-template-slate.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3310,8 +3264,24 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -3359,15 +3329,6 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3386,19 +3347,17 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3417,8 +3376,15 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -3451,7 +3417,6 @@ description: Result of parsing router-template-slate.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -3470,8 +3435,9 @@ description: Result of parsing router-template-slate.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/router-template-slate/ops.snap b/rust/kcl-lib/tests/kcl_samples/router-template-slate/ops.snap index a778d7c9e..90469c0d1 100644 --- a/rust/kcl-lib/tests/kcl_samples/router-template-slate/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/router-template-slate/ops.snap @@ -4,19 +4,17 @@ description: Operations executed router-template-slate.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ast.snap b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ast.snap index cf5b35d7e..4cfc81430 100644 --- a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ast.snap @@ -801,24 +801,6 @@ description: Result of parsing sheet-metal-bracket.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -837,8 +819,24 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1373,24 +1371,6 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg02", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1409,8 +1389,24 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg02", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -1567,24 +1563,6 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1603,8 +1581,24 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2047,24 +2041,6 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2083,8 +2059,24 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2265,24 +2257,6 @@ description: Result of parsing sheet-metal-bracket.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg05", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2301,8 +2275,24 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg05", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -2470,24 +2460,6 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2506,8 +2478,24 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2710,15 +2698,6 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2737,19 +2716,17 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2768,8 +2745,15 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -2820,7 +2804,6 @@ description: Result of parsing sheet-metal-bracket.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2839,8 +2822,9 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -2970,24 +2954,6 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Name" }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg03", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3006,8 +2972,24 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg03", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "abs_path": false, @@ -3026,24 +3008,6 @@ description: Result of parsing sheet-metal-bracket.kcl "type": "Name" }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg07", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -3062,8 +3026,24 @@ description: Result of parsing sheet-metal-bracket.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg07", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ops.snap b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ops.snap index bb5b3ec12..8bb3047c0 100644 --- a/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/sheet-metal-bracket/ops.snap @@ -4,19 +4,17 @@ description: Operations executed sheet-metal-bracket.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/ast.snap b/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/ast.snap index 31b5bc5b8..06bad55f8 100644 --- a/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/ast.snap @@ -246,20 +246,6 @@ description: Result of parsing socket-head-cap-screw.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "30deg", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 30.0, - "suffix": "Deg" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -278,8 +264,20 @@ description: Result of parsing socket-head-cap-screw.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "30deg", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 30.0, + "suffix": "Deg" + } + } }, "start": 0, "type": "BinaryExpression", @@ -313,24 +311,6 @@ description: Result of parsing socket-head-cap-screw.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -349,8 +329,24 @@ description: Result of parsing socket-head-cap-screw.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -596,24 +592,6 @@ description: Result of parsing socket-head-cap-screw.kcl "type": "Name" }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "topEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -632,8 +610,24 @@ description: Result of parsing socket-head-cap-screw.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "topEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1266,7 +1260,6 @@ description: Result of parsing socket-head-cap-screw.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1285,8 +1278,9 @@ description: Result of parsing socket-head-cap-screw.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1683,24 +1677,6 @@ description: Result of parsing socket-head-cap-screw.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "filletEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1719,8 +1695,24 @@ description: Result of parsing socket-head-cap-screw.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "filletEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/ops.snap b/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/ops.snap index b1da92de3..73d2acdf6 100644 --- a/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/socket-head-cap-screw/ops.snap @@ -4,30 +4,17 @@ description: Operations executed socket-head-cap-screw.kcl --- [ { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -263,8 +250,5 @@ description: Operations executed socket-head-cap-screw.kcl } }, "sourceRange": [] - }, - { - "type": "GroupEnd" } ] diff --git a/rust/kcl-lib/tests/kcl_samples/walkie-talkie/artifact_graph_flowchart.snap.md b/rust/kcl-lib/tests/kcl_samples/walkie-talkie/artifact_graph_flowchart.snap.md index 97ad4e2ea..3dcc41b04 100644 --- a/rust/kcl-lib/tests/kcl_samples/walkie-talkie/artifact_graph_flowchart.snap.md +++ b/rust/kcl-lib/tests/kcl_samples/walkie-talkie/artifact_graph_flowchart.snap.md @@ -709,6 +709,7 @@ flowchart LR 115 --- 179 115 x--> 228 115 --- 256 + 115 x--> 307 115 --- 308 164 <--x 116 116 --- 184 diff --git a/rust/kcl-lib/tests/kcl_samples/walkie-talkie/ast.snap b/rust/kcl-lib/tests/kcl_samples/walkie-talkie/ast.snap index dfef21dd3..2fb7039b9 100644 --- a/rust/kcl-lib/tests/kcl_samples/walkie-talkie/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/walkie-talkie/ast.snap @@ -1016,7 +1016,6 @@ description: Result of parsing walkie-talkie.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1035,8 +1034,9 @@ description: Result of parsing walkie-talkie.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1214,7 +1214,6 @@ description: Result of parsing walkie-talkie.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1233,8 +1232,9 @@ description: Result of parsing walkie-talkie.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1480,7 +1480,6 @@ description: Result of parsing walkie-talkie.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1499,8 +1498,9 @@ description: Result of parsing walkie-talkie.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1810,7 +1810,6 @@ description: Result of parsing walkie-talkie.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1829,8 +1828,9 @@ description: Result of parsing walkie-talkie.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/walkie-talkie/ops.snap b/rust/kcl-lib/tests/kcl_samples/walkie-talkie/ops.snap index be3e46837..c1af02cd6 100644 --- a/rust/kcl-lib/tests/kcl_samples/walkie-talkie/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/walkie-talkie/ops.snap @@ -111,64 +111,56 @@ description: Operations executed walkie-talkie.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kcl_samples/washer/ast.snap b/rust/kcl-lib/tests/kcl_samples/washer/ast.snap index 812b5baaa..232091fdf 100644 --- a/rust/kcl-lib/tests/kcl_samples/washer/ast.snap +++ b/rust/kcl-lib/tests/kcl_samples/washer/ast.snap @@ -188,24 +188,6 @@ description: Result of parsing washer.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -224,8 +206,24 @@ description: Result of parsing washer.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kcl_samples/washer/ops.snap b/rust/kcl-lib/tests/kcl_samples/washer/ops.snap index 7f5d351b0..e45a1f7fd 100644 --- a/rust/kcl-lib/tests/kcl_samples/washer/ops.snap +++ b/rust/kcl-lib/tests/kcl_samples/washer/ops.snap @@ -4,19 +4,17 @@ description: Operations executed washer.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kittycad_svg/ast.snap b/rust/kcl-lib/tests/kittycad_svg/ast.snap index 3e5845602..efb5b6fad 100644 --- a/rust/kcl-lib/tests/kittycad_svg/ast.snap +++ b/rust/kcl-lib/tests/kittycad_svg/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing kittycad_svg.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing kittycad_svg.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -21484,15 +21482,6 @@ description: Result of parsing kittycad_svg.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -21511,8 +21500,15 @@ description: Result of parsing kittycad_svg.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/kittycad_svg/ops.snap b/rust/kcl-lib/tests/kittycad_svg/ops.snap index 69dfecfb5..0cf2d28df 100644 --- a/rust/kcl-lib/tests/kittycad_svg/ops.snap +++ b/rust/kcl-lib/tests/kittycad_svg/ops.snap @@ -4,19 +4,17 @@ description: Operations executed kittycad_svg.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/kw_fn/ast.snap b/rust/kcl-lib/tests/kw_fn/ast.snap index b15dfaf7e..357e9b9f9 100644 --- a/rust/kcl-lib/tests/kw_fn/ast.snap +++ b/rust/kcl-lib/tests/kw_fn/ast.snap @@ -214,20 +214,6 @@ description: Result of parsing kw_fn.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -246,8 +232,20 @@ description: Result of parsing kw_fn.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/kw_fn/ops.snap b/rust/kcl-lib/tests/kw_fn/ops.snap index 4635f5ce2..3532c4c6b 100644 --- a/rust/kcl-lib/tests/kw_fn/ops.snap +++ b/rust/kcl-lib/tests/kw_fn/ops.snap @@ -9,7 +9,22 @@ description: Operations executed kw_fn.kcl "type": "FunctionCall", "name": "increment", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] diff --git a/rust/kcl-lib/tests/kw_fn_too_few_args/ops.snap b/rust/kcl-lib/tests/kw_fn_too_few_args/ops.snap index e4ef36f91..04a4a0a82 100644 --- a/rust/kcl-lib/tests/kw_fn_too_few_args/ops.snap +++ b/rust/kcl-lib/tests/kw_fn_too_few_args/ops.snap @@ -30,5 +30,8 @@ description: Operations executed kw_fn_too_few_args.kcl } }, "sourceRange": [] + }, + { + "type": "GroupEnd" } ] diff --git a/rust/kcl-lib/tests/kw_fn_unlabeled_but_has_label/ops.snap b/rust/kcl-lib/tests/kw_fn_unlabeled_but_has_label/ops.snap index a2fd160a3..136ad5aa8 100644 --- a/rust/kcl-lib/tests/kw_fn_unlabeled_but_has_label/ops.snap +++ b/rust/kcl-lib/tests/kw_fn_unlabeled_but_has_label/ops.snap @@ -30,5 +30,8 @@ description: Operations executed kw_fn_unlabeled_but_has_label.kcl } }, "sourceRange": [] + }, + { + "type": "GroupEnd" } ] diff --git a/rust/kcl-lib/tests/kw_fn_with_defaults/ast.snap b/rust/kcl-lib/tests/kw_fn_with_defaults/ast.snap index 6957782ea..75d03e8a5 100644 --- a/rust/kcl-lib/tests/kw_fn_with_defaults/ast.snap +++ b/rust/kcl-lib/tests/kw_fn_with_defaults/ast.snap @@ -135,20 +135,6 @@ description: Result of parsing kw_fn_with_defaults.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "1", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 1.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -167,8 +153,20 @@ description: Result of parsing kw_fn_with_defaults.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "1", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 1.0, + "suffix": "None" + } + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/kw_fn_with_defaults/ops.snap b/rust/kcl-lib/tests/kw_fn_with_defaults/ops.snap index 2443839a3..2746d1560 100644 --- a/rust/kcl-lib/tests/kw_fn_with_defaults/ops.snap +++ b/rust/kcl-lib/tests/kw_fn_with_defaults/ops.snap @@ -9,7 +9,22 @@ description: Operations executed kw_fn_with_defaults.kcl "type": "FunctionCall", "name": "increment", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] diff --git a/rust/kcl-lib/tests/linear_pattern3d_a_pattern/ast.snap b/rust/kcl-lib/tests/linear_pattern3d_a_pattern/ast.snap index 0c63d31ad..1252858e9 100644 --- a/rust/kcl-lib/tests/linear_pattern3d_a_pattern/ast.snap +++ b/rust/kcl-lib/tests/linear_pattern3d_a_pattern/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing linear_pattern3d_a_pattern.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing linear_pattern3d_a_pattern.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -340,15 +338,6 @@ description: Result of parsing linear_pattern3d_a_pattern.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -367,8 +356,15 @@ description: Result of parsing linear_pattern3d_a_pattern.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/linear_pattern3d_a_pattern/ops.snap b/rust/kcl-lib/tests/linear_pattern3d_a_pattern/ops.snap index f635327d6..2a28055ca 100644 --- a/rust/kcl-lib/tests/linear_pattern3d_a_pattern/ops.snap +++ b/rust/kcl-lib/tests/linear_pattern3d_a_pattern/ops.snap @@ -4,19 +4,17 @@ description: Operations executed linear_pattern3d_a_pattern.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/loop_tag/ast.snap b/rust/kcl-lib/tests/loop_tag/ast.snap index 5b0641237..996f8de4d 100644 --- a/rust/kcl-lib/tests/loop_tag/ast.snap +++ b/rust/kcl-lib/tests/loop_tag/ast.snap @@ -273,24 +273,6 @@ description: Result of parsing loop_tag.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "angle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -309,8 +291,24 @@ description: Result of parsing loop_tag.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "angle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -358,24 +356,6 @@ description: Result of parsing loop_tag.kcl }, "operator": "*", "right": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "angle", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -394,8 +374,24 @@ description: Result of parsing loop_tag.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "angle", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "BinaryExpression", @@ -511,24 +507,6 @@ description: Result of parsing loop_tag.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -547,8 +525,24 @@ description: Result of parsing loop_tag.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -562,20 +556,6 @@ description: Result of parsing loop_tag.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "0", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 0.0, - "suffix": "None" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -594,8 +574,20 @@ description: Result of parsing loop_tag.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "0", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 0.0, + "suffix": "None" + } + } } } ], @@ -725,24 +717,6 @@ description: Result of parsing loop_tag.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "index", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -761,8 +735,24 @@ description: Result of parsing loop_tag.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "index", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -961,24 +951,6 @@ description: Result of parsing loop_tag.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "finalSketch", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -997,8 +969,24 @@ description: Result of parsing loop_tag.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "finalSketch", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/loop_tag/ops.snap b/rust/kcl-lib/tests/loop_tag/ops.snap index b6a8b3448..fb97468b7 100644 --- a/rust/kcl-lib/tests/loop_tag/ops.snap +++ b/rust/kcl-lib/tests/loop_tag/ops.snap @@ -4,1119 +4,17 @@ description: Operations executed loop_tag.kcl --- [ { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sin", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", @@ -1124,7 +22,22 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 0.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1135,7 +48,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 1.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1146,7 +69,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 2.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1157,7 +90,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 3.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1168,7 +111,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 4.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1179,7 +132,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 5.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1190,7 +153,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 6.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1201,7 +174,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 7.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1212,7 +195,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 8.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1223,7 +216,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 9.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1234,7 +237,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 10.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1245,7 +258,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 11.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1256,7 +279,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 12.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1267,7 +300,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 13.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1278,7 +321,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 14.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1289,7 +342,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 15.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1300,7 +363,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 16.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1311,7 +384,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 17.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1322,7 +405,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 18.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1333,7 +426,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 19.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1344,7 +447,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 20.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1355,7 +468,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 21.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1366,7 +489,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 22.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1377,7 +510,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 23.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1388,7 +531,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 24.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1399,7 +552,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 25.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1410,7 +573,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 26.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1421,7 +594,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 27.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1432,7 +615,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 28.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1443,7 +636,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 29.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1454,7 +657,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 30.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1465,7 +678,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 31.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1476,7 +699,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 32.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1487,7 +720,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 33.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1498,7 +741,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 34.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1509,7 +762,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 35.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1520,7 +783,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 36.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1531,7 +804,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 37.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1542,7 +825,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 38.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1553,7 +846,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 39.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1564,7 +867,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 40.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1575,7 +888,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 41.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1586,7 +909,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 42.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1597,7 +930,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 43.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1608,7 +951,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 44.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1619,7 +972,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 45.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1630,7 +993,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 46.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1641,7 +1014,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 47.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1652,7 +1035,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 48.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1663,7 +1056,17 @@ description: Operations executed loop_tag.kcl "type": "FunctionCall", "name": "calculatePoint", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 49.0, + "ty": { + "type": "Known", + "type": "Count" + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -1847,306 +1250,6 @@ description: Operations executed loop_tag.kcl { "type": "GroupEnd" }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, - { - "type": "GroupEnd" - }, { "type": "GroupEnd" } diff --git a/rust/kcl-lib/tests/mike_stress_test/ast.snap b/rust/kcl-lib/tests/mike_stress_test/ast.snap index 9fab06922..ee922db89 100644 --- a/rust/kcl-lib/tests/mike_stress_test/ast.snap +++ b/rust/kcl-lib/tests/mike_stress_test/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing mike_stress_test.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing mike_stress_test.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -75808,15 +75806,6 @@ description: Result of parsing mike_stress_test.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -75835,8 +75824,15 @@ description: Result of parsing mike_stress_test.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/multi_transform/ast.snap b/rust/kcl-lib/tests/multi_transform/ast.snap index 1763a21a7..5e0be6545 100644 --- a/rust/kcl-lib/tests/multi_transform/ast.snap +++ b/rust/kcl-lib/tests/multi_transform/ast.snap @@ -246,24 +246,6 @@ description: Result of parsing multi_transform.kcl "expression": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -282,8 +264,24 @@ description: Result of parsing multi_transform.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/multi_transform/ops.snap b/rust/kcl-lib/tests/multi_transform/ops.snap index 6485f5753..70da0d867 100644 --- a/rust/kcl-lib/tests/multi_transform/ops.snap +++ b/rust/kcl-lib/tests/multi_transform/ops.snap @@ -4,19 +4,17 @@ description: Operations executed multi_transform.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/neg_xz_plane/ast.snap b/rust/kcl-lib/tests/neg_xz_plane/ast.snap index 3e52c5133..ab6e13a30 100644 --- a/rust/kcl-lib/tests/neg_xz_plane/ast.snap +++ b/rust/kcl-lib/tests/neg_xz_plane/ast.snap @@ -20,32 +20,6 @@ description: Result of parsing neg_xz_plane.kcl "init": { "body": [ { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -64,8 +38,32 @@ description: Result of parsing neg_xz_plane.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, { "arguments": [ @@ -272,15 +270,6 @@ description: Result of parsing neg_xz_plane.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -299,8 +288,15 @@ description: Result of parsing neg_xz_plane.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/neg_xz_plane/ops.snap b/rust/kcl-lib/tests/neg_xz_plane/ops.snap index 6b457c83e..a145837c0 100644 --- a/rust/kcl-lib/tests/neg_xz_plane/ops.snap +++ b/rust/kcl-lib/tests/neg_xz_plane/ops.snap @@ -4,19 +4,17 @@ description: Operations executed neg_xz_plane.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/out_of_band_sketches/ast.snap b/rust/kcl-lib/tests/out_of_band_sketches/ast.snap index c97e0e85d..b9df77ca8 100644 --- a/rust/kcl-lib/tests/out_of_band_sketches/ast.snap +++ b/rust/kcl-lib/tests/out_of_band_sketches/ast.snap @@ -18,24 +18,6 @@ description: Result of parsing out_of_band_sketches.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -54,8 +36,24 @@ description: Result of parsing out_of_band_sketches.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -380,24 +378,6 @@ description: Result of parsing out_of_band_sketches.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -416,8 +396,24 @@ description: Result of parsing out_of_band_sketches.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -852,7 +848,6 @@ description: Result of parsing out_of_band_sketches.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -871,8 +866,9 @@ description: Result of parsing out_of_band_sketches.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1028,7 +1024,6 @@ description: Result of parsing out_of_band_sketches.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1047,8 +1042,9 @@ description: Result of parsing out_of_band_sketches.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/out_of_band_sketches/ops.snap b/rust/kcl-lib/tests/out_of_band_sketches/ops.snap index 0bf8592e6..9c9871687 100644 --- a/rust/kcl-lib/tests/out_of_band_sketches/ops.snap +++ b/rust/kcl-lib/tests/out_of_band_sketches/ops.snap @@ -4,34 +4,30 @@ description: Operations executed out_of_band_sketches.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/parametric/ast.snap b/rust/kcl-lib/tests/parametric/ast.snap index dc219829b..e4f7fd3f4 100644 --- a/rust/kcl-lib/tests/parametric/ast.snap +++ b/rust/kcl-lib/tests/parametric/ast.snap @@ -249,140 +249,6 @@ description: Result of parsing parametric.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "distance", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "p", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "FOS", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "*", - "right": { - "commentStart": 0, - "end": 0, - "raw": "6", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 6.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "sigmaAllow", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "width", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -401,8 +267,140 @@ description: Result of parsing parametric.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "distance", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "p", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "FOS", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "*", + "right": { + "commentStart": 0, + "end": 0, + "raw": "6", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 6.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "sigmaAllow", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "width", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "VariableDeclarator" @@ -428,24 +426,6 @@ description: Result of parsing parametric.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -464,8 +444,24 @@ description: Result of parsing parametric.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -968,15 +964,6 @@ description: Result of parsing parametric.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -995,8 +982,15 @@ description: Result of parsing parametric.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/parametric/ops.snap b/rust/kcl-lib/tests/parametric/ops.snap index f7babb27f..a99314205 100644 --- a/rust/kcl-lib/tests/parametric/ops.snap +++ b/rust/kcl-lib/tests/parametric/ops.snap @@ -4,30 +4,17 @@ description: Operations executed parametric.kcl --- [ { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sqrt", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -60,8 +47,5 @@ description: Operations executed parametric.kcl }, "sourceRange": [] } - }, - { - "type": "GroupEnd" } ] diff --git a/rust/kcl-lib/tests/parametric_with_tan_arc/ast.snap b/rust/kcl-lib/tests/parametric_with_tan_arc/ast.snap index 44b091190..573424d62 100644 --- a/rust/kcl-lib/tests/parametric_with_tan_arc/ast.snap +++ b/rust/kcl-lib/tests/parametric_with_tan_arc/ast.snap @@ -183,140 +183,6 @@ description: Result of parsing parametric_with_tan_arc.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "distance", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "p", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "FOS", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "*", - "right": { - "commentStart": 0, - "end": 0, - "raw": "6", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 6.0, - "suffix": "None" - } - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "sigmaAllow", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "width", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -335,8 +201,140 @@ description: Result of parsing parametric_with_tan_arc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "distance", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "p", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "FOS", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "*", + "right": { + "commentStart": 0, + "end": 0, + "raw": "6", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 6.0, + "suffix": "None" + } + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "sigmaAllow", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "width", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "VariableDeclarator" @@ -485,24 +483,6 @@ description: Result of parsing parametric_with_tan_arc.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -521,8 +501,24 @@ description: Result of parsing parametric_with_tan_arc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1155,15 +1151,6 @@ description: Result of parsing parametric_with_tan_arc.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1182,8 +1169,15 @@ description: Result of parsing parametric_with_tan_arc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/parametric_with_tan_arc/ops.snap b/rust/kcl-lib/tests/parametric_with_tan_arc/ops.snap index 55f4cb661..c72a66cd4 100644 --- a/rust/kcl-lib/tests/parametric_with_tan_arc/ops.snap +++ b/rust/kcl-lib/tests/parametric_with_tan_arc/ops.snap @@ -4,30 +4,17 @@ description: Operations executed parametric_with_tan_arc.kcl --- [ { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sqrt", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -60,8 +47,5 @@ description: Operations executed parametric_with_tan_arc.kcl }, "sourceRange": [] } - }, - { - "type": "GroupEnd" } ] diff --git a/rust/kcl-lib/tests/pattern_circular_in_module/ast.snap b/rust/kcl-lib/tests/pattern_circular_in_module/ast.snap index 5109c6649..eae8cba00 100644 --- a/rust/kcl-lib/tests/pattern_circular_in_module/ast.snap +++ b/rust/kcl-lib/tests/pattern_circular_in_module/ast.snap @@ -39,7 +39,6 @@ description: Result of parsing pattern_circular_in_module.kcl "commentStart": 0, "end": 0, "expression": { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -58,8 +57,9 @@ description: Result of parsing pattern_circular_in_module.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, "start": 0, "type": "ExpressionStatement", diff --git a/rust/kcl-lib/tests/pattern_circular_in_module/ops.snap b/rust/kcl-lib/tests/pattern_circular_in_module/ops.snap index 2b0b63eb2..2b903dc8f 100644 --- a/rust/kcl-lib/tests/pattern_circular_in_module/ops.snap +++ b/rust/kcl-lib/tests/pattern_circular_in_module/ops.snap @@ -24,19 +24,17 @@ description: Operations executed pattern_circular_in_module.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/pattern_into_union/ast.snap b/rust/kcl-lib/tests/pattern_into_union/ast.snap index 0c6839faf..fb9da7528 100644 --- a/rust/kcl-lib/tests/pattern_into_union/ast.snap +++ b/rust/kcl-lib/tests/pattern_into_union/ast.snap @@ -628,24 +628,6 @@ description: Result of parsing pattern_into_union.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -664,8 +646,24 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1181,7 +1179,6 @@ description: Result of parsing pattern_into_union.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1200,8 +1197,9 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1293,24 +1291,6 @@ description: Result of parsing pattern_into_union.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1329,8 +1309,24 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1650,7 +1646,6 @@ description: Result of parsing pattern_into_union.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1669,8 +1664,9 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1788,24 +1784,6 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toFillet", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1824,8 +1802,24 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toFillet", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -2088,24 +2082,6 @@ description: Result of parsing pattern_into_union.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2124,8 +2100,24 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -2493,7 +2485,6 @@ description: Result of parsing pattern_into_union.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2512,8 +2503,9 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -2631,24 +2623,6 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "toFillet2", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2667,8 +2641,24 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "toFillet2", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -2920,49 +2910,6 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "end": 0, "expression": { - "arguments": [ - { - "commentStart": 0, - "elements": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "base", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "endTabs", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2981,8 +2928,49 @@ description: Result of parsing pattern_into_union.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "elements": [ + { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "base", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "endTabs", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } }, "start": 0, "type": "ExpressionStatement", diff --git a/rust/kcl-lib/tests/pattern_into_union/ops.snap b/rust/kcl-lib/tests/pattern_into_union/ops.snap index 0ac5cffbd..bca0cf4c6 100644 --- a/rust/kcl-lib/tests/pattern_into_union/ops.snap +++ b/rust/kcl-lib/tests/pattern_into_union/ops.snap @@ -4,19 +4,17 @@ description: Operations executed pattern_into_union.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -51,19 +49,17 @@ description: Operations executed pattern_into_union.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -237,19 +233,17 @@ description: Operations executed pattern_into_union.kcl } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -424,156 +418,154 @@ description: Operations executed pattern_into_union.kcl }, { "isError": true, - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "union", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + } + ] + }, + "sourceRange": [] + } } ] diff --git a/rust/kcl-lib/tests/pattern_linear_in_module/ast.snap b/rust/kcl-lib/tests/pattern_linear_in_module/ast.snap index 22e6a7e6d..de02c7526 100644 --- a/rust/kcl-lib/tests/pattern_linear_in_module/ast.snap +++ b/rust/kcl-lib/tests/pattern_linear_in_module/ast.snap @@ -39,7 +39,6 @@ description: Result of parsing pattern_linear_in_module.kcl "commentStart": 0, "end": 0, "expression": { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -58,8 +57,9 @@ description: Result of parsing pattern_linear_in_module.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, "start": 0, "type": "ExpressionStatement", diff --git a/rust/kcl-lib/tests/pattern_linear_in_module/ops.snap b/rust/kcl-lib/tests/pattern_linear_in_module/ops.snap index ea3463ef1..fdb111e94 100644 --- a/rust/kcl-lib/tests/pattern_linear_in_module/ops.snap +++ b/rust/kcl-lib/tests/pattern_linear_in_module/ops.snap @@ -24,19 +24,17 @@ description: Operations executed pattern_linear_in_module.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/pentagon_fillet_sugar/ast.snap b/rust/kcl-lib/tests/pentagon_fillet_sugar/ast.snap index d929e89a9..50d8cc94c 100644 --- a/rust/kcl-lib/tests/pentagon_fillet_sugar/ast.snap +++ b/rust/kcl-lib/tests/pentagon_fillet_sugar/ast.snap @@ -152,24 +152,6 @@ description: Result of parsing pentagon_fillet_sugar.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -188,8 +170,24 @@ description: Result of parsing pentagon_fillet_sugar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -917,7 +915,6 @@ description: Result of parsing pentagon_fillet_sugar.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -936,8 +933,9 @@ description: Result of parsing pentagon_fillet_sugar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1254,48 +1252,6 @@ description: Result of parsing pentagon_fillet_sugar.kcl "type": "MemberExpression" }, { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "c1", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "arc_tag", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1314,8 +1270,48 @@ description: Result of parsing pentagon_fillet_sugar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "c1", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "arc_tag", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } } ], "end": 0, @@ -1615,48 +1611,6 @@ description: Result of parsing pentagon_fillet_sugar.kcl "type": "MemberExpression" }, { - "arguments": [ - { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "computed": false, - "end": 0, - "object": { - "commentStart": 0, - "end": 0, - "name": "c2", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "tags", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - }, - "property": { - "commentStart": 0, - "end": 0, - "name": "arc_tag", - "start": 0, - "type": "Identifier", - "type": "Identifier" - }, - "start": 0, - "type": "MemberExpression", - "type": "MemberExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1675,8 +1629,48 @@ description: Result of parsing pentagon_fillet_sugar.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "computed": false, + "end": 0, + "object": { + "commentStart": 0, + "end": 0, + "name": "c2", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "tags", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + }, + "property": { + "commentStart": 0, + "end": 0, + "name": "arc_tag", + "start": 0, + "type": "Identifier", + "type": "Identifier" + }, + "start": 0, + "type": "MemberExpression", + "type": "MemberExpression" + } } ], "end": 0, diff --git a/rust/kcl-lib/tests/pentagon_fillet_sugar/ops.snap b/rust/kcl-lib/tests/pentagon_fillet_sugar/ops.snap index 47015bc73..94d4d47e6 100644 --- a/rust/kcl-lib/tests/pentagon_fillet_sugar/ops.snap +++ b/rust/kcl-lib/tests/pentagon_fillet_sugar/ops.snap @@ -4,19 +4,17 @@ description: Operations executed pentagon_fillet_sugar.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/pipe_as_arg/ast.snap b/rust/kcl-lib/tests/pipe_as_arg/ast.snap index 5f979a357..3d29e2530 100644 --- a/rust/kcl-lib/tests/pipe_as_arg/ast.snap +++ b/rust/kcl-lib/tests/pipe_as_arg/ast.snap @@ -269,15 +269,6 @@ description: Result of parsing pipe_as_arg.kcl } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -296,8 +287,15 @@ description: Result of parsing pipe_as_arg.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/pipe_as_arg/ops.snap b/rust/kcl-lib/tests/pipe_as_arg/ops.snap index 20141fb5a..7916c41ac 100644 --- a/rust/kcl-lib/tests/pipe_as_arg/ops.snap +++ b/rust/kcl-lib/tests/pipe_as_arg/ops.snap @@ -71,7 +71,22 @@ description: Operations executed pipe_as_arg.kcl "type": "FunctionCall", "name": "double", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 200.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] diff --git a/rust/kcl-lib/tests/pipe_substitution_inside_function_called_from_pipeline/ast.snap b/rust/kcl-lib/tests/pipe_substitution_inside_function_called_from_pipeline/ast.snap index 95d4a68f6..77624d0b8 100644 --- a/rust/kcl-lib/tests/pipe_substitution_inside_function_called_from_pipeline/ast.snap +++ b/rust/kcl-lib/tests/pipe_substitution_inside_function_called_from_pipeline/ast.snap @@ -92,15 +92,6 @@ description: Result of parsing pipe_substitution_inside_function_called_from_pip "type": "PipeSubstitution" }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -119,8 +110,15 @@ description: Result of parsing pipe_substitution_inside_function_called_from_pip "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/poop_chute/ast.snap b/rust/kcl-lib/tests/poop_chute/ast.snap index 1f256dbad..6267f8722 100644 --- a/rust/kcl-lib/tests/poop_chute/ast.snap +++ b/rust/kcl-lib/tests/poop_chute/ast.snap @@ -350,32 +350,6 @@ description: Result of parsing poop_chute.kcl "init": { "body": [ { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -394,8 +368,32 @@ description: Result of parsing poop_chute.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, { "arguments": [ @@ -773,24 +771,6 @@ description: Result of parsing poop_chute.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -809,8 +789,24 @@ description: Result of parsing poop_chute.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -1235,24 +1231,6 @@ description: Result of parsing poop_chute.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1271,8 +1249,24 @@ description: Result of parsing poop_chute.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -1388,15 +1382,6 @@ description: Result of parsing poop_chute.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1415,8 +1400,15 @@ description: Result of parsing poop_chute.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, @@ -1667,32 +1659,6 @@ description: Result of parsing poop_chute.kcl "init": { "body": [ { - "arguments": [ - { - "argument": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "YZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "commentStart": 0, - "end": 0, - "operator": "-", - "start": 0, - "type": "UnaryExpression", - "type": "UnaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1711,8 +1677,32 @@ description: Result of parsing poop_chute.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "argument": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "YZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "commentStart": 0, + "end": 0, + "operator": "-", + "start": 0, + "type": "UnaryExpression", + "type": "UnaryExpression" + } }, { "arguments": [ @@ -2090,24 +2080,6 @@ description: Result of parsing poop_chute.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2126,8 +2098,24 @@ description: Result of parsing poop_chute.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2552,24 +2540,6 @@ description: Result of parsing poop_chute.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg02", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2588,8 +2558,24 @@ description: Result of parsing poop_chute.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg02", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } } ], @@ -2705,15 +2691,6 @@ description: Result of parsing poop_chute.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2732,8 +2709,15 @@ description: Result of parsing poop_chute.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/poop_chute/ops.snap b/rust/kcl-lib/tests/poop_chute/ops.snap index e85084311..e0e30903e 100644 --- a/rust/kcl-lib/tests/poop_chute/ops.snap +++ b/rust/kcl-lib/tests/poop_chute/ops.snap @@ -4,19 +4,17 @@ description: Operations executed poop_chute.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", @@ -126,19 +124,17 @@ description: Operations executed poop_chute.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/revolve_about_edge/ast.snap b/rust/kcl-lib/tests/revolve_about_edge/ast.snap index c60a1dfb7..74dc167f7 100644 --- a/rust/kcl-lib/tests/revolve_about_edge/ast.snap +++ b/rust/kcl-lib/tests/revolve_about_edge/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing revolve_about_edge.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing revolve_about_edge.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -239,24 +237,6 @@ description: Result of parsing revolve_about_edge.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -275,8 +255,24 @@ description: Result of parsing revolve_about_edge.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/revolve_about_edge/ops.snap b/rust/kcl-lib/tests/revolve_about_edge/ops.snap index 058d04e89..1bba7074b 100644 --- a/rust/kcl-lib/tests/revolve_about_edge/ops.snap +++ b/rust/kcl-lib/tests/revolve_about_edge/ops.snap @@ -4,34 +4,30 @@ description: Operations executed revolve_about_edge.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "KclStdLibCall", diff --git a/rust/kcl-lib/tests/riddle_small/ast.snap b/rust/kcl-lib/tests/riddle_small/ast.snap index 1c953c41b..9686e48c0 100644 --- a/rust/kcl-lib/tests/riddle_small/ast.snap +++ b/rust/kcl-lib/tests/riddle_small/ast.snap @@ -271,24 +271,6 @@ description: Result of parsing riddle_small.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "xs", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -307,8 +289,24 @@ description: Result of parsing riddle_small.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "xs", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "%", "right": { @@ -372,24 +370,6 @@ description: Result of parsing riddle_small.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "ys", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -408,8 +388,24 @@ description: Result of parsing riddle_small.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "ys", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "%", "right": { @@ -456,24 +452,6 @@ description: Result of parsing riddle_small.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -492,8 +470,24 @@ description: Result of parsing riddle_small.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -792,15 +786,6 @@ description: Result of parsing riddle_small.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -819,8 +804,15 @@ description: Result of parsing riddle_small.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/riddle_small/ops.snap b/rust/kcl-lib/tests/riddle_small/ops.snap index 48b624861..11f7a6d12 100644 --- a/rust/kcl-lib/tests/riddle_small/ops.snap +++ b/rust/kcl-lib/tests/riddle_small/ops.snap @@ -9,7 +9,22 @@ description: Operations executed riddle_small.kcl "type": "FunctionCall", "name": "t", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 205804.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] @@ -20,25 +35,38 @@ description: Operations executed riddle_small.kcl "type": "FunctionCall", "name": "t", "functionSourceRange": [], - "unlabeledArg": null, + "unlabeledArg": { + "value": { + "type": "Number", + "value": 71816.0, + "ty": { + "type": "Default", + "len": { + "type": "Mm" + }, + "angle": { + "type": "Degrees" + } + } + }, + "sourceRange": [] + }, "labeledArgs": {} }, "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/rotate_after_fillet/ast.snap b/rust/kcl-lib/tests/rotate_after_fillet/ast.snap index 373f411d0..c005bdb03 100644 --- a/rust/kcl-lib/tests/rotate_after_fillet/ast.snap +++ b/rust/kcl-lib/tests/rotate_after_fillet/ast.snap @@ -248,20 +248,6 @@ description: Result of parsing rotate_after_fillet.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "30deg", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 30.0, - "suffix": "Deg" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -280,8 +266,20 @@ description: Result of parsing rotate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "30deg", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 30.0, + "suffix": "Deg" + } + } }, "start": 0, "type": "BinaryExpression", @@ -365,24 +363,6 @@ description: Result of parsing rotate_after_fillet.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -401,8 +381,24 @@ description: Result of parsing rotate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -648,24 +644,6 @@ description: Result of parsing rotate_after_fillet.kcl "type": "Name" }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "topEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -684,8 +662,24 @@ description: Result of parsing rotate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "topEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1309,7 +1303,6 @@ description: Result of parsing rotate_after_fillet.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1328,8 +1321,9 @@ description: Result of parsing rotate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1719,24 +1713,6 @@ description: Result of parsing rotate_after_fillet.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "filletEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1755,8 +1731,24 @@ description: Result of parsing rotate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "filletEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1970,7 +1962,6 @@ description: Result of parsing rotate_after_fillet.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1989,8 +1980,9 @@ description: Result of parsing rotate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/rotate_after_fillet/ops.snap b/rust/kcl-lib/tests/rotate_after_fillet/ops.snap index a5bcaf921..8494cfe13 100644 --- a/rust/kcl-lib/tests/rotate_after_fillet/ops.snap +++ b/rust/kcl-lib/tests/rotate_after_fillet/ops.snap @@ -4,30 +4,17 @@ description: Operations executed rotate_after_fillet.kcl --- [ { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -275,9 +262,6 @@ description: Operations executed rotate_after_fillet.kcl }, "sourceRange": [] }, - { - "type": "GroupEnd" - }, { "type": "GroupEnd" } diff --git a/rust/kcl-lib/tests/scale_after_fillet/ast.snap b/rust/kcl-lib/tests/scale_after_fillet/ast.snap index 908e7acc5..1cb471007 100644 --- a/rust/kcl-lib/tests/scale_after_fillet/ast.snap +++ b/rust/kcl-lib/tests/scale_after_fillet/ast.snap @@ -248,20 +248,6 @@ description: Result of parsing scale_after_fillet.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "30deg", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 30.0, - "suffix": "Deg" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -280,8 +266,20 @@ description: Result of parsing scale_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "30deg", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 30.0, + "suffix": "Deg" + } + } }, "start": 0, "type": "BinaryExpression", @@ -365,24 +363,6 @@ description: Result of parsing scale_after_fillet.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -401,8 +381,24 @@ description: Result of parsing scale_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -648,24 +644,6 @@ description: Result of parsing scale_after_fillet.kcl "type": "Name" }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "topEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -684,8 +662,24 @@ description: Result of parsing scale_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "topEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1309,7 +1303,6 @@ description: Result of parsing scale_after_fillet.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1328,8 +1321,9 @@ description: Result of parsing scale_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1719,24 +1713,6 @@ description: Result of parsing scale_after_fillet.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "filletEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1755,8 +1731,24 @@ description: Result of parsing scale_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "filletEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1970,7 +1962,6 @@ description: Result of parsing scale_after_fillet.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1989,8 +1980,9 @@ description: Result of parsing scale_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/scale_after_fillet/ops.snap b/rust/kcl-lib/tests/scale_after_fillet/ops.snap index 2d90aaa6d..4737d522e 100644 --- a/rust/kcl-lib/tests/scale_after_fillet/ops.snap +++ b/rust/kcl-lib/tests/scale_after_fillet/ops.snap @@ -4,30 +4,17 @@ description: Operations executed scale_after_fillet.kcl --- [ { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -275,9 +262,6 @@ description: Operations executed scale_after_fillet.kcl }, "sourceRange": [] }, - { - "type": "GroupEnd" - }, { "type": "GroupEnd" } diff --git a/rust/kcl-lib/tests/sketch-on-chamfer-two-times-different-order/ast.snap b/rust/kcl-lib/tests/sketch-on-chamfer-two-times-different-order/ast.snap index a0091696e..18ed7a216 100644 --- a/rust/kcl-lib/tests/sketch-on-chamfer-two-times-different-order/ast.snap +++ b/rust/kcl-lib/tests/sketch-on-chamfer-two-times-different-order/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -229,24 +227,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -265,8 +245,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -361,24 +357,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -397,8 +375,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -412,24 +406,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -448,8 +424,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -497,15 +489,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -524,19 +507,17 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -555,8 +536,15 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -607,7 +595,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -626,8 +613,9 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -858,24 +846,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -894,8 +864,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1319,24 +1305,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1355,8 +1323,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -1451,24 +1435,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1487,8 +1453,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -1502,24 +1484,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1538,8 +1502,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -1605,15 +1585,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1632,19 +1603,17 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1663,8 +1632,15 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1697,7 +1673,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1716,8 +1691,9 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, @@ -1985,24 +1961,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2021,8 +1979,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -2117,24 +2091,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2153,8 +2109,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -2168,24 +2140,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2204,8 +2158,24 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -2271,15 +2241,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2298,19 +2259,17 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2329,8 +2288,15 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -2363,7 +2329,6 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -2382,8 +2347,9 @@ description: Result of parsing sketch-on-chamfer-two-times-different-order.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/sketch-on-chamfer-two-times-different-order/ops.snap b/rust/kcl-lib/tests/sketch-on-chamfer-two-times-different-order/ops.snap index 7985b31ed..c0b9e7b45 100644 --- a/rust/kcl-lib/tests/sketch-on-chamfer-two-times-different-order/ops.snap +++ b/rust/kcl-lib/tests/sketch-on-chamfer-two-times-different-order/ops.snap @@ -4,19 +4,17 @@ description: Operations executed sketch-on-chamfer-two-times-different-order.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/sketch-on-chamfer-two-times/ast.snap b/rust/kcl-lib/tests/sketch-on-chamfer-two-times/ast.snap index 4a035f481..e79b2014b 100644 --- a/rust/kcl-lib/tests/sketch-on-chamfer-two-times/ast.snap +++ b/rust/kcl-lib/tests/sketch-on-chamfer-two-times/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -229,24 +227,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -265,8 +245,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -361,24 +357,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -397,8 +375,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -412,24 +406,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -448,8 +424,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -497,15 +489,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -524,19 +507,17 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -555,8 +536,15 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -607,15 +595,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -634,8 +613,15 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, @@ -966,24 +952,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1002,8 +970,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1327,24 +1311,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1363,8 +1329,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -1459,24 +1441,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1495,8 +1459,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -1510,24 +1490,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA003", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1546,8 +1508,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA003", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -1613,15 +1591,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1640,19 +1609,17 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1671,8 +1638,15 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1705,15 +1679,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1732,8 +1697,15 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, @@ -2001,24 +1973,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "left": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2037,8 +1991,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "operator": "-", "right": { @@ -2133,24 +2103,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2169,8 +2121,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { @@ -2184,24 +2152,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl }, "arg": { "argument": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "rectangleSegmentA002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2220,8 +2170,24 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "rectangleSegmentA002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "commentStart": 0, "end": 0, @@ -2287,15 +2253,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2314,19 +2271,17 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2345,8 +2300,15 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -2379,15 +2341,6 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -2406,8 +2359,15 @@ description: Result of parsing sketch-on-chamfer-two-times.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/sketch-on-chamfer-two-times/ops.snap b/rust/kcl-lib/tests/sketch-on-chamfer-two-times/ops.snap index 9d24963ef..3edceccfc 100644 --- a/rust/kcl-lib/tests/sketch-on-chamfer-two-times/ops.snap +++ b/rust/kcl-lib/tests/sketch-on-chamfer-two-times/ops.snap @@ -4,19 +4,17 @@ description: Operations executed sketch-on-chamfer-two-times.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/sketch_in_object/ast.snap b/rust/kcl-lib/tests/sketch_in_object/ast.snap index db707ccac..015dc50a4 100644 --- a/rust/kcl-lib/tests/sketch_in_object/ast.snap +++ b/rust/kcl-lib/tests/sketch_in_object/ast.snap @@ -24,24 +24,6 @@ description: Result of parsing sketch_in_object.kcl "argument": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -60,8 +42,24 @@ description: Result of parsing sketch_in_object.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -344,15 +342,6 @@ description: Result of parsing sketch_in_object.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -371,8 +360,15 @@ description: Result of parsing sketch_in_object.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, @@ -459,24 +455,6 @@ description: Result of parsing sketch_in_object.kcl "value": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -495,8 +473,24 @@ description: Result of parsing sketch_in_object.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -779,15 +773,6 @@ description: Result of parsing sketch_in_object.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -806,8 +791,15 @@ description: Result of parsing sketch_in_object.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "commentStart": 0, @@ -868,7 +860,6 @@ description: Result of parsing sketch_in_object.kcl "type": "Identifier" }, "init": { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -887,8 +878,9 @@ description: Result of parsing sketch_in_object.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, "start": 0, "type": "VariableDeclarator" @@ -999,7 +991,6 @@ description: Result of parsing sketch_in_object.kcl "type": "Identifier" }, "init": { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1018,8 +1009,9 @@ description: Result of parsing sketch_in_object.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/sketch_in_object/ops.snap b/rust/kcl-lib/tests/sketch_in_object/ops.snap index fb2ae2b3d..d64f23a2e 100644 --- a/rust/kcl-lib/tests/sketch_in_object/ops.snap +++ b/rust/kcl-lib/tests/sketch_in_object/ops.snap @@ -4,34 +4,30 @@ description: Operations executed sketch_in_object.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", diff --git a/rust/kcl-lib/tests/sketch_on_face/ast.snap b/rust/kcl-lib/tests/sketch_on_face/ast.snap index 32ef7c8f3..6093217aa 100644 --- a/rust/kcl-lib/tests/sketch_on_face/ast.snap +++ b/rust/kcl-lib/tests/sketch_on_face/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing sketch_on_face.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing sketch_on_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -382,15 +380,6 @@ description: Result of parsing sketch_on_face.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -409,8 +398,15 @@ description: Result of parsing sketch_on_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ @@ -836,15 +832,6 @@ description: Result of parsing sketch_on_face.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -863,8 +850,15 @@ description: Result of parsing sketch_on_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/sketch_on_face/ops.snap b/rust/kcl-lib/tests/sketch_on_face/ops.snap index 450ac01f6..96f71486c 100644 --- a/rust/kcl-lib/tests/sketch_on_face/ops.snap +++ b/rust/kcl-lib/tests/sketch_on_face/ops.snap @@ -4,19 +4,17 @@ description: Operations executed sketch_on_face.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/sketch_on_face_after_fillets_referencing_face/ast.snap b/rust/kcl-lib/tests/sketch_on_face_after_fillets_referencing_face/ast.snap index 702bf9ca8..0fa410955 100644 --- a/rust/kcl-lib/tests/sketch_on_face_after_fillets_referencing_face/ast.snap +++ b/rust/kcl-lib/tests/sketch_on_face_after_fillets_referencing_face/ast.snap @@ -340,116 +340,6 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "left": { - "commentStart": 0, - "end": 0, - "raw": "6", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 6.0, - "suffix": "None" - } - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "M", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "FOS", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "operator": "/", - "right": { - "commentStart": 0, - "end": 0, - "left": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "width", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "operator": "*", - "right": { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "sigmaAllow", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - }, - "start": 0, - "type": "BinaryExpression", - "type": "BinaryExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -468,8 +358,116 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "left": { + "commentStart": 0, + "end": 0, + "raw": "6", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 6.0, + "suffix": "None" + } + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "M", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "FOS", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "operator": "/", + "right": { + "commentStart": 0, + "end": 0, + "left": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "width", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "operator": "*", + "right": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "sigmaAllow", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + }, + "start": 0, + "type": "BinaryExpression", + "type": "BinaryExpression" + } }, "start": 0, "type": "VariableDeclarator" @@ -536,24 +534,6 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -572,8 +552,24 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -1130,15 +1126,6 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1157,8 +1144,15 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ @@ -1252,24 +1246,6 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "innerEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1288,8 +1264,24 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "innerEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1386,24 +1378,6 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "outerEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1422,8 +1396,24 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "outerEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1875,15 +1865,6 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1902,19 +1883,17 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1933,8 +1912,15 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -1967,15 +1953,6 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1994,8 +1971,15 @@ description: Result of parsing sketch_on_face_after_fillets_referencing_face.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/sketch_on_face_after_fillets_referencing_face/ops.snap b/rust/kcl-lib/tests/sketch_on_face_after_fillets_referencing_face/ops.snap index 75643f5d6..6b659054e 100644 --- a/rust/kcl-lib/tests/sketch_on_face_after_fillets_referencing_face/ops.snap +++ b/rust/kcl-lib/tests/sketch_on_face_after_fillets_referencing_face/ops.snap @@ -4,30 +4,17 @@ description: Operations executed sketch_on_face_after_fillets_referencing_face.k --- [ { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "sqrt", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -204,8 +191,5 @@ description: Operations executed sketch_on_face_after_fillets_referencing_face.k }, "sourceRange": [] } - }, - { - "type": "GroupEnd" } ] diff --git a/rust/kcl-lib/tests/sketch_on_face_circle_tagged/ast.snap b/rust/kcl-lib/tests/sketch_on_face_circle_tagged/ast.snap index aa6d387f5..395748d51 100644 --- a/rust/kcl-lib/tests/sketch_on_face_circle_tagged/ast.snap +++ b/rust/kcl-lib/tests/sketch_on_face_circle_tagged/ast.snap @@ -35,24 +35,6 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -71,8 +53,24 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -551,15 +549,6 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -578,8 +567,15 @@ description: Result of parsing sketch_on_face_circle_tagged.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/sketch_on_face_circle_tagged/ops.snap b/rust/kcl-lib/tests/sketch_on_face_circle_tagged/ops.snap index 66ecbd489..37287b742 100644 --- a/rust/kcl-lib/tests/sketch_on_face_circle_tagged/ops.snap +++ b/rust/kcl-lib/tests/sketch_on_face_circle_tagged/ops.snap @@ -4,19 +4,17 @@ description: Operations executed sketch_on_face_circle_tagged.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", diff --git a/rust/kcl-lib/tests/sketch_on_face_end/ast.snap b/rust/kcl-lib/tests/sketch_on_face_end/ast.snap index 5f3d4b503..f29996a7b 100644 --- a/rust/kcl-lib/tests/sketch_on_face_end/ast.snap +++ b/rust/kcl-lib/tests/sketch_on_face_end/ast.snap @@ -35,24 +35,6 @@ description: Result of parsing sketch_on_face_end.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -71,8 +53,24 @@ description: Result of parsing sketch_on_face_end.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -551,15 +549,6 @@ description: Result of parsing sketch_on_face_end.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -578,8 +567,15 @@ description: Result of parsing sketch_on_face_end.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ @@ -998,15 +994,6 @@ description: Result of parsing sketch_on_face_end.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1025,8 +1012,15 @@ description: Result of parsing sketch_on_face_end.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/sketch_on_face_end/ops.snap b/rust/kcl-lib/tests/sketch_on_face_end/ops.snap index 9a0e63dae..e37bb6ac1 100644 --- a/rust/kcl-lib/tests/sketch_on_face_end/ops.snap +++ b/rust/kcl-lib/tests/sketch_on_face_end/ops.snap @@ -4,19 +4,17 @@ description: Operations executed sketch_on_face_end.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", diff --git a/rust/kcl-lib/tests/sketch_on_face_end_negative_extrude/ast.snap b/rust/kcl-lib/tests/sketch_on_face_end_negative_extrude/ast.snap index 79320517d..9da7d18c4 100644 --- a/rust/kcl-lib/tests/sketch_on_face_end_negative_extrude/ast.snap +++ b/rust/kcl-lib/tests/sketch_on_face_end_negative_extrude/ast.snap @@ -35,24 +35,6 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -71,8 +53,24 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -551,15 +549,6 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -578,8 +567,15 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ @@ -998,15 +994,6 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1025,8 +1012,15 @@ description: Result of parsing sketch_on_face_end_negative_extrude.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/sketch_on_face_end_negative_extrude/ops.snap b/rust/kcl-lib/tests/sketch_on_face_end_negative_extrude/ops.snap index 26238fd94..3eb319948 100644 --- a/rust/kcl-lib/tests/sketch_on_face_end_negative_extrude/ops.snap +++ b/rust/kcl-lib/tests/sketch_on_face_end_negative_extrude/ops.snap @@ -4,19 +4,17 @@ description: Operations executed sketch_on_face_end_negative_extrude.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", diff --git a/rust/kcl-lib/tests/sketch_on_face_start/ast.snap b/rust/kcl-lib/tests/sketch_on_face_start/ast.snap index e01341546..d331e3995 100644 --- a/rust/kcl-lib/tests/sketch_on_face_start/ast.snap +++ b/rust/kcl-lib/tests/sketch_on_face_start/ast.snap @@ -35,24 +35,6 @@ description: Result of parsing sketch_on_face_start.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -71,8 +53,24 @@ description: Result of parsing sketch_on_face_start.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -551,15 +549,6 @@ description: Result of parsing sketch_on_face_start.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -578,8 +567,15 @@ description: Result of parsing sketch_on_face_start.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "commentStart": 0, @@ -1012,15 +1008,6 @@ description: Result of parsing sketch_on_face_start.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1039,8 +1026,15 @@ description: Result of parsing sketch_on_face_start.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/sketch_on_face_start/ops.snap b/rust/kcl-lib/tests/sketch_on_face_start/ops.snap index 714253506..04f8873a8 100644 --- a/rust/kcl-lib/tests/sketch_on_face_start/ops.snap +++ b/rust/kcl-lib/tests/sketch_on_face_start/ops.snap @@ -4,19 +4,17 @@ description: Operations executed sketch_on_face_start.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "type": "GroupBegin", diff --git a/rust/kcl-lib/tests/ssi_pattern/ast.snap b/rust/kcl-lib/tests/ssi_pattern/ast.snap index 20da18a99..71d0d0c2c 100644 --- a/rust/kcl-lib/tests/ssi_pattern/ast.snap +++ b/rust/kcl-lib/tests/ssi_pattern/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing ssi_pattern.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing ssi_pattern.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -404,15 +402,6 @@ description: Result of parsing ssi_pattern.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -431,19 +420,17 @@ description: Result of parsing ssi_pattern.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -462,8 +449,15 @@ description: Result of parsing ssi_pattern.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } } ], "end": 0, @@ -514,7 +508,6 @@ description: Result of parsing ssi_pattern.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -533,8 +526,9 @@ description: Result of parsing ssi_pattern.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null } ], "commentStart": 0, diff --git a/rust/kcl-lib/tests/ssi_pattern/ops.snap b/rust/kcl-lib/tests/ssi_pattern/ops.snap index 940ac845b..1ba0aafee 100644 --- a/rust/kcl-lib/tests/ssi_pattern/ops.snap +++ b/rust/kcl-lib/tests/ssi_pattern/ops.snap @@ -4,19 +4,17 @@ description: Operations executed ssi_pattern.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/subtract_cylinder_from_cube/ast.snap b/rust/kcl-lib/tests/subtract_cylinder_from_cube/ast.snap index 0503fffa8..9b04baf3b 100644 --- a/rust/kcl-lib/tests/subtract_cylinder_from_cube/ast.snap +++ b/rust/kcl-lib/tests/subtract_cylinder_from_cube/ast.snap @@ -24,24 +24,6 @@ description: Result of parsing subtract_cylinder_from_cube.kcl "argument": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -60,8 +42,24 @@ description: Result of parsing subtract_cylinder_from_cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -624,7 +622,6 @@ description: Result of parsing subtract_cylinder_from_cube.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -643,8 +640,9 @@ description: Result of parsing subtract_cylinder_from_cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -842,24 +840,6 @@ description: Result of parsing subtract_cylinder_from_cube.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -878,8 +858,24 @@ description: Result of parsing subtract_cylinder_from_cube.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/subtract_cylinder_from_cube/ops.snap b/rust/kcl-lib/tests/subtract_cylinder_from_cube/ops.snap index 0c5f00166..634239a17 100644 --- a/rust/kcl-lib/tests/subtract_cylinder_from_cube/ops.snap +++ b/rust/kcl-lib/tests/subtract_cylinder_from_cube/ops.snap @@ -4,19 +4,17 @@ description: Operations executed subtract_cylinder_from_cube.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -97,19 +95,17 @@ description: Operations executed subtract_cylinder_from_cube.kcl "sourceRange": [] }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/subtract_doesnt_need_brackets/ast.snap b/rust/kcl-lib/tests/subtract_doesnt_need_brackets/ast.snap index 7c64169f4..8e596d6ad 100644 --- a/rust/kcl-lib/tests/subtract_doesnt_need_brackets/ast.snap +++ b/rust/kcl-lib/tests/subtract_doesnt_need_brackets/ast.snap @@ -24,24 +24,6 @@ description: Result of parsing subtract_doesnt_need_brackets.kcl "argument": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -60,8 +42,24 @@ description: Result of parsing subtract_doesnt_need_brackets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -656,7 +654,6 @@ description: Result of parsing subtract_doesnt_need_brackets.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -675,8 +672,9 @@ description: Result of parsing subtract_doesnt_need_brackets.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/subtract_doesnt_need_brackets/ops.snap b/rust/kcl-lib/tests/subtract_doesnt_need_brackets/ops.snap index fc28c1834..7214fdd0d 100644 --- a/rust/kcl-lib/tests/subtract_doesnt_need_brackets/ops.snap +++ b/rust/kcl-lib/tests/subtract_doesnt_need_brackets/ops.snap @@ -4,34 +4,30 @@ description: Operations executed subtract_doesnt_need_brackets.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/tan_arc_x_line/ast.snap b/rust/kcl-lib/tests/tan_arc_x_line/ast.snap index c9544fa90..0d70f4d60 100644 --- a/rust/kcl-lib/tests/tan_arc_x_line/ast.snap +++ b/rust/kcl-lib/tests/tan_arc_x_line/ast.snap @@ -176,24 +176,6 @@ description: Result of parsing tan_arc_x_line.kcl "expression": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -212,8 +194,24 @@ description: Result of parsing tan_arc_x_line.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/tan_arc_x_line/ops.snap b/rust/kcl-lib/tests/tan_arc_x_line/ops.snap index 2305f01b3..dfe076c5d 100644 --- a/rust/kcl-lib/tests/tan_arc_x_line/ops.snap +++ b/rust/kcl-lib/tests/tan_arc_x_line/ops.snap @@ -4,18 +4,16 @@ description: Operations executed tan_arc_x_line.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } } ] diff --git a/rust/kcl-lib/tests/tangent_to_3_point_arc/ast.snap b/rust/kcl-lib/tests/tangent_to_3_point_arc/ast.snap index 7c16fa7c6..3ab4a991f 100644 --- a/rust/kcl-lib/tests/tangent_to_3_point_arc/ast.snap +++ b/rust/kcl-lib/tests/tangent_to_3_point_arc/ast.snap @@ -18,24 +18,6 @@ description: Result of parsing tangent_to_3_point_arc.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -54,8 +36,24 @@ description: Result of parsing tangent_to_3_point_arc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, "start": 0, "type": "VariableDeclarator" @@ -380,24 +378,6 @@ description: Result of parsing tangent_to_3_point_arc.kcl "type": "Identifier" }, "arg": { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "seg01", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -416,8 +396,24 @@ description: Result of parsing tangent_to_3_point_arc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "seg01", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } }, { diff --git a/rust/kcl-lib/tests/tangent_to_3_point_arc/ops.snap b/rust/kcl-lib/tests/tangent_to_3_point_arc/ops.snap index 9690a4150..16055d248 100644 --- a/rust/kcl-lib/tests/tangent_to_3_point_arc/ops.snap +++ b/rust/kcl-lib/tests/tangent_to_3_point_arc/ops.snap @@ -4,18 +4,16 @@ description: Operations executed tangent_to_3_point_arc.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } } ] diff --git a/rust/kcl-lib/tests/tangential_arc/ast.snap b/rust/kcl-lib/tests/tangential_arc/ast.snap index 01bbf6561..e61d00ea4 100644 --- a/rust/kcl-lib/tests/tangential_arc/ast.snap +++ b/rust/kcl-lib/tests/tangential_arc/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing tangential_arc.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing tangential_arc.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/tangential_arc/ops.snap b/rust/kcl-lib/tests/tangential_arc/ops.snap index 6957fafac..56effacc5 100644 --- a/rust/kcl-lib/tests/tangential_arc/ops.snap +++ b/rust/kcl-lib/tests/tangential_arc/ops.snap @@ -4,19 +4,17 @@ description: Operations executed tangential_arc.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-lib/tests/translate_after_fillet/ast.snap b/rust/kcl-lib/tests/translate_after_fillet/ast.snap index e6c5304cb..e98d81045 100644 --- a/rust/kcl-lib/tests/translate_after_fillet/ast.snap +++ b/rust/kcl-lib/tests/translate_after_fillet/ast.snap @@ -248,20 +248,6 @@ description: Result of parsing translate_after_fillet.kcl }, "operator": "*", "right": { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "raw": "30deg", - "start": 0, - "type": "Literal", - "type": "Literal", - "value": { - "value": 30.0, - "suffix": "Deg" - } - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -280,8 +266,20 @@ description: Result of parsing translate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "raw": "30deg", + "start": 0, + "type": "Literal", + "type": "Literal", + "value": { + "value": 30.0, + "suffix": "Deg" + } + } }, "start": 0, "type": "BinaryExpression", @@ -365,24 +363,6 @@ description: Result of parsing translate_after_fillet.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -401,8 +381,24 @@ description: Result of parsing translate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -648,24 +644,6 @@ description: Result of parsing translate_after_fillet.kcl "type": "Name" }, { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "topEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -684,8 +662,24 @@ description: Result of parsing translate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "topEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1309,7 +1303,6 @@ description: Result of parsing translate_after_fillet.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1328,8 +1321,9 @@ description: Result of parsing translate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1719,24 +1713,6 @@ description: Result of parsing translate_after_fillet.kcl "commentStart": 0, "elements": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "filletEdge", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1755,8 +1731,24 @@ description: Result of parsing translate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "filletEdge", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } } ], "end": 0, @@ -1970,7 +1962,6 @@ description: Result of parsing translate_after_fillet.kcl "expression": { "body": [ { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -1989,8 +1980,9 @@ description: Result of parsing translate_after_fillet.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ diff --git a/rust/kcl-lib/tests/translate_after_fillet/ops.snap b/rust/kcl-lib/tests/translate_after_fillet/ops.snap index d738eb9d4..3532872e6 100644 --- a/rust/kcl-lib/tests/translate_after_fillet/ops.snap +++ b/rust/kcl-lib/tests/translate_after_fillet/ops.snap @@ -4,30 +4,17 @@ description: Operations executed translate_after_fillet.kcl --- [ { - "type": "GroupBegin", - "group": { - "type": "FunctionCall", - "name": "cos", - "functionSourceRange": [], - "unlabeledArg": null, - "labeledArgs": {} - }, - "sourceRange": [] - }, - { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -275,9 +262,6 @@ description: Operations executed translate_after_fillet.kcl }, "sourceRange": [] }, - { - "type": "GroupEnd" - }, { "type": "GroupEnd" } diff --git a/rust/kcl-lib/tests/union_cubes/ast.snap b/rust/kcl-lib/tests/union_cubes/ast.snap index 72433b6c6..93ab40e74 100644 --- a/rust/kcl-lib/tests/union_cubes/ast.snap +++ b/rust/kcl-lib/tests/union_cubes/ast.snap @@ -24,24 +24,6 @@ description: Result of parsing union_cubes.kcl "argument": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XY", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -60,8 +42,24 @@ description: Result of parsing union_cubes.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XY", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -656,7 +654,6 @@ description: Result of parsing union_cubes.kcl "unlabeled": null }, { - "arguments": [], "callee": { "abs_path": false, "commentStart": 0, @@ -675,8 +672,9 @@ description: Result of parsing union_cubes.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": null }, { "arguments": [ @@ -1095,49 +1093,6 @@ description: Result of parsing union_cubes.kcl "type": "Identifier" }, "init": { - "arguments": [ - { - "commentStart": 0, - "elements": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "part001", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - }, - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "part002", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], - "end": 0, - "start": 0, - "type": "ArrayExpression", - "type": "ArrayExpression" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -1156,8 +1111,49 @@ description: Result of parsing union_cubes.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "elements": [ + { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "part001", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + }, + { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "part002", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } + ], + "end": 0, + "start": 0, + "type": "ArrayExpression", + "type": "ArrayExpression" + } }, "start": 0, "type": "VariableDeclarator" diff --git a/rust/kcl-lib/tests/union_cubes/ops.snap b/rust/kcl-lib/tests/union_cubes/ops.snap index f7691e42e..f9cbae8f5 100644 --- a/rust/kcl-lib/tests/union_cubes/ops.snap +++ b/rust/kcl-lib/tests/union_cubes/ops.snap @@ -4,34 +4,30 @@ description: Operations executed union_cubes.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { @@ -222,32 +218,30 @@ description: Operations executed union_cubes.kcl "sourceRange": [] }, { - "labeledArgs": { - "solids": { - "value": { - "type": "Array", - "value": [ - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - }, - { - "type": "Solid", - "value": { - "artifactId": "[uuid]" - } - } - ] - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "union", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Array", + "value": [ + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + }, + { + "type": "Solid", + "value": { + "artifactId": "[uuid]" + } + } + ] + }, + "sourceRange": [] + } }, { "type": "GroupEnd" diff --git a/rust/kcl-lib/tests/xz_plane/ast.snap b/rust/kcl-lib/tests/xz_plane/ast.snap index 9e061192a..dae6d6370 100644 --- a/rust/kcl-lib/tests/xz_plane/ast.snap +++ b/rust/kcl-lib/tests/xz_plane/ast.snap @@ -20,24 +20,6 @@ description: Result of parsing xz_plane.kcl "init": { "body": [ { - "arguments": [ - { - "abs_path": false, - "commentStart": 0, - "end": 0, - "name": { - "commentStart": 0, - "end": 0, - "name": "XZ", - "start": 0, - "type": "Identifier" - }, - "path": [], - "start": 0, - "type": "Name", - "type": "Name" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -56,8 +38,24 @@ description: Result of parsing xz_plane.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "abs_path": false, + "commentStart": 0, + "end": 0, + "name": { + "commentStart": 0, + "end": 0, + "name": "XZ", + "start": 0, + "type": "Identifier" + }, + "path": [], + "start": 0, + "type": "Name", + "type": "Name" + } }, { "arguments": [ @@ -264,15 +262,6 @@ description: Result of parsing xz_plane.kcl "unlabeled": null }, { - "arguments": [ - { - "commentStart": 0, - "end": 0, - "start": 0, - "type": "PipeSubstitution", - "type": "PipeSubstitution" - } - ], "callee": { "abs_path": false, "commentStart": 0, @@ -291,8 +280,15 @@ description: Result of parsing xz_plane.kcl "commentStart": 0, "end": 0, "start": 0, - "type": "CallExpression", - "type": "CallExpression" + "type": "CallExpressionKw", + "type": "CallExpressionKw", + "unlabeled": { + "commentStart": 0, + "end": 0, + "start": 0, + "type": "PipeSubstitution", + "type": "PipeSubstitution" + } }, { "arguments": [ diff --git a/rust/kcl-lib/tests/xz_plane/ops.snap b/rust/kcl-lib/tests/xz_plane/ops.snap index 330fe1f81..41cebe564 100644 --- a/rust/kcl-lib/tests/xz_plane/ops.snap +++ b/rust/kcl-lib/tests/xz_plane/ops.snap @@ -4,19 +4,17 @@ description: Operations executed xz_plane.kcl --- [ { - "labeledArgs": { - "planeOrSolid": { - "value": { - "type": "Plane", - "artifact_id": "[uuid]" - }, - "sourceRange": [] - } - }, + "labeledArgs": {}, "name": "startSketchOn", "sourceRange": [], "type": "StdLibCall", - "unlabeledArg": null + "unlabeledArg": { + "value": { + "type": "Plane", + "artifact_id": "[uuid]" + }, + "sourceRange": [] + } }, { "labeledArgs": { diff --git a/rust/kcl-python-bindings/files/box_with_linter_errors.kcl b/rust/kcl-python-bindings/files/box_with_linter_errors.kcl index df7539bda..5d9146829 100644 --- a/rust/kcl-python-bindings/files/box_with_linter_errors.kcl +++ b/rust/kcl-python-bindings/files/box_with_linter_errors.kcl @@ -9,6 +9,6 @@ box_sketch = startSketchOn(XY) |> xLine(length = box_width, tag = $line1) |> yLine(length = box_depth, tag = $line2) |> xLine(endAbsolute = profileStartX(%), tag = $line3) - |> close(%, $line4) + |> close(tag = $line4) -box3D = extrude(box_sketch, length = box_height) \ No newline at end of file +box3D = extrude(box_sketch, length = box_height) diff --git a/src/clientSideScene/ClientSideSceneComp.tsx b/src/clientSideScene/ClientSideSceneComp.tsx index a5079a672..524d72d7f 100644 --- a/src/clientSideScene/ClientSideSceneComp.tsx +++ b/src/clientSideScene/ClientSideSceneComp.tsx @@ -26,12 +26,7 @@ import { findUsesOfTagInPipe, getNodeFromPath } from '@src/lang/queryAst' import { getConstraintInfoKw } from '@src/lang/std/sketch' import type { ConstrainInfo } from '@src/lang/std/stdTypes' import { topLevelRange } from '@src/lang/util' -import type { - CallExpression, - CallExpressionKw, - Expr, - PathToNode, -} from '@src/lang/wasm' +import type { CallExpressionKw, Expr, PathToNode } from '@src/lang/wasm' import { defaultSourceRange, parse, recast, resultIsOk } from '@src/lang/wasm' import { cameraMouseDragGuards } from '@src/lib/cameraControls' import { @@ -548,10 +543,10 @@ const ConstraintSymbol = ({ if (trap(pResult) || !resultIsOk(pResult)) return Promise.reject(pResult) - const _node1 = getNodeFromPath( + const _node1 = getNodeFromPath( pResult.program, pathToNode, - ['CallExpression', 'CallExpressionKw'], + ['CallExpressionKw'], true ) if (trap(_node1)) return Promise.reject(_node1) @@ -573,7 +568,7 @@ const ConstraintSymbol = ({ // Code editor will be updated in the modelingMachine. const newCode = recast(modifiedAst) if (err(newCode)) return - await codeManager.updateCodeEditor(newCode) + codeManager.updateCodeEditor(newCode) } catch (e) { console.log('error', e) } diff --git a/src/clientSideScene/sceneEntities.ts b/src/clientSideScene/sceneEntities.ts index e99d1b61a..000ef7e9d 100644 --- a/src/clientSideScene/sceneEntities.ts +++ b/src/clientSideScene/sceneEntities.ts @@ -26,7 +26,6 @@ import { CSS2DObject } from 'three/examples/jsm/renderers/CSS2DRenderer' import { radToDeg } from 'three/src/math/MathUtils' import type { Models } from '@kittycad/lib/dist/types/src' -import type { CallExpression } from '@rust/kcl-lib/bindings/CallExpression' import type { CallExpressionKw } from '@rust/kcl-lib/bindings/CallExpressionKw' import type { Node } from '@rust/kcl-lib/bindings/Node' import type { Path } from '@rust/kcl-lib/bindings/Path' @@ -119,6 +118,7 @@ import { createNodeFromExprSnippet, getInsertIndex, insertNewStartProfileAt, + mutateKwArgOnly, updateSketchNodePathsWithInsertIndex, } from '@src/lang/modifyAst' import { mutateAstWithTagForSketchSegment } from '@src/lang/modifyAst/addEdgeTreatment' @@ -764,10 +764,10 @@ export class SceneEntities { ) let seg: Group - const _node1 = getNodeFromPath>( + const _node1 = getNodeFromPath>( maybeModdedAst, segPathToNode, - ['CallExpression', 'CallExpressionKw'] + ['CallExpressionKw'] ) if (err(_node1)) { this.tearDownSketch({ removeAxis: false }) @@ -2241,19 +2241,13 @@ export class SceneEntities { ), ]) - const arcToCallExp = getNodeFromPath( + const arcToCallExp = getNodeFromPath( modded, mod.pathToNode, - 'CallExpression' + 'CallExpressionKw' ) if (err(arcToCallExp)) return - const firstArg = arcToCallExp.node.arguments[0] - if (firstArg.type !== 'ObjectExpression') return - for (const prop of firstArg.properties) { - if (prop.key.type === 'Identifier' && prop.key.name === 'end') { - prop.value = originCoords - } - } + mutateKwArgOnly(ARG_END_ABSOLUTE, arcToCallExp.node, originCoords) const moddedResult = addCloseToPipe({ node: modded, @@ -2903,16 +2897,15 @@ export class SceneEntities { Number(nodePathWithCorrectedIndexForTruncatedAst[1][0]) - Number(sketchNodePaths[0][1][0]) - const _node = getNodeFromPath>( + const _node = getNodeFromPath>( modifiedAst, draftInfo ? nodePathWithCorrectedIndexForTruncatedAst : pathToNode, - ['CallExpression', 'CallExpressionKw'] + ['CallExpressionKw'] ) if (trap(_node)) return const node = _node.node - if (node.type !== 'CallExpression' && node.type !== 'CallExpressionKw') - return + if (node.type !== 'CallExpressionKw') return let modded: | { @@ -3335,12 +3328,11 @@ export class SceneEntities { if (trap(pResult) || !resultIsOk(pResult)) return Promise.reject(pResult) const updatedAst = pResult.program - const _node = getNodeFromPath< - Node - >(updatedAst, parent.userData.pathToNode, [ - 'CallExpressionKw', - 'CallExpression', - ]) + const _node = getNodeFromPath>( + updatedAst, + parent.userData.pathToNode, + ['CallExpressionKw'] + ) if (trap(_node, { suppress: true })) return const node = _node.node this.editorManager.setHighlightRange([ diff --git a/src/components/ModelingMachineProvider.tsx b/src/components/ModelingMachineProvider.tsx index cda06532b..1aaecde52 100644 --- a/src/components/ModelingMachineProvider.tsx +++ b/src/components/ModelingMachineProvider.tsx @@ -1682,7 +1682,7 @@ export const ModelingMachineProvider = ({ if ( lastInPipe && Number(pathToProfile[1][0]) === indexToDelete && - lastInPipe.type === 'CallExpression' && + lastInPipe.type === 'CallExpressionKw' && lastInPipe.callee.type === 'Name' && lastInPipe.callee.name.name === 'arcTo' ) { diff --git a/src/components/ModelingSidebar/ModelingPanes/MemoryPane.test.tsx b/src/components/ModelingSidebar/ModelingPanes/MemoryPane.test.tsx index 5ff1ff933..d3fbe1fb3 100644 --- a/src/components/ModelingSidebar/ModelingPanes/MemoryPane.test.tsx +++ b/src/components/ModelingSidebar/ModelingPanes/MemoryPane.test.tsx @@ -12,7 +12,7 @@ describe('processMemory', () => { // Enable rotations #152 const code = ` myVar = 5 - fn myFn(a) { + fn myFn(@a) { return a - 2 } otherVar = myFn(5) diff --git a/src/components/Toolbar/EqualAngle.tsx b/src/components/Toolbar/EqualAngle.tsx index 190042688..f75df244c 100644 --- a/src/components/Toolbar/EqualAngle.tsx +++ b/src/components/Toolbar/EqualAngle.tsx @@ -55,7 +55,7 @@ export function equalAngleInfo({ ) const isAllTooltips = nodes.every( (node) => - (node?.type === 'CallExpression' || node?.type === 'CallExpressionKw') && + node?.type === 'CallExpressionKw' && toolTips.includes(node.callee.name.name as any) ) diff --git a/src/components/Toolbar/EqualLength.tsx b/src/components/Toolbar/EqualLength.tsx index 0460f7b16..422ec9af0 100644 --- a/src/components/Toolbar/EqualLength.tsx +++ b/src/components/Toolbar/EqualLength.tsx @@ -53,7 +53,7 @@ export function setEqualLengthInfo({ ) const isAllTooltips = nodes.every( (node) => - (node?.type === 'CallExpression' || node?.type === 'CallExpressionKw') && + node?.type === 'CallExpressionKw' && toolTips.includes(node.callee.name.name as any) ) diff --git a/src/components/Toolbar/HorzVert.tsx b/src/components/Toolbar/HorzVert.tsx index 8c744a7b9..970304d1c 100644 --- a/src/components/Toolbar/HorzVert.tsx +++ b/src/components/Toolbar/HorzVert.tsx @@ -33,7 +33,7 @@ export function horzVertInfo( const isAllTooltips = nodes.every( (node) => - (node?.type === 'CallExpression' || node?.type === 'CallExpressionKw') && + node?.type === 'CallExpressionKw' && toolTips.includes(node.callee.name.name as any) ) diff --git a/src/components/Toolbar/Intersect.tsx b/src/components/Toolbar/Intersect.tsx index de0b6f764..a1c50f45e 100644 --- a/src/components/Toolbar/Intersect.tsx +++ b/src/components/Toolbar/Intersect.tsx @@ -102,7 +102,7 @@ export function intersectInfo({ ) const isAllTooltips = nodes.every( (node) => - (node?.type === 'CallExpression' || node?.type === 'CallExpressionKw') && + node?.type === 'CallExpressionKw' && [...toolTips].includes(node.callee.name.name as any) ) diff --git a/src/components/Toolbar/RemoveConstrainingValues.tsx b/src/components/Toolbar/RemoveConstrainingValues.tsx index b2d99f004..ddcc20633 100644 --- a/src/components/Toolbar/RemoveConstrainingValues.tsx +++ b/src/components/Toolbar/RemoveConstrainingValues.tsx @@ -52,7 +52,7 @@ export function removeConstrainingValuesInfo({ : selectionRanges const isAllTooltips = nodes.every( (node) => - (node?.type === 'CallExpression' || node?.type === 'CallExpressionKw') && + node?.type === 'CallExpressionKw' && toolTips.includes(node.callee.name.name as any) ) diff --git a/src/components/Toolbar/SetAbsDistance.tsx b/src/components/Toolbar/SetAbsDistance.tsx index 3aa97dbb3..9beac96f9 100644 --- a/src/components/Toolbar/SetAbsDistance.tsx +++ b/src/components/Toolbar/SetAbsDistance.tsx @@ -44,7 +44,6 @@ export function absDistanceInfo({ : 'yAbs' const _nodes = selectionRanges.graphSelections.map(({ codeRef }) => { const tmp = getNodeFromPath(kclManager.ast, codeRef.pathToNode, [ - 'CallExpression', 'CallExpressionKw', ]) if (err(tmp)) return tmp @@ -56,7 +55,7 @@ export function absDistanceInfo({ const isAllTooltips = nodes.every( (node) => - (node?.type === 'CallExpression' || node?.type === 'CallExpressionKw') && + node?.type === 'CallExpressionKw' && toolTips.includes(node.callee.name.name as any) ) diff --git a/src/components/Toolbar/SetAngleBetween.tsx b/src/components/Toolbar/SetAngleBetween.tsx index 1046cc1ba..7bef34e6b 100644 --- a/src/components/Toolbar/SetAngleBetween.tsx +++ b/src/components/Toolbar/SetAngleBetween.tsx @@ -60,7 +60,7 @@ export function angleBetweenInfo({ ) const isAllTooltips = nodes.every( (node) => - (node?.type === 'CallExpression' || node?.type === 'CallExpressionKw') && + node?.type === 'CallExpressionKw' && toolTips.includes(node.callee.name.name as any) ) diff --git a/src/components/Toolbar/SetHorzVertDistance.tsx b/src/components/Toolbar/SetHorzVertDistance.tsx index d18e023ee..d279064ef 100644 --- a/src/components/Toolbar/SetHorzVertDistance.tsx +++ b/src/components/Toolbar/SetHorzVertDistance.tsx @@ -65,7 +65,7 @@ export function horzVertDistanceInfo({ ) const isAllTooltips = nodes.every( (node) => - (node?.type === 'CallExpression' || node?.type === 'CallExpressionKw') && + node?.type === 'CallExpressionKw' && [...toolTips].includes(node.callee.name.name as any) ) diff --git a/src/components/Toolbar/angleLengthInfo.ts b/src/components/Toolbar/angleLengthInfo.ts index 9b19241c3..e822a4c81 100644 --- a/src/components/Toolbar/angleLengthInfo.ts +++ b/src/components/Toolbar/angleLengthInfo.ts @@ -21,7 +21,6 @@ export function angleLengthInfo({ | Error { const nodes = selectionRanges.graphSelections.map(({ codeRef }) => getNodeFromPath(kclManager.ast, codeRef.pathToNode, [ - 'CallExpression', 'CallExpressionKw', ]) ) @@ -31,8 +30,7 @@ export function angleLengthInfo({ const isAllTooltips = nodes.every((meta) => { if (err(meta)) return false return ( - (meta.node?.type === 'CallExpressionKw' || - meta.node?.type === 'CallExpression') && + meta.node?.type === 'CallExpressionKw' && toolTips.includes(meta.node.callee.name.name as any) ) }) diff --git a/src/editor/plugins/lsp/kcl/colors.ts b/src/editor/plugins/lsp/kcl/colors.ts index 4587505db..374860b2c 100644 --- a/src/editor/plugins/lsp/kcl/colors.ts +++ b/src/editor/plugins/lsp/kcl/colors.ts @@ -43,7 +43,7 @@ function discoverColorsInKCL( switch (typeName) { case 'Program': case 'VariableDeclaration': - case 'CallExpression': + case 'CallExpressionKw': case 'ObjectExpression': case 'ObjectProperty': case 'ArgumentList': diff --git a/src/hooks/useEngineConnectionSubscriptions.ts b/src/hooks/useEngineConnectionSubscriptions.ts index 860e5047e..ef5cb3459 100644 --- a/src/hooks/useEngineConnectionSubscriptions.ts +++ b/src/hooks/useEngineConnectionSubscriptions.ts @@ -13,7 +13,7 @@ import { getWallCodeRef, } from '@src/lang/std/artifactGraph' import { isTopLevelModule } from '@src/lang/util' -import type { CallExpression, CallExpressionKw } from '@src/lang/wasm' +import type { CallExpressionKw } from '@src/lang/wasm' import { defaultSourceRange } from '@src/lang/wasm' import type { DefaultPlaneStr } from '@src/lib/planes' import { getEventForSelectWithPoint } from '@src/lib/selections' @@ -282,23 +282,17 @@ export function useEngineConnectionSubscriptions() { } } if (!chamferInfo) return null - const segmentCallExpr = getNodeFromPath< - CallExpression | CallExpressionKw - >( + const segmentCallExpr = getNodeFromPath( kclManager.ast, chamferInfo?.segment.codeRef.pathToNode || [], - ['CallExpression', 'CallExpressionKw'] + ['CallExpressionKw'] ) if (err(segmentCallExpr)) return null - if ( - segmentCallExpr.node.type !== 'CallExpression' && - segmentCallExpr.node.type !== 'CallExpressionKw' - ) + if (segmentCallExpr.node.type !== 'CallExpressionKw') return null - const sketchNodeArgs = - segmentCallExpr.node.type == 'CallExpression' - ? segmentCallExpr.node.arguments - : segmentCallExpr.node.arguments.map((la) => la.arg) + const sketchNodeArgs = segmentCallExpr.node.arguments.map( + (la) => la.arg + ) const tagDeclarator = sketchNodeArgs.find( ({ type }) => type === 'TagDeclarator' ) diff --git a/src/lang/create.ts b/src/lang/create.ts index 389e440e5..a1a2b6df9 100644 --- a/src/lang/create.ts +++ b/src/lang/create.ts @@ -14,7 +14,6 @@ import { findKwArg } from '@src/lang/util' import type { ArrayExpression, BinaryExpression, - CallExpression, CallExpressionKw, Expr, ExpressionStatement, @@ -165,23 +164,6 @@ export function createCallExpressionStdLibKw( } } -export function createCallExpression( - name: string, - args: CallExpression['arguments'] -): Node { - return { - type: 'CallExpression', - start: 0, - end: 0, - moduleId: 0, - outerAttrs: [], - preComments: [], - commentStart: 0, - callee: createLocalName(name), - arguments: args, - } -} - export function createArrayExpression( elements: ArrayExpression['elements'] ): Node { @@ -410,39 +392,19 @@ export function giveSketchFnCallTag( | Error { const path = getNodePathFromSourceRange(ast, range) const maybeTag = (() => { - const callNode = getNodeFromPath( - ast, - path, - ['CallExpression', 'CallExpressionKw'] - ) - if (!err(callNode) && callNode.node.type === 'CallExpressionKw') { - const { node: primaryCallExp } = callNode - const existingTag = findKwArg(ARG_TAG, primaryCallExp) - const tagDeclarator = - existingTag || createTagDeclarator(tag || findUniqueName(ast, 'seg', 2)) - const isTagExisting = !!existingTag - if (!isTagExisting) { - callNode.node.arguments.push(createLabeledArg(ARG_TAG, tagDeclarator)) - } - return { tagDeclarator, isTagExisting } + const callNode = getNodeFromPath(ast, path, [ + 'CallExpressionKw', + ]) + if (err(callNode)) { + return callNode } - - // We've handled CallExpressionKw above, so this has to be positional. - const _node1 = getNodeFromPath(ast, path, 'CallExpression') - if (err(_node1)) return _node1 - const { node: primaryCallExp } = _node1 - - // Tag is always 3rd expression now, using arg index feels brittle - // but we can come up with a better way to identify tag later. - const thirdArg = primaryCallExp.arguments?.[2] + const { node: primaryCallExp } = callNode + const existingTag = findKwArg(ARG_TAG, primaryCallExp) const tagDeclarator = - thirdArg || - (createTagDeclarator( - tag || findUniqueName(ast, 'seg', 2) - ) as TagDeclarator) - const isTagExisting = !!thirdArg + existingTag || createTagDeclarator(tag || findUniqueName(ast, 'seg', 2)) + const isTagExisting = !!existingTag if (!isTagExisting) { - primaryCallExp.arguments[2] = tagDeclarator + callNode.node.arguments.push(createLabeledArg(ARG_TAG, tagDeclarator)) } return { tagDeclarator, isTagExisting } })() diff --git a/src/lang/executor.test.ts b/src/lang/executor.test.ts index 5a28a362f..04f495f80 100644 --- a/src/lang/executor.test.ts +++ b/src/lang/executor.test.ts @@ -39,7 +39,7 @@ newVar = myVar + 1` ' return a + b', '}', 'theVar = 60', - 'magicNum = funcN(9, theVar)', + 'magicNum = funcN(a = 9, b = theVar)', ].join('\n') ) expect(mem['theVar']?.value).toBe(60) @@ -113,7 +113,7 @@ newVar = myVar + 1` it('pipe binary expression into call expression', async () => { const code = [ - 'fn myFn(a) { return a + 1 }', + 'fn myFn(@a) { return a + 1 }', 'myVar = 5 + 1 |> myFn(%)', ].join('\n') const mem = await exe(code) diff --git a/src/lang/getNodePathFromSourceRange.test.ts b/src/lang/getNodePathFromSourceRange.test.ts index 7690b1d08..688fcb591 100644 --- a/src/lang/getNodePathFromSourceRange.test.ts +++ b/src/lang/getNodePathFromSourceRange.test.ts @@ -50,7 +50,7 @@ sk3 = startSketchOn(XY) return sg } -b1 = cube([0,0], 10)` +b1 = cube(pos = [0,0], scale = 10)` const subStr = 'pos, scale' const subStrIndex = code.indexOf(subStr) const sourceRange = topLevelRange(subStrIndex, subStrIndex + 'pos'.length) @@ -83,7 +83,7 @@ b1 = cube([0,0], 10)` return sg } -b1 = cube([0,0], 10)` +b1 = cube(pos = [0,0], scale = 10)` const subStr = 'scale, 0' const subStrIndex = code.indexOf(subStr) const sourceRange = topLevelRange(subStrIndex, subStrIndex + 'scale'.length) diff --git a/src/lang/modifyAst.test.ts b/src/lang/modifyAst.test.ts index c6ba3bcd9..252a16212 100644 --- a/src/lang/modifyAst.test.ts +++ b/src/lang/modifyAst.test.ts @@ -2,7 +2,6 @@ import type { Node } from '@rust/kcl-lib/bindings/Node' import { createArrayExpression, - createCallExpression, createIdentifier, createLiteral, createObjectExpression, @@ -71,16 +70,6 @@ describe('Testing createIdentifier', () => { expect(result.name).toBe('myVar') }) }) -describe('Testing createCallExpression', () => { - it('should create a call expression', () => { - const result = createCallExpression('myFunc', [createLiteral(5)]) - expect(result.type).toBe('CallExpression') - expect(result.callee.type).toBe('Name') - expect(result.callee.name.name).toBe('myFunc') - expect(result.arguments[0].type).toBe('Literal') - expect((result.arguments[0] as any).value.value).toBe(5) - }) -}) describe('Testing createObjectExpression', () => { it('should create an object expression', () => { const result = createObjectExpression({ @@ -313,12 +302,12 @@ describe('Testing giveSketchFnCallTag', () => { }) describe('Testing moveValueIntoNewVariable', () => { - const fn = (fnName: string) => `fn ${fnName} (x) { + const fn = (fnName: string) => `fn ${fnName} (@x) { return x } ` const code = `${fn('def')}${fn('jkl')}${fn('hmm')} -fn ghi(x) { +fn ghi(@x) { return 2 } abc = 3 @@ -655,6 +644,7 @@ ${!replace1 ? ` |> ${line}\n` : ''} |> angledLine(angle = -65, length = ${ const execState = await enginelessExecutor(ast) const lineOfInterest = line const start = code.indexOf(lineOfInterest) + expect(start).toBeGreaterThanOrEqual(0) const range = topLevelRange(start, start + lineOfInterest.length) const pathToNode = getNodePathFromSourceRange(ast, range) const dependentSegments = findUsesOfTagInPipe(ast, pathToNode) @@ -769,7 +759,6 @@ describe('Testing removeSingleConstraintInfo', () => { key: value as any, } } else if (key === 'labeledArgArrayItem') { - console.log() argPosition = { type: 'labeledArgArrayItem', key: value as any, @@ -1055,22 +1044,22 @@ describe('Testing splitPipedProfile', () => { part001 = startSketchOn(XZ) |> startProfile(at = [1, 2]) // comment 2 - |> line([3, 4], %) - |> line([5, 6], %) + |> line(end = [3, 4]) + |> line(end = [5, 6]) |> close(%) // comment 3 -extrude001 = extrude(5, part001) +extrude001 = extrude(part001, length = 5) ` const expectedCodeAfter = `// comment 1 sketch001 = startSketchOn(XZ) part001 = startProfile(sketch001, at = [1, 2]) // comment 2 - |> line([3, 4], %) - |> line([5, 6], %) + |> line(end = [3, 4]) + |> line(end = [5, 6]) |> close(%) // comment 3 -extrude001 = extrude(5, part001) +extrude001 = extrude(part001, length = 5) ` const ast = assertParse(codeBefore) @@ -1094,10 +1083,10 @@ extrude001 = extrude(5, part001) it('should return error for already split pipe', () => { const codeBefore = `sketch001 = startSketchOn(XZ) part001 = startProfile(sketch001, at = [1, 2]) - |> line([3, 4], %) - |> line([5, 6], %) + |> line(end = [3, 4]) + |> line(end = [5, 6]) |> close(%) -extrude001 = extrude(5, part001) +extrude001 = extrude(part001, length = 5) ` const ast = assertParse(codeBefore) diff --git a/src/lang/modifyAst.ts b/src/lang/modifyAst.ts index b85b5060c..1ff7f7308 100644 --- a/src/lang/modifyAst.ts +++ b/src/lang/modifyAst.ts @@ -47,7 +47,6 @@ import type { SimplifiedArgDetails } from '@src/lang/std/stdTypes' import type { ArrayExpression, ArtifactGraph, - CallExpression, CallExpressionKw, Expr, Literal, @@ -448,8 +447,7 @@ export function loftSketches( [modifiedAst.body.length - 1, 'index'], ['declaration', 'VariableDeclaration'], ['init', 'VariableDeclarator'], - ['arguments', 'CallExpression'], - [0, 'index'], + ['unlabeled', UNLABELED_ARG], ] return { @@ -594,11 +592,9 @@ export function sketchOnExtrudedFace( const { node: oldSketchNode } = _node1 const oldSketchName = oldSketchNode.id.name - const _node2 = getNodeFromPath( - _node, - sketchPathToNode, - ['CallExpression', 'CallExpressionKw'] - ) + const _node2 = getNodeFromPath(_node, sketchPathToNode, [ + 'CallExpressionKw', + ]) if (err(_node2)) return _node2 const { node: expression } = _node2 @@ -764,7 +760,7 @@ export function addHelix({ variableName, }: { node: Node - axis?: Node | Node + axis?: Node | Node cylinder?: VariableDeclarator revolutions: Expr angleStart: Expr @@ -1270,8 +1266,9 @@ export function splitPipedProfile( const varName = varDec.node.declaration.id.name const newVarName = findUniqueName(_ast, 'sketch') - const secondCallArgs = structuredClone(secondCall.arguments) - secondCallArgs[1] = createLocalName(newVarName) + // const secondCallArgs = structuredClone(secondCall.arguments) + // secondCallArgs[1] = createLocalName(newVarName) + secondCall.unlabeled = createLocalName(newVarName) const startSketchOnBrokenIntoNewVarDec = structuredClone(varDec.node) const profileBrokenIntoItsOwnVar = structuredClone(varDec.node) if ( diff --git a/src/lang/modifyAst/addEdgeTreatment.test.ts b/src/lang/modifyAst/addEdgeTreatment.test.ts index d8936aaf7..b411bf006 100644 --- a/src/lang/modifyAst/addEdgeTreatment.test.ts +++ b/src/lang/modifyAst/addEdgeTreatment.test.ts @@ -18,7 +18,6 @@ import { getNodePathFromSourceRange } from '@src/lang/queryAstNodePathUtils' import { codeRefFromRange } from '@src/lang/std/artifactGraph' import { topLevelRange } from '@src/lang/util' import type { - CallExpression, CallExpressionKw, PathToNode, PipeExpression, @@ -77,12 +76,13 @@ const runGetPathToExtrudeForSegmentSelectionTest = async ( function getExtrudeExpression( ast: Program, pathToExtrudeNode: PathToNode - ): CallExpression | CallExpressionKw | PipeExpression | undefined | Error { + ): CallExpressionKw | PipeExpression | undefined | Error { if (pathToExtrudeNode.length === 0) return undefined // no extrude node - const extrudeNodeResult = getNodeFromPath< - CallExpression | CallExpressionKw - >(ast, pathToExtrudeNode) + const extrudeNodeResult = getNodeFromPath( + ast, + pathToExtrudeNode + ) if (err(extrudeNodeResult)) { return extrudeNodeResult } @@ -93,14 +93,14 @@ const runGetPathToExtrudeForSegmentSelectionTest = async ( ast: Program, code: string, expectedExtrudeSnippet: string - ): CallExpression | CallExpressionKw | PipeExpression | Error { + ): CallExpressionKw | PipeExpression | Error { const extrudeRange = topLevelRange( code.indexOf(expectedExtrudeSnippet), code.indexOf(expectedExtrudeSnippet) + expectedExtrudeSnippet.length ) const expectedExtrudePath = getNodePathFromSourceRange(ast, extrudeRange) const expectedExtrudeNodeResult = getNodeFromPath< - VariableDeclarator | CallExpression | CallExpressionKw + VariableDeclarator | CallExpressionKw >(ast, expectedExtrudePath) if (err(expectedExtrudeNodeResult)) { return expectedExtrudeNodeResult @@ -108,19 +108,13 @@ const runGetPathToExtrudeForSegmentSelectionTest = async ( const expectedExtrudeNode = expectedExtrudeNodeResult.node // check whether extrude is in the sketch pipe - const extrudeInSketchPipe = - expectedExtrudeNode.type === 'CallExpression' || - expectedExtrudeNode.type === 'CallExpressionKw' + const extrudeInSketchPipe = expectedExtrudeNode.type === 'CallExpressionKw' if (extrudeInSketchPipe) { return expectedExtrudeNode } if (!extrudeInSketchPipe) { const init = expectedExtrudeNode.init - if ( - init.type !== 'CallExpression' && - init.type !== 'CallExpressionKw' && - init.type !== 'PipeExpression' - ) { + if (init.type !== 'CallExpressionKw' && init.type !== 'PipeExpression') { return new Error( 'Expected extrude expression is not a CallExpression or PipeExpression' ) diff --git a/src/lang/modifyAst/addEdgeTreatment.ts b/src/lang/modifyAst/addEdgeTreatment.ts index e4aa5d912..d417578c9 100644 --- a/src/lang/modifyAst/addEdgeTreatment.ts +++ b/src/lang/modifyAst/addEdgeTreatment.ts @@ -29,7 +29,6 @@ import { import { findKwArg } from '@src/lang/util' import type { ArtifactGraph, - CallExpression, CallExpressionKw, Expr, ObjectExpression, @@ -216,10 +215,7 @@ export function modifyAstWithEdgeTreatmentAndTag( let pathToEdgeTreatmentNode: PathToNode - if ( - extrudeDeclarator.init.type === 'CallExpression' || - extrudeDeclarator.init.type === 'CallExpressionKw' - ) { + if (extrudeDeclarator.init.type === 'CallExpressionKw') { // 1. case when no edge treatment exists // modify ast with new edge treatment call by mutating the extrude node @@ -326,10 +322,10 @@ export function mutateAstWithTagForSketchSegment( astClone: Node, pathToSegmentNode: PathToNode ): { modifiedAst: Node; tag: string } | Error { - const segmentNode = getNodeFromPath( + const segmentNode = getNodeFromPath( astClone, pathToSegmentNode, - ['CallExpression', 'CallExpressionKw'] + ['CallExpressionKw'] ) if (err(segmentNode)) return segmentNode @@ -360,7 +356,7 @@ export function mutateAstWithTagForSketchSegment( export function getEdgeTagCall( tag: string, artifact: Artifact -): Node { +): Node { let tagCall: Expr = createLocalName(tag) // Modify the tag based on selectionType @@ -395,11 +391,10 @@ export function locateExtrudeDeclarator( } if ( - extrudeInit.type !== 'CallExpression' && extrudeInit.type !== 'CallExpressionKw' && extrudeInit.type !== 'PipeExpression' ) { - return new Error('Extrude must be a PipeExpression or CallExpression') + return new Error('Extrude must be a PipeExpression or CallExpressionKw') } return { extrudeDeclarator, shallowPath: nodeOfExtrudeCall.shallowPath } @@ -408,7 +403,7 @@ export function locateExtrudeDeclarator( function getPathToNodeOfEdgeTreatmentLiteral( pathToExtrudeNode: PathToNode, extrudeDeclarator: VariableDeclarator, - tag: Name | CallExpression | CallExpressionKw, + tag: Name | CallExpressionKw, parameters: EdgeTreatmentParameters ): PathToNode { let pathToEdgeTreatmentObj: PathToNode = [] @@ -417,7 +412,7 @@ function getPathToNodeOfEdgeTreatmentLiteral( traverse(extrudeDeclarator.init, { enter(node, path) { if ( - (node.type === 'CallExpression' || node.type === 'CallExpressionKw') && + node.type === 'CallExpressionKw' && node.callee.name.name === parameters.type ) { inEdgeTreatment = true @@ -433,7 +428,7 @@ function getPathToNodeOfEdgeTreatmentLiteral( }, leave(node) { if ( - (node.type === 'CallExpression' || node.type === 'CallExpressionKw') && + node.type === 'CallExpressionKw' && node.callee.name.name === parameters.type ) { inEdgeTreatment = false @@ -455,10 +450,7 @@ function getPathToNodeOfEdgeTreatmentLiteral( ] } -function hasTag( - node: ObjectExpression, - tag: Name | CallExpression | CallExpressionKw -): boolean { +function hasTag(node: ObjectExpression, tag: Name | CallExpressionKw): boolean { return node.properties.some((prop) => { if (prop.key.name === 'tags' && prop.value.type === 'ArrayExpression') { // if selection is a base edge: @@ -468,17 +460,6 @@ function hasTag( element.type === 'Name' && element.name.name === tag.name.name ) } - // if selection is an adjacent or opposite edge: - if (tag.type === 'CallExpression') { - return prop.value.elements.some( - (element) => - element.type === 'CallExpression' && - element.callee.name.name === tag.callee.name.name && // edge location - element.arguments[0].type === 'Name' && - tag.arguments[0].type === 'Name' && - element.arguments[0].name.name === tag.arguments[0].name.name // tag name - ) - } if (tag.type === 'CallExpressionKw') { return prop.value.elements.some((element) => { if (element.type !== 'CallExpressionKw') { @@ -494,7 +475,7 @@ function hasTag( elementTag.type === 'Name' && tagTag !== undefined && tagTag.type === 'Name' && - elementTag.name.name === tagTag.name.name + elementTag.name.name === tagTag.name.name // tag name ) }) } @@ -565,7 +546,7 @@ export const hasValidEdgeTreatmentSelection = ({ traverse(ast, { enter(node) { if ( - (node.type === 'CallExpression' || node.type == 'CallExpressionKw') && + node.type == 'CallExpressionKw' && (node.callee.name.name === 'extrude' || node.callee.name.name === 'revolve') ) { @@ -588,16 +569,13 @@ export const hasValidEdgeTreatmentSelection = ({ // selection exists: for (const selection of selectionRanges.graphSelections) { // check if all selections are in sketchLineHelperMap - const segmentNode = getNodeFromPath< - Node - >(ast, selection.codeRef.pathToNode, ['CallExpression', 'CallExpressionKw']) + const segmentNode = getNodeFromPath>( + ast, + selection.codeRef.pathToNode, + ['CallExpressionKw'] + ) if (err(segmentNode)) return false - if ( - !( - segmentNode.node.type === 'CallExpression' || - segmentNode.node.type === 'CallExpressionKw' - ) - ) { + if (!(segmentNode.node.type === 'CallExpressionKw')) { return false } if (!(segmentNode.node.callee.name.name in sketchLineHelperMapKw)) { @@ -640,8 +618,7 @@ export const hasValidEdgeTreatmentSelection = ({ traverse(ast, { enter(node) { if ( - (node.type === 'CallExpression' || - node.type === 'CallExpressionKw') && + node.type === 'CallExpressionKw' && isEdgeTreatmentType(node.callee.name.name) ) { inEdgeTreatment = true @@ -654,8 +631,7 @@ export const hasValidEdgeTreatmentSelection = ({ }, leave(node) { if ( - (node.type === 'CallExpression' || - node.type === 'CallExpressionKw') && + node.type === 'CallExpressionKw' && isEdgeTreatmentType(node.callee.name.name) ) { inEdgeTreatment = false @@ -735,10 +711,10 @@ export async function deleteEdgeTreatment( if (inPipe) { // Retrieve the CallExpression path const callExp = - getNodeFromPath( + getNodeFromPath( ast, selection?.codeRef?.pathToNode, - 'CallExpression' + 'CallExpressionKw' ) ?? null if (err(callExp)) return callExp @@ -773,7 +749,7 @@ export async function deleteEdgeTreatment( } if (callIndex === null) { - return new Error('Failed to extract CallExpression index') + return new Error('Failed to extract CallExpressionKw index') } // Retrieve the PipeExpression node const pipeExpressionNode = getNodeFromPath( diff --git a/src/lang/modifyAst/deleteFromSelection.ts b/src/lang/modifyAst/deleteFromSelection.ts index 721465beb..f2fddae31 100644 --- a/src/lang/modifyAst/deleteFromSelection.ts +++ b/src/lang/modifyAst/deleteFromSelection.ts @@ -25,7 +25,6 @@ import { } from '@src/lang/std/artifactGraph' import type { ArtifactGraph, - CallExpression, CallExpressionKw, KclValue, PathToNode, @@ -180,34 +179,23 @@ export async function deleteFromSelection( if (node.type === 'VariableDeclaration') { const dec = node.declaration if ( - (dec.init.type === 'CallExpression' && - (dec.init.callee.name.name === 'extrude' || - dec.init.callee.name.name === 'revolve') && - dec.init.arguments?.[1].type === 'Name' && - dec.init.arguments?.[1].name.name === varDecName) || - (dec.init.type === 'CallExpressionKw' && - (dec.init.callee.name.name === 'extrude' || - dec.init.callee.name.name === 'revolve') && - dec.init.unlabeled?.type === 'Name' && - dec.init.unlabeled?.name.name === varDecName) + dec.init.type === 'CallExpressionKw' && + (dec.init.callee.name.name === 'extrude' || + dec.init.callee.name.name === 'revolve') && + dec.init.unlabeled?.type === 'Name' && + dec.init.unlabeled?.name.name === varDecName ) { pathToNode = path extrudeNameToDelete = dec.id.name } if ( - (dec.init.type === 'CallExpressionKw' && - dec.init.callee.name.name === 'loft' && - dec.init.unlabeled !== null && - dec.init.unlabeled.type === 'ArrayExpression' && - dec.init.unlabeled.elements.some( - (a) => a.type === 'Name' && a.name.name === varDecName - )) || - (dec.init.type === 'CallExpression' && - dec.init.callee.name.name === 'loft' && - dec.init.arguments?.[0].type === 'ArrayExpression' && - dec.init.arguments?.[0].elements.some( - (a) => a.type === 'Name' && a.name.name === varDecName - )) + dec.init.type === 'CallExpressionKw' && + dec.init.callee.name.name === 'loft' && + dec.init.unlabeled !== null && + dec.init.unlabeled.type === 'ArrayExpression' && + dec.init.unlabeled.elements.some( + (a) => a.type === 'Name' && a.name.name === varDecName + ) ) { pathToNode = path extrudeNameToDelete = dec.id.name @@ -220,14 +208,11 @@ export async function deleteFromSelection( pathToNode = selection.codeRef.pathToNode if (varDec.node.type === 'VariableDeclarator') { extrudeNameToDelete = varDec.node.id.name - } else if ( - varDec.node.type === 'CallExpression' || - varDec.node.type === 'CallExpressionKw' - ) { - const callExp = getNodeFromPath( + } else if (varDec.node.type === 'CallExpressionKw') { + const callExp = getNodeFromPath( astClone, pathToNode, - ['CallExpression', 'CallExpressionKw'] + ['CallExpressionKw'] ) if (err(callExp)) return callExp extrudeNameToDelete = callExp.node.callee.name.name @@ -424,8 +409,7 @@ export async function deleteFromSelection( selection?.artifact?.type === 'segment' && selection?.artifact?.surfaceId ) if ( - (pipeBody[0].type === 'CallExpression' || - pipeBody[0].type === 'CallExpressionKw') && + pipeBody[0].type === 'CallExpressionKw' && doNotDeleteProfileIfItHasBeenExtruded && (pipeBody[0].callee.name.name === 'startSketchOn' || pipeBody[0].callee.name.name === 'startProfile') @@ -437,8 +421,7 @@ export async function deleteFromSelection( } } else if ( // single expression profiles - (varDec.node.init.type === 'CallExpressionKw' || - varDec.node.init.type === 'CallExpression') && + varDec.node.init.type === 'CallExpressionKw' && ['circleThreePoint', 'circle'].includes(varDec.node.init.callee.name.name) ) { const varDecIndex = varDec.shallowPath[1][0] as number diff --git a/src/lang/modifyAst/setAppearance.ts b/src/lang/modifyAst/setAppearance.ts index b1cc397ea..7efae108f 100644 --- a/src/lang/modifyAst/setAppearance.ts +++ b/src/lang/modifyAst/setAppearance.ts @@ -36,10 +36,7 @@ export function setAppearance({ [createLabeledArg('color', createLiteral(color))] ) // Modify the expression - if ( - declarator.init.type === 'CallExpression' || - declarator.init.type === 'CallExpressionKw' - ) { + if (declarator.init.type === 'CallExpressionKw') { // 1. case when no appearance exists, mutate in place declarator.init = createPipeExpression([declarator.init, call]) } else if (declarator.init.type === 'PipeExpression') { diff --git a/src/lang/queryAst.test.ts b/src/lang/queryAst.test.ts index cc338306c..d9e08473d 100644 --- a/src/lang/queryAst.test.ts +++ b/src/lang/queryAst.test.ts @@ -2,10 +2,8 @@ import type { Name } from '@rust/kcl-lib/bindings/Name' import { createArrayExpression, - createCallExpression, createCallExpressionStdLibKw, createLabeledArg, - createLiteral, createPipeSubstitution, } from '@src/lang/create' import { @@ -17,7 +15,6 @@ import { hasExtrudeSketch, hasSketchPipeBeenExtruded, isNodeSafeToReplace, - isTypeInValue, traverse, } from '@src/lang/queryAst' import { getNodePathFromSourceRange } from '@src/lang/queryAstNodePathUtils' @@ -54,6 +51,7 @@ part001 = startSketchOn(XY) variableBelowShouldNotBeIncluded = 3 ` const rangeStart = code.indexOf('// selection-range-7ish-before-this') - 7 + expect(rangeStart).toBeGreaterThanOrEqual(0) const ast = assertParse(code) const execState = await enginelessExecutor(ast) @@ -79,7 +77,7 @@ variableBelowShouldNotBeIncluded = 3 describe('testing argIsNotIdentifier', () => { const code = `part001 = startSketchOn(XY) |> startProfile(at = [-1.2, 4.83]) -|> line(end = [2.8, 0]) +|> line(%, end = [2.8, 0]) |> angledLine(angle = 100 + 100, length = 3.09) |> angledLine(angle = abc, length = 3.09) |> angledLine(angle = def('yo'), length = 3.09) @@ -90,6 +88,7 @@ yo2 = hmm([identifierGuy + 5])` it('find a safe binaryExpression', () => { const ast = assertParse(code) const rangeStart = code.indexOf('100 + 100') + 2 + expect(rangeStart).toBeGreaterThanOrEqual(0) const result = isNodeSafeToReplace( ast, topLevelRange(rangeStart, rangeStart) @@ -106,6 +105,7 @@ yo2 = hmm([identifierGuy + 5])` it('find a safe Identifier', () => { const ast = assertParse(code) const rangeStart = code.indexOf('abc') + expect(rangeStart).toBeGreaterThanOrEqual(0) const result = isNodeSafeToReplace( ast, topLevelRange(rangeStart, rangeStart) @@ -115,35 +115,43 @@ yo2 = hmm([identifierGuy + 5])` expect(result.value?.type).toBe('Name') expect(code.slice(result.value.start, result.value.end)).toBe('abc') }) - it('find a safe CallExpression', () => { + it('find a safe CallExpressionKw', () => { const ast = assertParse(code) const rangeStart = code.indexOf('def') + expect(rangeStart).toBeGreaterThanOrEqual(0) const result = isNodeSafeToReplace( ast, topLevelRange(rangeStart, rangeStart) ) if (err(result)) throw result expect(result.isSafe).toBe(true) - expect(result.value?.type).toBe('CallExpression') + expect(result.value?.type).toBe('CallExpressionKw') expect(code.slice(result.value.start, result.value.end)).toBe("def('yo')") const replaced = result.replacer(structuredClone(ast), 'replaceName') if (err(replaced)) throw replaced const outCode = recast(replaced.modifiedAst) expect(outCode).toContain(`angledLine(angle = replaceName, length = 3.09)`) }) - it('find an UNsafe CallExpression, as it has a PipeSubstitution', () => { + it('find an UNsafe CallExpressionKw, as it has a PipeSubstitution', () => { const ast = assertParse(code) const rangeStart = code.indexOf('ghi') + expect(rangeStart).toBeGreaterThanOrEqual(0) const range = topLevelRange(rangeStart, rangeStart) const result = isNodeSafeToReplace(ast, range) if (err(result)) throw result expect(result.isSafe).toBe(false) - expect(result.value?.type).toBe('CallExpression') + expect(result.value?.type).toBe('CallExpressionKw') expect(code.slice(result.value.start, result.value.end)).toBe('ghi(%)') }) it('find an UNsafe Identifier, as it is a callee', () => { const ast = assertParse(code) - const rangeStart = code.indexOf('ine(end = [2.8,') + // TODO: + // This should really work even without the % being explicitly set here, + // because the unlabeled arg will default to %. However, the `isNodeSafeToReplacePath` + // function doesn't yet check for this (because it cannot differentiate between + // a function that relies on this default unlabeled arg, and a function with no unlabeled arg) + const rangeStart = code.indexOf('ine(%, end = [2.8,') + expect(rangeStart).toBeGreaterThanOrEqual(0) const result = isNodeSafeToReplace( ast, topLevelRange(rangeStart, rangeStart) @@ -152,12 +160,13 @@ yo2 = hmm([identifierGuy + 5])` expect(result.isSafe).toBe(false) expect(result.value?.type).toBe('CallExpressionKw') expect(code.slice(result.value.start, result.value.end)).toBe( - 'line(end = [2.8, 0])' + 'line(%, end = [2.8, 0])' ) }) it("find a safe BinaryExpression that's assigned to a variable", () => { const ast = assertParse(code) const rangeStart = code.indexOf('5 + 6') + 1 + expect(rangeStart).toBeGreaterThanOrEqual(0) const result = isNodeSafeToReplace( ast, topLevelRange(rangeStart, rangeStart) @@ -174,6 +183,7 @@ yo2 = hmm([identifierGuy + 5])` it('find a safe BinaryExpression that has a CallExpression within', () => { const ast = assertParse(code) const rangeStart = code.indexOf('jkl') + 1 + expect(rangeStart).toBeGreaterThanOrEqual(0) const result = isNodeSafeToReplace( ast, topLevelRange(rangeStart, rangeStart) @@ -190,10 +200,10 @@ yo2 = hmm([identifierGuy + 5])` const outCode = recast(modifiedAst) expect(outCode).toContain(`angledLine(angle = replaceName, length = 3.09)`) }) - it('find a safe BinaryExpression within a CallExpression', () => { + it('find a safe BinaryExpression within a CallExpressionKw', () => { const ast = assertParse(code) - const rangeStart = code.indexOf('identifierGuy') + 1 + expect(rangeStart).toBeGreaterThanOrEqual(0) const result = isNodeSafeToReplace( ast, topLevelRange(rangeStart, rangeStart) @@ -211,29 +221,6 @@ yo2 = hmm([identifierGuy + 5])` const outCode = recast(modifiedAst) expect(outCode).toContain(`yo2 = hmm([replaceName])`) }) - - describe('testing isTypeInValue', () => { - it('finds the pipeSubstituion', () => { - const val = createCallExpression('yoyo', [ - createArrayExpression([ - createLiteral(1), - createCallExpression('yoyo2', [createPipeSubstitution()]), - createLiteral('hey'), - ]), - ]) - expect(isTypeInValue(val, 'PipeSubstitution')).toBe(true) - }) - it('There is no pipeSubstituion', () => { - const val = createCallExpression('yoyo', [ - createArrayExpression([ - createLiteral(1), - createCallExpression('yoyo2', [createLiteral(5)]), - createLiteral('hey'), - ]), - ]) - expect(isTypeInValue(val, 'PipeSubstitution')).toBe(false) - }) - }) }) describe('testing getNodePathFromSourceRange', () => { @@ -450,6 +437,7 @@ describe('Testing findUsesOfTagInPipe', () => { const lineOfInterest = `198.85], tag = $seg01` const characterIndex = exampleCode.indexOf(lineOfInterest) + lineOfInterest.length + expect(characterIndex).toBeGreaterThanOrEqual(0) const pathToNode = getNodePathFromSourceRange( ast, topLevelRange(characterIndex, characterIndex) @@ -690,26 +678,26 @@ describe('Testing specific sketch getNodeFromPath workflow', () => { const openSketch = `sketch001 = startSketchOn(XZ) |> startProfile(at = [0.02, 0.22]) |> xLine(length = 0.39) -|> line([0.02, -0.17], %) +|> line([0.02, -0.17]) |> yLine(length = -0.15) -|> line([-0.21, -0.02], %) +|> line([-0.21, -0.02]) |> xLine(length = -0.15) -|> line([-0.02, 0.21], %) -|> line([-0.08, 0.05], %)` +|> line([-0.02, 0.21]) +|> line([-0.08, 0.05])` const ast = assertParse(openSketch) expect(ast.start).toEqual(0) - expect(ast.end).toEqual(243) + expect(ast.end).toEqual(231) }) it('should find the location to add new lineTo', () => { const openSketch = `sketch001 = startSketchOn(XZ) |> startProfile(at = [0.02, 0.22]) |> xLine(length = 0.39) -|> line([0.02, -0.17], %) +|> line([0.02, -0.17]) |> yLine(length = -0.15) -|> line([-0.21, -0.02], %) +|> line([-0.21, -0.02]) |> xLine(length = -0.15) -|> line([-0.02, 0.21], %) -|> line([-0.08, 0.05], %)` +|> line([-0.02, 0.21]) +|> line([-0.08, 0.05])` const ast = assertParse(openSketch) const sketchSnippet = `startProfile(at = [0.02, 0.22])` @@ -747,12 +735,12 @@ describe('Testing specific sketch getNodeFromPath workflow', () => { const expectedCode = `sketch001 = startSketchOn(XZ) |> startProfile(at = [0.02, 0.22]) |> xLine(length = 0.39) - |> line([0.02, -0.17], %) + |> line([0.02, -0.17]) |> yLine(length = -0.15) - |> line([-0.21, -0.02], %) + |> line([-0.21, -0.02]) |> xLine(length = -0.15) - |> line([-0.02, 0.21], %) - |> line([-0.08, 0.05], %) + |> line([-0.02, 0.21]) + |> line([-0.08, 0.05]) |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) ` expect(recasted).toEqual(expectedCode) @@ -761,13 +749,13 @@ describe('Testing specific sketch getNodeFromPath workflow', () => { const openSketch = `sketch001 = startSketchOn(XZ) |> startProfile(at = [0.02, 0.22]) |> xLine(length = 0.39) -|> line([0.02, -0.17], %) +|> line([0.02, -0.17]) |> yLine(length = -0.15) -|> line([-0.21, -0.02], %) +|> line([-0.21, -0.02]) |> xLine(length = -0.15) -|> line([-0.02, 0.21], %) -|> line([-0.08, 0.05], %) -|> lineTo([profileStartX(%), profileStartY(%)], %) +|> line([-0.02, 0.21]) +|> line([-0.08, 0.05]) +|> lineTo([profileStartX(%), profileStartY(%)]) ` const ast = assertParse(openSketch) const sketchSnippet = `startProfile(at = [0.02, 0.22])` @@ -787,13 +775,13 @@ describe('Testing specific sketch getNodeFromPath workflow', () => { const expectedCode = `sketch001 = startSketchOn(XZ) |> startProfile(at = [0.02, 0.22]) |> xLine(length = 0.39) - |> line([0.02, -0.17], %) + |> line([0.02, -0.17]) |> yLine(length = -0.15) - |> line([-0.21, -0.02], %) + |> line([-0.21, -0.02]) |> xLine(length = -0.15) - |> line([-0.02, 0.21], %) - |> line([-0.08, 0.05], %) - |> lineTo([profileStartX(%), profileStartY(%)], %) + |> line([-0.02, 0.21]) + |> line([-0.08, 0.05]) + |> lineTo([profileStartX(%), profileStartY(%)]) |> close() ` expect(recasted).toEqual(expectedCode) diff --git a/src/lang/queryAst.ts b/src/lang/queryAst.ts index 4b11f9bcb..e4175767b 100644 --- a/src/lang/queryAst.ts +++ b/src/lang/queryAst.ts @@ -3,28 +3,28 @@ import type { ImportStatement } from '@rust/kcl-lib/bindings/ImportStatement' import type { Node } from '@rust/kcl-lib/bindings/Node' import type { TypeDeclaration } from '@rust/kcl-lib/bindings/TypeDeclaration' -import { ARG_TAG } from '@src/lang/constants' import { createLocalName } from '@src/lang/create' import type { ToolTip } from '@src/lang/langHelpers' import { splitPathAtLastIndex } from '@src/lang/modifyAst' import { getNodePathFromSourceRange } from '@src/lang/queryAstNodePathUtils' import { codeRefFromRange } from '@src/lang/std/artifactGraph' -import { getArgForEnd, getFirstArg } from '@src/lang/std/sketch' +import { getArgForEnd } from '@src/lang/std/sketch' import { getSketchSegmentFromSourceRange } from '@src/lang/std/sketchConstraints' import { getConstraintLevelFromSourceRange, getConstraintType, } from '@src/lang/std/sketchcombos' -import { findKwArg, topLevelRange } from '@src/lang/util' +import { topLevelRange } from '@src/lang/util' import type { ArrayExpression, ArtifactGraph, BinaryExpression, - CallExpression, CallExpressionKw, Expr, ExpressionStatement, Identifier, + Literal, + Name, ObjectExpression, ObjectProperty, PathToNode, @@ -52,6 +52,7 @@ import { getAngle, isArray } from '@src/lib/utils' import { ARG_INDEX_FIELD, LABELED_ARG_FIELD } from '@src/lang/queryAstConstants' import type { KclCommandValue } from '@src/lib/commandTypes' +import type { UnaryExpression } from 'typescript' /** * Retrieves a node from a given path within a Program node structure, optionally stopping at a specified node type. @@ -222,15 +223,6 @@ export function traverse( [index, 'index'], ]) ) - } else if (_node.type === 'CallExpression') { - _traverse(_node.callee, [...pathToNode, ['callee', 'CallExpression']]) - _node.arguments.forEach((arg, index) => - _traverse(arg, [ - ...pathToNode, - ['arguments', 'CallExpression'], - [index, 'index'], - ]) - ) } else if (_node.type === 'CallExpressionKw') { _traverse(_node.callee, [...pathToNode, ['callee', 'CallExpressionKw']]) if (_node.unlabeled !== null) { @@ -239,14 +231,16 @@ export function traverse( ['unlabeled', 'Unlabeled arg'], ]) } - _node.arguments.forEach((arg, index) => - _traverse(arg.arg, [ - ...pathToNode, - ['arguments', 'CallExpressionKw'], - [index, ARG_INDEX_FIELD], - ['arg', LABELED_ARG_FIELD], - ]) - ) + if (_node.arguments) { + _node.arguments.forEach((arg, index) => + _traverse(arg.arg, [ + ...pathToNode, + ['arguments', 'CallExpressionKw'], + [index, ARG_INDEX_FIELD], + ['arg', LABELED_ARG_FIELD], + ]) + ) + } } else if (_node.type === 'BinaryExpression') { _traverse(_node.left, [...pathToNode, ['left', 'BinaryExpression']]) _traverse(_node.right, [...pathToNode, ['right', 'BinaryExpression']]) @@ -398,11 +392,13 @@ export function isNodeSafeToReplacePath( const acceptedNodeTypes: SyntaxType[] = [ 'BinaryExpression', 'Name', - 'CallExpression', + 'CallExpressionKw', 'Literal', 'UnaryExpression', ] - const _node1 = getNodeFromPath(ast, path, acceptedNodeTypes) + const _node1 = getNodeFromPath< + BinaryExpression | Name | CallExpressionKw | Literal | UnaryExpression + >(ast, path, acceptedNodeTypes) if (err(_node1)) return _node1 const { node: value, deepPath: outPath } = _node1 @@ -436,6 +432,10 @@ export function isNodeSafeToReplacePath( } const hasPipeSub = isTypeInValue(finVal as Expr, 'PipeSubstitution') + // TODO: + // In addition to checking explicitly if there's a %, + // also check if this function requires an unlabeled param, but the call doesn't set one, + // so it defaults to %. const isIdentifierCallee = path[path.length - 1][0] !== 'callee' return { isSafe: @@ -465,7 +465,7 @@ export function isNodeSafeToReplace( export function isTypeInValue(node: Expr, syntaxType: SyntaxType): boolean { if (node.type === syntaxType) return true if (node.type === 'BinaryExpression') return isTypeInBinExp(node, syntaxType) - if (node.type === 'CallExpression') return isTypeInCallExp(node, syntaxType) + if (node.type === 'CallExpressionKw') return isTypeInCallExp(node, syntaxType) if (node.type === 'ArrayExpression') return isTypeInArrayExp(node, syntaxType) return false } @@ -485,11 +485,19 @@ function isTypeInBinExp( } function isTypeInCallExp( - node: CallExpression, + node: CallExpressionKw, syntaxType: SyntaxType ): boolean { if (node.callee.type === syntaxType) return true - return node.arguments.some((arg) => isTypeInValue(arg, syntaxType)) + const matchUnlabeled = + node.unlabeled !== null && isTypeInValue(node.unlabeled, syntaxType) + if (matchUnlabeled) { + return true + } + const matchLabeled = + node.arguments && + node.arguments.some((arg) => isTypeInValue(arg.arg, syntaxType)) + return matchLabeled } function isTypeInArrayExp( @@ -521,10 +529,10 @@ export function isLinesParallelAndConstrained( ast, secondaryLine?.codeRef?.range ) - const _secondaryNode = getNodeFromPath( + const _secondaryNode = getNodeFromPath( ast, secondaryPath, - ['CallExpression', 'CallExpressionKw'] + ['CallExpressionKw'] ) if (err(_secondaryNode)) return _secondaryNode const secondaryNode = _secondaryNode.node @@ -565,10 +573,7 @@ export function isLinesParallelAndConstrained( Math.abs(primaryAngle - secondaryAngleAlt) < EPSILON // is secondary line fully constrain, or has constrain type of 'angle' - const secondaryFirstArg = - secondaryNode.type === 'CallExpression' - ? getFirstArg(secondaryNode) - : getArgForEnd(secondaryNode) + const secondaryFirstArg = getArgForEnd(secondaryNode) if (err(secondaryFirstArg)) return secondaryFirstArg const isAbsolute = false // ADAM: TODO @@ -677,29 +682,23 @@ export function findUsesOfTagInPipe( 'segEndY', 'segLen', ] - const nodeMeta = getNodeFromPath( - ast, - pathToNode, - ['CallExpression', 'CallExpressionKw'] - ) + const nodeMeta = getNodeFromPath(ast, pathToNode, [ + 'CallExpressionKw', + ]) if (err(nodeMeta)) { console.error(nodeMeta) return [] } const node = nodeMeta.node - if (node.type !== 'CallExpressionKw' && node.type !== 'CallExpression') + if (node.type !== 'CallExpressionKw') return [] + // TODO: Handle all tags declared in a function, e.g. + // a function may declare extrude(length = 1, tag = $myShape, tagStart = $myShapeBase) + const args: Expr[] = node.arguments?.map((labeledArg) => labeledArg.arg) ?? [] + const tagParam = args.find((arg) => arg?.type === 'TagDeclarator') + if (tagParam === undefined) { return [] - const tagIndex = node.callee.name.name === 'close' ? 1 : 2 - const tagParam = - node.type === 'CallExpression' - ? node.arguments[tagIndex] - : findKwArg(ARG_TAG, node) - if (!(tagParam?.type === 'TagDeclarator' || tagParam?.type === 'Name')) - return [] - const tag = - tagParam?.type === 'TagDeclarator' - ? String(tagParam.value) - : tagParam.name.name + } + const tag = String(tagParam.value) const varDec = getNodeFromPath>( ast, @@ -715,15 +714,21 @@ export function findUsesOfTagInPipe( traverse(varDec.node, { enter: (node) => { if ( - (node.type !== 'CallExpression' && node.type !== 'CallExpressionKw') || + node.type !== 'CallExpressionKw' || !stdlibFunctionsThatTakeTagInputs.includes(node.callee.name.name) ) return - const tagArg = - node.type === 'CallExpression' - ? node.arguments[0] - : findKwArg(ARG_TAG, node) - if (tagArg !== undefined) { + // Get all the args + const args: Expr[] = + node.arguments?.map((labeledArg) => labeledArg.arg) ?? [] + if (node.unlabeled !== null) { + args.push(node.unlabeled) + } + for (const tagArg of args) { + if (!('type' in tagArg)) { + continue + } + // TODO: COnsider removing this 'name' and see if anything breaks. if (!(tagArg.type === 'TagDeclarator' || tagArg.type === 'Name')) return const tagArgValue = tagArg.type === 'TagDeclarator' @@ -759,7 +764,7 @@ export function hasSketchPipeBeenExtruded(selection: Selection, ast: Program) { traverse(pipeExpression, { enter(node) { if ( - (node.type === 'CallExpression' || node.type === 'CallExpressionKw') && + node.type === 'CallExpressionKw' && (node.callee.name.name === 'extrude' || node.callee.name.name === 'revolve') ) { @@ -771,17 +776,17 @@ export function hasSketchPipeBeenExtruded(selection: Selection, ast: Program) { if (!extruded) { traverse(ast as any, { enter(node) { - if ( - node.type === 'CallExpression' && - node.callee.type === 'Name' && - (node.callee.name.name === 'extrude' || - node.callee.name.name === 'revolve' || - node.callee.name.name === 'loft') && - node.arguments?.[1]?.type === 'Name' && - node.arguments[1].name.name === varDec.id.name - ) { - extruded = true - } + // if ( + // node.type === 'CallExpression' && + // node.callee.type === 'Name' && + // (node.callee.name.name === 'extrude' || + // node.callee.name.name === 'revolve' || + // node.callee.name.name === 'loft') && + // node.arguments?.[1]?.type === 'Name' && + // node.arguments[1].name.name === varDec.id.name + // ) { + // extruded = true + // } if ( node.type === 'CallExpressionKw' && node.callee.type === 'Name' && @@ -814,29 +819,25 @@ export function doesSceneHaveSweepableSketch(ast: Node, count = 1) { let hasCircle = false for (const pipe of node.init.body) { if ( - (pipe.type === 'CallExpressionKw' || - pipe.type === 'CallExpression') && + pipe.type === 'CallExpressionKw' && pipe.callee.name.name === 'startProfile' ) { hasStartProfileAt = true } if ( - (pipe.type === 'CallExpressionKw' || - pipe.type === 'CallExpression') && + pipe.type === 'CallExpressionKw' && pipe.callee.name.name === 'startSketchOn' ) { hasStartSketchOn = true } if ( - (pipe.type === 'CallExpressionKw' || - pipe.type === 'CallExpression') && + pipe.type === 'CallExpressionKw' && pipe.callee.name.name === 'close' ) { hasClose = true } if ( - (pipe.type === 'CallExpressionKw' || - pipe.type === 'CallExpression') && + pipe.type === 'CallExpressionKw' && pipe.callee.name.name === 'circle' ) { hasCircle = true @@ -849,14 +850,14 @@ export function doesSceneHaveSweepableSketch(ast: Node, count = 1) { ) { theMap[node.id.name] = true } - } else if ( - node.type === 'CallExpression' && - (node.callee.name.name === 'extrude' || - node.callee.name.name === 'revolve') && - node.arguments[1]?.type === 'Name' && - theMap?.[node?.arguments?.[1]?.name.name] - ) { - delete theMap[node.arguments[1].name.name] + // } else if ( + // node.type === 'CallExpression' && + // (node.callee.name.name === 'extrude' || + // node.callee.name.name === 'revolve') && + // node.arguments[1]?.type === 'Name' && + // theMap?.[node?.arguments?.[1]?.name.name] + // ) { + // delete theMap[node.arguments[1].name.name] } else if ( node.type === 'CallExpressionKw' && (node.callee.name.name === 'extrude' || @@ -881,8 +882,7 @@ export function doesSceneHaveExtrudedSketch(ast: Node) { ) { for (const pipe of node.init.body) { if ( - (pipe.type === 'CallExpressionKw' || - pipe.type === 'CallExpression') && + pipe.type === 'CallExpressionKw' && pipe.callee.name.name === 'extrude' ) { theMap[node.id.name] = true @@ -890,12 +890,9 @@ export function doesSceneHaveExtrudedSketch(ast: Node) { } } } else if ( - (node.type === 'CallExpression' && - node.callee.name.name === 'extrude' && - node.arguments[1]?.type === 'Name') || - (node.type === 'CallExpressionKw' && - node.callee.name.name === 'extrude' && - node.unlabeled?.type === 'Name') + node.type === 'CallExpressionKw' && + node.callee.name.name === 'extrude' && + node.unlabeled?.type === 'Name' ) { theMap[node.moduleId] = true } @@ -935,13 +932,10 @@ export function getBodyIndex(pathToNode: PathToNode): number | Error { } export function isCallExprWithName( - expr: Expr | CallExpression | CallExpressionKw, + expr: Expr | CallExpressionKw, name: string -): expr is CallExpression | CallExpressionKw { - if ( - (expr.type === 'CallExpression' || expr.type === 'CallExpressionKw') && - expr.callee.type === 'Name' - ) { +): expr is CallExpressionKw { + if (expr.type === 'CallExpressionKw' && expr.callee.type === 'Name') { return expr.callee.name.name === name } return false diff --git a/src/lang/queryAstNodePathUtils.ts b/src/lang/queryAstNodePathUtils.ts index c1d393ee2..923d1dd8f 100644 --- a/src/lang/queryAstNodePathUtils.ts +++ b/src/lang/queryAstNodePathUtils.ts @@ -49,25 +49,6 @@ function moreNodePathFromSourceRange( return path } - if (_node.type === 'CallExpression' && isInRange) { - const { callee, arguments: args } = _node - if (callee.type === 'Name' && callee.start <= start && callee.end >= end) { - path.push(['callee', 'CallExpression']) - return path - } - if (args.length > 0) { - for (let argIndex = 0; argIndex < args.length; argIndex++) { - const arg = args[argIndex] - if (arg.start <= start && arg.end >= end) { - path.push(['arguments', 'CallExpression']) - path.push([argIndex, 'index']) - return moreNodePathFromSourceRange(arg, sourceRange, path) - } - } - } - return path - } - if (_node.type === 'CallExpressionKw' && isInRange) { const { callee, arguments: args, unlabeled } = _node if (callee.type === 'Name' && callee.start <= start && callee.end >= end) { diff --git a/src/lang/recast.test.ts b/src/lang/recast.test.ts index 055d06187..26be36551 100644 --- a/src/lang/recast.test.ts +++ b/src/lang/recast.test.ts @@ -57,7 +57,7 @@ newVar = myVar + 1 }) it('test with function call', () => { const code = `myVar = "hello" -log(5, myVar) +log(5, exp = myVar) ` const { ast } = code2ast(code) const recasted = recast(ast) @@ -70,7 +70,7 @@ log(5, myVar) ' return a + b', '}', 'theVar = 60', - 'magicNum = funcN(9, theVar)', + 'magicNum = funcN(a = 9, b = theVar)', ].join('\n') const { ast } = code2ast(code) const recasted = recast(ast) @@ -97,7 +97,7 @@ log(5, myVar) ' |> line(endAbsolute = [1, 1])', ' |> line(endAbsolute = [0, 1], tag = $myTag)', ' |> line(endAbsolute = [1, 1])', - ' |> rx(90, %)', + ' |> rx(90)', ].join('\n') const { ast } = code2ast(code) const recasted = recast(ast) @@ -106,7 +106,7 @@ log(5, myVar) }) it('recast BinaryExpression piped into CallExpression', () => { const code = [ - 'fn myFn(a) {', + 'fn myFn(@a) {', ' return a + 1', '}', 'myVar = 5 + 1', @@ -244,7 +244,7 @@ key = 'c' ' |> line(endAbsolute = [0, 1], tag = $myTag)', ' |> line(endAbsolute = [1, 1])', ' // a comment', - ' |> rx(90, %)', + ' |> rx(90)', ].join('\n') const { ast } = code2ast(code) const recasted = recast(ast) @@ -264,12 +264,12 @@ mySk1 = startSketchOn(XY) here */ // a comment between pipe expression statements - |> rx(90, %) + |> rx(90) // and another with just white space between others below - |> ry(45, %) + |> ry(45) - |> rx(45, %) + |> rx(45) /* one more for good measure */ @@ -287,10 +287,10 @@ mySk1 = startSketchOn(XY) |> line(endAbsolute = [1, 1]) /* and here */ // a comment between pipe expression statements - |> rx(90, %) + |> rx(90) // and another with just white space between others below - |> ry(45, %) - |> rx(45, %) + |> ry(45) + |> rx(45) /* one more for good measure */ `) }) diff --git a/src/lang/std/artifactGraph.ts b/src/lang/std/artifactGraph.ts index 64d9b59ae..278e24681 100644 --- a/src/lang/std/artifactGraph.ts +++ b/src/lang/std/artifactGraph.ts @@ -704,7 +704,7 @@ const onlyConsecutivePaths = ( if (expr.type === 'VariableDeclaration') { const init = expr.declaration?.init if (!init) return false - if (init.type === 'CallExpression') { + if (init.type === 'CallExpressionKw') { return false } if (init.type === 'BinaryExpression' && isNodeSafe(init)) { diff --git a/src/lang/std/sketch.ts b/src/lang/std/sketch.ts index d11b86d55..7ec248fb7 100644 --- a/src/lang/std/sketch.ts +++ b/src/lang/std/sketch.ts @@ -25,7 +25,6 @@ import { import { createArrayExpression, createBinaryExpression, - createCallExpression, createCallExpressionStdLibKw, createLabeledArg, createLiteral, @@ -33,7 +32,6 @@ import { createPipeExpression, createTagDeclarator, findUniqueName, - nonCodeMetaEmpty, } from '@src/lang/create' import type { ToolTip } from '@src/lang/langHelpers' import { toolTips } from '@src/lang/langHelpers' @@ -71,7 +69,6 @@ import { topLevelRange, } from '@src/lang/util' import type { - CallExpression, CallExpressionKw, Expr, Path, @@ -86,13 +83,7 @@ import type { } from '@src/lang/wasm' import { sketchFromKclValue } from '@src/lang/wasm' import { err } from '@src/lib/trap' -import { - allLabels, - getAngle, - getLength, - isArray, - roundOff, -} from '@src/lib/utils' +import { allLabels, getAngle, getLength, roundOff } from '@src/lib/utils' import type { EdgeCutInfo } from '@src/machines/modelingMachine' const STRAIGHT_SEGMENT_ERR = new Error( @@ -118,28 +109,6 @@ export function getCoordsFromPaths(skGroup: Sketch, index = 0): Coords2d { return [0, 0] } -export function createFirstArg( - sketchFn: ToolTip, - val: Expr | [Expr, Expr] | [Expr, Expr, Expr] -): Expr | Error { - if (isArray(val)) { - if ( - [ - 'angledLine', - 'angledLineOfXLength', - 'angledLineOfYLength', - 'angledLineToX', - 'angledLineToY', - 'angledLineThatIntersects', - ].includes(sketchFn) - ) - return createArrayExpression(val) - } else { - if (['xLine', 'xLineTo', 'yLine', 'yLineTo'].includes(sketchFn)) return val - } - return new Error('Missing sketch line type') -} - type AbbreviatedInput = | ArrayItemInput['index'] | ObjectPropertyInput['key'] @@ -179,7 +148,7 @@ const constrainInfo = ( } const commonConstraintInfoHelper = ( - callExp: CallExpression | CallExpressionKw, + callExp: CallExpressionKw, inputConstrainTypes: [ConstrainInfo['type'], ConstrainInfo['type']], stdLibFnName: ConstrainInfo['stdLibFnName'], abbreviatedInputs: [ @@ -198,13 +167,10 @@ const commonConstraintInfoHelper = ( pathToNode: PathToNode, filterValue?: string ) => { - if (callExp.type !== 'CallExpression' && callExp.type !== 'CallExpressionKw') - return [] + if (callExp.type !== 'CallExpressionKw') return [] const firstArg: [Expr | undefined, { [key: string]: Expr } | undefined] = (() => { switch (callExp.type) { - case 'CallExpression': - return [callExp.arguments[0], undefined] case 'CallExpressionKw': if (callExp.callee.name.name === 'angledLine') { const angleVal = findKwArg(ARG_ANGLE, callExp) @@ -256,8 +222,6 @@ const commonConstraintInfoHelper = ( const isArr = firstArgInner?.type === 'ArrayExpression' const argIndex = (() => { switch (callExp.type) { - case 'CallExpression': - return 0 case 'CallExpressionKw': return findKwArgAnyIndex(DETERMINING_ARGS, callExp) } @@ -406,7 +370,10 @@ const horzVertConstraintInfoHelper = ( [argIndex, ARG_INDEX_FIELD], ['arg', LABELED_ARG_FIELD], ] - const pathToCallee: PathToNode = [...pathToNode, ['callee', 'CallExpression']] + const pathToCallee: PathToNode = [ + ...pathToNode, + ['callee', 'CallExpressionKw'], + ] return [ constrainInfo( inputConstrainTypes[0], @@ -1064,7 +1031,7 @@ export const tangentialArc: SketchLineHelperKw = { pathToNode.findIndex(([_, type]) => type === 'PipeExpression') + 1 ), ['body', 'PipeExpression'], - [pipe.body.length - 1, 'CallExpression'], + [pipe.body.length - 1, 'CallExpressionKw'], ], } } else { @@ -1517,7 +1484,7 @@ export const arc: SketchLineHelperKw = { const { center, radius, from, to } = segmentInput const _node = { ...node } - const nodeMeta = getNodeFromPath( + const nodeMeta = getNodeFromPath( _node, pathToNode, 'PipeExpression' @@ -1575,7 +1542,7 @@ export const arc: SketchLineHelperKw = { } } - if (replaceExistingCallback && pipe.type !== 'CallExpression') { + if (replaceExistingCallback && pipe.type !== 'CallExpressionKw') { const { index: callIndex } = splitPathAtPipeExpression(pathToNode) const result = replaceExistingCallback([ { @@ -1619,7 +1586,7 @@ export const arc: SketchLineHelperKw = { 0, pathToNode.findIndex(([_, type]) => type === 'PipeExpression') + 1 ), - [pipe.body.length - 1, 'CallExpression'], + [pipe.body.length - 1, 'CallExpressionKw'], ], valueUsedInTransform, } @@ -1634,7 +1601,7 @@ export const arc: SketchLineHelperKw = { 0, pathToNode.findIndex(([_, type]) => type === 'PipeExpression') + 1 ), - [pipe.body.length - 1, 'CallExpression'], + [pipe.body.length - 1, 'CallExpressionKw'], ], } } else { @@ -2404,15 +2371,19 @@ export const angledLine: SketchLineHelperKw = { const newAngleVal = snaps?.previousArcTag ? snaps.negativeTangentDirection ? createBinaryExpression([ - createCallExpression('tangentToEnd', [ + createCallExpressionStdLibKw( + 'tangentToEnd', createLocalName(snaps?.previousArcTag), - ]), + [] + ), '+', createLocalName('turns::HALF_TURN'), ]) - : createCallExpression('tangentToEnd', [ + : createCallExpressionStdLibKw( + 'tangentToEnd', createLocalName(snaps?.previousArcTag), - ]) + [] + ) : createLiteral(roundOff(getAngle(from, to), 0)) const newLengthVal = createLiteral(roundOff(getLength(from, to), 2)) const newLine = createCallExpressionStdLibKw('angledLine', null, [ @@ -3447,7 +3418,7 @@ export function addCallExpressionsToPipe({ node: Node variables: VariableMap pathToNode: PathToNode - expressions: Node[] + expressions: Node[] }) { const _node: Node = structuredClone(node) const pipeExpression = getNodeFromPath>( @@ -3612,36 +3583,23 @@ function addTagToChamfer( // e.g. chamfer(tags: [getOppositeEdge(tagOfInterest), tag2]) // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - // Note: Single unlabeled arg calls could be either CallExpression or - // CallExpressionKw. const tagMatchesOppositeTagType = edgeCutMeta?.subType === 'opposite' && - ((tag.type === 'CallExpression' && - tag.callee.name.name === 'getOppositeEdge' && - tag.arguments[0].type === 'Name' && - tag.arguments[0].name.name === edgeCutMeta.tagName) || - (tag.type === 'CallExpressionKw' && - tag.callee.name.name === 'getOppositeEdge' && - tag.unlabeled?.type === 'Name' && - tag.unlabeled.name.name === edgeCutMeta.tagName)) + tag.type === 'CallExpressionKw' && + tag.callee.name.name === 'getOppositeEdge' && + tag.unlabeled?.type === 'Name' && + tag.unlabeled.name.name === edgeCutMeta.tagName if (tagMatchesOppositeTagType) return true // e.g. chamfer(tags: [getNextAdjacentEdge(tagOfInterest), tag2]) // ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - // Note: Single unlabeled arg calls could be either CallExpression or - // CallExpressionKw. const tagMatchesAdjacentTagType = edgeCutMeta?.subType === 'adjacent' && - ((tag.type === 'CallExpression' && - (tag.callee.name.name === 'getNextAdjacentEdge' || - tag.callee.name.name === 'getPrevAdjacentEdge') && - tag.arguments[0].type === 'Name' && - tag.arguments[0].name.name === edgeCutMeta.tagName) || - (tag.type === 'CallExpressionKw' && - (tag.callee.name.name === 'getNextAdjacentEdge' || - tag.callee.name.name === 'getPrevAdjacentEdge') && - tag.unlabeled?.type === 'Name' && - tag.unlabeled.name.name === edgeCutMeta.tagName)) + tag.type === 'CallExpressionKw' && + (tag.callee.name.name === 'getNextAdjacentEdge' || + tag.callee.name.name === 'getPrevAdjacentEdge') && + tag.unlabeled?.type === 'Name' && + tag.unlabeled.name.name === edgeCutMeta.tagName if (tagMatchesAdjacentTagType) return true return false }) @@ -3726,39 +3684,31 @@ function addTagKw(): addTagFn { // is a keyword or positional call. // In fact, even something like `close(%)` could be either (because we allow 1 unlabeled // starting param). - const callExpr = getNodeFromPath>( + const callExpr = getNodeFromPath>( _node, pathToNode, - ['CallExpressionKw', 'CallExpression'] + ['CallExpressionKw'] ) if (err(callExpr)) return callExpr // If the original node is a call expression, we'll need to change it to a call with keyword args. - const primaryCallExp: CallExpressionKw = - callExpr.node.type === 'CallExpressionKw' - ? callExpr.node - : { - type: 'CallExpressionKw', - callee: callExpr.node.callee, - unlabeled: callExpr.node.arguments.length - ? callExpr.node.arguments[0] - : null, - nonCodeMeta: nonCodeMetaEmpty(), - arguments: [], - } + const primaryCallExp: CallExpressionKw = callExpr.node const tagArg = findKwArg(ARG_TAG, primaryCallExp) const tagDeclarator = tagArg || createTagDeclarator(findUniqueName(_node, 'seg', 2)) const isTagExisting = !!tagArg if (!isTagExisting) { const labeledArg = createLabeledArg(ARG_TAG, tagDeclarator) + if (primaryCallExp.arguments === undefined) { + primaryCallExp.arguments = [] + } primaryCallExp.arguments.push(labeledArg) } // If we changed the node, we must replace the old node with the new node in the AST. const mustReplaceNode = primaryCallExp.type !== callExpr.node.type if (mustReplaceNode) { - getNodeFromPath(_node, pathToNode, ['CallExpression'], false, false, { + getNodeFromPath(_node, pathToNode, ['CallExpressionKw'], false, false, { ...primaryCallExp, start: callExpr.node.start, end: callExpr.node.end, @@ -3800,17 +3750,6 @@ export function getXComponent( return [sign * xComponent, sign * yComponent] } -function getFirstArgValuesForXYFns(callExpression: CallExpression): - | { - val: [Expr, Expr] - tag?: Expr - } - | Error { - // used for lineTo, line - const firstArg = callExpression.arguments[0] - return getValuesForXYFns(firstArg) -} - function getValuesForXYFns(arg: Expr): | { val: [Expr, Expr] @@ -3831,63 +3770,6 @@ function getValuesForXYFns(arg: Expr): return new Error('expected ArrayExpression or ObjectExpression') } -function getFirstArgValuesForAngleFns(callExpression: CallExpression): - | { - val: [Expr, Expr] - tag?: Expr - } - | Error { - // used for angledLine, angledLineOfXLength, angledLineToX, angledLineOfYLength, angledLineToY - const firstArg = callExpression.arguments[0] - if (firstArg.type === 'ArrayExpression') { - return { val: [firstArg.elements[0], firstArg.elements[1]] } - } - if (firstArg.type === 'ObjectExpression') { - const tag = firstArg.properties.find((p) => p.key.name === 'tag')?.value - const angle = firstArg.properties.find((p) => p.key.name === 'angle')?.value - const secondArgName = ['angledLineToX', 'angledLineToY'].includes( - callExpression?.callee?.name.name as ToolTip - ) - ? 'to' - : 'length' - const length = firstArg.properties.find( - (p) => p.key.name === secondArgName - )?.value - if (angle && length) { - return { val: [angle, length], tag } - } - } - return new Error('expected ArrayExpression or ObjectExpression') -} - -function getFirstArgValuesForXYLineFns(callExpression: CallExpression): { - val: Expr - tag?: Expr -} { - // used for xLine, yLine, xLineTo, yLineTo - const firstArg = callExpression.arguments[0] - if (firstArg.type !== 'ObjectExpression') { - return { val: firstArg } - } - const tag = firstArg.properties.find((p) => p.key.name === 'tag')?.value - const secondArgName = ['xLineTo', 'yLineTo'].includes( - // const secondArgName = ['xLineTo', 'yLineTo', 'angledLineToX', 'angledLineToY'].includes( - callExpression?.callee?.name.name - ) - ? 'to' - : 'length' - const length = firstArg.properties.find( - (p) => p.key.name === secondArgName - )?.value - if (length) { - return { val: length, tag } - } - console.warn('expected ArrayExpression or ObjectExpression') - return { - val: createLiteral(1), - } -} - export const getAngledLine = ( callExp: CallExpressionKw ): @@ -4099,34 +3981,6 @@ export function getArgForEnd(lineCall: CallExpressionKw): } } -export function getFirstArg(callExp: CallExpression): - | { - val: Expr | [Expr, Expr] | [Expr, Expr, Expr] - tag?: Expr - } - | Error { - const name = callExp?.callee?.name.name - if ( - [ - 'angledLine', - 'angledLineOfXLength', - 'angledLineToX', - 'angledLineOfYLength', - 'angledLineToY', - ].includes(name) - ) { - return getFirstArgValuesForAngleFns(callExp) - } - if (['xLine', 'yLine', 'xLineTo', 'yLineTo'].includes(name)) { - return getFirstArgValuesForXYLineFns(callExp) - } - if (['tangentialArc'].includes(name)) { - // TODO probably needs it's own implementation - return getFirstArgValuesForXYFns(callExp) - } - return new Error('unexpected call expression: ' + name) -} - /** A determining arg is one that determines the line, e.g. for xLine it's either 'length' or 'endAbsolute' */ function removeDeterminingArgs(callExp: CallExpressionKw) { diff --git a/src/lang/std/sketchConstraints.ts b/src/lang/std/sketchConstraints.ts index ae19e2155..95305c634 100644 --- a/src/lang/std/sketchConstraints.ts +++ b/src/lang/std/sketchConstraints.ts @@ -6,7 +6,6 @@ import { toolTips } from '@src/lang/langHelpers' import { getNodeFromPath } from '@src/lang/queryAst' import { findKwArgAny, topLevelRange } from '@src/lang/util' import type { - CallExpression, CallExpressionKw, Expr, LabeledArg, @@ -97,14 +96,14 @@ export function isSketchVariablesLinked( const part001 = startSketchOn(XY) |> startProfile(at=[0, 0]) |> xLine(endAbsolute = 1.69) - |> line(end = [myVar, 0.38]) // ❗️ <- cursor in this fn call (the primary) + |> line(end = [myVar, 0.38]) // ❗ <- cursor in this fn call (the primary) |> line(end = [0.41, baz]) |> xLine(length = 0.91) |> angledLine(angle = 37, length = 2) const yo = line(end = [myVar, 0.38], tag = part001) |> line(end = [1, 1]) const yo2 = line(end = [myVar, 0.38], tag = yo) - |> line(end = [1, 1]) // ❗️ <- and cursor here (secondary) is linked to the one above through variables + |> line(end = [1, 1]) // ❗ <- and cursor here (secondary) is linked to the one above through variables */ const secondaryVarName = secondaryVarDec?.id?.name if (!secondaryVarName) return false @@ -112,17 +111,11 @@ export function isSketchVariablesLinked( const { init } = secondaryVarDec if ( !init || - !( - init.type === 'CallExpression' || - init.type === 'CallExpressionKw' || - init.type === 'PipeExpression' - ) + !(init.type === 'CallExpressionKw' || init.type === 'PipeExpression') ) return false const firstCallExp = // first in pipe expression or just the call expression - init?.type === 'PipeExpression' - ? (init?.body[0] as CallExpression | CallExpressionKw) - : init + init?.type === 'PipeExpression' ? (init?.body[0] as CallExpressionKw) : init if ( !firstCallExp || !toolTips.includes(firstCallExp?.callee?.name.name as ToolTip) @@ -133,8 +126,6 @@ export function isSketchVariablesLinked( // rename this var. const secondArg = (() => { switch (firstCallExp.type) { - case 'CallExpression': - return firstCallExp?.arguments[1] case 'CallExpressionKw': return findKwArgAny(DETERMINING_ARGS, firstCallExp) } diff --git a/src/lang/std/sketchcombos.test.ts b/src/lang/std/sketchcombos.test.ts index ce3902403..ed66e016a 100644 --- a/src/lang/std/sketchcombos.test.ts +++ b/src/lang/std/sketchcombos.test.ts @@ -91,17 +91,6 @@ function getConstraintTypeFromSourceHelper( } const expr = item.expression switch (expr.type) { - case 'CallExpression': { - const arg = expr.arguments[0] - if (arg.type !== 'ArrayExpression') { - return new Error( - 'expected first arg to be array but it was ' + arg.type - ) - } - const args = arg.elements as [Expr, Expr] - const fnName = expr.callee.name.name as ToolTip - return getConstraintType(args, fnName, false) - } case 'CallExpressionKw': { const end = findKwArg(ARG_END, expr) const endAbsolute = findKwArg(ARG_END_ABSOLUTE, expr) @@ -124,9 +113,7 @@ function getConstraintTypeFromSourceHelper( return new Error('arg did not have any key named elements') } default: - return new Error( - 'must be a call (positional or keyword but it was) ' + expr.type - ) + return new Error('must be a KCL function call, but it was ' + expr.type) } } @@ -143,9 +130,6 @@ function getConstraintTypeFromSourceHelper2( let arg let isAbsolute = false switch (callExpr.type) { - case 'CallExpression': - arg = callExpr.arguments[0] - break case 'CallExpressionKw': const argEnd = getArgForEnd(callExpr) if (err(argEnd)) { @@ -634,10 +618,7 @@ part001 = startSketchOn(XY) |> startProfile(at = [-0.01, -0.05]) |> line(end = [0.01, 0.94 + 0]) // partial |> xLine(length = 3.03) // partial - |> angledLine({ - angle = halfArmAngle, - length = 2.45, -}, %, $seg01bing) // partial + |> angledLine(angle = halfArmAngle, length = 2.45, tag = $seg01bing) // partial |> xLine(length = 4.4) // partial |> yLine(length = -1) // partial |> xLine(length = -4.2 + 0) // full diff --git a/src/lang/std/sketchcombos.ts b/src/lang/std/sketchcombos.ts index d108c41aa..8ad767d07 100644 --- a/src/lang/std/sketchcombos.ts +++ b/src/lang/std/sketchcombos.ts @@ -21,23 +21,21 @@ import { createArrayExpression, createBinaryExpression, createBinaryExpressionWithUnary, - createCallExpression, createCallExpressionStdLibKw, createLabeledArg, createLiteral, createLocalName, createName, - createObjectExpression, createPipeSubstitution, createUnaryExpression, giveSketchFnCallTag, } from '@src/lang/create' +import type { createObjectExpression } from '@src/lang/create' import type { ToolTip } from '@src/lang/langHelpers' import { toolTips } from '@src/lang/langHelpers' import { getNodeFromPath, getNodeFromPathCurry } from '@src/lang/queryAst' import { getNodePathFromSourceRange } from '@src/lang/queryAstNodePathUtils' import { - createFirstArg, fnNameToTooltip, fnNameToToolTipFromSegment, getAngledLine, @@ -46,7 +44,6 @@ import { getArgForEnd, getCircle, getConstraintInfoKw, - getFirstArg, isAbsoluteLine, replaceSketchLine, tooltipToFnName, @@ -66,7 +63,6 @@ import type { import { findKwArg, findKwArgAny } from '@src/lang/util' import type { BinaryPart, - CallExpression, CallExpressionKw, Expr, LabeledArg, @@ -80,12 +76,7 @@ import type { } from '@src/lang/wasm' import { sketchFromKclValue } from '@src/lang/wasm' import type { Selections } from '@src/lib/selections' -import { - cleanErrs, - err, - isErr as _isErr, - isNotErr as _isNotErr, -} from '@src/lib/trap' +import { err, isErr as _isErr, isNotErr as _isNotErr } from '@src/lib/trap' import { allLabels, getAngle, @@ -154,7 +145,7 @@ function createCallWrapper( val: [Expr, Expr] | Expr, tag?: Expr, valueUsedInTransform?: number -): CreatedSketchExprResult { +): CreatedSketchExprResult | Error { if (isArray(val)) { if (tooltip === 'line') { const labeledArgs = [createLabeledArg('end', createArrayExpression(val))] @@ -245,7 +236,7 @@ function createCallWrapper( if (err(fnName)) { console.error(fnName) return { - callExp: createCallExpression('', []), + callExp: createCallExpressionStdLibKw('', null, []), valueUsedInTransform: 0, } } @@ -260,52 +251,9 @@ function createCallWrapper( } } - const args = - tooltip === 'circle' - ? [] - : [createFirstArg(tooltip, val), createPipeSubstitution()] - if (tag) { - args.push(tag) - } - - const [hasErr, argsWOutErr] = cleanErrs(args) - if (hasErr) { - console.error(args) - return { - callExp: createCallExpression('', []), - valueUsedInTransform: 0, - } - } - - return { - callExp: createCallExpression(tooltip, argsWOutErr), - valueUsedInTransform, - } -} - -/** - * Abstracts creation of a callExpression ready for use for a sketchCombo transform - * Assume it exists within a pipe and adds the pipe substitution - * @param tool line, lineTo, angledLine, etc - * @param val The first argument to the function - * @param tag - * @param valueUsedInTransform - * @returns - */ -function createStdlibCallExpression( - tool: ToolTip, - val: Expr, - tag?: Expr, - valueUsedInTransform?: number -): CreatedSketchExprResult { - const args = [val, createPipeSubstitution()] - if (tag) { - args.push(tag) - } - return { - callExp: createCallExpression(tool, args), - valueUsedInTransform, - } + return new Error( + `Unexpected tooltip or it didn't match the value: tooltip=${tooltip}, val=${JSON.stringify(val)}` + ) } /** @@ -1296,7 +1244,7 @@ const transformMap: TransformMap = { } export function getRemoveConstraintsTransform( - sketchFnExp: CallExpression | CallExpressionKw, + sketchFnExp: CallExpressionKw, constraintType: ConstraintType ): TransformInfo | false { let name = sketchFnExp.callee.name.name as ToolTip @@ -1345,17 +1293,14 @@ export function getRemoveConstraintsTransform( } const isAbsolute = // isAbsolute doesn't matter if the call is positional. - sketchFnExp.type === 'CallExpression' ? false : isAbsoluteLine(sketchFnExp) + isAbsoluteLine(sketchFnExp) if (err(isAbsolute)) { console.error(isAbsolute) return false } // check if the function is locked down and so can't be transformed - const firstArg = - sketchFnExp.type === 'CallExpression' - ? getFirstArg(sketchFnExp) - : getArgForEnd(sketchFnExp) + const firstArg = getArgForEnd(sketchFnExp) if (err(firstArg)) { return false } @@ -1394,19 +1339,14 @@ export function removeSingleConstraint({ inputDetails: SimplifiedArgDetails ast: Program }): TransformInfo | false { - const callExp = getNodeFromPath( - ast, - pathToCallExp, - ['CallExpression', 'CallExpressionKw'] - ) + const callExp = getNodeFromPath(ast, pathToCallExp, [ + 'CallExpressionKw', + ]) if (err(callExp)) { console.error(callExp) return false } - if ( - callExp.node.type !== 'CallExpression' && - callExp.node.type !== 'CallExpressionKw' - ) { + if (callExp.node.type !== 'CallExpressionKw') { console.error(new Error('Invalid node type')) return false } @@ -1556,30 +1496,22 @@ export function removeSingleConstraint({ const literal = rawArg?.overrideExpr ?? rawArg?.expr return (arg.index === inputToReplace.index && literal) || argExpr }) - if (callExp.node.type === 'CallExpression') { - return createStdlibCallExpression( - callExp.node.callee.name.name as any, - createArrayExpression(values), + // It's a kw call. + const isAbsolute = callExp.node.callee.name.name == 'lineTo' + if (isAbsolute) { + const args = [ + createLabeledArg(ARG_END_ABSOLUTE, createArrayExpression(values)), + ] + return createStdlibCallExpressionKw('line', args, tag) + } else { + const args = [ + createLabeledArg(ARG_END, createArrayExpression(values)), + ] + return createStdlibCallExpressionKw( + callExp.node.callee.name.name as ToolTip, + args, tag ) - } else { - // It's a kw call. - const isAbsolute = callExp.node.callee.name.name == 'lineTo' - if (isAbsolute) { - const args = [ - createLabeledArg(ARG_END_ABSOLUTE, createArrayExpression(values)), - ] - return createStdlibCallExpressionKw('line', args, tag) - } else { - const args = [ - createLabeledArg(ARG_END, createArrayExpression(values)), - ] - return createStdlibCallExpressionKw( - callExp.node.callee.name.name as ToolTip, - args, - tag - ) - } } } if ( @@ -1675,28 +1607,14 @@ export function removeSingleConstraint({ Object.entries(arrayInput).forEach(([key, value]) => { createObjParam[key] = createArrayExpression(value) }) - if ( - callExp.node.callee.name.name === 'circleThreePoint' && - callExp.node.type === 'CallExpressionKw' - ) { - // it's kwarg - const inputPlane = callExp.node.unlabeled as Expr - return createStdlibCallExpressionKw( - callExp.node.callee.name.name as any, - kwArgInput, - tag, - undefined, - inputPlane - ) - } - const objExp = createObjectExpression({ - ...createObjParam, - ...objInput, - }) - return createStdlibCallExpression( + // it's kwarg + const inputPlane = callExp.node.unlabeled as Expr + return createStdlibCallExpressionKw( callExp.node.callee.name.name as any, - objExp, - tag + kwArgInput, + tag, + undefined, + inputPlane ) } @@ -1710,63 +1628,6 @@ export function removeSingleConstraint({ return transform } -function getTransformMapPath( - sketchFnExp: CallExpression, - constraintType: ConstraintType -): - | { - toolTip: ToolTip - lineInputType: LineInputsType | 'free' - constraintType: ConstraintType - } - | false { - const name = sketchFnExp.callee.name.name as ToolTip - if (!toolTips.includes(name)) { - return false - } - if (name === 'arcTo') { - return false - } - - // check if the function is locked down and so can't be transformed - const firstArg = getFirstArg(sketchFnExp) - if (err(firstArg)) { - console.error(firstArg) - return false - } - - if (isNotLiteralArrayOrStatic(firstArg.val)) { - return false - } - - // check if the function has no constraints - if (isLiteralArrayOrStatic(firstArg.val)) { - const info = transformMap?.[name]?.free?.[constraintType] - if (info) - return { - toolTip: name, - lineInputType: 'free', - constraintType, - } - // if (info) return info - } - - // check what constraints the function has - const lineInputType = getConstraintType(firstArg.val, name, false) - if (lineInputType) { - const info = transformMap?.[name]?.[lineInputType]?.[constraintType] - if (info) - return { - toolTip: name, - lineInputType, - constraintType, - } - // if (info) return info - } - - return false -} - function getTransformMapPathKw( sketchFnExp: CallExpressionKw, constraintType: ConstraintType @@ -1838,18 +1699,6 @@ function getTransformMapPathKw( return false } -export function getTransformInfo( - sketchFnExp: CallExpression, - constraintType: ConstraintType -): TransformInfo | false { - const path = getTransformMapPath(sketchFnExp, constraintType) - if (!path) return false - const { toolTip, lineInputType, constraintType: _constraintType } = path - const info = transformMap?.[toolTip]?.[lineInputType]?.[_constraintType] - if (!info) return false - return info -} - export function getTransformInfoKw( sketchFnExp: CallExpressionKw, constraintType: ConstraintType @@ -1903,10 +1752,7 @@ export function getTransformInfos( constraintType: ConstraintType ): TransformInfo[] { const nodes = selectionRanges.graphSelections.map(({ codeRef }) => - getNodeFromPath(ast, codeRef.pathToNode, [ - 'CallExpression', - 'CallExpressionKw', - ]) + getNodeFromPath(ast, codeRef.pathToNode, ['CallExpressionKw']) ) try { @@ -1917,9 +1763,6 @@ export function getTransformInfos( } const node = nodeMeta.node - if (node?.type === 'CallExpression') { - return getTransformInfo(node, constraintType) - } if (node?.type === 'CallExpressionKw') { return getTransformInfoKw(node, constraintType) @@ -1952,7 +1795,7 @@ export function getRemoveConstraintsTransforms( } const node = nodeMeta.node - if (node?.type === 'CallExpression' || node?.type === 'CallExpressionKw') { + if (node?.type === 'CallExpressionKw') { return getRemoveConstraintsTransform(node, constraintType) } @@ -2318,9 +2161,9 @@ export function getConstraintLevelFromSourceRange( if (err(ast)) return ast let partsOfCallNode = (() => { const path = getNodePathFromSourceRange(ast, cursorRange) - const nodeMeta = getNodeFromPath< - Node | Node - >(ast, path, ['CallExpression', 'CallExpressionKw']) + const nodeMeta = getNodeFromPath>(ast, path, [ + 'CallExpressionKw', + ]) if (err(nodeMeta)) return nodeMeta const { node: sketchFnExp } = nodeMeta @@ -2328,8 +2171,6 @@ export function getConstraintLevelFromSourceRange( const range: [number, number] = [sketchFnExp.start, sketchFnExp.end] const firstArg = (() => { switch (nodeMeta.node.type) { - case 'CallExpression': - return getFirstArg(nodeMeta.node) case 'CallExpressionKw': if (name === 'circle') { return getCircle(nodeMeta.node) @@ -2426,7 +2267,6 @@ export function isExprBinaryPart(expr: Expr): expr is BinaryPart { case 'Literal': case 'Name': case 'BinaryExpression': - case 'CallExpression': case 'CallExpressionKw': case 'UnaryExpression': case 'MemberExpression': diff --git a/src/lang/std/stdTypes.ts b/src/lang/std/stdTypes.ts index eecf2c1d5..4d714df19 100644 --- a/src/lang/std/stdTypes.ts +++ b/src/lang/std/stdTypes.ts @@ -13,7 +13,6 @@ import type { ToolTip } from '@src/lang/langHelpers' import type { LineInputsType } from '@src/lang/std/sketchcombos' import type { BinaryPart, - CallExpression, CallExpressionKw, Expr, Literal, @@ -280,35 +279,6 @@ export interface ConstrainInfo { argPosition?: SimplifiedArgDetails } -export interface SketchLineHelper { - add: (a: addCall) => - | { - modifiedAst: Node - pathToNode: PathToNode - valueUsedInTransform?: number - } - | Error - updateArgs: (a: updateArgs) => - | { - modifiedAst: Node - pathToNode: PathToNode - } - | Error - getTag: (a: CallExpression) => string | Error - addTag: (a: AddTagInfo) => - | { - modifiedAst: Node - tag: string - } - | Error - getConstraintInfo: ( - callExp: Node, - code: string, - pathToNode: PathToNode, - filterValue?: string - ) => ConstrainInfo[] -} - export interface SketchLineHelperKw { add: (a: addCall) => | { diff --git a/src/lang/util.ts b/src/lang/util.ts index db554d731..40342802c 100644 --- a/src/lang/util.ts +++ b/src/lang/util.ts @@ -3,7 +3,6 @@ import type { ArrayExpression, ArtifactGraph, BinaryExpression, - CallExpression, CallExpressionKw, Expr, Literal, @@ -113,10 +112,6 @@ export function isCursorInSketchCommandRange( )?.[0] || false } -export function isCallExpression(e: any): e is CallExpression { - return e && e.type === 'CallExpression' -} - export function isCallExpressionKw(e: any): e is CallExpressionKw { return e && e.type === 'CallExpressionKw' } diff --git a/src/lang/wasm.ts b/src/lang/wasm.ts index 223dcae97..1ec085eee 100644 --- a/src/lang/wasm.ts +++ b/src/lang/wasm.ts @@ -87,7 +87,6 @@ export type { } from '@rust/kcl-lib/bindings/Artifact' export type { BinaryExpression } from '@rust/kcl-lib/bindings/BinaryExpression' export type { BinaryPart } from '@rust/kcl-lib/bindings/BinaryPart' -export type { CallExpression } from '@rust/kcl-lib/bindings/CallExpression' export type { CallExpressionKw } from '@rust/kcl-lib/bindings/CallExpressionKw' export type { Configuration } from '@rust/kcl-lib/bindings/Configuration' export type { Expr } from '@rust/kcl-lib/bindings/Expr' @@ -115,7 +114,6 @@ export type SyntaxType = | 'Program' | 'ExpressionStatement' | 'BinaryExpression' - | 'CallExpression' | 'CallExpressionKw' | 'Name' | 'ReturnStatement' diff --git a/src/lib/selections.test.ts b/src/lib/selections.test.ts index d43614bb7..233006de2 100644 --- a/src/lib/selections.test.ts +++ b/src/lib/selections.test.ts @@ -19,66 +19,48 @@ beforeAll(async () => { describe('testing source range to artifact conversion', () => { const MY_CODE = `sketch001 = startSketchOn(XZ) -profile001 = startProfile(sketch001,at=[105.55, 105.55]) - |> xLine(332.55, %, $seg01) - |> yLine(-310.12, %, $seg02) - |> xLine(-373.65, %) +profile001 = startProfile(sketch001, at = [105.55, 105.55]) + |> xLine(length = 332.55, tag = $seg01) + |> yLine(length = -310.12, tag = $seg02) + |> xLine(length = -373.65) |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) |> close() extrude001 = extrude(profile001, length = 500) -sketch002 = startSketchOn(extrude001, seg01) -profile002 = startProfile(sketch002,at=[-321.34, 361.76]) +sketch002 = startSketchOn(extrude001, face = seg01) +profile002 = startProfile(sketch002, at = [-321.34, 361.76]) |> line(end = [109.03, -61.79]) |> line(end = [-124.48, -132.65]) |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) |> close() extrude002 = extrude(profile002, length = 500) -sketch005 = startSketchOn(extrude002, 'END') -profile006 = circle(sketch005, - center = [-292.57, 302.55], - radius = 25.89 -) -sketch004 = startSketchOn(extrude001, seg02) -profile005 = startProfile(sketch004,at=[36.1, 174.49]) +sketch005 = startSketchOn(extrude002, face = END) +profile006 = circle(sketch005, center = [-292.57, 302.55], radius = 25.89) +sketch004 = startSketchOn(extrude001, face = seg02) +profile005 = startProfile(sketch004, at = [36.1, 174.49]) |> angledLine(angle = 0, length = 22.33, tag = $rectangleSegmentA003) - |> angledLine( - angle = segAng(rectangleSegmentA003) - 90, - length = 155.27, - ) - |> angledLine( - angle = segAng(rectangleSegmentA003), - length = -segLen(rectangleSegmentA003), - ) + |> angledLine(angle = segAng(rectangleSegmentA003) - 90, length = 155.27) + |> angledLine(angle = segAng(rectangleSegmentA003), length = -segLen(rectangleSegmentA003)) |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) |> close() -sketch003 = startSketchOn(extrude001, seg02) -profile003 = startProfile(sketch003,at=[-115.59, 439.4]) +sketch003 = startSketchOn(extrude001, face = seg02) +profile003 = startProfile(sketch003, at = [-115.59, 439.4]) |> angledLine(angle = 0, length = 130.08, tag = $rectangleSegmentA002) - |> angledLine( - angle = segAng(rectangleSegmentA002) - 90, - length = 123.84, - ) - |> angledLine( - angle = segAng(rectangleSegmentA002), - length = -segLen(rectangleSegmentA002), - ) + |> angledLine(angle = segAng(rectangleSegmentA002) - 90, length = 123.84) + |> angledLine(angle = segAng(rectangleSegmentA002), length = -segLen(rectangleSegmentA002)) |> line(endAbsolute = [profileStartX(%), profileStartY(%)]) |> close() -profile004 = circle(sketch003, - center = [-88.54, 209.41], - radius = 42.72 -) +profile004 = circle(sketch003, center = [-88.54, 209.41], radius = 42.72) ` const ___artifactGraph = new Map([ [ - 'c25d213e-0d04-4ec0-85f9-21deb17a9eca', + '9b6f2a00-d871-5dc9-8912-aef56b59035d', { type: 'plane', - id: 'c25d213e-0d04-4ec0-85f9-21deb17a9eca', - pathIds: ['8b84b28e-b521-45e6-bea0-2b57e5dc2064'], + id: '9b6f2a00-d871-5dc9-8912-aef56b59035d', + pathIds: ['a02393ed-4452-5b91-9ee9-4c42db7a50a3'], codeRef: { - range: [12, 31, 0], + range: [12, 29, 0], pathToNode: [ ['body', ''], [0, 'index'], @@ -89,22 +71,22 @@ profile004 = circle(sketch003, }, ], [ - '8b84b28e-b521-45e6-bea0-2b57e5dc2064', + 'a02393ed-4452-5b91-9ee9-4c42db7a50a3', { type: 'path', - id: '8b84b28e-b521-45e6-bea0-2b57e5dc2064', - planeId: 'c25d213e-0d04-4ec0-85f9-21deb17a9eca', + id: 'a02393ed-4452-5b91-9ee9-4c42db7a50a3', + planeId: '9b6f2a00-d871-5dc9-8912-aef56b59035d', segIds: [ - '0ac92ce1-384d-42c2-93ee-d6073cb6301c', - 'a19c04df-107c-4744-b575-d76957eed2de', - 'bbba630d-3b40-4c18-b9ce-97e2c63c4198', - '631d0a75-05da-48be-9ad5-ea0bfa7efc12', - 'e211240e-c634-43e2-a502-41dc9c291708', + '5b1bf38f-6ccc-5d51-a58e-a66fb7e9af9e', + '2bba5d49-d2a4-56bb-88c8-302a3fe1aca7', + '0edcccdd-3f57-5e86-84d9-90aac061b21e', + 'f7861c82-8117-5bb5-af9c-be285026b0c6', + 'f124c577-7b49-512d-ad8e-4cc84b2c53ba', ], - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - solid2dId: '5289aace-0493-4238-a32e-1c61b3e10b9e', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + solid2dId: '76214ae9-592c-4e91-bef7-cfbf5530e393', codeRef: { - range: [45, 88, 0], + range: [43, 89, 0], pathToNode: [ ['body', ''], [1, 'index'], @@ -117,18 +99,18 @@ profile004 = circle(sketch003, }, ], [ - '0ac92ce1-384d-42c2-93ee-d6073cb6301c', + '5b1bf38f-6ccc-5d51-a58e-a66fb7e9af9e', { type: 'segment', - id: '0ac92ce1-384d-42c2-93ee-d6073cb6301c', - pathId: '8b84b28e-b521-45e6-bea0-2b57e5dc2064', - surfaceId: '08c1481a-9c17-41df-baf9-8ef253cb8c83', + id: '5b1bf38f-6ccc-5d51-a58e-a66fb7e9af9e', + pathId: 'a02393ed-4452-5b91-9ee9-4c42db7a50a3', + surfaceId: '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', edgeIds: [ - '447ea755-6f79-40de-8cf5-17685a0b039d', - '24ae3c52-3bd2-4a21-b48a-37439375cd5f', + 'f87a7e1e-a594-4c7d-bb06-e19b76092678', + 'b197cdad-d60f-4e3c-afdd-58e6f1c323f1', ], codeRef: { - range: [94, 118, 0], + range: [95, 131, 0], pathToNode: [ ['body', ''], [1, 'index'], @@ -138,21 +120,25 @@ profile004 = circle(sketch003, [1, 'index'], ], }, + commonSurfaceIds: [ + '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', + 'b9e275c1-5147-46f5-af49-b3d762933748', + ], }, ], [ - 'a19c04df-107c-4744-b575-d76957eed2de', + '2bba5d49-d2a4-56bb-88c8-302a3fe1aca7', { type: 'segment', - id: 'a19c04df-107c-4744-b575-d76957eed2de', - pathId: '8b84b28e-b521-45e6-bea0-2b57e5dc2064', - surfaceId: '9314d48d-5963-492e-8bda-2acbe5df29e9', + id: '2bba5d49-d2a4-56bb-88c8-302a3fe1aca7', + pathId: 'a02393ed-4452-5b91-9ee9-4c42db7a50a3', + surfaceId: 'c30f705c-f778-48df-8e1d-33f07dcceb90', edgeIds: [ - '32079948-0977-42be-95c3-662cc455d9ff', - '9c7b1d9b-fd4d-4c58-a7e9-262627ba0fdd', + '6ddaad54-f49d-498a-8935-0af5e055f5fd', + '3315f045-caf3-46d6-9cb5-7b1c658ae562', ], codeRef: { - range: [124, 149, 0], + range: [137, 174, 0], pathToNode: [ ['body', ''], [1, 'index'], @@ -162,21 +148,25 @@ profile004 = circle(sketch003, [2, 'index'], ], }, + commonSurfaceIds: [ + 'c30f705c-f778-48df-8e1d-33f07dcceb90', + 'b9e275c1-5147-46f5-af49-b3d762933748', + ], }, ], [ - 'bbba630d-3b40-4c18-b9ce-97e2c63c4198', + '0edcccdd-3f57-5e86-84d9-90aac061b21e', { type: 'segment', - id: 'bbba630d-3b40-4c18-b9ce-97e2c63c4198', - pathId: '8b84b28e-b521-45e6-bea0-2b57e5dc2064', - surfaceId: 'ab90c913-ed62-4802-a5a6-0082789a97e3', + id: '0edcccdd-3f57-5e86-84d9-90aac061b21e', + pathId: 'a02393ed-4452-5b91-9ee9-4c42db7a50a3', + surfaceId: '35628e3b-78d6-4de4-a43d-d96220004fe1', edgeIds: [ - '89acf940-0d8b-4eea-bc42-f0536b8da366', - '05a4f54b-3fd6-4842-b871-fff7379fef33', + 'feb3eb40-cc3f-4a56-bb97-4a6d31e95d15', + 'b063089b-f929-4fe7-8df6-044f8b469990', ], codeRef: { - range: [155, 172, 0], + range: [180, 203, 0], pathToNode: [ ['body', ''], [1, 'index'], @@ -186,21 +176,25 @@ profile004 = circle(sketch003, [3, 'index'], ], }, + commonSurfaceIds: [ + '35628e3b-78d6-4de4-a43d-d96220004fe1', + 'b9e275c1-5147-46f5-af49-b3d762933748', + ], }, ], [ - '631d0a75-05da-48be-9ad5-ea0bfa7efc12', + 'f7861c82-8117-5bb5-af9c-be285026b0c6', { type: 'segment', - id: '631d0a75-05da-48be-9ad5-ea0bfa7efc12', - pathId: '8b84b28e-b521-45e6-bea0-2b57e5dc2064', - surfaceId: '793445be-45df-4126-aa57-3260984b1a3a', + id: 'f7861c82-8117-5bb5-af9c-be285026b0c6', + pathId: 'a02393ed-4452-5b91-9ee9-4c42db7a50a3', + surfaceId: '36584687-7151-4406-a51f-f07933ae1695', edgeIds: [ - '22245d83-6502-4d39-a665-86cf44a3aeb0', - 'f870f7d8-35cb-4190-a46b-0154b01f5b7e', + '8ddb1c33-8519-4467-a50f-b3879f47ea03', + 'b197cdad-d60f-4e3c-afdd-58e6f1c323f1', ], codeRef: { - range: [178, 234, 0], + range: [209, 265, 0], pathToNode: [ ['body', ''], [1, 'index'], @@ -210,16 +204,20 @@ profile004 = circle(sketch003, [4, 'index'], ], }, + commonSurfaceIds: [ + '36584687-7151-4406-a51f-f07933ae1695', + 'b9e275c1-5147-46f5-af49-b3d762933748', + ], }, ], [ - 'e211240e-c634-43e2-a502-41dc9c291708', + 'f124c577-7b49-512d-ad8e-4cc84b2c53ba', { type: 'segment', - id: 'e211240e-c634-43e2-a502-41dc9c291708', - pathId: '8b84b28e-b521-45e6-bea0-2b57e5dc2064', + id: 'f124c577-7b49-512d-ad8e-4cc84b2c53ba', + pathId: 'a02393ed-4452-5b91-9ee9-4c42db7a50a3', codeRef: { - range: [240, 247, 0], + range: [271, 278, 0], pathToNode: [ ['body', ''], [1, 'index'], @@ -232,40 +230,39 @@ profile004 = circle(sketch003, }, ], [ - '5289aace-0493-4238-a32e-1c61b3e10b9e', + '76214ae9-592c-4e91-bef7-cfbf5530e393', { type: 'solid2d', - id: '5289aace-0493-4238-a32e-1c61b3e10b9e', - pathId: '8b84b28e-b521-45e6-bea0-2b57e5dc2064', + id: '76214ae9-592c-4e91-bef7-cfbf5530e393', + pathId: 'a02393ed-4452-5b91-9ee9-4c42db7a50a3', }, ], [ - '07cade68-136c-4ba9-8e69-87e56998d264', + '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', { type: 'sweep', - id: '07cade68-136c-4ba9-8e69-87e56998d264', + id: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', subType: 'extrusion', - pathId: '8b84b28e-b521-45e6-bea0-2b57e5dc2064', + pathId: 'a02393ed-4452-5b91-9ee9-4c42db7a50a3', surfaceIds: [ - '793445be-45df-4126-aa57-3260984b1a3a', - 'ab90c913-ed62-4802-a5a6-0082789a97e3', - '9314d48d-5963-492e-8bda-2acbe5df29e9', - '08c1481a-9c17-41df-baf9-8ef253cb8c83', - '169e55f4-8439-4040-b531-e6e63c7a22f1', - '9f50004b-2015-4e6f-b79a-652ea66ad229', + '36584687-7151-4406-a51f-f07933ae1695', + '35628e3b-78d6-4de4-a43d-d96220004fe1', + 'c30f705c-f778-48df-8e1d-33f07dcceb90', + '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', + 'b9e275c1-5147-46f5-af49-b3d762933748', + 'f7afc2dd-859c-4b3b-8cac-01fcc13672ab', ], edgeIds: [ - '22245d83-6502-4d39-a665-86cf44a3aeb0', - 'f870f7d8-35cb-4190-a46b-0154b01f5b7e', - '89acf940-0d8b-4eea-bc42-f0536b8da366', - '05a4f54b-3fd6-4842-b871-fff7379fef33', - '32079948-0977-42be-95c3-662cc455d9ff', - '9c7b1d9b-fd4d-4c58-a7e9-262627ba0fdd', - '447ea755-6f79-40de-8cf5-17685a0b039d', - '24ae3c52-3bd2-4a21-b48a-37439375cd5f', + '8ddb1c33-8519-4467-a50f-b3879f47ea03', + 'b197cdad-d60f-4e3c-afdd-58e6f1c323f1', + 'feb3eb40-cc3f-4a56-bb97-4a6d31e95d15', + 'b063089b-f929-4fe7-8df6-044f8b469990', + '6ddaad54-f49d-498a-8935-0af5e055f5fd', + '3315f045-caf3-46d6-9cb5-7b1c658ae562', + 'f87a7e1e-a594-4c7d-bb06-e19b76092678', ], codeRef: { - range: [261, 294, 0], + range: [292, 325, 0], pathToNode: [ ['body', ''], [2, 'index'], @@ -276,167 +273,111 @@ profile004 = circle(sketch003, }, ], [ - '793445be-45df-4126-aa57-3260984b1a3a', + '36584687-7151-4406-a51f-f07933ae1695', { type: 'wall', - id: '793445be-45df-4126-aa57-3260984b1a3a', - segId: '631d0a75-05da-48be-9ad5-ea0bfa7efc12', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - faceCodeRef: { range: [0, 0, 0], pathToNode: [] }, + id: '36584687-7151-4406-a51f-f07933ae1695', + segId: 'f7861c82-8117-5bb5-af9c-be285026b0c6', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + faceCodeRef: { + range: [0, 0, 0], + pathToNode: [], + }, + cmdId: '6754a9b3-9b1e-5e6f-b872-7849d82fa323', }, ], [ - 'ab90c913-ed62-4802-a5a6-0082789a97e3', + '35628e3b-78d6-4de4-a43d-d96220004fe1', { type: 'wall', - id: 'ab90c913-ed62-4802-a5a6-0082789a97e3', - segId: 'bbba630d-3b40-4c18-b9ce-97e2c63c4198', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - faceCodeRef: { range: [0, 0, 0], pathToNode: [] }, + id: '35628e3b-78d6-4de4-a43d-d96220004fe1', + segId: '0edcccdd-3f57-5e86-84d9-90aac061b21e', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + faceCodeRef: { + range: [0, 0, 0], + pathToNode: [], + }, + cmdId: '6754a9b3-9b1e-5e6f-b872-7849d82fa323', }, ], [ - '9314d48d-5963-492e-8bda-2acbe5df29e9', + 'c30f705c-f778-48df-8e1d-33f07dcceb90', { type: 'wall', - id: '9314d48d-5963-492e-8bda-2acbe5df29e9', - segId: 'a19c04df-107c-4744-b575-d76957eed2de', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', + id: 'c30f705c-f778-48df-8e1d-33f07dcceb90', + segId: '2bba5d49-d2a4-56bb-88c8-302a3fe1aca7', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', pathIds: [ - '8a98773e-d965-4ef8-b7a0-784cd0e05fcb', - '04a1735a-3ce9-476f-b35f-e4e9439485ea', - '64c477ee-6206-424f-98e2-baecc387de86', + '6d22e8ef-40c6-5663-84a7-f974e53c8226', + '403d6680-758a-5228-9c69-b1cba8437ec1', + 'cbce7813-eaee-59a6-9f30-8a964229c8ee', ], - faceCodeRef: { range: [853, 885, 0], pathToNode: [] }, + faceCodeRef: { + range: [769, 808, 0], + pathToNode: [], + }, + cmdId: '6754a9b3-9b1e-5e6f-b872-7849d82fa323', }, ], [ - '08c1481a-9c17-41df-baf9-8ef253cb8c83', + '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', { type: 'wall', - id: '08c1481a-9c17-41df-baf9-8ef253cb8c83', - segId: '0ac92ce1-384d-42c2-93ee-d6073cb6301c', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - pathIds: ['9c837ce4-a600-43e8-a799-496016816409'], - faceCodeRef: { range: [308, 340, 0], pathToNode: [] }, + id: '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', + segId: '5b1bf38f-6ccc-5d51-a58e-a66fb7e9af9e', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + pathIds: ['2d6f6d5f-0e5f-5a4a-b262-2d11f87e411d'], + faceCodeRef: { + range: [339, 378, 0], + pathToNode: [], + }, + cmdId: '6754a9b3-9b1e-5e6f-b872-7849d82fa323', }, ], [ - '169e55f4-8439-4040-b531-e6e63c7a22f1', + 'b9e275c1-5147-46f5-af49-b3d762933748', { type: 'cap', - id: '169e55f4-8439-4040-b531-e6e63c7a22f1', + id: 'b9e275c1-5147-46f5-af49-b3d762933748', subType: 'start', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - faceCodeRef: { range: [0, 0, 0], pathToNode: [] }, + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + faceCodeRef: { + range: [0, 0, 0], + pathToNode: [], + }, + cmdId: '6754a9b3-9b1e-5e6f-b872-7849d82fa323', }, ], [ - '9f50004b-2015-4e6f-b79a-652ea66ad229', + 'f7afc2dd-859c-4b3b-8cac-01fcc13672ab', { type: 'cap', - id: '9f50004b-2015-4e6f-b79a-652ea66ad229', + id: 'f7afc2dd-859c-4b3b-8cac-01fcc13672ab', subType: 'end', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - faceCodeRef: { range: [0, 0, 0], pathToNode: [] }, + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + faceCodeRef: { + range: [0, 0, 0], + pathToNode: [], + }, + cmdId: '6754a9b3-9b1e-5e6f-b872-7849d82fa323', }, ], [ - '22245d83-6502-4d39-a665-86cf44a3aeb0', - { - type: 'sweepEdge', - id: '22245d83-6502-4d39-a665-86cf44a3aeb0', - subType: 'opposite', - segId: '631d0a75-05da-48be-9ad5-ea0bfa7efc12', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - }, - ], - [ - 'f870f7d8-35cb-4190-a46b-0154b01f5b7e', - { - type: 'sweepEdge', - id: 'f870f7d8-35cb-4190-a46b-0154b01f5b7e', - subType: 'adjacent', - segId: '631d0a75-05da-48be-9ad5-ea0bfa7efc12', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - }, - ], - [ - '89acf940-0d8b-4eea-bc42-f0536b8da366', - { - type: 'sweepEdge', - id: '89acf940-0d8b-4eea-bc42-f0536b8da366', - subType: 'opposite', - segId: 'bbba630d-3b40-4c18-b9ce-97e2c63c4198', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - }, - ], - [ - '05a4f54b-3fd6-4842-b871-fff7379fef33', - { - type: 'sweepEdge', - id: '05a4f54b-3fd6-4842-b871-fff7379fef33', - subType: 'adjacent', - segId: 'bbba630d-3b40-4c18-b9ce-97e2c63c4198', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - }, - ], - [ - '32079948-0977-42be-95c3-662cc455d9ff', - { - type: 'sweepEdge', - id: '32079948-0977-42be-95c3-662cc455d9ff', - subType: 'opposite', - segId: 'a19c04df-107c-4744-b575-d76957eed2de', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - }, - ], - [ - '9c7b1d9b-fd4d-4c58-a7e9-262627ba0fdd', - { - type: 'sweepEdge', - id: '9c7b1d9b-fd4d-4c58-a7e9-262627ba0fdd', - subType: 'adjacent', - segId: 'a19c04df-107c-4744-b575-d76957eed2de', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - }, - ], - [ - '447ea755-6f79-40de-8cf5-17685a0b039d', - { - type: 'sweepEdge', - id: '447ea755-6f79-40de-8cf5-17685a0b039d', - subType: 'opposite', - segId: '0ac92ce1-384d-42c2-93ee-d6073cb6301c', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - }, - ], - [ - '24ae3c52-3bd2-4a21-b48a-37439375cd5f', - { - type: 'sweepEdge', - id: '24ae3c52-3bd2-4a21-b48a-37439375cd5f', - subType: 'adjacent', - segId: '0ac92ce1-384d-42c2-93ee-d6073cb6301c', - sweepId: '07cade68-136c-4ba9-8e69-87e56998d264', - }, - ], - [ - '9c837ce4-a600-43e8-a799-496016816409', + '2d6f6d5f-0e5f-5a4a-b262-2d11f87e411d', { type: 'path', - id: '9c837ce4-a600-43e8-a799-496016816409', - planeId: '08c1481a-9c17-41df-baf9-8ef253cb8c83', + id: '2d6f6d5f-0e5f-5a4a-b262-2d11f87e411d', + planeId: '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', segIds: [ - 'c7620b36-0eee-42dd-89dd-8b49a808d9fa', - '83921e4a-fd8b-4b91-a38e-42b10bd0f1d6', - '500f8da6-c0b0-4953-87e7-67e6615094b7', - '567628ff-0f5c-4cab-aaa2-3e5812c23f55', + '73b27fd2-22b5-54dd-89c3-2278d82ae319', + '5aa38d46-878d-5283-991a-bc7c92e01b9d', + '184c29e4-fcc5-52de-8325-db46e621428a', + 'bad45333-61e7-5c3a-ac4b-4efa333a6b90', ], - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', - solid2dId: 'f614b055-bd1c-422c-9f97-6ddf59138a2b', + sweepId: '513a2eb1-ada0-51b1-83d7-4990db8676dc', + solid2dId: 'fd13e492-2201-4ac5-b169-82d1b42f8d10', codeRef: { - range: [354, 398, 0], + range: [392, 439, 0], pathToNode: [ ['body', ''], [4, 'index'], @@ -449,18 +390,18 @@ profile004 = circle(sketch003, }, ], [ - 'c7620b36-0eee-42dd-89dd-8b49a808d9fa', + '73b27fd2-22b5-54dd-89c3-2278d82ae319', { type: 'segment', - id: 'c7620b36-0eee-42dd-89dd-8b49a808d9fa', - pathId: '9c837ce4-a600-43e8-a799-496016816409', - surfaceId: '04f5614d-9558-4ec4-9374-d6cf1513ee49', + id: '73b27fd2-22b5-54dd-89c3-2278d82ae319', + pathId: '2d6f6d5f-0e5f-5a4a-b262-2d11f87e411d', + surfaceId: '02acb19d-cc92-4cae-9e55-d6dbefb78705', edgeIds: [ - '20a8f3a1-6628-4484-9aa6-eec15044eecd', - '49113603-5e8c-49f8-a371-d68ee32b72fa', + '3e4b5133-5570-44f8-92c7-b39bd5baaa55', + '9ed007ff-3149-4a72-9b43-04f74c38a171', ], codeRef: { - range: [404, 432, 0], + range: [445, 473, 0], pathToNode: [ ['body', ''], [4, 'index'], @@ -470,21 +411,25 @@ profile004 = circle(sketch003, [1, 'index'], ], }, + commonSurfaceIds: [ + '02acb19d-cc92-4cae-9e55-d6dbefb78705', + '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', + ], }, ], [ - '83921e4a-fd8b-4b91-a38e-42b10bd0f1d6', + '5aa38d46-878d-5283-991a-bc7c92e01b9d', { type: 'segment', - id: '83921e4a-fd8b-4b91-a38e-42b10bd0f1d6', - pathId: '9c837ce4-a600-43e8-a799-496016816409', - surfaceId: '96766e17-a80b-42d1-a3e2-a3d8d53a6a2c', + id: '5aa38d46-878d-5283-991a-bc7c92e01b9d', + pathId: '2d6f6d5f-0e5f-5a4a-b262-2d11f87e411d', + surfaceId: '79031810-43db-4b9f-a058-1b4f3b528796', edgeIds: [ - 'd06ed974-d3d9-4374-b5ee-9778877d4c4e', - '240d085b-4e1a-4838-9457-cae006c5f3cd', + '872ea68a-b67d-4568-84c1-b891cb68f602', + 'e8691126-6320-40ee-ab78-c6033e9044a4', ], codeRef: { - range: [438, 468, 0], + range: [479, 509, 0], pathToNode: [ ['body', ''], [4, 'index'], @@ -494,21 +439,25 @@ profile004 = circle(sketch003, [2, 'index'], ], }, + commonSurfaceIds: [ + '79031810-43db-4b9f-a058-1b4f3b528796', + '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', + ], }, ], [ - '500f8da6-c0b0-4953-87e7-67e6615094b7', + '184c29e4-fcc5-52de-8325-db46e621428a', { type: 'segment', - id: '500f8da6-c0b0-4953-87e7-67e6615094b7', - pathId: '9c837ce4-a600-43e8-a799-496016816409', - surfaceId: '93c02952-c588-49d6-8df4-c666cdfae566', + id: '184c29e4-fcc5-52de-8325-db46e621428a', + pathId: '2d6f6d5f-0e5f-5a4a-b262-2d11f87e411d', + surfaceId: 'd3f21af4-0c87-4b1b-88ff-754d1d3df39f', edgeIds: [ - 'd8acb73e-0856-419e-8f0c-08ca5a50248e', - '05d17802-82a2-4c9b-bb3f-6ee8b0deeefa', + '742d0d3e-e7e4-4484-b85c-31a76db8dd7c', + '9ed007ff-3149-4a72-9b43-04f74c38a171', ], codeRef: { - range: [474, 530, 0], + range: [515, 571, 0], pathToNode: [ ['body', ''], [4, 'index'], @@ -518,16 +467,20 @@ profile004 = circle(sketch003, [3, 'index'], ], }, + commonSurfaceIds: [ + 'd3f21af4-0c87-4b1b-88ff-754d1d3df39f', + '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', + ], }, ], [ - '567628ff-0f5c-4cab-aaa2-3e5812c23f55', + 'bad45333-61e7-5c3a-ac4b-4efa333a6b90', { type: 'segment', - id: '567628ff-0f5c-4cab-aaa2-3e5812c23f55', - pathId: '9c837ce4-a600-43e8-a799-496016816409', + id: 'bad45333-61e7-5c3a-ac4b-4efa333a6b90', + pathId: '2d6f6d5f-0e5f-5a4a-b262-2d11f87e411d', codeRef: { - range: [536, 543, 0], + range: [577, 584, 0], pathToNode: [ ['body', ''], [4, 'index'], @@ -540,36 +493,35 @@ profile004 = circle(sketch003, }, ], [ - 'f614b055-bd1c-422c-9f97-6ddf59138a2b', + 'fd13e492-2201-4ac5-b169-82d1b42f8d10', { type: 'solid2d', - id: 'f614b055-bd1c-422c-9f97-6ddf59138a2b', - pathId: '9c837ce4-a600-43e8-a799-496016816409', + id: 'fd13e492-2201-4ac5-b169-82d1b42f8d10', + pathId: '2d6f6d5f-0e5f-5a4a-b262-2d11f87e411d', }, ], [ - '1c8e1237-9df0-407a-8278-84f634f1a88f', + '513a2eb1-ada0-51b1-83d7-4990db8676dc', { type: 'sweep', - id: '1c8e1237-9df0-407a-8278-84f634f1a88f', + id: '513a2eb1-ada0-51b1-83d7-4990db8676dc', subType: 'extrusion', - pathId: '9c837ce4-a600-43e8-a799-496016816409', + pathId: '2d6f6d5f-0e5f-5a4a-b262-2d11f87e411d', surfaceIds: [ - '93c02952-c588-49d6-8df4-c666cdfae566', - '96766e17-a80b-42d1-a3e2-a3d8d53a6a2c', - '04f5614d-9558-4ec4-9374-d6cf1513ee49', - '88f83820-9c86-4c62-9f5f-0c48db2bb055', + 'd3f21af4-0c87-4b1b-88ff-754d1d3df39f', + '79031810-43db-4b9f-a058-1b4f3b528796', + '02acb19d-cc92-4cae-9e55-d6dbefb78705', + 'eecb1d39-c251-449a-b815-c0fddeb31989', ], edgeIds: [ - 'd8acb73e-0856-419e-8f0c-08ca5a50248e', - '05d17802-82a2-4c9b-bb3f-6ee8b0deeefa', - 'd06ed974-d3d9-4374-b5ee-9778877d4c4e', - '240d085b-4e1a-4838-9457-cae006c5f3cd', - '20a8f3a1-6628-4484-9aa6-eec15044eecd', - '49113603-5e8c-49f8-a371-d68ee32b72fa', + '742d0d3e-e7e4-4484-b85c-31a76db8dd7c', + '9ed007ff-3149-4a72-9b43-04f74c38a171', + '872ea68a-b67d-4568-84c1-b891cb68f602', + 'e8691126-6320-40ee-ab78-c6033e9044a4', + '3e4b5133-5570-44f8-92c7-b39bd5baaa55', ], codeRef: { - range: [557, 590, 0], + range: [598, 631, 0], pathToNode: [ ['body', ''], [5, 'index'], @@ -580,119 +532,177 @@ profile004 = circle(sketch003, }, ], [ - '93c02952-c588-49d6-8df4-c666cdfae566', + 'd3f21af4-0c87-4b1b-88ff-754d1d3df39f', { type: 'wall', - id: '93c02952-c588-49d6-8df4-c666cdfae566', - segId: '500f8da6-c0b0-4953-87e7-67e6615094b7', - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', - faceCodeRef: { range: [0, 0, 0], pathToNode: [] }, + id: 'd3f21af4-0c87-4b1b-88ff-754d1d3df39f', + segId: '184c29e4-fcc5-52de-8325-db46e621428a', + sweepId: '513a2eb1-ada0-51b1-83d7-4990db8676dc', + faceCodeRef: { + range: [0, 0, 0], + pathToNode: [], + }, + cmdId: '467f144c-9023-5dca-8cde-52aa366a50f0', }, ], [ - '96766e17-a80b-42d1-a3e2-a3d8d53a6a2c', + '79031810-43db-4b9f-a058-1b4f3b528796', { type: 'wall', - id: '96766e17-a80b-42d1-a3e2-a3d8d53a6a2c', - segId: '83921e4a-fd8b-4b91-a38e-42b10bd0f1d6', - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', - faceCodeRef: { range: [0, 0, 0], pathToNode: [] }, + id: '79031810-43db-4b9f-a058-1b4f3b528796', + segId: '5aa38d46-878d-5283-991a-bc7c92e01b9d', + sweepId: '513a2eb1-ada0-51b1-83d7-4990db8676dc', + faceCodeRef: { + range: [0, 0, 0], + pathToNode: [], + }, + cmdId: '467f144c-9023-5dca-8cde-52aa366a50f0', }, ], [ - '04f5614d-9558-4ec4-9374-d6cf1513ee49', + '02acb19d-cc92-4cae-9e55-d6dbefb78705', { type: 'wall', - id: '04f5614d-9558-4ec4-9374-d6cf1513ee49', - segId: 'c7620b36-0eee-42dd-89dd-8b49a808d9fa', - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', - faceCodeRef: { range: [0, 0, 0], pathToNode: [] }, + id: '02acb19d-cc92-4cae-9e55-d6dbefb78705', + segId: '73b27fd2-22b5-54dd-89c3-2278d82ae319', + sweepId: '513a2eb1-ada0-51b1-83d7-4990db8676dc', + faceCodeRef: { + range: [0, 0, 0], + pathToNode: [], + }, + cmdId: '467f144c-9023-5dca-8cde-52aa366a50f0', }, ], [ - '88f83820-9c86-4c62-9f5f-0c48db2bb055', + 'eecb1d39-c251-449a-b815-c0fddeb31989', { type: 'cap', - id: '88f83820-9c86-4c62-9f5f-0c48db2bb055', + id: 'eecb1d39-c251-449a-b815-c0fddeb31989', subType: 'end', - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', - pathIds: [ - '4316b730-b653-422c-b7ca-cc1591870de5', - '0e1815f5-a128-4323-9d5d-c1c17642ef74', + sweepId: '513a2eb1-ada0-51b1-83d7-4990db8676dc', + pathIds: ['77937daa-3eb5-5987-815d-f0f60051c9c6'], + faceCodeRef: { + range: [644, 681, 0], + pathToNode: [], + }, + cmdId: '467f144c-9023-5dca-8cde-52aa366a50f0', + }, + ], + [ + '8ddb1c33-8519-4467-a50f-b3879f47ea03', + { + type: 'sweepEdge', + id: '8ddb1c33-8519-4467-a50f-b3879f47ea03', + subType: 'opposite', + segId: 'f7861c82-8117-5bb5-af9c-be285026b0c6', + cmdId: 'fc48a210-666e-5981-9498-be796451c958', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + commonSurfaceIds: [ + '36584687-7151-4406-a51f-f07933ae1695', + 'f7afc2dd-859c-4b3b-8cac-01fcc13672ab', ], - faceCodeRef: { range: [603, 635, 0], pathToNode: [] }, }, ], [ - 'd8acb73e-0856-419e-8f0c-08ca5a50248e', + 'b197cdad-d60f-4e3c-afdd-58e6f1c323f1', { type: 'sweepEdge', - id: 'd8acb73e-0856-419e-8f0c-08ca5a50248e', - subType: 'opposite', - segId: '500f8da6-c0b0-4953-87e7-67e6615094b7', - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', - }, - ], - [ - '05d17802-82a2-4c9b-bb3f-6ee8b0deeefa', - { - type: 'sweepEdge', - id: '05d17802-82a2-4c9b-bb3f-6ee8b0deeefa', + id: 'b197cdad-d60f-4e3c-afdd-58e6f1c323f1', subType: 'adjacent', - segId: '500f8da6-c0b0-4953-87e7-67e6615094b7', - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', + segId: '5b1bf38f-6ccc-5d51-a58e-a66fb7e9af9e', + cmdId: 'eadced5f-a463-5a9e-bb11-44174fe799a8', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + commonSurfaceIds: [ + '36584687-7151-4406-a51f-f07933ae1695', + '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', + ], }, ], [ - 'd06ed974-d3d9-4374-b5ee-9778877d4c4e', + 'feb3eb40-cc3f-4a56-bb97-4a6d31e95d15', { type: 'sweepEdge', - id: 'd06ed974-d3d9-4374-b5ee-9778877d4c4e', + id: 'feb3eb40-cc3f-4a56-bb97-4a6d31e95d15', subType: 'opposite', - segId: '83921e4a-fd8b-4b91-a38e-42b10bd0f1d6', - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', + segId: '0edcccdd-3f57-5e86-84d9-90aac061b21e', + cmdId: 'ddad9bdf-fa37-5479-8d16-1c3d898e9c05', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + commonSurfaceIds: [ + '35628e3b-78d6-4de4-a43d-d96220004fe1', + 'f7afc2dd-859c-4b3b-8cac-01fcc13672ab', + ], }, ], [ - '240d085b-4e1a-4838-9457-cae006c5f3cd', + 'b063089b-f929-4fe7-8df6-044f8b469990', { type: 'sweepEdge', - id: '240d085b-4e1a-4838-9457-cae006c5f3cd', + id: 'b063089b-f929-4fe7-8df6-044f8b469990', subType: 'adjacent', - segId: '83921e4a-fd8b-4b91-a38e-42b10bd0f1d6', - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', + segId: '0edcccdd-3f57-5e86-84d9-90aac061b21e', + cmdId: '4b3930b1-3abd-5f35-b000-e52afece5054', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + commonSurfaceIds: [ + '36584687-7151-4406-a51f-f07933ae1695', + '35628e3b-78d6-4de4-a43d-d96220004fe1', + ], }, ], [ - '20a8f3a1-6628-4484-9aa6-eec15044eecd', + '6ddaad54-f49d-498a-8935-0af5e055f5fd', { type: 'sweepEdge', - id: '20a8f3a1-6628-4484-9aa6-eec15044eecd', + id: '6ddaad54-f49d-498a-8935-0af5e055f5fd', subType: 'opposite', - segId: 'c7620b36-0eee-42dd-89dd-8b49a808d9fa', - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', + segId: '2bba5d49-d2a4-56bb-88c8-302a3fe1aca7', + cmdId: '66bcc54e-e7b8-5cfc-b167-fadf8600ebd4', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + commonSurfaceIds: [ + 'c30f705c-f778-48df-8e1d-33f07dcceb90', + 'f7afc2dd-859c-4b3b-8cac-01fcc13672ab', + ], }, ], [ - '49113603-5e8c-49f8-a371-d68ee32b72fa', + '3315f045-caf3-46d6-9cb5-7b1c658ae562', { type: 'sweepEdge', - id: '49113603-5e8c-49f8-a371-d68ee32b72fa', + id: '3315f045-caf3-46d6-9cb5-7b1c658ae562', subType: 'adjacent', - segId: 'c7620b36-0eee-42dd-89dd-8b49a808d9fa', - sweepId: '1c8e1237-9df0-407a-8278-84f634f1a88f', + segId: '2bba5d49-d2a4-56bb-88c8-302a3fe1aca7', + cmdId: '0d7c74ca-d669-596b-acc6-12bce78b5d00', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + commonSurfaceIds: [ + '35628e3b-78d6-4de4-a43d-d96220004fe1', + 'c30f705c-f778-48df-8e1d-33f07dcceb90', + ], }, ], [ - '4316b730-b653-422c-b7ca-cc1591870de5', + 'f87a7e1e-a594-4c7d-bb06-e19b76092678', + { + type: 'sweepEdge', + id: 'f87a7e1e-a594-4c7d-bb06-e19b76092678', + subType: 'opposite', + segId: '5b1bf38f-6ccc-5d51-a58e-a66fb7e9af9e', + cmdId: '83a24ce2-6149-50fa-8a2e-05f52fbadc26', + sweepId: '0bfb95e2-1eae-560f-96e1-354e1ece4ac2', + commonSurfaceIds: [ + '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', + 'f7afc2dd-859c-4b3b-8cac-01fcc13672ab', + ], + }, + ], + [ + '77937daa-3eb5-5987-815d-f0f60051c9c6', { type: 'path', - id: '4316b730-b653-422c-b7ca-cc1591870de5', - planeId: '88f83820-9c86-4c62-9f5f-0c48db2bb055', - segIds: ['7e23a6a6-4a90-43a5-8a86-78ba915ad489'], - solid2dId: 'db576b79-8e6d-443e-9cb7-64022e2cf4be', + id: '77937daa-3eb5-5987-815d-f0f60051c9c6', + planeId: 'eecb1d39-c251-449a-b815-c0fddeb31989', + segIds: ['982833c0-35c7-57ac-89dd-f832a7fdf422'], + solid2dId: 'cccd1fe8-c69a-41ae-bca3-51479890cccd', codeRef: { - range: [649, 718, 0], + range: [695, 756, 0], pathToNode: [ ['body', ''], [7, 'index'], @@ -703,13 +713,13 @@ profile004 = circle(sketch003, }, ], [ - '7e23a6a6-4a90-43a5-8a86-78ba915ad489', + '982833c0-35c7-57ac-89dd-f832a7fdf422', { type: 'segment', - id: '7e23a6a6-4a90-43a5-8a86-78ba915ad489', - pathId: '4316b730-b653-422c-b7ca-cc1591870de5', + id: '982833c0-35c7-57ac-89dd-f832a7fdf422', + pathId: '77937daa-3eb5-5987-815d-f0f60051c9c6', codeRef: { - range: [649, 718, 0], + range: [695, 756, 0], pathToNode: [ ['body', ''], [7, 'index'], @@ -720,28 +730,32 @@ profile004 = circle(sketch003, }, ], [ - 'db576b79-8e6d-443e-9cb7-64022e2cf4be', + 'cccd1fe8-c69a-41ae-bca3-51479890cccd', { type: 'solid2d', - id: 'db576b79-8e6d-443e-9cb7-64022e2cf4be', - pathId: '4316b730-b653-422c-b7ca-cc1591870de5', + id: 'cccd1fe8-c69a-41ae-bca3-51479890cccd', + pathId: '77937daa-3eb5-5987-815d-f0f60051c9c6', }, ], [ - '0e1815f5-a128-4323-9d5d-c1c17642ef74', + '6d22e8ef-40c6-5663-84a7-f974e53c8226', { type: 'path', - id: '0e1815f5-a128-4323-9d5d-c1c17642ef74', - planeId: '88f83820-9c86-4c62-9f5f-0c48db2bb055', + id: '6d22e8ef-40c6-5663-84a7-f974e53c8226', + planeId: 'c30f705c-f778-48df-8e1d-33f07dcceb90', segIds: [ - '5b2448be-ae92-41cc-a9ac-e96393c79b9c', - '27effd70-97fd-4057-ad5b-041eb3e2998b', + 'b488bc50-6fa9-5036-8b6a-c80e325fceee', + '88a5fb18-3a08-5dbb-8de5-365fe1bec329', + '67ded251-2cf9-5a55-a7c7-59369f204c40', + 'd336f530-1154-5a0e-b032-1246a52f383b', + 'b9bce958-792d-5190-ba3c-eaa8ee7aa368', ], + solid2dId: 'cb118790-15e0-4f71-87d7-15a9e42ca40d', codeRef: { - range: [732, 776, 0], + range: [822, 866, 0], pathToNode: [ ['body', ''], - [8, 'index'], + [9, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -751,16 +765,16 @@ profile004 = circle(sketch003, }, ], [ - '5b2448be-ae92-41cc-a9ac-e96393c79b9c', + 'b488bc50-6fa9-5036-8b6a-c80e325fceee', { type: 'segment', - id: '5b2448be-ae92-41cc-a9ac-e96393c79b9c', - pathId: '0e1815f5-a128-4323-9d5d-c1c17642ef74', + id: 'b488bc50-6fa9-5036-8b6a-c80e325fceee', + pathId: '6d22e8ef-40c6-5663-84a7-f974e53c8226', codeRef: { - range: [782, 808, 0], + range: [872, 938, 0], pathToNode: [ ['body', ''], - [8, 'index'], + [9, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -770,16 +784,16 @@ profile004 = circle(sketch003, }, ], [ - '27effd70-97fd-4057-ad5b-041eb3e2998b', + '88a5fb18-3a08-5dbb-8de5-365fe1bec329', { type: 'segment', - id: '27effd70-97fd-4057-ad5b-041eb3e2998b', - pathId: '0e1815f5-a128-4323-9d5d-c1c17642ef74', + id: '88a5fb18-3a08-5dbb-8de5-365fe1bec329', + pathId: '6d22e8ef-40c6-5663-84a7-f974e53c8226', codeRef: { - range: [814, 840, 0], + range: [944, 1014, 0], pathToNode: [ ['body', ''], - [8, 'index'], + [9, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -789,81 +803,16 @@ profile004 = circle(sketch003, }, ], [ - '8a98773e-d965-4ef8-b7a0-784cd0e05fcb', - { - type: 'path', - id: '8a98773e-d965-4ef8-b7a0-784cd0e05fcb', - planeId: '9314d48d-5963-492e-8bda-2acbe5df29e9', - segIds: [ - 'f149263c-1e58-40e0-b5a3-3cb87fa75d8c', - 'f26505c7-4d98-4f88-af22-d257deac07be', - 'c77ff330-afbc-4709-b735-b651ea034866', - 'fbba311f-ecc9-4a3e-bca3-3c66878978c0', - 'fc85af86-cfed-4c2c-bc66-e67d208b9385', - ], - solid2dId: '6d78b893-6a95-432c-b342-bdb14a012833', - codeRef: { - range: [899, 940, 0], - pathToNode: [ - ['body', ''], - [10, 'index'], - ['declaration', 'VariableDeclaration'], - ['init', ''], - ['body', 'PipeExpression'], - [0, 'index'], - ], - }, - }, - ], - [ - 'f149263c-1e58-40e0-b5a3-3cb87fa75d8c', + '67ded251-2cf9-5a55-a7c7-59369f204c40', { type: 'segment', - id: 'f149263c-1e58-40e0-b5a3-3cb87fa75d8c', - pathId: '8a98773e-d965-4ef8-b7a0-784cd0e05fcb', + id: '67ded251-2cf9-5a55-a7c7-59369f204c40', + pathId: '6d22e8ef-40c6-5663-84a7-f974e53c8226', codeRef: { - range: [946, 994, 0], + range: [1020, 1108, 0], pathToNode: [ ['body', ''], - [10, 'index'], - ['declaration', 'VariableDeclaration'], - ['init', ''], - ['body', 'PipeExpression'], - [1, 'index'], - ], - }, - }, - ], - [ - 'f26505c7-4d98-4f88-af22-d257deac07be', - { - type: 'segment', - id: 'f26505c7-4d98-4f88-af22-d257deac07be', - pathId: '8a98773e-d965-4ef8-b7a0-784cd0e05fcb', - codeRef: { - range: [1000, 1079, 0], - pathToNode: [ - ['body', ''], - [10, 'index'], - ['declaration', 'VariableDeclaration'], - ['init', ''], - ['body', 'PipeExpression'], - [2, 'index'], - ], - }, - }, - ], - [ - 'c77ff330-afbc-4709-b735-b651ea034866', - { - type: 'segment', - id: 'c77ff330-afbc-4709-b735-b651ea034866', - pathId: '8a98773e-d965-4ef8-b7a0-784cd0e05fcb', - codeRef: { - range: [1085, 1182, 0], - pathToNode: [ - ['body', ''], - [10, 'index'], + [9, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -873,16 +822,16 @@ profile004 = circle(sketch003, }, ], [ - 'fbba311f-ecc9-4a3e-bca3-3c66878978c0', + 'd336f530-1154-5a0e-b032-1246a52f383b', { type: 'segment', - id: 'fbba311f-ecc9-4a3e-bca3-3c66878978c0', - pathId: '8a98773e-d965-4ef8-b7a0-784cd0e05fcb', + id: 'd336f530-1154-5a0e-b032-1246a52f383b', + pathId: '6d22e8ef-40c6-5663-84a7-f974e53c8226', codeRef: { - range: [1188, 1244, 0], + range: [1114, 1170, 0], pathToNode: [ ['body', ''], - [10, 'index'], + [9, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -892,16 +841,16 @@ profile004 = circle(sketch003, }, ], [ - 'fc85af86-cfed-4c2c-bc66-e67d208b9385', + 'b9bce958-792d-5190-ba3c-eaa8ee7aa368', { type: 'segment', - id: 'fc85af86-cfed-4c2c-bc66-e67d208b9385', - pathId: '8a98773e-d965-4ef8-b7a0-784cd0e05fcb', + id: 'b9bce958-792d-5190-ba3c-eaa8ee7aa368', + pathId: '6d22e8ef-40c6-5663-84a7-f974e53c8226', codeRef: { - range: [1250, 1257, 0], + range: [1176, 1183, 0], pathToNode: [ ['body', ''], - [10, 'index'], + [9, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -911,32 +860,32 @@ profile004 = circle(sketch003, }, ], [ - '6d78b893-6a95-432c-b342-bdb14a012833', + 'cb118790-15e0-4f71-87d7-15a9e42ca40d', { type: 'solid2d', - id: '6d78b893-6a95-432c-b342-bdb14a012833', - pathId: '8a98773e-d965-4ef8-b7a0-784cd0e05fcb', + id: 'cb118790-15e0-4f71-87d7-15a9e42ca40d', + pathId: '6d22e8ef-40c6-5663-84a7-f974e53c8226', }, ], [ - '04a1735a-3ce9-476f-b35f-e4e9439485ea', + '403d6680-758a-5228-9c69-b1cba8437ec1', { type: 'path', - id: '04a1735a-3ce9-476f-b35f-e4e9439485ea', - planeId: '9314d48d-5963-492e-8bda-2acbe5df29e9', + id: '403d6680-758a-5228-9c69-b1cba8437ec1', + planeId: 'c30f705c-f778-48df-8e1d-33f07dcceb90', segIds: [ - 'ca369e71-6d1b-483c-a9c4-f5ebdef24479', - '5a3ebb81-8050-4ad1-a668-0882f005a4a8', - 'c9cf1dfa-1c3a-490f-9d26-071ea3c38e30', - 'a0e58546-572d-41f1-99dd-5d18db18cb00', - '870eb08f-cef2-4fd3-8f7e-f5ef52fd7867', + 'af5fda78-d536-572d-b62e-a7bd379ee293', + 'a5116914-4686-5755-8085-41f27b6b7e44', + 'f3589016-3628-5507-947a-ec1b811af83e', + '376c9e4e-0778-54f9-bdf2-5f8401c2db17', + 'b8d0780e-3def-5ac1-bd15-98ca3b053d16', ], - solid2dId: 'c3b75c5f-6976-4054-a7f1-8f5a5191771c', + solid2dId: 'befee397-994b-4ed4-825a-9f80457fe85a', codeRef: { - range: [1316, 1359, 0], + range: [1249, 1295, 0], pathToNode: [ ['body', ''], - [12, 'index'], + [11, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -946,16 +895,16 @@ profile004 = circle(sketch003, }, ], [ - 'ca369e71-6d1b-483c-a9c4-f5ebdef24479', + 'af5fda78-d536-572d-b62e-a7bd379ee293', { type: 'segment', - id: 'ca369e71-6d1b-483c-a9c4-f5ebdef24479', - pathId: '04a1735a-3ce9-476f-b35f-e4e9439485ea', + id: 'af5fda78-d536-572d-b62e-a7bd379ee293', + pathId: '403d6680-758a-5228-9c69-b1cba8437ec1', codeRef: { - range: [1365, 1414, 0], + range: [1301, 1368, 0], pathToNode: [ ['body', ''], - [12, 'index'], + [11, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -965,16 +914,16 @@ profile004 = circle(sketch003, }, ], [ - '5a3ebb81-8050-4ad1-a668-0882f005a4a8', + 'a5116914-4686-5755-8085-41f27b6b7e44', { type: 'segment', - id: '5a3ebb81-8050-4ad1-a668-0882f005a4a8', - pathId: '04a1735a-3ce9-476f-b35f-e4e9439485ea', + id: 'a5116914-4686-5755-8085-41f27b6b7e44', + pathId: '403d6680-758a-5228-9c69-b1cba8437ec1', codeRef: { - range: [1420, 1499, 0], + range: [1374, 1444, 0], pathToNode: [ ['body', ''], - [12, 'index'], + [11, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -984,16 +933,16 @@ profile004 = circle(sketch003, }, ], [ - 'c9cf1dfa-1c3a-490f-9d26-071ea3c38e30', + 'f3589016-3628-5507-947a-ec1b811af83e', { type: 'segment', - id: 'c9cf1dfa-1c3a-490f-9d26-071ea3c38e30', - pathId: '04a1735a-3ce9-476f-b35f-e4e9439485ea', + id: 'f3589016-3628-5507-947a-ec1b811af83e', + pathId: '403d6680-758a-5228-9c69-b1cba8437ec1', codeRef: { - range: [1505, 1602, 0], + range: [1450, 1538, 0], pathToNode: [ ['body', ''], - [12, 'index'], + [11, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -1003,16 +952,16 @@ profile004 = circle(sketch003, }, ], [ - 'a0e58546-572d-41f1-99dd-5d18db18cb00', + '376c9e4e-0778-54f9-bdf2-5f8401c2db17', { type: 'segment', - id: 'a0e58546-572d-41f1-99dd-5d18db18cb00', - pathId: '04a1735a-3ce9-476f-b35f-e4e9439485ea', + id: '376c9e4e-0778-54f9-bdf2-5f8401c2db17', + pathId: '403d6680-758a-5228-9c69-b1cba8437ec1', codeRef: { - range: [1608, 1664, 0], + range: [1544, 1600, 0], pathToNode: [ ['body', ''], - [12, 'index'], + [11, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -1022,16 +971,16 @@ profile004 = circle(sketch003, }, ], [ - '870eb08f-cef2-4fd3-8f7e-f5ef52fd7867', + 'b8d0780e-3def-5ac1-bd15-98ca3b053d16', { type: 'segment', - id: '870eb08f-cef2-4fd3-8f7e-f5ef52fd7867', - pathId: '04a1735a-3ce9-476f-b35f-e4e9439485ea', + id: 'b8d0780e-3def-5ac1-bd15-98ca3b053d16', + pathId: '403d6680-758a-5228-9c69-b1cba8437ec1', codeRef: { - range: [1670, 1677, 0], + range: [1606, 1613, 0], pathToNode: [ ['body', ''], - [12, 'index'], + [11, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ['body', 'PipeExpression'], @@ -1041,26 +990,26 @@ profile004 = circle(sketch003, }, ], [ - 'c3b75c5f-6976-4054-a7f1-8f5a5191771c', + 'befee397-994b-4ed4-825a-9f80457fe85a', { type: 'solid2d', - id: 'c3b75c5f-6976-4054-a7f1-8f5a5191771c', - pathId: '04a1735a-3ce9-476f-b35f-e4e9439485ea', + id: 'befee397-994b-4ed4-825a-9f80457fe85a', + pathId: '403d6680-758a-5228-9c69-b1cba8437ec1', }, ], [ - '64c477ee-6206-424f-98e2-baecc387de86', + 'cbce7813-eaee-59a6-9f30-8a964229c8ee', { type: 'path', - id: '64c477ee-6206-424f-98e2-baecc387de86', - planeId: '9314d48d-5963-492e-8bda-2acbe5df29e9', - segIds: ['daa846da-c2f4-40ea-9c89-24c0ce558a10'], - solid2dId: 'd7f1c4f1-1095-4a23-878d-723a0dadfc18', + id: 'cbce7813-eaee-59a6-9f30-8a964229c8ee', + planeId: 'c30f705c-f778-48df-8e1d-33f07dcceb90', + segIds: ['ef0c6ea8-bf67-5d81-9a3d-c5370ecbce4e'], + solid2dId: 'db11f442-d447-456b-9a01-cb6ddfae0629', codeRef: { - range: [1691, 1759, 0], + range: [1627, 1687, 0], pathToNode: [ ['body', ''], - [13, 'index'], + [12, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ], @@ -1068,16 +1017,16 @@ profile004 = circle(sketch003, }, ], [ - 'daa846da-c2f4-40ea-9c89-24c0ce558a10', + 'ef0c6ea8-bf67-5d81-9a3d-c5370ecbce4e', { type: 'segment', - id: 'daa846da-c2f4-40ea-9c89-24c0ce558a10', - pathId: '64c477ee-6206-424f-98e2-baecc387de86', + id: 'ef0c6ea8-bf67-5d81-9a3d-c5370ecbce4e', + pathId: 'cbce7813-eaee-59a6-9f30-8a964229c8ee', codeRef: { - range: [1691, 1759, 0], + range: [1627, 1687, 0], pathToNode: [ ['body', ''], - [13, 'index'], + [12, 'index'], ['declaration', 'VariableDeclaration'], ['init', ''], ], @@ -1085,11 +1034,154 @@ profile004 = circle(sketch003, }, ], [ - 'd7f1c4f1-1095-4a23-878d-723a0dadfc18', + 'db11f442-d447-456b-9a01-cb6ddfae0629', { type: 'solid2d', - id: 'd7f1c4f1-1095-4a23-878d-723a0dadfc18', - pathId: '64c477ee-6206-424f-98e2-baecc387de86', + id: 'db11f442-d447-456b-9a01-cb6ddfae0629', + pathId: 'cbce7813-eaee-59a6-9f30-8a964229c8ee', + }, + ], + [ + '742d0d3e-e7e4-4484-b85c-31a76db8dd7c', + { + type: 'sweepEdge', + id: '742d0d3e-e7e4-4484-b85c-31a76db8dd7c', + subType: 'opposite', + segId: '184c29e4-fcc5-52de-8325-db46e621428a', + cmdId: '281c7b2f-b60b-5916-a22a-2f95550bfa02', + sweepId: '513a2eb1-ada0-51b1-83d7-4990db8676dc', + commonSurfaceIds: [ + 'd3f21af4-0c87-4b1b-88ff-754d1d3df39f', + 'eecb1d39-c251-449a-b815-c0fddeb31989', + ], + }, + ], + [ + '9ed007ff-3149-4a72-9b43-04f74c38a171', + { + type: 'sweepEdge', + id: '9ed007ff-3149-4a72-9b43-04f74c38a171', + subType: 'adjacent', + segId: '73b27fd2-22b5-54dd-89c3-2278d82ae319', + cmdId: 'a202df40-568c-5004-b1ac-bee90c9270bd', + sweepId: '513a2eb1-ada0-51b1-83d7-4990db8676dc', + commonSurfaceIds: [ + 'd3f21af4-0c87-4b1b-88ff-754d1d3df39f', + '02acb19d-cc92-4cae-9e55-d6dbefb78705', + ], + }, + ], + [ + '872ea68a-b67d-4568-84c1-b891cb68f602', + { + type: 'sweepEdge', + id: '872ea68a-b67d-4568-84c1-b891cb68f602', + subType: 'opposite', + segId: '5aa38d46-878d-5283-991a-bc7c92e01b9d', + cmdId: 'cbe914d4-4778-5956-956d-856cc2f84ae1', + sweepId: '513a2eb1-ada0-51b1-83d7-4990db8676dc', + commonSurfaceIds: [ + '79031810-43db-4b9f-a058-1b4f3b528796', + 'eecb1d39-c251-449a-b815-c0fddeb31989', + ], + }, + ], + [ + 'e8691126-6320-40ee-ab78-c6033e9044a4', + { + type: 'sweepEdge', + id: 'e8691126-6320-40ee-ab78-c6033e9044a4', + subType: 'adjacent', + segId: '5aa38d46-878d-5283-991a-bc7c92e01b9d', + cmdId: '05e502ad-9a39-5a1f-9dcb-c0bc86816bd1', + sweepId: '513a2eb1-ada0-51b1-83d7-4990db8676dc', + commonSurfaceIds: [ + '79031810-43db-4b9f-a058-1b4f3b528796', + '02acb19d-cc92-4cae-9e55-d6dbefb78705', + ], + }, + ], + [ + '3e4b5133-5570-44f8-92c7-b39bd5baaa55', + { + type: 'sweepEdge', + id: '3e4b5133-5570-44f8-92c7-b39bd5baaa55', + subType: 'opposite', + segId: '73b27fd2-22b5-54dd-89c3-2278d82ae319', + cmdId: '86edfd76-987d-56c0-bd0c-5535d1bbc20a', + sweepId: '513a2eb1-ada0-51b1-83d7-4990db8676dc', + commonSurfaceIds: [ + '02acb19d-cc92-4cae-9e55-d6dbefb78705', + 'eecb1d39-c251-449a-b815-c0fddeb31989', + ], + }, + ], + [ + '87f9e2b6-7694-5281-97b0-9a4f7cbaa5c8', + { + type: 'startSketchOnFace', + id: '87f9e2b6-7694-5281-97b0-9a4f7cbaa5c8', + faceId: '1b3c0e51-a51b-41d3-ae0a-1c9e0c18b57a', + codeRef: { + range: [339, 378, 0], + pathToNode: [ + ['body', ''], + [3, 'index'], + ['declaration', 'VariableDeclaration'], + ['init', ''], + ], + }, + }, + ], + [ + '66a241c7-4422-5e26-b1dd-e01ff9137412', + { + type: 'startSketchOnFace', + id: '66a241c7-4422-5e26-b1dd-e01ff9137412', + faceId: 'eecb1d39-c251-449a-b815-c0fddeb31989', + codeRef: { + range: [644, 681, 0], + pathToNode: [ + ['body', ''], + [6, 'index'], + ['declaration', 'VariableDeclaration'], + ['init', ''], + ], + }, + }, + ], + [ + '0923234b-36f9-5dcf-8d97-bee05df4583d', + { + type: 'startSketchOnFace', + id: '0923234b-36f9-5dcf-8d97-bee05df4583d', + faceId: 'c30f705c-f778-48df-8e1d-33f07dcceb90', + codeRef: { + range: [769, 808, 0], + pathToNode: [ + ['body', ''], + [8, 'index'], + ['declaration', 'VariableDeclaration'], + ['init', ''], + ], + }, + }, + ], + [ + 'f06738bb-2e28-5a48-869a-8f9a0bcfaae1', + { + type: 'startSketchOnFace', + id: 'f06738bb-2e28-5a48-869a-8f9a0bcfaae1', + faceId: 'c30f705c-f778-48df-8e1d-33f07dcceb90', + codeRef: { + range: [1196, 1235, 0], + pathToNode: [ + ['body', ''], + [10, 'index'], + ['declaration', 'VariableDeclaration'], + ['init', ''], + ], + }, }, ], ]) as ArtifactGraph @@ -1130,7 +1222,7 @@ profile004 = circle(sketch003, [ 'segment 2', { - snippet: 'yLine(-310.12, %, $seg02)', + snippet: 'yLine(length = -310.12, tag = $seg02)', artifactDetails: { type: 'segment', range: [149, 149, 0], @@ -1142,7 +1234,7 @@ profile004 = circle(sketch003, [ 'sketch on face plane selection', { - snippet: 'sketch002 = startSketchOn(extrude001, seg01)', + snippet: 'sketch002 = startSketchOn(extrude001, face = seg01)', artifactDetails: { type: 'wall', range: [340, 340, 0], @@ -1162,7 +1254,7 @@ profile004 = circle(sketch003, singleIdsKeys: ['id', 'pathId'], arrayIdsKeys: [ { key: 'surfaceIds', length: 6 }, - { key: 'edgeIds', length: 8 }, + { key: 'edgeIds', length: 7 }, ], }, }, @@ -1170,7 +1262,7 @@ profile004 = circle(sketch003, [ 'path selection for a sketch on face', { - snippet: 'profile002 = startProfile(sketch002,at=[-321.34, 361.76])', + snippet: 'profile002 = startProfile(sketch002, at = [-321.34, 361.76])', artifactDetails: { type: 'solid2d', range: [398, 398, 0], @@ -1182,13 +1274,13 @@ profile004 = circle(sketch003, [ 'startSketch on for a end cap that is also sketch on face on face', { - snippet: "sketch005 = startSketchOn(extrude002, 'END')", + snippet: 'sketch005 = startSketchOn(extrude002, face = END)', artifactDetails: { type: 'cap', subType: 'end', range: [635, 635, 0], singleIdsKeys: ['id', 'sweepId'], - arrayIdsKeys: [{ key: 'pathIds', length: 2 }], + arrayIdsKeys: [{ key: 'pathIds', length: 1 }], }, }, ], @@ -1297,4 +1389,24 @@ describe('findLastRangeStartingBefore', () => { const result = findLastRangeStartingBefore(mockIndex, 50) expect(result).toBe(1) }) + + test('handles duplicate ranges', () => { + const mockIndex = [ + { + range: [10, 20, 0] as SourceRange, + entry: { id: '1', artifact: { id: '1', type: 'segment' } as Artifact }, + }, + { + range: [30, 40, 0] as SourceRange, + entry: { id: '2', artifact: { id: '2', type: 'segment' } as Artifact }, + }, + { + range: [30, 40, 0] as SourceRange, + entry: { id: '3', artifact: { id: '3', type: 'segment' } as Artifact }, + }, + ] as ArtifactIndex + + const result = findLastRangeStartingBefore(mockIndex, 50) + expect(result).toBe(1) + }) }) diff --git a/src/lib/selections.ts b/src/lib/selections.ts index d4c28a7f0..846aa28ae 100644 --- a/src/lib/selections.ts +++ b/src/lib/selections.ts @@ -19,7 +19,6 @@ import type { PathToNodeMap } from '@src/lang/std/sketchcombos' import { isCursorInSketchCommandRange, topLevelRange } from '@src/lang/util' import type { ArtifactGraph, - CallExpression, CallExpressionKw, Expr, Program, @@ -354,10 +353,10 @@ function updateSceneObjectColors(codeBasedSelections: Selection[]) { Object.values(sceneEntitiesManager.activeSegments).forEach((segmentGroup) => { if (!SEGMENT_BODIES_PLUS_PROFILE_START.includes(segmentGroup?.name)) return - const nodeMeta = getNodeFromPath>( + const nodeMeta = getNodeFromPath>( updated, segmentGroup.userData.pathToNode, - ['CallExpression', 'CallExpressionKw'] + ['CallExpressionKw'] ) if (err(nodeMeta)) return const node = nodeMeta.node @@ -513,8 +512,11 @@ export function canSubmitSelectionArg( } /** - * Find the index of the last range where range[0] < targetStart - * This is used as a starting point for linear search of overlapping ranges + * Find the index of the last range where range.start < targetStart. When there + * are ranges with equal start positions just before the targetStart, the first + * one is returned. The returned index can be used as a starting point for + * linear search of overlapping ranges. + * * @param index The sorted array of ranges to search through * @param targetStart The start position to compare against * @returns The index of the last range where range[0] < targetStart @@ -523,6 +525,10 @@ export function findLastRangeStartingBefore( index: ArtifactIndex, targetStart: number ): number { + if (index.length === 0) { + return 0 + } + let left = 0 let right = index.length - 1 let lastValidIndex = 0 @@ -541,7 +547,21 @@ export function findLastRangeStartingBefore( } } - return lastValidIndex + // We may have passed the correct index. Consider what happens when there are + // duplicates. We found the last one, but earlier ones need to be checked too. + let resultIndex = lastValidIndex + let resultRange = index[resultIndex].range + for (let i = lastValidIndex - 1; i >= 0; i--) { + const range = index[i].range + if (range[0] === resultRange[0]) { + resultIndex = i + resultRange = range + } else { + break + } + } + + return resultIndex } function findOverlappingArtifactsFromIndex( diff --git a/src/machines/modelingMachine.ts b/src/machines/modelingMachine.ts index 0def5f8a5..89f9f6cc7 100644 --- a/src/machines/modelingMachine.ts +++ b/src/machines/modelingMachine.ts @@ -103,7 +103,6 @@ import { import type { Coords2d } from '@src/lang/std/sketch' import type { Artifact, - CallExpression, CallExpressionKw, Expr, Literal, @@ -2077,7 +2076,7 @@ export const modelingMachine = setup({ let cylinderDeclarator: VariableDeclarator | undefined let axisExpression: - | Node + | Node | Node | undefined @@ -2382,10 +2381,7 @@ export const modelingMachine = setup({ }) } - if ( - extrudeNode.node.declaration.init.type === 'CallExpression' || - extrudeNode.node.declaration.init.type === 'CallExpressionKw' - ) { + if (extrudeNode.node.declaration.init.type === 'CallExpressionKw') { pathToExtrudeNode = extrudeLookupResult.pathToExtrudeNode } else if ( segmentNode.node.declaration.init.type === 'PipeExpression' @@ -4879,8 +4875,7 @@ export function isEditingExistingSketch({ if (variableDeclaration.node.type !== 'VariableDeclarator') return false const maybePipeExpression = variableDeclaration.node.init if ( - (maybePipeExpression.type === 'CallExpression' || - maybePipeExpression.type === 'CallExpressionKw') && + maybePipeExpression.type === 'CallExpressionKw' && (maybePipeExpression.callee.name.name === 'startProfile' || maybePipeExpression.callee.name.name === 'circle' || maybePipeExpression.callee.name.name === 'circleThreePoint') @@ -4960,7 +4955,7 @@ export function isClosedSketch({ if (node.node?.declaration?.init?.type !== 'PipeExpression') return false return node.node.declaration.init.body.some( (node) => - (node.type === 'CallExpression' || node.type === 'CallExpressionKw') && + node.type === 'CallExpressionKw' && (node.callee.name.name === 'close' || node.callee.name.name === 'circle') ) }