diff --git a/src/wasm-lib/kcl/src/ast/types.rs b/src/wasm-lib/kcl/src/ast/types.rs index 02b15d00f..9e9945b2e 100644 --- a/src/wasm-lib/kcl/src/ast/types.rs +++ b/src/wasm-lib/kcl/src/ast/types.rs @@ -494,7 +494,7 @@ impl From<&BodyItem> for SourceRange { #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, ts_rs::TS, JsonSchema, Bake)] #[databake(path = kcl_lib::ast::types)] #[ts(export)] -#[serde(tag = "type")] +#[serde(untagged)] pub enum Expr { Literal(Box), Identifier(Box), diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__a.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__a.snap index b911bab7a..51cd3731e 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__a.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__a.snap @@ -23,13 +23,11 @@ expression: actual "name": "boxSketch" }, "init": { - "type": "PipeExpression", "type": "PipeExpression", "start": 18, "end": 143, "body": [ { - "type": "CallExpression", "type": "CallExpression", "start": 18, "end": 39, @@ -41,13 +39,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 32, "end": 38, "elements": [ { - "type": "Literal", "type": "Literal", "start": 33, "end": 34, @@ -55,7 +51,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 36, "end": 37, @@ -68,7 +63,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 47, "end": 63, @@ -80,13 +74,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 52, "end": 59, "elements": [ { - "type": "Literal", "type": "Literal", "start": 53, "end": 54, @@ -94,7 +86,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 56, "end": 58, @@ -104,7 +95,6 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 61, "end": 62 @@ -113,7 +103,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 71, "end": 96, @@ -125,13 +114,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 85, "end": 92, "elements": [ { - "type": "UnaryExpression", "type": "UnaryExpression", "start": 86, "end": 88, @@ -146,7 +133,6 @@ expression: actual } }, { - "type": "Literal", "type": "Literal", "start": 90, "end": 91, @@ -156,7 +142,6 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 94, "end": 95 @@ -165,7 +150,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 104, "end": 121, @@ -177,13 +161,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 109, "end": 117, "elements": [ { - "type": "Literal", "type": "Literal", "start": 110, "end": 111, @@ -191,7 +173,6 @@ expression: actual "raw": "5" }, { - "type": "UnaryExpression", "type": "UnaryExpression", "start": 113, "end": 116, @@ -208,7 +189,6 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 119, "end": 120 @@ -217,7 +197,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 129, "end": 143, @@ -229,7 +208,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 137, "end": 139, @@ -237,7 +215,6 @@ expression: actual "raw": "10" }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 141, "end": 142 diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aa.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aa.snap index c3a940d8c..581581ea5 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aa.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aa.snap @@ -23,7 +23,6 @@ expression: actual "name": "sg" }, "init": { - "type": "UnaryExpression", "type": "UnaryExpression", "start": 11, "end": 17, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ab.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ab.snap index 545ee7aa6..3c93968e0 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ab.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ab.snap @@ -12,7 +12,6 @@ expression: actual "start": 0, "end": 23, "expression": { - "type": "CallExpression", "type": "CallExpression", "start": 0, "end": 23, @@ -24,7 +23,6 @@ expression: actual }, "arguments": [ { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 7, "end": 22, @@ -40,13 +38,11 @@ expression: actual "name": "to" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 13, "end": 20, "elements": [ { - "type": "Literal", "type": "Literal", "start": 14, "end": 15, @@ -54,7 +50,6 @@ expression: actual "raw": "0" }, { - "type": "UnaryExpression", "type": "UnaryExpression", "start": 17, "end": 19, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ac.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ac.snap index c10a50947..a8258d98b 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ac.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ac.snap @@ -23,12 +23,10 @@ expression: actual "name": "myArray" }, "init": { - "type": "ArrayRangeExpression", "type": "ArrayRangeExpression", "start": 16, "end": 23, "startElement": { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -36,7 +34,6 @@ expression: actual "raw": "0" }, "endElement": { - "type": "Literal", "type": "Literal", "start": 20, "end": 22, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ad.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ad.snap index 00aa97086..231e01b13 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ad.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ad.snap @@ -23,7 +23,6 @@ expression: actual "name": "firstPrimeNumber" }, "init": { - "type": "FunctionExpression", "type": "FunctionExpression", "start": 27, "end": 57, @@ -38,7 +37,6 @@ expression: actual "start": 43, "end": 51, "argument": { - "type": "Literal", "type": "Literal", "start": 50, "end": 51, @@ -59,7 +57,6 @@ expression: actual "start": 62, "end": 80, "expression": { - "type": "CallExpression", "type": "CallExpression", "start": 62, "end": 80, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ae.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ae.snap index 9f4006f35..7781b25fc 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ae.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ae.snap @@ -23,7 +23,6 @@ expression: actual "name": "thing" }, "init": { - "type": "FunctionExpression", "type": "FunctionExpression", "start": 11, "end": 49, @@ -49,7 +48,6 @@ expression: actual "start": 32, "end": 43, "argument": { - "type": "Literal", "type": "Literal", "start": 39, "end": 43, @@ -70,7 +68,6 @@ expression: actual "start": 54, "end": 66, "expression": { - "type": "CallExpression", "type": "CallExpression", "start": 54, "end": 66, @@ -82,7 +79,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 60, "end": 65, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__af.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__af.snap index 7d28c8c5d..b177f4287 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__af.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__af.snap @@ -23,13 +23,11 @@ expression: actual "name": "mySketch" }, "init": { - "type": "PipeExpression", "type": "PipeExpression", "start": 17, "end": 165, "body": [ { - "type": "CallExpression", "type": "CallExpression", "start": 17, "end": 37, @@ -41,13 +39,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 31, "end": 36, "elements": [ { - "type": "Literal", "type": "Literal", "start": 32, "end": 33, @@ -55,7 +51,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 34, "end": 35, @@ -68,7 +63,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 49, "end": 75, @@ -80,13 +74,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 56, "end": 62, "elements": [ { - "type": "Literal", "type": "Literal", "start": 57, "end": 58, @@ -94,7 +86,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 60, "end": 61, @@ -104,13 +95,11 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 64, "end": 65 }, { - "type": "TagDeclarator", "type": "TagDeclarator", "start": 67, "end": 74, @@ -120,7 +109,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 87, "end": 104, @@ -132,13 +120,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 94, "end": 100, "elements": [ { - "type": "Literal", "type": "Literal", "start": 95, "end": 96, @@ -146,7 +132,6 @@ expression: actual "raw": "1" }, { - "type": "Literal", "type": "Literal", "start": 98, "end": 99, @@ -156,7 +141,6 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 102, "end": 103 @@ -165,7 +149,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 116, "end": 145, @@ -177,13 +160,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 123, "end": 129, "elements": [ { - "type": "Literal", "type": "Literal", "start": 124, "end": 125, @@ -191,7 +172,6 @@ expression: actual "raw": "1" }, { - "type": "Literal", "type": "Literal", "start": 127, "end": 128, @@ -201,13 +181,11 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 131, "end": 132 }, { - "type": "TagDeclarator", "type": "TagDeclarator", "start": 134, "end": 144, @@ -217,7 +195,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 157, "end": 165, @@ -229,7 +206,6 @@ expression: actual }, "arguments": [ { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 163, "end": 164 diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ag.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ag.snap index 88393ea4a..b9eab0518 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ag.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ag.snap @@ -23,13 +23,11 @@ expression: actual "name": "mySketch" }, "init": { - "type": "PipeExpression", "type": "PipeExpression", "start": 17, "end": 70, "body": [ { - "type": "CallExpression", "type": "CallExpression", "start": 17, "end": 37, @@ -41,13 +39,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 31, "end": 36, "elements": [ { - "type": "Literal", "type": "Literal", "start": 32, "end": 33, @@ -55,7 +51,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 34, "end": 35, @@ -68,7 +63,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 41, "end": 58, @@ -80,13 +74,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 48, "end": 54, "elements": [ { - "type": "Literal", "type": "Literal", "start": 49, "end": 50, @@ -94,7 +86,6 @@ expression: actual "raw": "1" }, { - "type": "Literal", "type": "Literal", "start": 52, "end": 53, @@ -104,7 +95,6 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 56, "end": 57 @@ -113,7 +103,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 62, "end": 70, @@ -125,7 +114,6 @@ expression: actual }, "arguments": [ { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 68, "end": 69 diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ah.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ah.snap index 75bc946c5..e51fb22c6 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ah.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ah.snap @@ -23,7 +23,6 @@ expression: actual "name": "myBox" }, "init": { - "type": "CallExpression", "type": "CallExpression", "start": 14, "end": 30, @@ -35,7 +34,6 @@ expression: actual }, "arguments": [ { - "type": "Identifier", "type": "Identifier", "start": 28, "end": 29, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ai.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ai.snap index 1378bd032..09472e3b0 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ai.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ai.snap @@ -23,13 +23,11 @@ expression: actual "name": "myBox" }, "init": { - "type": "PipeExpression", "type": "PipeExpression", "start": 14, "end": 29, "body": [ { - "type": "CallExpression", "type": "CallExpression", "start": 14, "end": 18, @@ -41,7 +39,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 16, "end": 17, @@ -52,7 +49,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 22, "end": 29, @@ -64,7 +60,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 24, "end": 25, @@ -72,7 +67,6 @@ expression: actual "raw": "2" }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 27, "end": 28 diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aj.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aj.snap index 5e38805db..84d80851b 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aj.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aj.snap @@ -23,13 +23,11 @@ expression: actual "name": "myBox" }, "init": { - "type": "PipeExpression", "type": "PipeExpression", "start": 14, "end": 49, "body": [ { - "type": "CallExpression", "type": "CallExpression", "start": 14, "end": 30, @@ -41,7 +39,6 @@ expression: actual }, "arguments": [ { - "type": "Identifier", "type": "Identifier", "start": 28, "end": 29, @@ -51,7 +48,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 34, "end": 49, @@ -63,13 +59,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 39, "end": 45, "elements": [ { - "type": "Literal", "type": "Literal", "start": 40, "end": 41, @@ -77,7 +71,6 @@ expression: actual "raw": "0" }, { - "type": "Identifier", "type": "Identifier", "start": 43, "end": 44, @@ -86,7 +79,6 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 47, "end": 48 diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ak.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ak.snap index c5137bb08..229b1ea14 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ak.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ak.snap @@ -12,7 +12,6 @@ expression: actual "start": 0, "end": 22, "expression": { - "type": "CallExpression", "type": "CallExpression", "start": 0, "end": 22, @@ -24,7 +23,6 @@ expression: actual }, "arguments": [ { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 7, "end": 21, @@ -40,13 +38,11 @@ expression: actual "name": "to" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 13, "end": 19, "elements": [ { - "type": "Literal", "type": "Literal", "start": 14, "end": 15, @@ -54,7 +50,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__al.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__al.snap index 99870608c..e6e551d6a 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__al.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__al.snap @@ -12,7 +12,6 @@ expression: actual "start": 0, "end": 36, "expression": { - "type": "CallExpression", "type": "CallExpression", "start": 0, "end": 36, @@ -24,7 +23,6 @@ expression: actual }, "arguments": [ { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 7, "end": 35, @@ -40,13 +38,11 @@ expression: actual "name": "to" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 13, "end": 19, "elements": [ { - "type": "Literal", "type": "Literal", "start": 14, "end": 15, @@ -54,7 +50,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -75,13 +70,11 @@ expression: actual "name": "from" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 27, "end": 33, "elements": [ { - "type": "Literal", "type": "Literal", "start": 28, "end": 29, @@ -89,7 +82,6 @@ expression: actual "raw": "3" }, { - "type": "Literal", "type": "Literal", "start": 31, "end": 32, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__am.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__am.snap index e969ef25e..f77077c82 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__am.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__am.snap @@ -12,7 +12,6 @@ expression: actual "start": 0, "end": 19, "expression": { - "type": "CallExpression", "type": "CallExpression", "start": 0, "end": 19, @@ -24,7 +23,6 @@ expression: actual }, "arguments": [ { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 7, "end": 18, @@ -40,13 +38,11 @@ expression: actual "name": "to" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 11, "end": 17, "elements": [ { - "type": "Literal", "type": "Literal", "start": 12, "end": 13, @@ -54,7 +50,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 15, "end": 16, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__an.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__an.snap index c066ffd25..990c1c860 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__an.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__an.snap @@ -12,7 +12,6 @@ expression: actual "start": 0, "end": 35, "expression": { - "type": "CallExpression", "type": "CallExpression", "start": 0, "end": 35, @@ -24,7 +23,6 @@ expression: actual }, "arguments": [ { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 7, "end": 34, @@ -40,13 +38,11 @@ expression: actual "name": "to" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 13, "end": 19, "elements": [ { - "type": "Literal", "type": "Literal", "start": 14, "end": 15, @@ -54,7 +50,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -75,13 +70,11 @@ expression: actual "name": "from" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 27, "end": 33, "elements": [ { - "type": "Literal", "type": "Literal", "start": 28, "end": 29, @@ -89,7 +82,6 @@ expression: actual "raw": "3" }, { - "type": "Literal", "type": "Literal", "start": 31, "end": 32, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ao.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ao.snap index f41266ac4..c7b2e94fc 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ao.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ao.snap @@ -12,7 +12,6 @@ expression: actual "start": 0, "end": 35, "expression": { - "type": "CallExpression", "type": "CallExpression", "start": 0, "end": 35, @@ -24,7 +23,6 @@ expression: actual }, "arguments": [ { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 7, "end": 34, @@ -40,13 +38,11 @@ expression: actual "name": "to" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 13, "end": 19, "elements": [ { - "type": "Literal", "type": "Literal", "start": 14, "end": 15, @@ -54,7 +50,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -75,13 +70,11 @@ expression: actual "name": "from" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 26, "end": 32, "elements": [ { - "type": "Literal", "type": "Literal", "start": 27, "end": 28, @@ -89,7 +82,6 @@ expression: actual "raw": "3" }, { - "type": "Literal", "type": "Literal", "start": 30, "end": 31, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ap.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ap.snap index 5f41b2f23..5756bb604 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ap.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ap.snap @@ -23,7 +23,6 @@ expression: actual "name": "mySketch" }, "init": { - "type": "CallExpression", "type": "CallExpression", "start": 17, "end": 37, @@ -35,13 +34,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 31, "end": 36, "elements": [ { - "type": "Literal", "type": "Literal", "start": 32, "end": 33, @@ -49,7 +46,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 34, "end": 35, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aq.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aq.snap index b0e4a021c..258787b33 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aq.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aq.snap @@ -12,7 +12,6 @@ expression: actual "start": 0, "end": 28, "expression": { - "type": "CallExpression", "type": "CallExpression", "start": 0, "end": 28, @@ -24,7 +23,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 4, "end": 5, @@ -32,7 +30,6 @@ expression: actual "raw": "5" }, { - "type": "Literal", "type": "Literal", "start": 7, "end": 14, @@ -40,7 +37,6 @@ expression: actual "raw": "\"hello\"" }, { - "type": "Identifier", "type": "Identifier", "start": 16, "end": 27, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ar.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ar.snap index 24602b164..11ecf31fe 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ar.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ar.snap @@ -12,7 +12,6 @@ expression: actual "start": 0, "end": 7, "expression": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 0, "end": 7, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__at.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__at.snap index 9935614d1..106cf05f7 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__at.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__at.snap @@ -12,7 +12,6 @@ expression: actual "start": 0, "end": 15, "expression": { - "type": "CallExpression", "type": "CallExpression", "start": 0, "end": 15, @@ -24,13 +23,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 5, "end": 11, "elements": [ { - "type": "Literal", "type": "Literal", "start": 6, "end": 7, @@ -38,7 +35,6 @@ expression: actual "raw": "0" }, { - "type": "Identifier", "type": "Identifier", "start": 9, "end": 10, @@ -47,7 +43,6 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 13, "end": 14 diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__au.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__au.snap index 5e5e05a1f..e877baa4f 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__au.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__au.snap @@ -23,13 +23,11 @@ expression: actual "name": "cylinder" }, "init": { - "type": "PipeExpression", "type": "PipeExpression", "start": 17, "end": 107, "body": [ { - "type": "CallExpression", "type": "CallExpression", "start": 17, "end": 36, @@ -41,7 +39,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 31, "end": 35, @@ -52,7 +49,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 44, "end": 85, @@ -64,7 +60,6 @@ expression: actual }, "arguments": [ { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 51, "end": 81, @@ -80,13 +75,11 @@ expression: actual "name": "center" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 61, "end": 67, "elements": [ { - "type": "Literal", "type": "Literal", "start": 62, "end": 63, @@ -94,7 +87,6 @@ expression: actual "raw": "0" }, { - "type": "Literal", "type": "Literal", "start": 65, "end": 66, @@ -115,7 +107,6 @@ expression: actual "name": "radius" }, "value": { - "type": "Literal", "type": "Literal", "start": 77, "end": 79, @@ -126,7 +117,6 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 83, "end": 84 @@ -135,7 +125,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 93, "end": 107, @@ -147,7 +136,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 101, "end": 103, @@ -155,7 +143,6 @@ expression: actual "raw": "14" }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 105, "end": 106 diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__av.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__av.snap index a2b0b3ace..e3a20f8f5 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__av.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__av.snap @@ -23,7 +23,6 @@ expression: actual "name": "f" }, "init": { - "type": "FunctionExpression", "type": "FunctionExpression", "start": 7, "end": 49, @@ -49,7 +48,6 @@ expression: actual "start": 21, "end": 47, "argument": { - "type": "CallExpression", "type": "CallExpression", "start": 28, "end": 47, @@ -61,14 +59,12 @@ expression: actual }, "arguments": [ { - "type": "Identifier", "type": "Identifier", "start": 36, "end": 41, "name": "angle" }, { - "type": "Literal", "type": "Literal", "start": 43, "end": 46, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aw.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aw.snap index b0136cfce..c6ce1176a 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aw.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__aw.snap @@ -23,13 +23,11 @@ expression: actual "name": "numbers" }, "init": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 14, "end": 91, "elements": [ { - "type": "Literal", "type": "Literal", "start": 28, "end": 29, @@ -37,7 +35,6 @@ expression: actual "raw": "1" }, { - "type": "Literal", "type": "Literal", "start": 79, "end": 80, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ax.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ax.snap index f3e1a73c7..60b54624c 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ax.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ax.snap @@ -23,13 +23,11 @@ expression: actual "name": "numbers" }, "init": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 14, "end": 91, "elements": [ { - "type": "Literal", "type": "Literal", "start": 28, "end": 29, @@ -37,7 +35,6 @@ expression: actual "raw": "1" }, { - "type": "Literal", "type": "Literal", "start": 43, "end": 44, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ay.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ay.snap index 5aa896ef5..0578a2214 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ay.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ay.snap @@ -23,7 +23,6 @@ expression: actual "name": "props" }, "init": { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 12, "end": 80, @@ -39,7 +38,6 @@ expression: actual "name": "a" }, "value": { - "type": "Literal", "type": "Literal", "start": 29, "end": 30, @@ -58,7 +56,6 @@ expression: actual "name": "c" }, "value": { - "type": "Literal", "type": "Literal", "start": 68, "end": 69, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__az.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__az.snap index 28b28fc24..28867eb20 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__az.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__az.snap @@ -23,7 +23,6 @@ expression: actual "name": "props" }, "init": { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 12, "end": 79, @@ -39,7 +38,6 @@ expression: actual "name": "a" }, "value": { - "type": "Literal", "type": "Literal", "start": 29, "end": 30, @@ -58,7 +56,6 @@ expression: actual "name": "c" }, "value": { - "type": "Literal", "type": "Literal", "start": 68, "end": 69, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__b.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__b.snap index 8360a7369..8fd9209a3 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__b.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__b.snap @@ -23,7 +23,6 @@ expression: actual "name": "myVar" }, "init": { - "type": "CallExpression", "type": "CallExpression", "start": 14, "end": 36, @@ -35,7 +34,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 18, "end": 19, @@ -43,7 +41,6 @@ expression: actual "raw": "5" }, { - "type": "UnaryExpression", "type": "UnaryExpression", "start": 22, "end": 35, @@ -61,7 +58,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 30, "end": 31, @@ -69,7 +65,6 @@ expression: actual "raw": "5" }, { - "type": "Literal", "type": "Literal", "start": 33, "end": 34, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ba.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ba.snap index 9b5d26a1b..d448b326a 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ba.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__ba.snap @@ -23,13 +23,11 @@ expression: actual "name": "sketch001" }, "init": { - "type": "PipeExpression", "type": "PipeExpression", "start": 19, "end": 132, "body": [ { - "type": "CallExpression", "type": "CallExpression", "start": 19, "end": 38, @@ -41,7 +39,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 33, "end": 37, @@ -52,7 +49,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 115, "end": 132, @@ -64,7 +60,6 @@ expression: actual }, "arguments": [ { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 130, "end": 131 diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bb.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bb.snap index 1bec34927..d3ca301ed 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bb.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bb.snap @@ -23,7 +23,6 @@ expression: actual "name": "my14" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 14, "end": 31, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bc.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bc.snap index 25bea0567..1ea475dcf 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bc.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bc.snap @@ -23,12 +23,10 @@ expression: actual "name": "x" }, "init": { - "type": "IfExpression", "type": "IfExpression", "start": 10, "end": 74, "cond": { - "type": "Literal", "type": "Literal", "start": 13, "end": 17, @@ -45,7 +43,6 @@ expression: actual "start": 32, "end": 33, "expression": { - "type": "Literal", "type": "Literal", "start": 32, "end": 33, @@ -66,7 +63,6 @@ expression: actual "start": 63, "end": 64, "expression": { - "type": "Literal", "type": "Literal", "start": 63, "end": 64, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bd.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bd.snap index 42254d3fd..a71619eb0 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bd.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bd.snap @@ -23,12 +23,10 @@ expression: actual "name": "x" }, "init": { - "type": "IfExpression", "type": "IfExpression", "start": 10, "end": 121, "cond": { - "type": "Literal", "type": "Literal", "start": 13, "end": 17, @@ -45,7 +43,6 @@ expression: actual "start": 32, "end": 33, "expression": { - "type": "Literal", "type": "Literal", "start": 32, "end": 33, @@ -61,7 +58,6 @@ expression: actual "start": 44, "end": 90, "cond": { - "type": "CallExpression", "type": "CallExpression", "start": 52, "end": 64, @@ -73,7 +69,6 @@ expression: actual }, "arguments": [ { - "type": "Identifier", "type": "Identifier", "start": 57, "end": 63, @@ -92,7 +87,6 @@ expression: actual "start": 79, "end": 80, "expression": { - "type": "Literal", "type": "Literal", "start": 79, "end": 80, @@ -115,7 +109,6 @@ expression: actual "start": 110, "end": 111, "expression": { - "type": "Literal", "type": "Literal", "start": 110, "end": 111, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__be.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__be.snap index 6753e459d..6ee4afed1 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__be.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__be.snap @@ -23,7 +23,6 @@ expression: actual "name": "x" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 8, "end": 14, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bf.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bf.snap index 3cd6916f6..ce1b9e1a7 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bf.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bf.snap @@ -23,7 +23,6 @@ expression: actual "name": "x" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 8, "end": 14, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bg.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bg.snap index 86e134846..fe7f1d485 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bg.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bg.snap @@ -23,7 +23,6 @@ expression: actual "name": "x" }, "init": { - "type": "Literal", "type": "Literal", "start": 4, "end": 5, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bh.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bh.snap index 3a2670ced..cffdf3e4c 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bh.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__bh.snap @@ -23,7 +23,6 @@ expression: actual "name": "obj" }, "init": { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 12, "end": 42, @@ -39,13 +38,11 @@ expression: actual "name": "center" }, "value": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 22, "end": 30, "elements": [ { - "type": "Literal", "type": "Literal", "start": 23, "end": 25, @@ -53,7 +50,6 @@ expression: actual "raw": "10" }, { - "type": "Literal", "type": "Literal", "start": 27, "end": 29, @@ -74,7 +70,6 @@ expression: actual "name": "radius" }, "value": { - "type": "Literal", "type": "Literal", "start": 40, "end": 41, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__c.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__c.snap index 919a7cae5..9d4b957ed 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__c.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__c.snap @@ -23,7 +23,6 @@ expression: actual "name": "myVar" }, "init": { - "type": "CallExpression", "type": "CallExpression", "start": 14, "end": 35, @@ -35,7 +34,6 @@ expression: actual }, "arguments": [ { - "type": "UnaryExpression", "type": "UnaryExpression", "start": 18, "end": 31, @@ -53,7 +51,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 26, "end": 27, @@ -61,7 +58,6 @@ expression: actual "raw": "5" }, { - "type": "Literal", "type": "Literal", "start": 29, "end": 30, @@ -73,7 +69,6 @@ expression: actual } }, { - "type": "Literal", "type": "Literal", "start": 33, "end": 34, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__d.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__d.snap index bf9c494f1..051cd0224 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__d.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__d.snap @@ -23,13 +23,11 @@ expression: actual "name": "myVar" }, "init": { - "type": "PipeExpression", "type": "PipeExpression", "start": 14, "end": 36, "body": [ { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 14, "end": 19, @@ -52,7 +50,6 @@ expression: actual } }, { - "type": "CallExpression", "type": "CallExpression", "start": 23, "end": 36, @@ -64,7 +61,6 @@ expression: actual }, "arguments": [ { - "type": "Literal", "type": "Literal", "start": 30, "end": 32, @@ -72,7 +68,6 @@ expression: actual "raw": "45" }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 34, "end": 35 diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__d2.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__d2.snap index 6491695a4..a00fc2616 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__d2.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__d2.snap @@ -23,7 +23,6 @@ expression: actual "name": "x" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 10, "end": 27, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__e.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__e.snap index 112a03ee6..75b60e42e 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__e.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__e.snap @@ -23,7 +23,6 @@ expression: actual "name": "x" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 8, "end": 18, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__f.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__f.snap index 89ef278bb..93077d3a3 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__f.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__f.snap @@ -23,7 +23,6 @@ expression: actual "name": "x" }, "init": { - "type": "Literal", "type": "Literal", "start": 10, "end": 11, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__g.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__g.snap index 6cd8f1424..c3d5d0bbf 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__g.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__g.snap @@ -23,7 +23,6 @@ expression: actual "name": "x" }, "init": { - "type": "FunctionExpression", "type": "FunctionExpression", "start": 7, "end": 58, @@ -38,7 +37,6 @@ expression: actual "start": 23, "end": 32, "argument": { - "type": "Identifier", "type": "Identifier", "start": 30, "end": 32, @@ -51,7 +49,6 @@ expression: actual "start": 41, "end": 50, "argument": { - "type": "Identifier", "type": "Identifier", "start": 48, "end": 50, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__h.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__h.snap index 53266e6f6..928137b60 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__h.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__h.snap @@ -23,7 +23,6 @@ expression: actual "name": "obj" }, "init": { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 12, "end": 26, @@ -39,7 +38,6 @@ expression: actual "name": "a" }, "value": { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -58,7 +56,6 @@ expression: actual "name": "b" }, "value": { - "type": "Literal", "type": "Literal", "start": 23, "end": 24, @@ -89,7 +86,6 @@ expression: actual "name": "height" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 46, "end": 55, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__i.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__i.snap index 1941a0f05..59981934c 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__i.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__i.snap @@ -23,7 +23,6 @@ expression: actual "name": "obj" }, "init": { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 12, "end": 26, @@ -39,7 +38,6 @@ expression: actual "name": "a" }, "value": { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -58,7 +56,6 @@ expression: actual "name": "b" }, "value": { - "type": "Literal", "type": "Literal", "start": 23, "end": 24, @@ -89,7 +86,6 @@ expression: actual "name": "height" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 47, "end": 59, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__j.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__j.snap index 33f2471c5..b8ceef161 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__j.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__j.snap @@ -23,7 +23,6 @@ expression: actual "name": "obj" }, "init": { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 12, "end": 26, @@ -39,7 +38,6 @@ expression: actual "name": "a" }, "value": { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -58,7 +56,6 @@ expression: actual "name": "b" }, "value": { - "type": "Literal", "type": "Literal", "start": 23, "end": 24, @@ -89,7 +86,6 @@ expression: actual "name": "height" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 46, "end": 58, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__k.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__k.snap index 8b121009b..3397aab51 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__k.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__k.snap @@ -23,7 +23,6 @@ expression: actual "name": "obj" }, "init": { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 12, "end": 26, @@ -39,7 +38,6 @@ expression: actual "name": "a" }, "value": { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -58,7 +56,6 @@ expression: actual "name": "b" }, "value": { - "type": "Literal", "type": "Literal", "start": 23, "end": 24, @@ -89,13 +86,11 @@ expression: actual "name": "height" }, "init": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 46, "end": 63, "elements": [ { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 47, "end": 59, @@ -132,7 +127,6 @@ expression: actual } }, { - "type": "Literal", "type": "Literal", "start": 61, "end": 62, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__l.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__l.snap index 025500972..9dbd17b71 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__l.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__l.snap @@ -23,7 +23,6 @@ expression: actual "name": "obj" }, "init": { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 12, "end": 26, @@ -39,7 +38,6 @@ expression: actual "name": "a" }, "value": { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -58,7 +56,6 @@ expression: actual "name": "b" }, "value": { - "type": "Literal", "type": "Literal", "start": 23, "end": 24, @@ -89,13 +86,11 @@ expression: actual "name": "height" }, "init": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 46, "end": 63, "elements": [ { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 47, "end": 59, @@ -132,7 +127,6 @@ expression: actual } }, { - "type": "Literal", "type": "Literal", "start": 61, "end": 62, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__m.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__m.snap index ae0c54f37..d828bee7a 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__m.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__m.snap @@ -23,7 +23,6 @@ expression: actual "name": "obj" }, "init": { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 12, "end": 26, @@ -39,7 +38,6 @@ expression: actual "name": "a" }, "value": { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -58,7 +56,6 @@ expression: actual "name": "b" }, "value": { - "type": "Literal", "type": "Literal", "start": 23, "end": 24, @@ -89,13 +86,11 @@ expression: actual "name": "height" }, "init": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 46, "end": 62, "elements": [ { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 47, "end": 58, @@ -132,7 +127,6 @@ expression: actual } }, { - "type": "Literal", "type": "Literal", "start": 60, "end": 61, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__n.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__n.snap index 950ea3821..36c64c132 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__n.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__n.snap @@ -23,7 +23,6 @@ expression: actual "name": "height" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 15, "end": 24, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__o.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__o.snap index 6f8d4ecd2..5e731ba01 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__o.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__o.snap @@ -23,7 +23,6 @@ expression: actual "name": "six" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 12, "end": 21, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__p.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__p.snap index fe39368e2..4f274532f 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__p.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__p.snap @@ -23,7 +23,6 @@ expression: actual "name": "five" }, "init": { - "type": "BinaryExpression", "type": "BinaryExpression", "start": 13, "end": 22, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__q.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__q.snap index 988bd42e8..626df1a87 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__q.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__q.snap @@ -23,13 +23,11 @@ expression: actual "name": "height" }, "init": { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 15, "end": 30, "elements": [ { - "type": "MemberExpression", "type": "MemberExpression", "start": 17, "end": 25, @@ -51,7 +49,6 @@ expression: actual "computed": false }, { - "type": "Literal", "type": "Literal", "start": 27, "end": 28, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__r.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__r.snap index dcd81fc02..627c89e49 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__r.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__r.snap @@ -23,7 +23,6 @@ expression: actual "name": "obj" }, "init": { - "type": "ObjectExpression", "type": "ObjectExpression", "start": 12, "end": 26, @@ -39,7 +38,6 @@ expression: actual "name": "a" }, "value": { - "type": "Literal", "type": "Literal", "start": 17, "end": 18, @@ -58,7 +56,6 @@ expression: actual "name": "b" }, "value": { - "type": "Literal", "type": "Literal", "start": 23, "end": 24, @@ -89,7 +86,6 @@ expression: actual "name": "height" }, "init": { - "type": "MemberExpression", "type": "MemberExpression", "start": 46, "end": 54, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__s.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__s.snap index b1fcf4172..4cce35470 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__s.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__s.snap @@ -23,7 +23,6 @@ expression: actual "name": "prop" }, "init": { - "type": "MemberExpression", "type": "MemberExpression", "start": 13, "end": 27, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__t.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__t.snap index 5ca0946c4..15f4d272e 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__t.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__t.snap @@ -23,7 +23,6 @@ expression: actual "name": "pt1" }, "init": { - "type": "MemberExpression", "type": "MemberExpression", "start": 12, "end": 17, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__u.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__u.snap index 298647b2c..33b295282 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__u.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__u.snap @@ -23,7 +23,6 @@ expression: actual "name": "prop" }, "init": { - "type": "MemberExpression", "type": "MemberExpression", "start": 13, "end": 34, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__v.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__v.snap index 8fe980817..13576165c 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__v.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__v.snap @@ -23,7 +23,6 @@ expression: actual "name": "pt1" }, "init": { - "type": "MemberExpression", "type": "MemberExpression", "start": 12, "end": 17, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__w.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__w.snap index 4a14cc34a..b4bf74a05 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__w.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__w.snap @@ -23,7 +23,6 @@ expression: actual "name": "pt1" }, "init": { - "type": "MemberExpression", "type": "MemberExpression", "start": 12, "end": 22, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__x.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__x.snap index dfa0afcc5..1ea585495 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__x.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__x.snap @@ -23,7 +23,6 @@ expression: actual "name": "pt1" }, "init": { - "type": "MemberExpression", "type": "MemberExpression", "start": 12, "end": 19, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__y.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__y.snap index 8d7b37232..5f63b4313 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__y.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__y.snap @@ -23,7 +23,6 @@ expression: actual "name": "sg" }, "init": { - "type": "CallExpression", "type": "CallExpression", "start": 11, "end": 29, @@ -35,7 +34,6 @@ expression: actual }, "arguments": [ { - "type": "Identifier", "type": "Identifier", "start": 25, "end": 28, diff --git a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__z.snap b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__z.snap index 1e0f9e490..17c28c1ec 100644 --- a/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__z.snap +++ b/src/wasm-lib/kcl/src/parser/snapshots/kcl_lib__parser__parser_impl__snapshot_tests__z.snap @@ -23,13 +23,11 @@ expression: actual "name": "sg" }, "init": { - "type": "PipeExpression", "type": "PipeExpression", "start": 11, "end": 53, "body": [ { - "type": "CallExpression", "type": "CallExpression", "start": 11, "end": 29, @@ -41,7 +39,6 @@ expression: actual }, "arguments": [ { - "type": "Identifier", "type": "Identifier", "start": 25, "end": 28, @@ -51,7 +48,6 @@ expression: actual "optional": false }, { - "type": "CallExpression", "type": "CallExpression", "start": 33, "end": 53, @@ -63,13 +59,11 @@ expression: actual }, "arguments": [ { - "type": "ArrayExpression", "type": "ArrayExpression", "start": 38, "end": 49, "elements": [ { - "type": "Literal", "type": "Literal", "start": 39, "end": 40, @@ -77,7 +71,6 @@ expression: actual "raw": "0" }, { - "type": "UnaryExpression", "type": "UnaryExpression", "start": 42, "end": 48, @@ -93,7 +86,6 @@ expression: actual ] }, { - "type": "PipeSubstitution", "type": "PipeSubstitution", "start": 51, "end": 52