Upgrade to ts-rs 11.0 for TS type fixes (#7581)

* Bump ts-rs from 10.1.0 to 11.0.1

* Fix breaking changes

* Fix tsc errors

* Update output

* Upgrade to kittycad-modeling-cmds 0.2.124 for ts-rs update

* Update parser snaps

* Update output of gridfinity_bins_stacking_lip sample

* Fix missing field in TS unit tests

* Fix tsc type error with fixed_size_grid project setting
This commit is contained in:
Jonathan Tran
2025-06-24 14:38:43 -04:00
committed by GitHub
parent e4941cb524
commit c7f0a6c2a0
387 changed files with 74834 additions and 24 deletions

View File

@ -90,7 +90,7 @@ Whether to show the debug panel, which lets you see various states of the app to
If true, the grid cells will be fixed-size, where the width is your default length unit. If false, the grid will get larger as you zoom out, and smaller as you zoom in.
**Default:** true
**Default:** None
#### modeling

13
rust/Cargo.lock generated
View File

@ -2071,9 +2071,9 @@ dependencies = [
[[package]]
name = "kittycad-modeling-cmds"
version = "0.2.123"
version = "0.2.124"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b8f3c1b4b4ddb9aa336a09933f2550f9882552e321187b7bcff47f006379c3aa"
checksum = "221aa4670a7ad7dc8f1e4e0f9990bf3cff0a64417eb76493bafe5bbbc1f8350a"
dependencies = [
"anyhow",
"chrono",
@ -4428,13 +4428,12 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
[[package]]
name = "ts-rs"
version = "10.1.0"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e640d9b0964e9d39df633548591090ab92f7a4567bc31d3891af23471a3365c6"
checksum = "6ef1b7a6d914a34127ed8e1fa927eb7088903787bcded4fa3eef8f85ee1568be"
dependencies = [
"chrono",
"indexmap 2.9.0",
"lazy_static",
"serde_json",
"thiserror 2.0.12",
"ts-rs-macros",
@ -4444,9 +4443,9 @@ dependencies = [
[[package]]
name = "ts-rs-macros"
version = "10.1.0"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e9d8656589772eeec2cf7a8264d9cda40fb28b9bc53118ceb9e8c07f8f38730"
checksum = "e9d4ed7b4c18cc150a6a0a1e9ea1ecfa688791220781af6e119f9599a8502a0a"
dependencies = [
"proc-macro2",
"quote",

View File

@ -36,7 +36,7 @@ dashmap = { version = "6.1.0" }
http = "1"
indexmap = "2.9.0"
kittycad = { version = "0.3.37", default-features = false, features = ["js", "requests"] }
kittycad-modeling-cmds = { version = "0.2.123", features = ["ts-rs", "websocket"] }
kittycad-modeling-cmds = { version = "0.2.124", features = ["ts-rs", "websocket"] }
lazy_static = "1.5.0"
miette = "7.6.0"
pyo3 = { version = "0.24.2" }

View File

@ -75,7 +75,7 @@ tabled = { version = "0.20.0", optional = true }
tempfile = "3.20"
thiserror = "2.0.0"
toml = "0.8.22"
ts-rs = { version = "10.1.0", features = [
ts-rs = { version = "11.0.1", features = [
"uuid-impl",
"url-impl",
"chrono-impl",

View File

@ -188,6 +188,7 @@ impl<'de> serde::de::Deserialize<'de> for TypedPath {
impl ts_rs::TS for TypedPath {
type WithoutGenerics = Self;
type OptionInnerType = Self;
fn name() -> String {
"string".to_string()
@ -209,7 +210,7 @@ impl ts_rs::TS for TypedPath {
std::path::PathBuf::inline_flattened()
}
fn output_path() -> Option<&'static std::path::Path> {
fn output_path() -> Option<std::path::PathBuf> {
std::path::PathBuf::output_path()
}
}

View File

@ -56,7 +56,6 @@ pub struct Node<T> {
pub inner: T,
pub start: usize,
pub end: usize,
#[serde(default, skip_serializing_if = "ModuleId::is_top_level")]
pub module_id: ModuleId,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub outer_attrs: NodeList<Annotation>,
@ -1885,7 +1884,6 @@ pub struct ExpressionStatement {
pub struct CallExpressionKw {
pub callee: Node<Name>,
pub unlabeled: Option<Expr>,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub arguments: Vec<LabeledArg>,
#[serde(default, skip_serializing_if = "Option::is_none")]

View File

@ -15,6 +15,7 @@ expression: actual
"raw": "1",
"start": 0,
"end": 1,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -27,9 +28,11 @@ expression: actual
"raw": "2",
"start": 4,
"end": 5,
"moduleId": 0,
"commentStart": 4
},
"start": 0,
"end": 5,
"moduleId": 0,
"commentStart": 0
}

View File

@ -15,6 +15,7 @@ expression: actual
"raw": "1",
"start": 0,
"end": 1,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -27,9 +28,11 @@ expression: actual
"raw": "2",
"start": 2,
"end": 3,
"moduleId": 0,
"commentStart": 2
},
"start": 0,
"end": 3,
"moduleId": 0,
"commentStart": 0
}

View File

@ -15,6 +15,7 @@ expression: actual
"raw": "1",
"start": 0,
"end": 1,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -27,9 +28,11 @@ expression: actual
"raw": "2",
"start": 3,
"end": 4,
"moduleId": 0,
"commentStart": 3
},
"start": 0,
"end": 4,
"moduleId": 0,
"commentStart": 0
}

View File

@ -15,6 +15,7 @@ expression: actual
"raw": "1",
"start": 0,
"end": 1,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -31,6 +32,7 @@ expression: actual
"raw": "2",
"start": 4,
"end": 5,
"moduleId": 0,
"commentStart": 4
},
"right": {
@ -43,13 +45,16 @@ expression: actual
"raw": "3",
"start": 8,
"end": 9,
"moduleId": 0,
"commentStart": 8
},
"start": 4,
"end": 9,
"moduleId": 0,
"commentStart": 4
},
"start": 0,
"end": 9,
"moduleId": 0,
"commentStart": 0
}

View File

@ -15,6 +15,7 @@ expression: actual
"raw": "1",
"start": 0,
"end": 1,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -31,6 +32,7 @@ expression: actual
"raw": "2",
"start": 6,
"end": 7,
"moduleId": 0,
"commentStart": 6
},
"right": {
@ -43,13 +45,16 @@ expression: actual
"raw": "3",
"start": 10,
"end": 11,
"moduleId": 0,
"commentStart": 10
},
"start": 6,
"end": 11,
"moduleId": 0,
"commentStart": 6
},
"start": 0,
"end": 11,
"moduleId": 0,
"commentStart": 0
}

View File

@ -19,6 +19,7 @@ expression: actual
"raw": "1",
"start": 0,
"end": 1,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -35,6 +36,7 @@ expression: actual
"raw": "2",
"start": 6,
"end": 7,
"moduleId": 0,
"commentStart": 6
},
"right": {
@ -47,14 +49,17 @@ expression: actual
"raw": "3",
"start": 10,
"end": 11,
"moduleId": 0,
"commentStart": 10
},
"start": 6,
"end": 11,
"moduleId": 0,
"commentStart": 6
},
"start": 0,
"end": 11,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -67,9 +72,11 @@ expression: actual
"raw": "4",
"start": 16,
"end": 17,
"moduleId": 0,
"commentStart": 16
},
"start": 0,
"end": 17,
"moduleId": 0,
"commentStart": 0
}

View File

@ -15,6 +15,7 @@ expression: actual
"raw": "1",
"start": 0,
"end": 1,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -35,6 +36,7 @@ expression: actual
"raw": "2",
"start": 6,
"end": 7,
"moduleId": 0,
"commentStart": 6
},
"right": {
@ -47,10 +49,12 @@ expression: actual
"raw": "3",
"start": 10,
"end": 11,
"moduleId": 0,
"commentStart": 10
},
"start": 6,
"end": 11,
"moduleId": 0,
"commentStart": 6
},
"right": {
@ -63,13 +67,16 @@ expression: actual
"raw": "4",
"start": 16,
"end": 17,
"moduleId": 0,
"commentStart": 16
},
"start": 6,
"end": 17,
"moduleId": 0,
"commentStart": 6
},
"start": 0,
"end": 17,
"moduleId": 0,
"commentStart": 0
}

View File

@ -15,6 +15,7 @@ expression: actual
"raw": "1",
"start": 0,
"end": 1,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -39,6 +40,7 @@ expression: actual
"raw": "2",
"start": 7,
"end": 8,
"moduleId": 0,
"commentStart": 7
},
"right": {
@ -51,10 +53,12 @@ expression: actual
"raw": "3",
"start": 11,
"end": 12,
"moduleId": 0,
"commentStart": 11
},
"start": 7,
"end": 12,
"moduleId": 0,
"commentStart": 7
},
"right": {
@ -67,10 +71,12 @@ expression: actual
"raw": "4",
"start": 17,
"end": 18,
"moduleId": 0,
"commentStart": 17
},
"start": 7,
"end": 18,
"moduleId": 0,
"commentStart": 7
},
"right": {
@ -83,13 +89,16 @@ expression: actual
"raw": "5",
"start": 21,
"end": 22,
"moduleId": 0,
"commentStart": 21
},
"start": 7,
"end": 22,
"moduleId": 0,
"commentStart": 7
},
"start": 0,
"end": 22,
"moduleId": 0,
"commentStart": 0
}

View File

@ -15,6 +15,7 @@ expression: actual
"raw": "1",
"start": 0,
"end": 1,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -31,6 +32,7 @@ expression: actual
"raw": "2",
"start": 8,
"end": 9,
"moduleId": 0,
"commentStart": 8
},
"right": {
@ -43,13 +45,16 @@ expression: actual
"raw": "3",
"start": 12,
"end": 13,
"moduleId": 0,
"commentStart": 12
},
"start": 8,
"end": 13,
"moduleId": 0,
"commentStart": 8
},
"start": 0,
"end": 13,
"moduleId": 0,
"commentStart": 0
}

View File

@ -25,12 +25,14 @@ expression: actual
"name": "distance",
"start": 0,
"end": 8,
"moduleId": 0,
"commentStart": 0
},
"path": [],
"abs_path": false,
"start": 0,
"end": 8,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -41,16 +43,19 @@ expression: actual
"name": "p",
"start": 11,
"end": 12,
"moduleId": 0,
"commentStart": 11
},
"path": [],
"abs_path": false,
"start": 11,
"end": 12,
"moduleId": 0,
"commentStart": 11
},
"start": 0,
"end": 12,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -61,16 +66,19 @@ expression: actual
"name": "FOS",
"start": 15,
"end": 18,
"moduleId": 0,
"commentStart": 15
},
"path": [],
"abs_path": false,
"start": 15,
"end": 18,
"moduleId": 0,
"commentStart": 15
},
"start": 0,
"end": 18,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -83,10 +91,12 @@ expression: actual
"raw": "6",
"start": 21,
"end": 22,
"moduleId": 0,
"commentStart": 21
},
"start": 0,
"end": 22,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -101,12 +111,14 @@ expression: actual
"name": "sigmaAllow",
"start": 26,
"end": 36,
"moduleId": 0,
"commentStart": 26
},
"path": [],
"abs_path": false,
"start": 26,
"end": 36,
"moduleId": 0,
"commentStart": 26
},
"right": {
@ -117,19 +129,23 @@ expression: actual
"name": "width",
"start": 39,
"end": 44,
"moduleId": 0,
"commentStart": 39
},
"path": [],
"abs_path": false,
"start": 39,
"end": 44,
"moduleId": 0,
"commentStart": 39
},
"start": 26,
"end": 44,
"moduleId": 0,
"commentStart": 26
},
"start": 0,
"end": 44,
"moduleId": 0,
"commentStart": 0
}

View File

@ -15,6 +15,7 @@ expression: actual
"raw": "2",
"start": 0,
"end": 1,
"moduleId": 0,
"commentStart": 0
},
"right": {
@ -27,9 +28,11 @@ expression: actual
"raw": "3",
"start": 7,
"end": 8,
"moduleId": 0,
"commentStart": 7
},
"start": 0,
"end": 8,
"moduleId": 0,
"commentStart": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 9,
"moduleId": 0,
"name": "boxSketch",
"start": 0,
"type": "Identifier"
@ -19,13 +20,16 @@ expression: actual
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 12,
"end": 25,
"moduleId": 0,
"name": {
"commentStart": 12,
"end": 25,
"moduleId": 0,
"name": "startSketchOn",
"start": 12,
"type": "Identifier"
@ -36,6 +40,7 @@ expression: actual
},
"commentStart": 12,
"end": 29,
"moduleId": 0,
"start": 12,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -43,9 +48,11 @@ expression: actual
"abs_path": false,
"commentStart": 26,
"end": 28,
"moduleId": 0,
"name": {
"commentStart": 26,
"end": 28,
"moduleId": 0,
"name": "XY",
"start": 26,
"type": "Identifier"
@ -63,6 +70,7 @@ expression: actual
"label": {
"commentStart": 52,
"end": 54,
"moduleId": 0,
"name": "at",
"start": 52,
"type": "Identifier"
@ -73,6 +81,7 @@ expression: actual
{
"commentStart": 58,
"end": 59,
"moduleId": 0,
"raw": "0",
"start": 58,
"type": "Literal",
@ -85,6 +94,7 @@ expression: actual
{
"commentStart": 61,
"end": 62,
"moduleId": 0,
"raw": "0",
"start": 61,
"type": "Literal",
@ -96,6 +106,7 @@ expression: actual
}
],
"end": 63,
"moduleId": 0,
"start": 57,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -106,9 +117,11 @@ expression: actual
"abs_path": false,
"commentStart": 37,
"end": 51,
"moduleId": 0,
"name": {
"commentStart": 37,
"end": 51,
"moduleId": 0,
"name": "startProfileAt",
"start": 37,
"type": "Identifier"
@ -119,6 +132,7 @@ expression: actual
},
"commentStart": 37,
"end": 64,
"moduleId": 0,
"start": 37,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -131,6 +145,7 @@ expression: actual
"label": {
"commentStart": 77,
"end": 79,
"moduleId": 0,
"name": "at",
"start": 77,
"type": "Identifier"
@ -141,6 +156,7 @@ expression: actual
{
"commentStart": 83,
"end": 84,
"moduleId": 0,
"raw": "0",
"start": 83,
"type": "Literal",
@ -153,6 +169,7 @@ expression: actual
{
"commentStart": 86,
"end": 88,
"moduleId": 0,
"raw": "10",
"start": 86,
"type": "Literal",
@ -164,6 +181,7 @@ expression: actual
}
],
"end": 89,
"moduleId": 0,
"start": 82,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -174,9 +192,11 @@ expression: actual
"abs_path": false,
"commentStart": 72,
"end": 76,
"moduleId": 0,
"name": {
"commentStart": 72,
"end": 76,
"moduleId": 0,
"name": "line",
"start": 72,
"type": "Identifier"
@ -187,6 +207,7 @@ expression: actual
},
"commentStart": 72,
"end": 90,
"moduleId": 0,
"start": 72,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -199,6 +220,7 @@ expression: actual
"label": {
"commentStart": 112,
"end": 115,
"moduleId": 0,
"name": "end",
"start": 112,
"type": "Identifier"
@ -210,6 +232,7 @@ expression: actual
"argument": {
"commentStart": 120,
"end": 121,
"moduleId": 0,
"raw": "5",
"start": 120,
"type": "Literal",
@ -221,6 +244,7 @@ expression: actual
},
"commentStart": 119,
"end": 121,
"moduleId": 0,
"operator": "-",
"start": 119,
"type": "UnaryExpression",
@ -229,6 +253,7 @@ expression: actual
{
"commentStart": 123,
"end": 124,
"moduleId": 0,
"raw": "5",
"start": 123,
"type": "Literal",
@ -240,6 +265,7 @@ expression: actual
}
],
"end": 125,
"moduleId": 0,
"start": 118,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -250,9 +276,11 @@ expression: actual
"abs_path": false,
"commentStart": 98,
"end": 111,
"moduleId": 0,
"name": {
"commentStart": 98,
"end": 111,
"moduleId": 0,
"name": "tangentialArc",
"start": 98,
"type": "Identifier"
@ -263,6 +291,7 @@ expression: actual
},
"commentStart": 98,
"end": 126,
"moduleId": 0,
"start": 98,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -275,6 +304,7 @@ expression: actual
"label": {
"commentStart": 139,
"end": 141,
"moduleId": 0,
"name": "at",
"start": 139,
"type": "Identifier"
@ -285,6 +315,7 @@ expression: actual
{
"commentStart": 145,
"end": 146,
"moduleId": 0,
"raw": "5",
"start": 145,
"type": "Literal",
@ -298,6 +329,7 @@ expression: actual
"argument": {
"commentStart": 149,
"end": 151,
"moduleId": 0,
"raw": "15",
"start": 149,
"type": "Literal",
@ -309,6 +341,7 @@ expression: actual
},
"commentStart": 148,
"end": 151,
"moduleId": 0,
"operator": "-",
"start": 148,
"type": "UnaryExpression",
@ -316,6 +349,7 @@ expression: actual
}
],
"end": 152,
"moduleId": 0,
"start": 144,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -326,9 +360,11 @@ expression: actual
"abs_path": false,
"commentStart": 134,
"end": 138,
"moduleId": 0,
"name": {
"commentStart": 134,
"end": 138,
"moduleId": 0,
"name": "line",
"start": 134,
"type": "Identifier"
@ -339,6 +375,7 @@ expression: actual
},
"commentStart": 134,
"end": 153,
"moduleId": 0,
"start": 134,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -351,6 +388,7 @@ expression: actual
"label": {
"commentStart": 169,
"end": 175,
"moduleId": 0,
"name": "length",
"start": 169,
"type": "Identifier"
@ -358,6 +396,7 @@ expression: actual
"arg": {
"commentStart": 176,
"end": 178,
"moduleId": 0,
"raw": "10",
"start": 176,
"type": "Literal",
@ -373,9 +412,11 @@ expression: actual
"abs_path": false,
"commentStart": 161,
"end": 168,
"moduleId": 0,
"name": {
"commentStart": 161,
"end": 168,
"moduleId": 0,
"name": "extrude",
"start": 161,
"type": "Identifier"
@ -386,6 +427,7 @@ expression: actual
},
"commentStart": 161,
"end": 179,
"moduleId": 0,
"start": 161,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -394,15 +436,18 @@ expression: actual
],
"commentStart": 12,
"end": 179,
"moduleId": 0,
"start": 12,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 179,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -410,5 +455,6 @@ expression: actual
],
"commentStart": 0,
"end": 180,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 2,
"moduleId": 0,
"name": "sg",
"start": 0,
"type": "Identifier"
@ -21,9 +22,11 @@ expression: actual
"abs_path": false,
"commentStart": 6,
"end": 11,
"moduleId": 0,
"name": {
"commentStart": 6,
"end": 11,
"moduleId": 0,
"name": "scale",
"start": 6,
"type": "Identifier"
@ -35,16 +38,19 @@ expression: actual
},
"commentStart": 5,
"end": 11,
"moduleId": 0,
"operator": "-",
"start": 5,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 11,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -52,5 +58,6 @@ expression: actual
],
"commentStart": 0,
"end": 11,
"moduleId": 0,
"start": 0
}

View File

@ -14,6 +14,7 @@ expression: actual
"label": {
"commentStart": 5,
"end": 16,
"moduleId": 0,
"name": "endAbsolute",
"start": 5,
"type": "Identifier"
@ -24,6 +25,7 @@ expression: actual
{
"commentStart": 20,
"end": 21,
"moduleId": 0,
"raw": "0",
"start": 20,
"type": "Literal",
@ -37,6 +39,7 @@ expression: actual
"argument": {
"commentStart": 24,
"end": 25,
"moduleId": 0,
"raw": "1",
"start": 24,
"type": "Literal",
@ -48,6 +51,7 @@ expression: actual
},
"commentStart": 23,
"end": 25,
"moduleId": 0,
"operator": "-",
"start": 23,
"type": "UnaryExpression",
@ -55,6 +59,7 @@ expression: actual
}
],
"end": 26,
"moduleId": 0,
"start": 19,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -65,9 +70,11 @@ expression: actual
"abs_path": false,
"commentStart": 0,
"end": 4,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 4,
"moduleId": 0,
"name": "line",
"start": 0,
"type": "Identifier"
@ -78,11 +85,13 @@ expression: actual
},
"commentStart": 0,
"end": 27,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -90,5 +99,6 @@ expression: actual
],
"commentStart": 0,
"end": 27,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 8,
"end": 24,
"moduleId": 0,
"name": "firstPrimeNumber",
"start": 8,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"argument": {
"commentStart": 44,
"end": 45,
"moduleId": 0,
"raw": "2",
"start": 44,
"type": "Literal",
@ -34,6 +36,7 @@ expression: actual
},
"commentStart": 37,
"end": 45,
"moduleId": 0,
"start": 37,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -41,20 +44,24 @@ expression: actual
],
"commentStart": 27,
"end": 51,
"moduleId": 0,
"start": 27
},
"commentStart": 24,
"end": 51,
"moduleId": 0,
"params": [],
"start": 24,
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 8,
"type": "VariableDeclarator"
},
"end": 51,
"kind": "fn",
"moduleId": 0,
"start": 5,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -63,13 +70,16 @@ expression: actual
"commentStart": 56,
"end": 74,
"expression": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 56,
"end": 72,
"moduleId": 0,
"name": {
"commentStart": 56,
"end": 72,
"moduleId": 0,
"name": "firstPrimeNumber",
"start": 56,
"type": "Identifier"
@ -80,11 +90,13 @@ expression: actual
},
"commentStart": 56,
"end": 74,
"moduleId": 0,
"start": 56,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"start": 56,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -92,5 +104,6 @@ expression: actual
],
"commentStart": 0,
"end": 74,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 3,
"end": 8,
"moduleId": 0,
"name": "thing",
"start": 3,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"argument": {
"commentStart": 33,
"end": 37,
"moduleId": 0,
"raw": "true",
"start": 33,
"type": "Literal",
@ -31,6 +33,7 @@ expression: actual
},
"commentStart": 26,
"end": 37,
"moduleId": 0,
"start": 26,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -38,16 +41,19 @@ expression: actual
],
"commentStart": 16,
"end": 43,
"moduleId": 0,
"start": 16
},
"commentStart": 8,
"end": 43,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 9,
"end": 14,
"moduleId": 0,
"name": "param",
"start": 9,
"type": "Identifier"
@ -58,11 +64,13 @@ expression: actual
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 3,
"type": "VariableDeclarator"
},
"end": 43,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -71,13 +79,16 @@ expression: actual
"commentStart": 48,
"end": 60,
"expression": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 48,
"end": 53,
"moduleId": 0,
"name": {
"commentStart": 48,
"end": 53,
"moduleId": 0,
"name": "thing",
"start": 48,
"type": "Identifier"
@ -88,12 +99,14 @@ expression: actual
},
"commentStart": 48,
"end": 60,
"moduleId": 0,
"start": 48,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"commentStart": 54,
"end": 59,
"moduleId": 0,
"raw": "false",
"start": 54,
"type": "Literal",
@ -101,6 +114,7 @@ expression: actual
"value": false
}
},
"moduleId": 0,
"start": 48,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -108,5 +122,6 @@ expression: actual
],
"commentStart": 0,
"end": 60,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 8,
"moduleId": 0,
"name": "mySketch",
"start": 0,
"type": "Identifier"
@ -19,13 +20,16 @@ expression: actual
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 11,
"end": 24,
"moduleId": 0,
"name": {
"commentStart": 11,
"end": 24,
"moduleId": 0,
"name": "startSketchOn",
"start": 11,
"type": "Identifier"
@ -36,6 +40,7 @@ expression: actual
},
"commentStart": 11,
"end": 28,
"moduleId": 0,
"start": 11,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -43,9 +48,11 @@ expression: actual
"abs_path": false,
"commentStart": 25,
"end": 27,
"moduleId": 0,
"name": {
"commentStart": 25,
"end": 27,
"moduleId": 0,
"name": "XY",
"start": 25,
"type": "Identifier"
@ -63,6 +70,7 @@ expression: actual
"label": {
"commentStart": 53,
"end": 55,
"moduleId": 0,
"name": "at",
"start": 53,
"type": "Identifier"
@ -73,6 +81,7 @@ expression: actual
{
"commentStart": 59,
"end": 60,
"moduleId": 0,
"raw": "0",
"start": 59,
"type": "Literal",
@ -85,6 +94,7 @@ expression: actual
{
"commentStart": 61,
"end": 62,
"moduleId": 0,
"raw": "0",
"start": 61,
"type": "Literal",
@ -96,6 +106,7 @@ expression: actual
}
],
"end": 63,
"moduleId": 0,
"start": 58,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -106,9 +117,11 @@ expression: actual
"abs_path": false,
"commentStart": 40,
"end": 52,
"moduleId": 0,
"name": {
"commentStart": 40,
"end": 52,
"moduleId": 0,
"name": "startProfile",
"start": 40,
"type": "Identifier"
@ -119,6 +132,7 @@ expression: actual
},
"commentStart": 40,
"end": 64,
"moduleId": 0,
"start": 40,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -131,6 +145,7 @@ expression: actual
"label": {
"commentStart": 81,
"end": 92,
"moduleId": 0,
"name": "endAbsolute",
"start": 81,
"type": "Identifier"
@ -141,6 +156,7 @@ expression: actual
{
"commentStart": 96,
"end": 97,
"moduleId": 0,
"raw": "0",
"start": 96,
"type": "Literal",
@ -153,6 +169,7 @@ expression: actual
{
"commentStart": 99,
"end": 100,
"moduleId": 0,
"raw": "1",
"start": 99,
"type": "Literal",
@ -164,6 +181,7 @@ expression: actual
}
],
"end": 101,
"moduleId": 0,
"start": 95,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -174,6 +192,7 @@ expression: actual
"label": {
"commentStart": 103,
"end": 106,
"moduleId": 0,
"name": "tag",
"start": 103,
"type": "Identifier"
@ -181,6 +200,7 @@ expression: actual
"arg": {
"commentStart": 109,
"end": 116,
"moduleId": 0,
"start": 109,
"type": "TagDeclarator",
"type": "TagDeclarator",
@ -192,9 +212,11 @@ expression: actual
"abs_path": false,
"commentStart": 76,
"end": 80,
"moduleId": 0,
"name": {
"commentStart": 76,
"end": 80,
"moduleId": 0,
"name": "line",
"start": 76,
"type": "Identifier"
@ -205,6 +227,7 @@ expression: actual
},
"commentStart": 76,
"end": 117,
"moduleId": 0,
"start": 76,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -217,6 +240,7 @@ expression: actual
"label": {
"commentStart": 134,
"end": 145,
"moduleId": 0,
"name": "endAbsolute",
"start": 134,
"type": "Identifier"
@ -227,6 +251,7 @@ expression: actual
{
"commentStart": 149,
"end": 150,
"moduleId": 0,
"raw": "1",
"start": 149,
"type": "Literal",
@ -239,6 +264,7 @@ expression: actual
{
"commentStart": 152,
"end": 153,
"moduleId": 0,
"raw": "1",
"start": 152,
"type": "Literal",
@ -250,6 +276,7 @@ expression: actual
}
],
"end": 154,
"moduleId": 0,
"start": 148,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -260,9 +287,11 @@ expression: actual
"abs_path": false,
"commentStart": 129,
"end": 133,
"moduleId": 0,
"name": {
"commentStart": 129,
"end": 133,
"moduleId": 0,
"name": "line",
"start": 129,
"type": "Identifier"
@ -273,6 +302,7 @@ expression: actual
},
"commentStart": 129,
"end": 155,
"moduleId": 0,
"start": 129,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -285,6 +315,7 @@ expression: actual
"label": {
"commentStart": 172,
"end": 183,
"moduleId": 0,
"name": "endAbsolute",
"start": 172,
"type": "Identifier"
@ -295,6 +326,7 @@ expression: actual
{
"commentStart": 187,
"end": 188,
"moduleId": 0,
"raw": "1",
"start": 187,
"type": "Literal",
@ -307,6 +339,7 @@ expression: actual
{
"commentStart": 190,
"end": 191,
"moduleId": 0,
"raw": "0",
"start": 190,
"type": "Literal",
@ -318,6 +351,7 @@ expression: actual
}
],
"end": 192,
"moduleId": 0,
"start": 186,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -328,6 +362,7 @@ expression: actual
"label": {
"commentStart": 194,
"end": 197,
"moduleId": 0,
"name": "tag",
"start": 194,
"type": "Identifier"
@ -335,6 +370,7 @@ expression: actual
"arg": {
"commentStart": 200,
"end": 210,
"moduleId": 0,
"start": 200,
"type": "TagDeclarator",
"type": "TagDeclarator",
@ -346,9 +382,11 @@ expression: actual
"abs_path": false,
"commentStart": 167,
"end": 171,
"moduleId": 0,
"name": {
"commentStart": 167,
"end": 171,
"moduleId": 0,
"name": "line",
"start": 167,
"type": "Identifier"
@ -359,19 +397,23 @@ expression: actual
},
"commentStart": 167,
"end": 211,
"moduleId": 0,
"start": 167,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 223,
"end": 228,
"moduleId": 0,
"name": {
"commentStart": 223,
"end": 228,
"moduleId": 0,
"name": "close",
"start": 223,
"type": "Identifier"
@ -382,6 +424,7 @@ expression: actual
},
"commentStart": 223,
"end": 230,
"moduleId": 0,
"start": 223,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -390,15 +433,18 @@ expression: actual
],
"commentStart": 11,
"end": 230,
"moduleId": 0,
"start": 11,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 230,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -406,5 +452,6 @@ expression: actual
],
"commentStart": 0,
"end": 230,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 8,
"moduleId": 0,
"name": "mySketch",
"start": 0,
"type": "Identifier"
@ -19,13 +20,16 @@ expression: actual
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 11,
"end": 24,
"moduleId": 0,
"name": {
"commentStart": 11,
"end": 24,
"moduleId": 0,
"name": "startSketchOn",
"start": 11,
"type": "Identifier"
@ -36,6 +40,7 @@ expression: actual
},
"commentStart": 11,
"end": 28,
"moduleId": 0,
"start": 11,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -43,9 +48,11 @@ expression: actual
"abs_path": false,
"commentStart": 25,
"end": 27,
"moduleId": 0,
"name": {
"commentStart": 25,
"end": 27,
"moduleId": 0,
"name": "XY",
"start": 25,
"type": "Identifier"
@ -63,6 +70,7 @@ expression: actual
"label": {
"commentStart": 45,
"end": 47,
"moduleId": 0,
"name": "at",
"start": 45,
"type": "Identifier"
@ -73,6 +81,7 @@ expression: actual
{
"commentStart": 51,
"end": 52,
"moduleId": 0,
"raw": "0",
"start": 51,
"type": "Literal",
@ -85,6 +94,7 @@ expression: actual
{
"commentStart": 53,
"end": 54,
"moduleId": 0,
"raw": "0",
"start": 53,
"type": "Literal",
@ -96,6 +106,7 @@ expression: actual
}
],
"end": 55,
"moduleId": 0,
"start": 50,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -106,9 +117,11 @@ expression: actual
"abs_path": false,
"commentStart": 32,
"end": 44,
"moduleId": 0,
"name": {
"commentStart": 32,
"end": 44,
"moduleId": 0,
"name": "startProfile",
"start": 32,
"type": "Identifier"
@ -119,6 +132,7 @@ expression: actual
},
"commentStart": 32,
"end": 56,
"moduleId": 0,
"start": 32,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -131,6 +145,7 @@ expression: actual
"label": {
"commentStart": 65,
"end": 76,
"moduleId": 0,
"name": "endAbsolute",
"start": 65,
"type": "Identifier"
@ -141,6 +156,7 @@ expression: actual
{
"commentStart": 80,
"end": 81,
"moduleId": 0,
"raw": "1",
"start": 80,
"type": "Literal",
@ -153,6 +169,7 @@ expression: actual
{
"commentStart": 83,
"end": 84,
"moduleId": 0,
"raw": "1",
"start": 83,
"type": "Literal",
@ -164,6 +181,7 @@ expression: actual
}
],
"end": 85,
"moduleId": 0,
"start": 79,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -174,9 +192,11 @@ expression: actual
"abs_path": false,
"commentStart": 60,
"end": 64,
"moduleId": 0,
"name": {
"commentStart": 60,
"end": 64,
"moduleId": 0,
"name": "line",
"start": 60,
"type": "Identifier"
@ -187,19 +207,23 @@ expression: actual
},
"commentStart": 60,
"end": 86,
"moduleId": 0,
"start": 60,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 90,
"end": 95,
"moduleId": 0,
"name": {
"commentStart": 90,
"end": 95,
"moduleId": 0,
"name": "close",
"start": 90,
"type": "Identifier"
@ -210,6 +234,7 @@ expression: actual
},
"commentStart": 90,
"end": 97,
"moduleId": 0,
"start": 90,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -218,15 +243,18 @@ expression: actual
],
"commentStart": 11,
"end": 97,
"moduleId": 0,
"start": 11,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 97,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -234,5 +262,6 @@ expression: actual
],
"commentStart": 0,
"end": 97,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 5,
"moduleId": 0,
"name": "myBox",
"start": 0,
"type": "Identifier"
@ -19,13 +20,16 @@ expression: actual
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 8,
"end": 21,
"moduleId": 0,
"name": {
"commentStart": 8,
"end": 21,
"moduleId": 0,
"name": "startSketchOn",
"start": 8,
"type": "Identifier"
@ -36,6 +40,7 @@ expression: actual
},
"commentStart": 8,
"end": 25,
"moduleId": 0,
"start": 8,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -43,9 +48,11 @@ expression: actual
"abs_path": false,
"commentStart": 22,
"end": 24,
"moduleId": 0,
"name": {
"commentStart": 22,
"end": 24,
"moduleId": 0,
"name": "XY",
"start": 22,
"type": "Identifier"
@ -63,6 +70,7 @@ expression: actual
"label": {
"commentStart": 42,
"end": 44,
"moduleId": 0,
"name": "at",
"start": 42,
"type": "Identifier"
@ -71,9 +79,11 @@ expression: actual
"abs_path": false,
"commentStart": 47,
"end": 48,
"moduleId": 0,
"name": {
"commentStart": 47,
"end": 48,
"moduleId": 0,
"name": "p",
"start": 47,
"type": "Identifier"
@ -89,9 +99,11 @@ expression: actual
"abs_path": false,
"commentStart": 29,
"end": 41,
"moduleId": 0,
"name": {
"commentStart": 29,
"end": 41,
"moduleId": 0,
"name": "startProfile",
"start": 29,
"type": "Identifier"
@ -102,6 +114,7 @@ expression: actual
},
"commentStart": 29,
"end": 49,
"moduleId": 0,
"start": 29,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -110,15 +123,18 @@ expression: actual
],
"commentStart": 8,
"end": 49,
"moduleId": 0,
"start": 8,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 49,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -126,5 +142,6 @@ expression: actual
],
"commentStart": 0,
"end": 49,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 5,
"moduleId": 0,
"name": "myBox",
"start": 0,
"type": "Identifier"
@ -19,13 +20,16 @@ expression: actual
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 8,
"end": 9,
"moduleId": 0,
"name": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"name": "f",
"start": 8,
"type": "Identifier"
@ -36,12 +40,14 @@ expression: actual
},
"commentStart": 8,
"end": 12,
"moduleId": 0,
"start": 8,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"commentStart": 10,
"end": 11,
"moduleId": 0,
"raw": "1",
"start": 10,
"type": "Literal",
@ -53,13 +59,16 @@ expression: actual
}
},
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 16,
"end": 17,
"moduleId": 0,
"name": {
"commentStart": 16,
"end": 17,
"moduleId": 0,
"name": "g",
"start": 16,
"type": "Identifier"
@ -70,12 +79,14 @@ expression: actual
},
"commentStart": 16,
"end": 20,
"moduleId": 0,
"start": 16,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"commentStart": 18,
"end": 19,
"moduleId": 0,
"raw": "2",
"start": 18,
"type": "Literal",
@ -89,15 +100,18 @@ expression: actual
],
"commentStart": 8,
"end": 20,
"moduleId": 0,
"start": 8,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 20,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -105,5 +119,6 @@ expression: actual
],
"commentStart": 0,
"end": 20,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 5,
"moduleId": 0,
"name": "myBox",
"start": 0,
"type": "Identifier"
@ -19,13 +20,16 @@ expression: actual
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 8,
"end": 21,
"moduleId": 0,
"name": {
"commentStart": 8,
"end": 21,
"moduleId": 0,
"name": "startSketchOn",
"start": 8,
"type": "Identifier"
@ -36,6 +40,7 @@ expression: actual
},
"commentStart": 8,
"end": 25,
"moduleId": 0,
"start": 8,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -43,9 +48,11 @@ expression: actual
"abs_path": false,
"commentStart": 22,
"end": 24,
"moduleId": 0,
"name": {
"commentStart": 22,
"end": 24,
"moduleId": 0,
"name": "XY",
"start": 22,
"type": "Identifier"
@ -63,6 +70,7 @@ expression: actual
"label": {
"commentStart": 42,
"end": 44,
"moduleId": 0,
"name": "at",
"start": 42,
"type": "Identifier"
@ -71,9 +79,11 @@ expression: actual
"abs_path": false,
"commentStart": 47,
"end": 48,
"moduleId": 0,
"name": {
"commentStart": 47,
"end": 48,
"moduleId": 0,
"name": "p",
"start": 47,
"type": "Identifier"
@ -89,9 +99,11 @@ expression: actual
"abs_path": false,
"commentStart": 29,
"end": 41,
"moduleId": 0,
"name": {
"commentStart": 29,
"end": 41,
"moduleId": 0,
"name": "startProfile",
"start": 29,
"type": "Identifier"
@ -102,6 +114,7 @@ expression: actual
},
"commentStart": 29,
"end": 49,
"moduleId": 0,
"start": 29,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -114,6 +127,7 @@ expression: actual
"label": {
"commentStart": 58,
"end": 61,
"moduleId": 0,
"name": "end",
"start": 58,
"type": "Identifier"
@ -124,6 +138,7 @@ expression: actual
{
"commentStart": 65,
"end": 66,
"moduleId": 0,
"raw": "0",
"start": 65,
"type": "Literal",
@ -137,9 +152,11 @@ expression: actual
"abs_path": false,
"commentStart": 68,
"end": 69,
"moduleId": 0,
"name": {
"commentStart": 68,
"end": 69,
"moduleId": 0,
"name": "l",
"start": 68,
"type": "Identifier"
@ -151,6 +168,7 @@ expression: actual
}
],
"end": 70,
"moduleId": 0,
"start": 64,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -161,9 +179,11 @@ expression: actual
"abs_path": false,
"commentStart": 53,
"end": 57,
"moduleId": 0,
"name": {
"commentStart": 53,
"end": 57,
"moduleId": 0,
"name": "line",
"start": 53,
"type": "Identifier"
@ -174,6 +194,7 @@ expression: actual
},
"commentStart": 53,
"end": 71,
"moduleId": 0,
"start": 53,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -182,15 +203,18 @@ expression: actual
],
"commentStart": 8,
"end": 71,
"moduleId": 0,
"start": 8,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 71,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -198,5 +222,6 @@ expression: actual
],
"commentStart": 0,
"end": 71,
"moduleId": 0,
"start": 0
}

View File

@ -14,6 +14,7 @@ expression: actual
"label": {
"commentStart": 5,
"end": 16,
"moduleId": 0,
"name": "endAbsolute",
"start": 5,
"type": "Identifier"
@ -24,6 +25,7 @@ expression: actual
{
"commentStart": 20,
"end": 21,
"moduleId": 0,
"raw": "0",
"start": 20,
"type": "Literal",
@ -36,6 +38,7 @@ expression: actual
{
"commentStart": 23,
"end": 24,
"moduleId": 0,
"raw": "1",
"start": 23,
"type": "Literal",
@ -47,6 +50,7 @@ expression: actual
}
],
"end": 25,
"moduleId": 0,
"start": 19,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -57,9 +61,11 @@ expression: actual
"abs_path": false,
"commentStart": 0,
"end": 4,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 4,
"moduleId": 0,
"name": "line",
"start": 0,
"type": "Identifier"
@ -70,11 +76,13 @@ expression: actual
},
"commentStart": 0,
"end": 26,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -82,5 +90,6 @@ expression: actual
],
"commentStart": 0,
"end": 26,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 8,
"moduleId": 0,
"name": "mySketch",
"start": 0,
"type": "Identifier"
@ -19,13 +20,16 @@ expression: actual
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 11,
"end": 24,
"moduleId": 0,
"name": {
"commentStart": 11,
"end": 24,
"moduleId": 0,
"name": "startSketchOn",
"start": 11,
"type": "Identifier"
@ -36,6 +40,7 @@ expression: actual
},
"commentStart": 11,
"end": 28,
"moduleId": 0,
"start": 11,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -43,9 +48,11 @@ expression: actual
"abs_path": false,
"commentStart": 25,
"end": 27,
"moduleId": 0,
"name": {
"commentStart": 25,
"end": 27,
"moduleId": 0,
"name": "XY",
"start": 25,
"type": "Identifier"
@ -63,6 +70,7 @@ expression: actual
"label": {
"commentStart": 45,
"end": 47,
"moduleId": 0,
"name": "at",
"start": 45,
"type": "Identifier"
@ -73,6 +81,7 @@ expression: actual
{
"commentStart": 51,
"end": 52,
"moduleId": 0,
"raw": "0",
"start": 51,
"type": "Literal",
@ -85,6 +94,7 @@ expression: actual
{
"commentStart": 53,
"end": 54,
"moduleId": 0,
"raw": "0",
"start": 53,
"type": "Literal",
@ -96,6 +106,7 @@ expression: actual
}
],
"end": 55,
"moduleId": 0,
"start": 50,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -106,9 +117,11 @@ expression: actual
"abs_path": false,
"commentStart": 32,
"end": 44,
"moduleId": 0,
"name": {
"commentStart": 32,
"end": 44,
"moduleId": 0,
"name": "startProfile",
"start": 32,
"type": "Identifier"
@ -119,6 +132,7 @@ expression: actual
},
"commentStart": 32,
"end": 56,
"moduleId": 0,
"start": 32,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -127,15 +141,18 @@ expression: actual
],
"commentStart": 11,
"end": 56,
"moduleId": 0,
"start": 11,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 56,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -143,5 +160,6 @@ expression: actual
],
"commentStart": 0,
"end": 56,
"moduleId": 0,
"start": 0
}

View File

@ -14,6 +14,7 @@ expression: actual
"label": {
"commentStart": 4,
"end": 10,
"moduleId": 0,
"name": "number",
"start": 4,
"type": "Identifier"
@ -21,6 +22,7 @@ expression: actual
"arg": {
"commentStart": 13,
"end": 14,
"moduleId": 0,
"raw": "5",
"start": 13,
"type": "Literal",
@ -36,6 +38,7 @@ expression: actual
"label": {
"commentStart": 16,
"end": 19,
"moduleId": 0,
"name": "msg",
"start": 16,
"type": "Identifier"
@ -43,6 +46,7 @@ expression: actual
"arg": {
"commentStart": 22,
"end": 29,
"moduleId": 0,
"raw": "\"hello\"",
"start": 22,
"type": "Literal",
@ -55,6 +59,7 @@ expression: actual
"label": {
"commentStart": 31,
"end": 33,
"moduleId": 0,
"name": "id",
"start": 31,
"type": "Identifier"
@ -63,9 +68,11 @@ expression: actual
"abs_path": false,
"commentStart": 34,
"end": 45,
"moduleId": 0,
"name": {
"commentStart": 34,
"end": 45,
"moduleId": 0,
"name": "aIdentifier",
"start": 34,
"type": "Identifier"
@ -81,9 +88,11 @@ expression: actual
"abs_path": false,
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "log",
"start": 0,
"type": "Identifier"
@ -94,11 +103,13 @@ expression: actual
},
"commentStart": 0,
"end": 46,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -106,5 +117,6 @@ expression: actual
],
"commentStart": 0,
"end": 46,
"moduleId": 0,
"start": 0
}

View File

@ -13,6 +13,7 @@ expression: actual
"left": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -22,10 +23,12 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "+",
"right": {
"commentStart": 4,
"end": 7,
"moduleId": 0,
"raw": "\"a\"",
"start": 4,
"type": "Literal",
@ -36,6 +39,7 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -43,5 +47,6 @@ expression: actual
],
"commentStart": 0,
"end": 7,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 4,
"moduleId": 0,
"name": "incl",
"start": 0,
"type": "Identifier"
@ -22,6 +23,7 @@ expression: actual
"endElement": {
"commentStart": 11,
"end": 13,
"moduleId": 0,
"raw": "10",
"start": 11,
"type": "Literal",
@ -32,10 +34,12 @@ expression: actual
}
},
"endInclusive": true,
"moduleId": 0,
"start": 7,
"startElement": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"raw": "1",
"start": 8,
"type": "Literal",
@ -48,11 +52,13 @@ expression: actual
"type": "ArrayRangeExpression",
"type": "ArrayRangeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 14,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -65,6 +71,7 @@ expression: actual
"id": {
"commentStart": 23,
"end": 27,
"moduleId": 0,
"name": "excl",
"start": 23,
"type": "Identifier"
@ -75,6 +82,7 @@ expression: actual
"endElement": {
"commentStart": 35,
"end": 37,
"moduleId": 0,
"raw": "10",
"start": 35,
"type": "Literal",
@ -85,10 +93,12 @@ expression: actual
}
},
"endInclusive": false,
"moduleId": 0,
"start": 30,
"startElement": {
"commentStart": 31,
"end": 32,
"moduleId": 0,
"raw": "0",
"start": 31,
"type": "Literal",
@ -101,11 +111,13 @@ expression: actual
"type": "ArrayRangeExpression",
"type": "ArrayRangeExpression"
},
"moduleId": 0,
"start": 23,
"type": "VariableDeclarator"
},
"end": 38,
"kind": "const",
"moduleId": 0,
"start": 23,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -113,5 +125,6 @@ expression: actual
],
"commentStart": 0,
"end": 38,
"moduleId": 0,
"start": 0
}

View File

@ -8,13 +8,16 @@ expression: actual
"commentStart": 0,
"end": 12,
"expression": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 4,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 4,
"moduleId": 0,
"name": "line",
"start": 0,
"type": "Identifier"
@ -25,6 +28,7 @@ expression: actual
},
"commentStart": 0,
"end": 12,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -34,6 +38,7 @@ expression: actual
{
"commentStart": 6,
"end": 7,
"moduleId": 0,
"raw": "0",
"start": 6,
"type": "Literal",
@ -47,9 +52,11 @@ expression: actual
"abs_path": false,
"commentStart": 9,
"end": 10,
"moduleId": 0,
"name": {
"commentStart": 9,
"end": 10,
"moduleId": 0,
"name": "l",
"start": 9,
"type": "Identifier"
@ -61,11 +68,13 @@ expression: actual
}
],
"end": 11,
"moduleId": 0,
"start": 5,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -73,5 +82,6 @@ expression: actual
],
"commentStart": 0,
"end": 12,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 8,
"moduleId": 0,
"name": "cylinder",
"start": 0,
"type": "Identifier"
@ -19,13 +20,16 @@ expression: actual
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 11,
"end": 24,
"moduleId": 0,
"name": {
"commentStart": 11,
"end": 24,
"moduleId": 0,
"name": "startSketchOn",
"start": 11,
"type": "Identifier"
@ -36,6 +40,7 @@ expression: actual
},
"commentStart": 11,
"end": 28,
"moduleId": 0,
"start": 11,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -43,9 +48,11 @@ expression: actual
"abs_path": false,
"commentStart": 25,
"end": 27,
"moduleId": 0,
"name": {
"commentStart": 25,
"end": 27,
"moduleId": 0,
"name": "XY",
"start": 25,
"type": "Identifier"
@ -63,6 +70,7 @@ expression: actual
"label": {
"commentStart": 43,
"end": 49,
"moduleId": 0,
"name": "center",
"start": 43,
"type": "Identifier"
@ -73,6 +81,7 @@ expression: actual
{
"commentStart": 52,
"end": 53,
"moduleId": 0,
"raw": "0",
"start": 52,
"type": "Literal",
@ -85,6 +94,7 @@ expression: actual
{
"commentStart": 55,
"end": 56,
"moduleId": 0,
"raw": "0",
"start": 55,
"type": "Literal",
@ -96,6 +106,7 @@ expression: actual
}
],
"end": 57,
"moduleId": 0,
"start": 51,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -106,6 +117,7 @@ expression: actual
"label": {
"commentStart": 59,
"end": 65,
"moduleId": 0,
"name": "radius",
"start": 59,
"type": "Identifier"
@ -113,6 +125,7 @@ expression: actual
"arg": {
"commentStart": 67,
"end": 69,
"moduleId": 0,
"raw": "22",
"start": 67,
"type": "Literal",
@ -128,9 +141,11 @@ expression: actual
"abs_path": false,
"commentStart": 36,
"end": 42,
"moduleId": 0,
"name": {
"commentStart": 36,
"end": 42,
"moduleId": 0,
"name": "circle",
"start": 36,
"type": "Identifier"
@ -141,6 +156,7 @@ expression: actual
},
"commentStart": 36,
"end": 70,
"moduleId": 0,
"start": 36,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -153,6 +169,7 @@ expression: actual
"label": {
"commentStart": 86,
"end": 92,
"moduleId": 0,
"name": "length",
"start": 86,
"type": "Identifier"
@ -160,6 +177,7 @@ expression: actual
"arg": {
"commentStart": 95,
"end": 97,
"moduleId": 0,
"raw": "14",
"start": 95,
"type": "Literal",
@ -175,9 +193,11 @@ expression: actual
"abs_path": false,
"commentStart": 78,
"end": 85,
"moduleId": 0,
"name": {
"commentStart": 78,
"end": 85,
"moduleId": 0,
"name": "extrude",
"start": 78,
"type": "Identifier"
@ -188,6 +208,7 @@ expression: actual
},
"commentStart": 78,
"end": 98,
"moduleId": 0,
"start": 78,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -196,15 +217,18 @@ expression: actual
],
"commentStart": 11,
"end": 98,
"moduleId": 0,
"start": 11,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 98,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -212,5 +236,6 @@ expression: actual
],
"commentStart": 0,
"end": 99,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 3,
"end": 4,
"moduleId": 0,
"name": "f",
"start": 3,
"type": "Identifier"
@ -27,6 +28,7 @@ expression: actual
"label": {
"commentStart": 30,
"end": 35,
"moduleId": 0,
"name": "maybe",
"start": 30,
"type": "Identifier"
@ -35,9 +37,11 @@ expression: actual
"abs_path": false,
"commentStart": 36,
"end": 41,
"moduleId": 0,
"name": {
"commentStart": 36,
"end": 41,
"moduleId": 0,
"name": "angle",
"start": 36,
"type": "Identifier"
@ -53,6 +57,7 @@ expression: actual
"label": {
"commentStart": 43,
"end": 52,
"moduleId": 0,
"name": "otherwise",
"start": 43,
"type": "Identifier"
@ -60,6 +65,7 @@ expression: actual
"arg": {
"commentStart": 53,
"end": 56,
"moduleId": 0,
"raw": "360",
"start": 53,
"type": "Literal",
@ -75,9 +81,11 @@ expression: actual
"abs_path": false,
"commentStart": 22,
"end": 29,
"moduleId": 0,
"name": {
"commentStart": 22,
"end": 29,
"moduleId": 0,
"name": "default",
"start": 22,
"type": "Identifier"
@ -88,6 +96,7 @@ expression: actual
},
"commentStart": 22,
"end": 57,
"moduleId": 0,
"start": 22,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -95,6 +104,7 @@ expression: actual
},
"commentStart": 15,
"end": 57,
"moduleId": 0,
"start": 15,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -102,16 +112,19 @@ expression: actual
],
"commentStart": 13,
"end": 59,
"moduleId": 0,
"start": 13
},
"commentStart": 4,
"end": 59,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 5,
"end": 10,
"moduleId": 0,
"name": "angle",
"start": 5,
"type": "Identifier"
@ -127,11 +140,13 @@ expression: actual
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 3,
"type": "VariableDeclarator"
},
"end": 59,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -139,5 +154,6 @@ expression: actual
],
"commentStart": 0,
"end": 59,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 7,
"moduleId": 0,
"name": "numbers",
"start": 0,
"type": "Identifier"
@ -22,6 +23,7 @@ expression: actual
{
"commentStart": 24,
"end": 25,
"moduleId": 0,
"raw": "1",
"start": 24,
"type": "Literal",
@ -34,6 +36,7 @@ expression: actual
{
"commentStart": 75,
"end": 76,
"moduleId": 0,
"raw": "3",
"start": 75,
"type": "Literal",
@ -45,12 +48,14 @@ expression: actual
}
],
"end": 87,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"commentStart": 39,
"end": 44,
"moduleId": 0,
"start": 39,
"type": "NonCodeNode",
"value": {
@ -64,6 +69,7 @@ expression: actual
{
"commentStart": 57,
"end": 62,
"moduleId": 0,
"start": 57,
"type": "NonCodeNode",
"value": {
@ -80,11 +86,13 @@ expression: actual
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 87,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -92,5 +100,6 @@ expression: actual
],
"commentStart": 0,
"end": 87,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 7,
"moduleId": 0,
"name": "numbers",
"start": 0,
"type": "Identifier"
@ -22,6 +23,7 @@ expression: actual
{
"commentStart": 24,
"end": 25,
"moduleId": 0,
"raw": "1",
"start": 24,
"type": "Literal",
@ -34,6 +36,7 @@ expression: actual
{
"commentStart": 39,
"end": 40,
"moduleId": 0,
"raw": "2",
"start": 39,
"type": "Literal",
@ -45,12 +48,14 @@ expression: actual
}
],
"end": 87,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"2": [
{
"commentStart": 54,
"end": 59,
"moduleId": 0,
"start": 54,
"type": "NonCodeNode",
"value": {
@ -64,6 +69,7 @@ expression: actual
{
"commentStart": 72,
"end": 77,
"moduleId": 0,
"start": 72,
"type": "NonCodeNode",
"value": {
@ -80,11 +86,13 @@ expression: actual
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 87,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -92,5 +100,6 @@ expression: actual
],
"commentStart": 0,
"end": 87,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 4,
"end": 9,
"moduleId": 0,
"name": "props",
"start": 4,
"type": "Identifier"
@ -19,12 +20,14 @@ expression: actual
"init": {
"commentStart": 12,
"end": 80,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"commentStart": 44,
"end": 52,
"moduleId": 0,
"start": 44,
"type": "NonCodeNode",
"value": {
@ -44,15 +47,18 @@ expression: actual
"key": {
"commentStart": 26,
"end": 27,
"moduleId": 0,
"name": "a",
"start": 26,
"type": "Identifier"
},
"moduleId": 0,
"start": 26,
"type": "ObjectProperty",
"value": {
"commentStart": 29,
"end": 30,
"moduleId": 0,
"raw": "1",
"start": 29,
"type": "Literal",
@ -69,15 +75,18 @@ expression: actual
"key": {
"commentStart": 65,
"end": 66,
"moduleId": 0,
"name": "c",
"start": 65,
"type": "Identifier"
},
"moduleId": 0,
"start": 65,
"type": "ObjectProperty",
"value": {
"commentStart": 68,
"end": 69,
"moduleId": 0,
"raw": "3",
"start": 68,
"type": "Literal",
@ -93,11 +102,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 4,
"type": "VariableDeclarator"
},
"end": 80,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -105,5 +116,6 @@ expression: actual
],
"commentStart": 0,
"end": 80,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 5,
"moduleId": 0,
"name": "props",
"start": 0,
"type": "Identifier"
@ -19,12 +20,14 @@ expression: actual
"init": {
"commentStart": 8,
"end": 75,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"commentStart": 40,
"end": 48,
"moduleId": 0,
"start": 40,
"type": "NonCodeNode",
"value": {
@ -44,15 +47,18 @@ expression: actual
"key": {
"commentStart": 22,
"end": 23,
"moduleId": 0,
"name": "a",
"start": 22,
"type": "Identifier"
},
"moduleId": 0,
"start": 22,
"type": "ObjectProperty",
"value": {
"commentStart": 25,
"end": 26,
"moduleId": 0,
"raw": "1",
"start": 25,
"type": "Literal",
@ -69,15 +75,18 @@ expression: actual
"key": {
"commentStart": 61,
"end": 62,
"moduleId": 0,
"name": "c",
"start": 61,
"type": "Identifier"
},
"moduleId": 0,
"start": 61,
"type": "ObjectProperty",
"value": {
"commentStart": 64,
"end": 65,
"moduleId": 0,
"raw": "3",
"start": 64,
"type": "Literal",
@ -93,11 +102,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 75,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -105,5 +116,6 @@ expression: actual
],
"commentStart": 0,
"end": 75,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 5,
"moduleId": 0,
"name": "myVar",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"label": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"name": "x",
"start": 12,
"type": "Identifier"
@ -30,6 +32,7 @@ expression: actual
"arg": {
"commentStart": 14,
"end": 15,
"moduleId": 0,
"raw": "5",
"start": 14,
"type": "Literal",
@ -45,6 +48,7 @@ expression: actual
"label": {
"commentStart": 18,
"end": 19,
"moduleId": 0,
"name": "y",
"start": 18,
"type": "Identifier"
@ -57,6 +61,7 @@ expression: actual
"label": {
"commentStart": 31,
"end": 32,
"moduleId": 0,
"name": "z",
"start": 31,
"type": "Identifier"
@ -64,6 +69,7 @@ expression: actual
"arg": {
"commentStart": 33,
"end": 34,
"moduleId": 0,
"raw": "4",
"start": 33,
"type": "Literal",
@ -79,9 +85,11 @@ expression: actual
"abs_path": false,
"commentStart": 21,
"end": 27,
"moduleId": 0,
"name": {
"commentStart": 21,
"end": 27,
"moduleId": 0,
"name": "legLen",
"start": 21,
"type": "Identifier"
@ -92,12 +100,14 @@ expression: actual
},
"commentStart": 21,
"end": 35,
"moduleId": 0,
"start": 21,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"commentStart": 28,
"end": 29,
"moduleId": 0,
"raw": "5",
"start": 28,
"type": "Literal",
@ -110,6 +120,7 @@ expression: actual
},
"commentStart": 20,
"end": 35,
"moduleId": 0,
"operator": "-",
"start": 20,
"type": "UnaryExpression",
@ -121,9 +132,11 @@ expression: actual
"abs_path": false,
"commentStart": 8,
"end": 11,
"moduleId": 0,
"name": {
"commentStart": 8,
"end": 11,
"moduleId": 0,
"name": "min",
"start": 8,
"type": "Identifier"
@ -134,16 +147,19 @@ expression: actual
},
"commentStart": 8,
"end": 36,
"moduleId": 0,
"start": 8,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 36,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -151,5 +167,6 @@ expression: actual
],
"commentStart": 0,
"end": 36,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 1,
"end": 5,
"moduleId": 0,
"name": "my14",
"start": 1,
"type": "Identifier"
@ -25,6 +26,7 @@ expression: actual
"left": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"raw": "4",
"start": 8,
"type": "Literal",
@ -34,10 +36,12 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "^",
"right": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"raw": "2",
"start": 12,
"type": "Literal",
@ -51,6 +55,7 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"operator": "-",
"right": {
"commentStart": 16,
@ -61,6 +66,7 @@ expression: actual
"left": {
"commentStart": 16,
"end": 17,
"moduleId": 0,
"raw": "3",
"start": 16,
"type": "Literal",
@ -70,10 +76,12 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "^",
"right": {
"commentStart": 20,
"end": 21,
"moduleId": 0,
"raw": "2",
"start": 20,
"type": "Literal",
@ -87,10 +95,12 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"operator": "*",
"right": {
"commentStart": 24,
"end": 25,
"moduleId": 0,
"raw": "2",
"start": 24,
"type": "Literal",
@ -108,11 +118,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 1,
"type": "VariableDeclarator"
},
"end": 25,
"kind": "const",
"moduleId": 0,
"start": 1,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -120,5 +132,6 @@ expression: actual
],
"commentStart": 0,
"end": 26,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -21,6 +22,7 @@ expression: actual
"cond": {
"commentStart": 7,
"end": 11,
"moduleId": 0,
"raw": "true",
"start": 7,
"type": "Literal",
@ -38,6 +40,7 @@ expression: actual
"expression": {
"commentStart": 57,
"end": 58,
"moduleId": 0,
"raw": "4",
"start": 57,
"type": "Literal",
@ -47,6 +50,7 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"start": 57,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -54,8 +58,10 @@ expression: actual
],
"commentStart": 57,
"end": 67,
"moduleId": 0,
"start": 57
},
"moduleId": 0,
"start": 4,
"then_val": {
"body": [
@ -65,6 +71,7 @@ expression: actual
"expression": {
"commentStart": 26,
"end": 27,
"moduleId": 0,
"raw": "3",
"start": 26,
"type": "Literal",
@ -74,6 +81,7 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"start": 26,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -81,16 +89,19 @@ expression: actual
],
"commentStart": 26,
"end": 36,
"moduleId": 0,
"start": 26
},
"type": "IfExpression",
"type": "IfExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 68,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -98,5 +109,6 @@ expression: actual
],
"commentStart": 0,
"end": 68,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -21,6 +22,7 @@ expression: actual
"cond": {
"commentStart": 7,
"end": 11,
"moduleId": 0,
"raw": "true",
"start": 7,
"type": "Literal",
@ -32,13 +34,16 @@ expression: actual
{
"commentStart": 38,
"cond": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 46,
"end": 50,
"moduleId": 0,
"name": {
"commentStart": 46,
"end": 50,
"moduleId": 0,
"name": "func",
"start": 46,
"type": "Identifier"
@ -49,6 +54,7 @@ expression: actual
},
"commentStart": 46,
"end": 58,
"moduleId": 0,
"start": 46,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -56,9 +62,11 @@ expression: actual
"abs_path": false,
"commentStart": 51,
"end": 57,
"moduleId": 0,
"name": {
"commentStart": 51,
"end": 57,
"moduleId": 0,
"name": "radius",
"start": 51,
"type": "Identifier"
@ -71,6 +79,7 @@ expression: actual
},
"digest": null,
"end": 84,
"moduleId": 0,
"start": 38,
"then_val": {
"body": [
@ -80,6 +89,7 @@ expression: actual
"expression": {
"commentStart": 73,
"end": 74,
"moduleId": 0,
"raw": "4",
"start": 73,
"type": "Literal",
@ -89,6 +99,7 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"start": 73,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -96,6 +107,7 @@ expression: actual
],
"commentStart": 59,
"end": 83,
"moduleId": 0,
"start": 59
},
"type": "ElseIf"
@ -110,6 +122,7 @@ expression: actual
"expression": {
"commentStart": 104,
"end": 105,
"moduleId": 0,
"raw": "5",
"start": 104,
"type": "Literal",
@ -119,6 +132,7 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"start": 104,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -126,8 +140,10 @@ expression: actual
],
"commentStart": 104,
"end": 114,
"moduleId": 0,
"start": 104
},
"moduleId": 0,
"start": 4,
"then_val": {
"body": [
@ -137,6 +153,7 @@ expression: actual
"expression": {
"commentStart": 26,
"end": 27,
"moduleId": 0,
"raw": "3",
"start": 26,
"type": "Literal",
@ -146,6 +163,7 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"start": 26,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -153,16 +171,19 @@ expression: actual
],
"commentStart": 26,
"end": 36,
"moduleId": 0,
"start": 26
},
"type": "IfExpression",
"type": "IfExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 115,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -170,5 +191,6 @@ expression: actual
],
"commentStart": 0,
"end": 115,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -22,6 +23,7 @@ expression: actual
"left": {
"commentStart": 4,
"end": 5,
"moduleId": 0,
"raw": "3",
"start": 4,
"type": "Literal",
@ -31,10 +33,12 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "==",
"right": {
"commentStart": 9,
"end": 10,
"moduleId": 0,
"raw": "3",
"start": 9,
"type": "Literal",
@ -48,11 +52,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 10,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -60,5 +66,6 @@ expression: actual
],
"commentStart": 0,
"end": 10,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -22,6 +23,7 @@ expression: actual
"left": {
"commentStart": 4,
"end": 5,
"moduleId": 0,
"raw": "3",
"start": 4,
"type": "Literal",
@ -31,10 +33,12 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "!=",
"right": {
"commentStart": 9,
"end": 10,
"moduleId": 0,
"raw": "3",
"start": 9,
"type": "Literal",
@ -48,11 +52,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 10,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -60,5 +66,6 @@ expression: actual
],
"commentStart": 0,
"end": 10,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 4,
"end": 5,
"moduleId": 0,
"raw": "4",
"start": 4,
"type": "Literal",
@ -28,11 +30,13 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 5,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -40,5 +44,6 @@ expression: actual
],
"commentStart": 0,
"end": 5,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "obj",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 6,
"end": 36,
"moduleId": 0,
"properties": [
{
"commentStart": 7,
@ -26,10 +28,12 @@ expression: actual
"key": {
"commentStart": 7,
"end": 13,
"moduleId": 0,
"name": "center",
"start": 7,
"type": "Identifier"
},
"moduleId": 0,
"start": 7,
"type": "ObjectProperty",
"value": {
@ -38,6 +42,7 @@ expression: actual
{
"commentStart": 17,
"end": 19,
"moduleId": 0,
"raw": "10",
"start": 17,
"type": "Literal",
@ -50,6 +55,7 @@ expression: actual
{
"commentStart": 21,
"end": 23,
"moduleId": 0,
"raw": "10",
"start": 21,
"type": "Literal",
@ -61,6 +67,7 @@ expression: actual
}
],
"end": 24,
"moduleId": 0,
"start": 16,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -72,15 +79,18 @@ expression: actual
"key": {
"commentStart": 26,
"end": 32,
"moduleId": 0,
"name": "radius",
"start": 26,
"type": "Identifier"
},
"moduleId": 0,
"start": 26,
"type": "ObjectProperty",
"value": {
"commentStart": 34,
"end": 35,
"moduleId": 0,
"raw": "5",
"start": 34,
"type": "Literal",
@ -96,11 +106,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 36,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -108,5 +120,6 @@ expression: actual
],
"commentStart": 0,
"end": 36,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 4,
"end": 5,
"moduleId": 0,
"raw": "3",
"start": 4,
"type": "Literal",
@ -28,11 +30,13 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 5,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -45,6 +49,7 @@ expression: actual
"id": {
"commentStart": 14,
"end": 17,
"moduleId": 0,
"name": "obj",
"start": 14,
"type": "Identifier"
@ -52,6 +57,7 @@ expression: actual
"init": {
"commentStart": 20,
"end": 31,
"moduleId": 0,
"properties": [
{
"commentStart": 22,
@ -59,19 +65,23 @@ expression: actual
"key": {
"commentStart": 22,
"end": 23,
"moduleId": 0,
"name": "x",
"start": 22,
"type": "Identifier"
},
"moduleId": 0,
"start": 22,
"type": "ObjectProperty",
"value": {
"abs_path": false,
"commentStart": 22,
"end": 23,
"moduleId": 0,
"name": {
"commentStart": 22,
"end": 23,
"moduleId": 0,
"name": "x",
"start": 22,
"type": "Identifier"
@ -88,15 +98,18 @@ expression: actual
"key": {
"commentStart": 25,
"end": 26,
"moduleId": 0,
"name": "y",
"start": 25,
"type": "Identifier"
},
"moduleId": 0,
"start": 25,
"type": "ObjectProperty",
"value": {
"commentStart": 29,
"end": 30,
"moduleId": 0,
"raw": "4",
"start": 29,
"type": "Literal",
@ -112,11 +125,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 14,
"type": "VariableDeclarator"
},
"end": 31,
"kind": "const",
"moduleId": 0,
"start": 14,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -124,5 +139,6 @@ expression: actual
],
"commentStart": 0,
"end": 31,
"moduleId": 0,
"start": 0
}

View File

@ -10,12 +10,14 @@ expression: actual
"expression": {
"commentStart": 0,
"end": 4,
"moduleId": 0,
"raw": "true",
"start": 0,
"type": "Literal",
"type": "Literal",
"value": true
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -23,5 +25,6 @@ expression: actual
],
"commentStart": 0,
"end": 4,
"moduleId": 0,
"start": 0
}

View File

@ -11,9 +11,11 @@ expression: actual
"abs_path": false,
"commentStart": 0,
"end": 5,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 5,
"moduleId": 0,
"name": "truee",
"start": 0,
"type": "Identifier"
@ -23,6 +25,7 @@ expression: actual
"type": "Name",
"type": "Name"
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -30,5 +33,6 @@ expression: actual
],
"commentStart": 0,
"end": 5,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -20,6 +21,7 @@ expression: actual
"argument": {
"commentStart": 5,
"end": 9,
"moduleId": 0,
"raw": "true",
"start": 5,
"type": "Literal",
@ -28,16 +30,19 @@ expression: actual
},
"commentStart": 4,
"end": 9,
"moduleId": 0,
"operator": "!",
"start": 4,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 9,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -45,5 +50,6 @@ expression: actual
],
"commentStart": 0,
"end": 9,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -22,16 +23,19 @@ expression: actual
"left": {
"commentStart": 4,
"end": 8,
"moduleId": 0,
"raw": "true",
"start": 4,
"type": "Literal",
"type": "Literal",
"value": true
},
"moduleId": 0,
"operator": "&",
"right": {
"commentStart": 11,
"end": 16,
"moduleId": 0,
"raw": "false",
"start": 11,
"type": "Literal",
@ -42,11 +46,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 16,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -54,5 +60,6 @@ expression: actual
],
"commentStart": 0,
"end": 16,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -22,16 +23,19 @@ expression: actual
"left": {
"commentStart": 4,
"end": 8,
"moduleId": 0,
"raw": "true",
"start": 4,
"type": "Literal",
"type": "Literal",
"value": true
},
"moduleId": 0,
"operator": "|",
"right": {
"commentStart": 11,
"end": 16,
"moduleId": 0,
"raw": "false",
"start": 11,
"type": "Literal",
@ -42,11 +46,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 16,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -54,5 +60,6 @@ expression: actual
],
"commentStart": 0,
"end": 16,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 5,
"moduleId": 0,
"name": "myVar",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"label": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"name": "x",
"start": 12,
"type": "Identifier"
@ -35,6 +37,7 @@ expression: actual
"label": {
"commentStart": 22,
"end": 23,
"moduleId": 0,
"name": "a",
"start": 22,
"type": "Identifier"
@ -42,6 +45,7 @@ expression: actual
"arg": {
"commentStart": 24,
"end": 25,
"moduleId": 0,
"raw": "5",
"start": 24,
"type": "Literal",
@ -57,6 +61,7 @@ expression: actual
"label": {
"commentStart": 27,
"end": 28,
"moduleId": 0,
"name": "b",
"start": 27,
"type": "Identifier"
@ -64,6 +69,7 @@ expression: actual
"arg": {
"commentStart": 29,
"end": 30,
"moduleId": 0,
"raw": "4",
"start": 29,
"type": "Literal",
@ -79,9 +85,11 @@ expression: actual
"abs_path": false,
"commentStart": 15,
"end": 21,
"moduleId": 0,
"name": {
"commentStart": 15,
"end": 21,
"moduleId": 0,
"name": "legLen",
"start": 15,
"type": "Identifier"
@ -92,6 +100,7 @@ expression: actual
},
"commentStart": 15,
"end": 31,
"moduleId": 0,
"start": 15,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -99,6 +108,7 @@ expression: actual
},
"commentStart": 14,
"end": 31,
"moduleId": 0,
"operator": "-",
"start": 14,
"type": "UnaryExpression",
@ -110,6 +120,7 @@ expression: actual
"label": {
"commentStart": 33,
"end": 34,
"moduleId": 0,
"name": "y",
"start": 33,
"type": "Identifier"
@ -117,6 +128,7 @@ expression: actual
"arg": {
"commentStart": 35,
"end": 36,
"moduleId": 0,
"raw": "5",
"start": 35,
"type": "Literal",
@ -132,9 +144,11 @@ expression: actual
"abs_path": false,
"commentStart": 8,
"end": 11,
"moduleId": 0,
"name": {
"commentStart": 8,
"end": 11,
"moduleId": 0,
"name": "min",
"start": 8,
"type": "Identifier"
@ -145,16 +159,19 @@ expression: actual
},
"commentStart": 8,
"end": 37,
"moduleId": 0,
"start": 8,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 37,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -162,5 +179,6 @@ expression: actual
],
"commentStart": 0,
"end": 37,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 5,
"moduleId": 0,
"name": "myVar",
"start": 0,
"type": "Identifier"
@ -24,6 +25,7 @@ expression: actual
"left": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"raw": "5",
"start": 8,
"type": "Literal",
@ -33,10 +35,12 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "+",
"right": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"raw": "6",
"start": 12,
"type": "Literal",
@ -51,13 +55,16 @@ expression: actual
"type": "BinaryExpression"
},
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 17,
"end": 23,
"moduleId": 0,
"name": {
"commentStart": 17,
"end": 23,
"moduleId": 0,
"name": "myFunc",
"start": 17,
"type": "Identifier"
@ -68,12 +75,14 @@ expression: actual
},
"commentStart": 17,
"end": 27,
"moduleId": 0,
"start": 17,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"commentStart": 24,
"end": 26,
"moduleId": 0,
"raw": "45",
"start": 24,
"type": "Literal",
@ -87,15 +96,18 @@ expression: actual
],
"commentStart": 8,
"end": 27,
"moduleId": 0,
"start": 8,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 27,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -103,5 +115,6 @@ expression: actual
],
"commentStart": 0,
"end": 27,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -24,9 +25,11 @@ expression: actual
"abs_path": false,
"commentStart": 5,
"end": 9,
"moduleId": 0,
"name": {
"commentStart": 5,
"end": 9,
"moduleId": 0,
"name": "leg2",
"start": 5,
"type": "Identifier"
@ -38,19 +41,23 @@ expression: actual
},
"commentStart": 4,
"end": 9,
"moduleId": 0,
"operator": "-",
"start": 4,
"type": "UnaryExpression",
"type": "UnaryExpression"
},
"moduleId": 0,
"operator": "+",
"right": {
"abs_path": false,
"commentStart": 12,
"end": 21,
"moduleId": 0,
"name": {
"commentStart": 12,
"end": 21,
"moduleId": 0,
"name": "thickness",
"start": 12,
"type": "Identifier"
@ -64,11 +71,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 21,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -76,5 +85,6 @@ expression: actual
],
"commentStart": 0,
"end": 21,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -22,6 +23,7 @@ expression: actual
"left": {
"commentStart": 4,
"end": 5,
"moduleId": 0,
"raw": "1",
"start": 4,
"type": "Literal",
@ -31,6 +33,7 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "*",
"right": {
"commentStart": 9,
@ -38,6 +41,7 @@ expression: actual
"left": {
"commentStart": 9,
"end": 10,
"moduleId": 0,
"raw": "3",
"start": 9,
"type": "Literal",
@ -47,10 +51,12 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "-",
"right": {
"commentStart": 13,
"end": 14,
"moduleId": 0,
"raw": "4",
"start": 13,
"type": "Literal",
@ -68,11 +74,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 14,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -80,5 +88,6 @@ expression: actual
],
"commentStart": 0,
"end": 14,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 1,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 4,
"end": 5,
"moduleId": 0,
"raw": "1",
"start": 4,
"type": "Literal",
@ -28,11 +30,13 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 5,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -40,12 +44,14 @@ expression: actual
],
"commentStart": 0,
"end": 34,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"0": [
{
"commentStart": 5,
"end": 34,
"moduleId": 0,
"start": 5,
"type": "NonCodeNode",
"value": {

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 3,
"end": 4,
"moduleId": 0,
"name": "x",
"start": 3,
"type": "Identifier"
@ -24,9 +25,11 @@ expression: actual
"abs_path": false,
"commentStart": 24,
"end": 26,
"moduleId": 0,
"name": {
"commentStart": 24,
"end": 26,
"moduleId": 0,
"name": "sg",
"start": 24,
"type": "Identifier"
@ -38,6 +41,7 @@ expression: actual
},
"commentStart": 17,
"end": 26,
"moduleId": 0,
"start": 17,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -47,9 +51,11 @@ expression: actual
"abs_path": false,
"commentStart": 42,
"end": 44,
"moduleId": 0,
"name": {
"commentStart": 42,
"end": 44,
"moduleId": 0,
"name": "sg",
"start": 42,
"type": "Identifier"
@ -61,6 +67,7 @@ expression: actual
},
"commentStart": 35,
"end": 44,
"moduleId": 0,
"start": 35,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -68,20 +75,24 @@ expression: actual
],
"commentStart": 7,
"end": 52,
"moduleId": 0,
"start": 7
},
"commentStart": 4,
"end": 52,
"moduleId": 0,
"params": [],
"start": 4,
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 3,
"type": "VariableDeclarator"
},
"end": 52,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -89,5 +100,6 @@ expression: actual
],
"commentStart": 0,
"end": 52,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "obj",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 6,
"end": 22,
"moduleId": 0,
"properties": [
{
"commentStart": 8,
@ -26,15 +28,18 @@ expression: actual
"key": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"name": "a",
"start": 8,
"type": "Identifier"
},
"moduleId": 0,
"start": 8,
"type": "ObjectProperty",
"value": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"raw": "1",
"start": 12,
"type": "Literal",
@ -51,15 +56,18 @@ expression: actual
"key": {
"commentStart": 15,
"end": 16,
"moduleId": 0,
"name": "b",
"start": 15,
"type": "Identifier"
},
"moduleId": 0,
"start": 15,
"type": "ObjectProperty",
"value": {
"commentStart": 19,
"end": 20,
"moduleId": 0,
"raw": "2",
"start": 19,
"type": "Literal",
@ -75,11 +83,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 22,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -92,6 +102,7 @@ expression: actual
"id": {
"commentStart": 27,
"end": 33,
"moduleId": 0,
"name": "height",
"start": 27,
"type": "Identifier"
@ -102,6 +113,7 @@ expression: actual
"left": {
"commentStart": 36,
"end": 37,
"moduleId": 0,
"raw": "1",
"start": 36,
"type": "Literal",
@ -111,18 +123,22 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "-",
"right": {
"commentStart": 40,
"computed": false,
"end": 45,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 40,
"end": 43,
"moduleId": 0,
"name": {
"commentStart": 40,
"end": 43,
"moduleId": 0,
"name": "obj",
"start": 40,
"type": "Identifier"
@ -135,6 +151,7 @@ expression: actual
"property": {
"commentStart": 44,
"end": 45,
"moduleId": 0,
"name": "a",
"start": 44,
"type": "Identifier",
@ -148,11 +165,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 27,
"type": "VariableDeclarator"
},
"end": 45,
"kind": "const",
"moduleId": 0,
"start": 27,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -160,5 +179,6 @@ expression: actual
],
"commentStart": 0,
"end": 45,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "obj",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 6,
"end": 22,
"moduleId": 0,
"properties": [
{
"commentStart": 8,
@ -26,15 +28,18 @@ expression: actual
"key": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"name": "a",
"start": 8,
"type": "Identifier"
},
"moduleId": 0,
"start": 8,
"type": "ObjectProperty",
"value": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"raw": "1",
"start": 12,
"type": "Literal",
@ -51,15 +56,18 @@ expression: actual
"key": {
"commentStart": 15,
"end": 16,
"moduleId": 0,
"name": "b",
"start": 15,
"type": "Identifier"
},
"moduleId": 0,
"start": 15,
"type": "ObjectProperty",
"value": {
"commentStart": 19,
"end": 20,
"moduleId": 0,
"raw": "2",
"start": 19,
"type": "Literal",
@ -75,11 +83,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 22,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -92,6 +102,7 @@ expression: actual
"id": {
"commentStart": 28,
"end": 34,
"moduleId": 0,
"name": "height",
"start": 28,
"type": "Identifier"
@ -102,6 +113,7 @@ expression: actual
"left": {
"commentStart": 37,
"end": 38,
"moduleId": 0,
"raw": "1",
"start": 37,
"type": "Literal",
@ -111,18 +123,22 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "-",
"right": {
"commentStart": 41,
"computed": false,
"end": 49,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 41,
"end": 44,
"moduleId": 0,
"name": {
"commentStart": 41,
"end": 44,
"moduleId": 0,
"name": "obj",
"start": 41,
"type": "Identifier"
@ -135,6 +151,7 @@ expression: actual
"property": {
"commentStart": 45,
"end": 48,
"moduleId": 0,
"raw": "\"a\"",
"start": 45,
"type": "Literal",
@ -149,11 +166,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 28,
"type": "VariableDeclarator"
},
"end": 49,
"kind": "const",
"moduleId": 0,
"start": 28,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -161,5 +180,6 @@ expression: actual
],
"commentStart": 0,
"end": 49,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "obj",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 6,
"end": 22,
"moduleId": 0,
"properties": [
{
"commentStart": 8,
@ -26,15 +28,18 @@ expression: actual
"key": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"name": "a",
"start": 8,
"type": "Identifier"
},
"moduleId": 0,
"start": 8,
"type": "ObjectProperty",
"value": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"raw": "1",
"start": 12,
"type": "Literal",
@ -51,15 +56,18 @@ expression: actual
"key": {
"commentStart": 15,
"end": 16,
"moduleId": 0,
"name": "b",
"start": 15,
"type": "Identifier"
},
"moduleId": 0,
"start": 15,
"type": "ObjectProperty",
"value": {
"commentStart": 19,
"end": 20,
"moduleId": 0,
"raw": "2",
"start": 19,
"type": "Literal",
@ -75,11 +83,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 22,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -92,6 +102,7 @@ expression: actual
"id": {
"commentStart": 27,
"end": 33,
"moduleId": 0,
"name": "height",
"start": 27,
"type": "Identifier"
@ -103,13 +114,16 @@ expression: actual
"commentStart": 36,
"computed": false,
"end": 44,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 36,
"end": 39,
"moduleId": 0,
"name": {
"commentStart": 36,
"end": 39,
"moduleId": 0,
"name": "obj",
"start": 36,
"type": "Identifier"
@ -122,6 +136,7 @@ expression: actual
"property": {
"commentStart": 40,
"end": 43,
"moduleId": 0,
"raw": "\"a\"",
"start": 40,
"type": "Literal",
@ -132,10 +147,12 @@ expression: actual
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"operator": "-",
"right": {
"commentStart": 47,
"end": 48,
"moduleId": 0,
"raw": "1",
"start": 47,
"type": "Literal",
@ -149,11 +166,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 27,
"type": "VariableDeclarator"
},
"end": 48,
"kind": "const",
"moduleId": 0,
"start": 27,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -161,5 +180,6 @@ expression: actual
],
"commentStart": 0,
"end": 48,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "obj",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 6,
"end": 22,
"moduleId": 0,
"properties": [
{
"commentStart": 8,
@ -26,15 +28,18 @@ expression: actual
"key": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"name": "a",
"start": 8,
"type": "Identifier"
},
"moduleId": 0,
"start": 8,
"type": "ObjectProperty",
"value": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"raw": "1",
"start": 12,
"type": "Literal",
@ -51,15 +56,18 @@ expression: actual
"key": {
"commentStart": 15,
"end": 16,
"moduleId": 0,
"name": "b",
"start": 15,
"type": "Identifier"
},
"moduleId": 0,
"start": 15,
"type": "ObjectProperty",
"value": {
"commentStart": 19,
"end": 20,
"moduleId": 0,
"raw": "2",
"start": 19,
"type": "Literal",
@ -75,11 +83,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 22,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -92,6 +102,7 @@ expression: actual
"id": {
"commentStart": 27,
"end": 33,
"moduleId": 0,
"name": "height",
"start": 27,
"type": "Identifier"
@ -105,6 +116,7 @@ expression: actual
"left": {
"commentStart": 37,
"end": 38,
"moduleId": 0,
"raw": "1",
"start": 37,
"type": "Literal",
@ -114,18 +126,22 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "-",
"right": {
"commentStart": 41,
"computed": false,
"end": 49,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 41,
"end": 44,
"moduleId": 0,
"name": {
"commentStart": 41,
"end": 44,
"moduleId": 0,
"name": "obj",
"start": 41,
"type": "Identifier"
@ -138,6 +154,7 @@ expression: actual
"property": {
"commentStart": 45,
"end": 48,
"moduleId": 0,
"raw": "\"a\"",
"start": 45,
"type": "Literal",
@ -155,6 +172,7 @@ expression: actual
{
"commentStart": 51,
"end": 52,
"moduleId": 0,
"raw": "0",
"start": 51,
"type": "Literal",
@ -166,15 +184,18 @@ expression: actual
}
],
"end": 53,
"moduleId": 0,
"start": 36,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 27,
"type": "VariableDeclarator"
},
"end": 53,
"kind": "const",
"moduleId": 0,
"start": 27,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -182,5 +203,6 @@ expression: actual
],
"commentStart": 0,
"end": 53,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "val",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"label": {
"commentStart": 10,
"end": 11,
"moduleId": 0,
"name": "x",
"start": 10,
"type": "Identifier"
@ -31,9 +33,11 @@ expression: actual
"abs_path": false,
"commentStart": 14,
"end": 15,
"moduleId": 0,
"name": {
"commentStart": 14,
"end": 15,
"moduleId": 0,
"name": "a",
"start": 14,
"type": "Identifier"
@ -49,6 +53,7 @@ expression: actual
"label": {
"commentStart": 17,
"end": 18,
"moduleId": 0,
"name": "y",
"start": 17,
"type": "Identifier"
@ -57,9 +62,11 @@ expression: actual
"abs_path": false,
"commentStart": 21,
"end": 22,
"moduleId": 0,
"name": {
"commentStart": 21,
"end": 22,
"moduleId": 0,
"name": "b",
"start": 21,
"type": "Identifier"
@ -75,9 +82,11 @@ expression: actual
"abs_path": false,
"commentStart": 6,
"end": 9,
"moduleId": 0,
"name": {
"commentStart": 6,
"end": 9,
"moduleId": 0,
"name": "foo",
"start": 6,
"type": "Identifier"
@ -88,16 +97,19 @@ expression: actual
},
"commentStart": 6,
"end": 23,
"moduleId": 0,
"start": 6,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 23,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -105,5 +117,6 @@ expression: actual
],
"commentStart": 0,
"end": 23,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "val",
"start": 0,
"type": "Identifier"
@ -21,6 +22,7 @@ expression: actual
{
"commentStart": 6,
"end": 7,
"moduleId": 0,
"raw": "1",
"start": 6,
"type": "Literal",
@ -37,6 +39,7 @@ expression: actual
"label": {
"commentStart": 13,
"end": 16,
"moduleId": 0,
"name": "arg",
"start": 13,
"type": "Identifier"
@ -45,9 +48,11 @@ expression: actual
"abs_path": false,
"commentStart": 19,
"end": 20,
"moduleId": 0,
"name": {
"commentStart": 19,
"end": 20,
"moduleId": 0,
"name": "x",
"start": 19,
"type": "Identifier"
@ -63,9 +68,11 @@ expression: actual
"abs_path": false,
"commentStart": 11,
"end": 12,
"moduleId": 0,
"name": {
"commentStart": 11,
"end": 12,
"moduleId": 0,
"name": "f",
"start": 11,
"type": "Identifier"
@ -76,6 +83,7 @@ expression: actual
},
"commentStart": 11,
"end": 21,
"moduleId": 0,
"start": 11,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -84,15 +92,18 @@ expression: actual
],
"commentStart": 6,
"end": 21,
"moduleId": 0,
"start": 6,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 21,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -100,5 +111,6 @@ expression: actual
],
"commentStart": 0,
"end": 21,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "val",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"label": {
"commentStart": 22,
"end": 25,
"moduleId": 0,
"name": "arg",
"start": 22,
"type": "Identifier"
@ -31,9 +33,11 @@ expression: actual
"abs_path": false,
"commentStart": 28,
"end": 29,
"moduleId": 0,
"name": {
"commentStart": 28,
"end": 29,
"moduleId": 0,
"name": "x",
"start": 28,
"type": "Identifier"
@ -49,6 +53,7 @@ expression: actual
"label": {
"commentStart": 44,
"end": 47,
"moduleId": 0,
"name": "foo",
"start": 44,
"type": "Identifier"
@ -57,9 +62,11 @@ expression: actual
"abs_path": false,
"commentStart": 50,
"end": 51,
"moduleId": 0,
"name": {
"commentStart": 50,
"end": 51,
"moduleId": 0,
"name": "x",
"start": 50,
"type": "Identifier"
@ -75,6 +82,7 @@ expression: actual
"label": {
"commentStart": 66,
"end": 69,
"moduleId": 0,
"name": "bar",
"start": 66,
"type": "Identifier"
@ -83,9 +91,11 @@ expression: actual
"abs_path": false,
"commentStart": 72,
"end": 73,
"moduleId": 0,
"name": {
"commentStart": 72,
"end": 73,
"moduleId": 0,
"name": "x",
"start": 72,
"type": "Identifier"
@ -101,9 +111,11 @@ expression: actual
"abs_path": false,
"commentStart": 6,
"end": 7,
"moduleId": 0,
"name": {
"commentStart": 6,
"end": 7,
"moduleId": 0,
"name": "f",
"start": 6,
"type": "Identifier"
@ -114,16 +126,19 @@ expression: actual
},
"commentStart": 6,
"end": 87,
"moduleId": 0,
"start": 6,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 87,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -131,5 +146,6 @@ expression: actual
],
"commentStart": 0,
"end": 87,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "val",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"label": {
"commentStart": 22,
"end": 25,
"moduleId": 0,
"name": "arg",
"start": 22,
"type": "Identifier"
@ -31,9 +33,11 @@ expression: actual
"abs_path": false,
"commentStart": 28,
"end": 29,
"moduleId": 0,
"name": {
"commentStart": 28,
"end": 29,
"moduleId": 0,
"name": "x",
"start": 28,
"type": "Identifier"
@ -49,6 +53,7 @@ expression: actual
"label": {
"commentStart": 69,
"end": 72,
"moduleId": 0,
"name": "bar",
"start": 69,
"type": "Identifier"
@ -57,9 +62,11 @@ expression: actual
"abs_path": false,
"commentStart": 75,
"end": 76,
"moduleId": 0,
"name": {
"commentStart": 75,
"end": 76,
"moduleId": 0,
"name": "x",
"start": 75,
"type": "Identifier"
@ -75,9 +82,11 @@ expression: actual
"abs_path": false,
"commentStart": 6,
"end": 7,
"moduleId": 0,
"name": {
"commentStart": 6,
"end": 7,
"moduleId": 0,
"name": "f",
"start": 6,
"type": "Identifier"
@ -88,12 +97,14 @@ expression: actual
},
"commentStart": 6,
"end": 90,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"1": [
{
"commentStart": 44,
"end": 55,
"moduleId": 0,
"start": 44,
"type": "NonCodeNode",
"value": {
@ -111,11 +122,13 @@ expression: actual
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 90,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -123,5 +136,6 @@ expression: actual
],
"commentStart": 0,
"end": 90,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 3,
"end": 6,
"moduleId": 0,
"name": "foo",
"start": 3,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"argument": {
"commentStart": 22,
"end": 23,
"moduleId": 0,
"raw": "1",
"start": 22,
"type": "Literal",
@ -34,6 +36,7 @@ expression: actual
},
"commentStart": 15,
"end": 23,
"moduleId": 0,
"start": 15,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -41,16 +44,19 @@ expression: actual
],
"commentStart": 13,
"end": 25,
"moduleId": 0,
"start": 13
},
"commentStart": 6,
"end": 25,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 7,
"end": 8,
"moduleId": 0,
"name": "x",
"start": 7,
"type": "Identifier"
@ -61,6 +67,7 @@ expression: actual
"identifier": {
"commentStart": 10,
"end": 11,
"moduleId": 0,
"name": "y",
"start": 10,
"type": "Identifier"
@ -71,11 +78,13 @@ expression: actual
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 3,
"type": "VariableDeclarator"
},
"end": 25,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -83,5 +92,6 @@ expression: actual
],
"commentStart": 0,
"end": 25,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 3,
"end": 6,
"moduleId": 0,
"name": "foo",
"start": 3,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"argument": {
"commentStart": 23,
"end": 24,
"moduleId": 0,
"raw": "1",
"start": 23,
"type": "Literal",
@ -34,6 +36,7 @@ expression: actual
},
"commentStart": 16,
"end": 24,
"moduleId": 0,
"start": 16,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -41,16 +44,19 @@ expression: actual
],
"commentStart": 14,
"end": 26,
"moduleId": 0,
"start": 14
},
"commentStart": 6,
"end": 26,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"name": "x",
"start": 8,
"type": "Identifier"
@ -62,6 +68,7 @@ expression: actual
"identifier": {
"commentStart": 11,
"end": 12,
"moduleId": 0,
"name": "y",
"start": 11,
"type": "Identifier"
@ -72,11 +79,13 @@ expression: actual
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 3,
"type": "VariableDeclarator"
},
"end": 26,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -84,5 +93,6 @@ expression: actual
],
"commentStart": 0,
"end": 26,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 3,
"end": 6,
"moduleId": 0,
"name": "foo",
"start": 3,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"argument": {
"commentStart": 32,
"end": 33,
"moduleId": 0,
"raw": "1",
"start": 32,
"type": "Literal",
@ -34,6 +36,7 @@ expression: actual
},
"commentStart": 25,
"end": 33,
"moduleId": 0,
"start": 25,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -41,16 +44,19 @@ expression: actual
],
"commentStart": 23,
"end": 35,
"moduleId": 0,
"start": 23
},
"commentStart": 6,
"end": 35,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 7,
"end": 8,
"moduleId": 0,
"name": "x",
"start": 7,
"type": "Identifier"
@ -58,6 +64,7 @@ expression: actual
"default_value": {
"commentStart": 20,
"end": 21,
"moduleId": 0,
"raw": "2",
"start": 20,
"type": "Literal",
@ -73,11 +80,13 @@ expression: actual
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 3,
"type": "VariableDeclarator"
},
"end": 35,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -85,5 +94,6 @@ expression: actual
],
"commentStart": 0,
"end": 35,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 3,
"end": 6,
"moduleId": 0,
"name": "foo",
"start": 3,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"argument": {
"commentStart": 24,
"end": 25,
"moduleId": 0,
"raw": "1",
"start": 24,
"type": "Literal",
@ -34,6 +36,7 @@ expression: actual
},
"commentStart": 17,
"end": 25,
"moduleId": 0,
"start": 17,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -41,16 +44,19 @@ expression: actual
],
"commentStart": 15,
"end": 27,
"moduleId": 0,
"start": 15
},
"commentStart": 6,
"end": 27,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 7,
"end": 8,
"moduleId": 0,
"name": "x",
"start": 7,
"type": "Identifier"
@ -58,6 +64,7 @@ expression: actual
"default_value": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"raw": "2",
"start": 12,
"type": "Literal",
@ -73,11 +80,13 @@ expression: actual
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 3,
"type": "VariableDeclarator"
},
"end": 27,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -85,5 +94,6 @@ expression: actual
],
"commentStart": 0,
"end": 27,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "val",
"start": 0,
"type": "Identifier"
@ -26,6 +27,7 @@ expression: actual
"label": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"name": "x",
"start": 8,
"type": "Identifier"
@ -33,6 +35,7 @@ expression: actual
"arg": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"raw": "1",
"start": 12,
"type": "Literal",
@ -48,9 +51,11 @@ expression: actual
"abs_path": false,
"commentStart": 6,
"end": 7,
"moduleId": 0,
"name": {
"commentStart": 6,
"end": 7,
"moduleId": 0,
"name": "f",
"start": 6,
"type": "Identifier"
@ -61,15 +66,18 @@ expression: actual
},
"commentStart": 6,
"end": 14,
"moduleId": 0,
"start": 6,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
"moduleId": 0,
"operator": "+",
"right": {
"commentStart": 17,
"end": 18,
"moduleId": 0,
"raw": "1",
"start": 17,
"type": "Literal",
@ -83,11 +91,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 18,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -95,5 +105,6 @@ expression: actual
],
"commentStart": 0,
"end": 18,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "val",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ expression: actual
"label": {
"commentStart": 13,
"end": 14,
"moduleId": 0,
"name": "y",
"start": 13,
"type": "Identifier"
@ -31,9 +33,11 @@ expression: actual
"abs_path": false,
"commentStart": 17,
"end": 18,
"moduleId": 0,
"name": {
"commentStart": 17,
"end": 18,
"moduleId": 0,
"name": "z",
"start": 17,
"type": "Identifier"
@ -49,9 +53,11 @@ expression: actual
"abs_path": false,
"commentStart": 6,
"end": 9,
"moduleId": 0,
"name": {
"commentStart": 6,
"end": 9,
"moduleId": 0,
"name": "foo",
"start": 6,
"type": "Identifier"
@ -62,6 +68,7 @@ expression: actual
},
"commentStart": 6,
"end": 19,
"moduleId": 0,
"start": 6,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -69,9 +76,11 @@ expression: actual
"abs_path": false,
"commentStart": 10,
"end": 11,
"moduleId": 0,
"name": {
"commentStart": 10,
"end": 11,
"moduleId": 0,
"name": "x",
"start": 10,
"type": "Identifier"
@ -82,11 +91,13 @@ expression: actual
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 19,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -94,5 +105,6 @@ expression: actual
],
"commentStart": 0,
"end": 19,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "obj",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 6,
"end": 22,
"moduleId": 0,
"properties": [
{
"commentStart": 8,
@ -26,15 +28,18 @@ expression: actual
"key": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"name": "a",
"start": 8,
"type": "Identifier"
},
"moduleId": 0,
"start": 8,
"type": "ObjectProperty",
"value": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"raw": "1",
"start": 12,
"type": "Literal",
@ -51,15 +56,18 @@ expression: actual
"key": {
"commentStart": 15,
"end": 16,
"moduleId": 0,
"name": "b",
"start": 15,
"type": "Identifier"
},
"moduleId": 0,
"start": 15,
"type": "ObjectProperty",
"value": {
"commentStart": 19,
"end": 20,
"moduleId": 0,
"raw": "2",
"start": 19,
"type": "Literal",
@ -75,11 +83,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 22,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -92,6 +102,7 @@ expression: actual
"id": {
"commentStart": 27,
"end": 33,
"moduleId": 0,
"name": "height",
"start": 27,
"type": "Identifier"
@ -106,13 +117,16 @@ expression: actual
"commentStart": 37,
"computed": false,
"end": 45,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 37,
"end": 40,
"moduleId": 0,
"name": {
"commentStart": 37,
"end": 40,
"moduleId": 0,
"name": "obj",
"start": 37,
"type": "Identifier"
@ -125,6 +139,7 @@ expression: actual
"property": {
"commentStart": 41,
"end": 44,
"moduleId": 0,
"raw": "\"a\"",
"start": 41,
"type": "Literal",
@ -135,10 +150,12 @@ expression: actual
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"operator": "-",
"right": {
"commentStart": 48,
"end": 49,
"moduleId": 0,
"raw": "1",
"start": 48,
"type": "Literal",
@ -155,6 +172,7 @@ expression: actual
{
"commentStart": 51,
"end": 52,
"moduleId": 0,
"raw": "0",
"start": 51,
"type": "Literal",
@ -166,15 +184,18 @@ expression: actual
}
],
"end": 53,
"moduleId": 0,
"start": 36,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 27,
"type": "VariableDeclarator"
},
"end": 53,
"kind": "const",
"moduleId": 0,
"start": 27,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -182,5 +203,6 @@ expression: actual
],
"commentStart": 0,
"end": 53,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "obj",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 6,
"end": 21,
"moduleId": 0,
"properties": [
{
"commentStart": 7,
@ -26,15 +28,18 @@ expression: actual
"key": {
"commentStart": 7,
"end": 8,
"moduleId": 0,
"name": "a",
"start": 7,
"type": "Identifier"
},
"moduleId": 0,
"start": 7,
"type": "ObjectProperty",
"value": {
"commentStart": 11,
"end": 12,
"moduleId": 0,
"raw": "1",
"start": 11,
"type": "Literal",
@ -51,15 +56,18 @@ expression: actual
"key": {
"commentStart": 14,
"end": 15,
"moduleId": 0,
"name": "b",
"start": 14,
"type": "Identifier"
},
"moduleId": 0,
"start": 14,
"type": "ObjectProperty",
"value": {
"commentStart": 18,
"end": 19,
"moduleId": 0,
"raw": "2",
"start": 18,
"type": "Literal",
@ -75,11 +83,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 21,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -92,6 +102,7 @@ expression: actual
"id": {
"commentStart": 26,
"end": 32,
"moduleId": 0,
"name": "height",
"start": 26,
"type": "Identifier"
@ -106,13 +117,16 @@ expression: actual
"commentStart": 36,
"computed": false,
"end": 44,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 36,
"end": 39,
"moduleId": 0,
"name": {
"commentStart": 36,
"end": 39,
"moduleId": 0,
"name": "obj",
"start": 36,
"type": "Identifier"
@ -125,6 +139,7 @@ expression: actual
"property": {
"commentStart": 40,
"end": 43,
"moduleId": 0,
"raw": "\"a\"",
"start": 40,
"type": "Literal",
@ -135,10 +150,12 @@ expression: actual
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"operator": "-",
"right": {
"commentStart": 46,
"end": 47,
"moduleId": 0,
"raw": "1",
"start": 46,
"type": "Literal",
@ -155,6 +172,7 @@ expression: actual
{
"commentStart": 49,
"end": 50,
"moduleId": 0,
"raw": "0",
"start": 49,
"type": "Literal",
@ -166,15 +184,18 @@ expression: actual
}
],
"end": 51,
"moduleId": 0,
"start": 35,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 26,
"type": "VariableDeclarator"
},
"end": 51,
"kind": "const",
"moduleId": 0,
"start": 26,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -182,5 +203,6 @@ expression: actual
],
"commentStart": 0,
"end": 51,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 6,
"moduleId": 0,
"name": "height",
"start": 0,
"type": "Identifier"
@ -22,6 +23,7 @@ expression: actual
"left": {
"commentStart": 9,
"end": 10,
"moduleId": 0,
"raw": "1",
"start": 9,
"type": "Literal",
@ -31,18 +33,22 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "-",
"right": {
"commentStart": 13,
"computed": false,
"end": 18,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 13,
"end": 16,
"moduleId": 0,
"name": {
"commentStart": 13,
"end": 16,
"moduleId": 0,
"name": "obj",
"start": 13,
"type": "Identifier"
@ -55,6 +61,7 @@ expression: actual
"property": {
"commentStart": 17,
"end": 18,
"moduleId": 0,
"name": "a",
"start": 17,
"type": "Identifier",
@ -68,11 +75,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 18,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -80,5 +89,6 @@ expression: actual
],
"commentStart": 0,
"end": 18,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "six",
"start": 0,
"type": "Identifier"
@ -25,6 +26,7 @@ expression: actual
"left": {
"commentStart": 6,
"end": 7,
"moduleId": 0,
"raw": "1",
"start": 6,
"type": "Literal",
@ -34,10 +36,12 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "+",
"right": {
"commentStart": 10,
"end": 11,
"moduleId": 0,
"raw": "2",
"start": 10,
"type": "Literal",
@ -51,10 +55,12 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"operator": "+",
"right": {
"commentStart": 14,
"end": 15,
"moduleId": 0,
"raw": "3",
"start": 14,
"type": "Literal",
@ -68,11 +74,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 15,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -80,5 +88,6 @@ expression: actual
],
"commentStart": 0,
"end": 15,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 4,
"moduleId": 0,
"name": "five",
"start": 0,
"type": "Identifier"
@ -25,6 +26,7 @@ expression: actual
"left": {
"commentStart": 7,
"end": 8,
"moduleId": 0,
"raw": "3",
"start": 7,
"type": "Literal",
@ -34,10 +36,12 @@ expression: actual
"suffix": "None"
}
},
"moduleId": 0,
"operator": "*",
"right": {
"commentStart": 11,
"end": 12,
"moduleId": 0,
"raw": "1",
"start": 11,
"type": "Literal",
@ -51,10 +55,12 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"operator": "+",
"right": {
"commentStart": 15,
"end": 16,
"moduleId": 0,
"raw": "2",
"start": 15,
"type": "Literal",
@ -68,11 +74,13 @@ expression: actual
"type": "BinaryExpression",
"type": "BinaryExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 16,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -80,5 +88,6 @@ expression: actual
],
"commentStart": 0,
"end": 16,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 6,
"moduleId": 0,
"name": "height",
"start": 0,
"type": "Identifier"
@ -23,13 +24,16 @@ expression: actual
"commentStart": 11,
"computed": false,
"end": 19,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 11,
"end": 14,
"moduleId": 0,
"name": {
"commentStart": 11,
"end": 14,
"moduleId": 0,
"name": "obj",
"start": 11,
"type": "Identifier"
@ -42,6 +46,7 @@ expression: actual
"property": {
"commentStart": 15,
"end": 18,
"moduleId": 0,
"raw": "\"a\"",
"start": 15,
"type": "Literal",
@ -55,6 +60,7 @@ expression: actual
{
"commentStart": 21,
"end": 22,
"moduleId": 0,
"raw": "0",
"start": 21,
"type": "Literal",
@ -66,15 +72,18 @@ expression: actual
}
],
"end": 24,
"moduleId": 0,
"start": 9,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 24,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -82,5 +91,6 @@ expression: actual
],
"commentStart": 0,
"end": 24,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "obj",
"start": 0,
"type": "Identifier"
@ -19,6 +20,7 @@ expression: actual
"init": {
"commentStart": 6,
"end": 22,
"moduleId": 0,
"properties": [
{
"commentStart": 8,
@ -26,15 +28,18 @@ expression: actual
"key": {
"commentStart": 8,
"end": 9,
"moduleId": 0,
"name": "a",
"start": 8,
"type": "Identifier"
},
"moduleId": 0,
"start": 8,
"type": "ObjectProperty",
"value": {
"commentStart": 12,
"end": 13,
"moduleId": 0,
"raw": "1",
"start": 12,
"type": "Literal",
@ -51,15 +56,18 @@ expression: actual
"key": {
"commentStart": 15,
"end": 16,
"moduleId": 0,
"name": "b",
"start": 15,
"type": "Identifier"
},
"moduleId": 0,
"start": 15,
"type": "ObjectProperty",
"value": {
"commentStart": 19,
"end": 20,
"moduleId": 0,
"raw": "2",
"start": 19,
"type": "Literal",
@ -75,11 +83,13 @@ expression: actual
"type": "ObjectExpression",
"type": "ObjectExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 22,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -92,6 +102,7 @@ expression: actual
"id": {
"commentStart": 27,
"end": 33,
"moduleId": 0,
"name": "height",
"start": 27,
"type": "Identifier"
@ -100,13 +111,16 @@ expression: actual
"commentStart": 36,
"computed": false,
"end": 44,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 36,
"end": 39,
"moduleId": 0,
"name": {
"commentStart": 36,
"end": 39,
"moduleId": 0,
"name": "obj",
"start": 36,
"type": "Identifier"
@ -119,6 +133,7 @@ expression: actual
"property": {
"commentStart": 40,
"end": 43,
"moduleId": 0,
"raw": "\"a\"",
"start": 40,
"type": "Literal",
@ -129,11 +144,13 @@ expression: actual
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 27,
"type": "VariableDeclarator"
},
"end": 44,
"kind": "const",
"moduleId": 0,
"start": 27,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -141,5 +158,6 @@ expression: actual
],
"commentStart": 0,
"end": 44,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 4,
"moduleId": 0,
"name": "prop",
"start": 0,
"type": "Identifier"
@ -20,17 +21,21 @@ expression: actual
"commentStart": 7,
"computed": true,
"end": 21,
"moduleId": 0,
"object": {
"commentStart": 7,
"computed": false,
"end": 16,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 7,
"end": 9,
"moduleId": 0,
"name": {
"commentStart": 7,
"end": 9,
"moduleId": 0,
"name": "yo",
"start": 7,
"type": "Identifier"
@ -43,6 +48,7 @@ expression: actual
"property": {
"commentStart": 10,
"end": 15,
"moduleId": 0,
"raw": "\"one\"",
"start": 10,
"type": "Literal",
@ -56,6 +62,7 @@ expression: actual
"property": {
"commentStart": 17,
"end": 20,
"moduleId": 0,
"name": "two",
"start": 17,
"type": "Identifier",
@ -65,11 +72,13 @@ expression: actual
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 21,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -77,5 +86,6 @@ expression: actual
],
"commentStart": 0,
"end": 21,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "pt1",
"start": 0,
"type": "Identifier"
@ -20,13 +21,16 @@ expression: actual
"commentStart": 6,
"computed": true,
"end": 11,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 6,
"end": 8,
"moduleId": 0,
"name": {
"commentStart": 6,
"end": 8,
"moduleId": 0,
"name": "b1",
"start": 6,
"type": "Identifier"
@ -39,6 +43,7 @@ expression: actual
"property": {
"commentStart": 9,
"end": 10,
"moduleId": 0,
"name": "x",
"start": 9,
"type": "Identifier",
@ -48,11 +53,13 @@ expression: actual
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 11,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -60,5 +67,6 @@ expression: actual
],
"commentStart": 0,
"end": 11,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 4,
"moduleId": 0,
"name": "prop",
"start": 0,
"type": "Identifier"
@ -20,25 +21,31 @@ expression: actual
"commentStart": 7,
"computed": false,
"end": 28,
"moduleId": 0,
"object": {
"commentStart": 7,
"computed": false,
"end": 23,
"moduleId": 0,
"object": {
"commentStart": 7,
"computed": false,
"end": 17,
"moduleId": 0,
"object": {
"commentStart": 7,
"computed": false,
"end": 13,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 7,
"end": 9,
"moduleId": 0,
"name": {
"commentStart": 7,
"end": 9,
"moduleId": 0,
"name": "yo",
"start": 7,
"type": "Identifier"
@ -51,6 +58,7 @@ expression: actual
"property": {
"commentStart": 10,
"end": 13,
"moduleId": 0,
"name": "one",
"start": 10,
"type": "Identifier",
@ -63,6 +71,7 @@ expression: actual
"property": {
"commentStart": 14,
"end": 17,
"moduleId": 0,
"name": "two",
"start": 14,
"type": "Identifier",
@ -75,6 +84,7 @@ expression: actual
"property": {
"commentStart": 18,
"end": 23,
"moduleId": 0,
"name": "three",
"start": 18,
"type": "Identifier",
@ -87,6 +97,7 @@ expression: actual
"property": {
"commentStart": 24,
"end": 28,
"moduleId": 0,
"name": "four",
"start": 24,
"type": "Identifier",
@ -96,11 +107,13 @@ expression: actual
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 28,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -108,5 +121,6 @@ expression: actual
],
"commentStart": 0,
"end": 28,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "pt1",
"start": 0,
"type": "Identifier"
@ -20,13 +21,16 @@ expression: actual
"commentStart": 6,
"computed": false,
"end": 11,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 6,
"end": 8,
"moduleId": 0,
"name": {
"commentStart": 6,
"end": 8,
"moduleId": 0,
"name": "b1",
"start": 6,
"type": "Identifier"
@ -39,6 +43,7 @@ expression: actual
"property": {
"commentStart": 9,
"end": 10,
"moduleId": 0,
"raw": "0",
"start": 9,
"type": "Literal",
@ -52,11 +57,13 @@ expression: actual
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 11,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -64,5 +71,6 @@ expression: actual
],
"commentStart": 0,
"end": 11,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "pt1",
"start": 0,
"type": "Identifier"
@ -20,13 +21,16 @@ expression: actual
"commentStart": 6,
"computed": false,
"end": 16,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 6,
"end": 8,
"moduleId": 0,
"name": {
"commentStart": 6,
"end": 8,
"moduleId": 0,
"name": "b1",
"start": 6,
"type": "Identifier"
@ -39,6 +43,7 @@ expression: actual
"property": {
"commentStart": 9,
"end": 15,
"moduleId": 0,
"raw": "'zero'",
"start": 9,
"type": "Literal",
@ -49,11 +54,13 @@ expression: actual
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 16,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -61,5 +68,6 @@ expression: actual
],
"commentStart": 0,
"end": 16,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 3,
"moduleId": 0,
"name": "pt1",
"start": 0,
"type": "Identifier"
@ -20,13 +21,16 @@ expression: actual
"commentStart": 6,
"computed": false,
"end": 13,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 6,
"end": 8,
"moduleId": 0,
"name": {
"commentStart": 6,
"end": 8,
"moduleId": 0,
"name": "b1",
"start": 6,
"type": "Identifier"
@ -39,6 +43,7 @@ expression: actual
"property": {
"commentStart": 9,
"end": 13,
"moduleId": 0,
"name": "zero",
"start": 9,
"type": "Identifier",
@ -48,11 +53,13 @@ expression: actual
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 13,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -60,5 +67,6 @@ expression: actual
],
"commentStart": 0,
"end": 13,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 2,
"moduleId": 0,
"name": "sg",
"start": 0,
"type": "Identifier"
@ -19,13 +20,16 @@ expression: actual
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 5,
"end": 18,
"moduleId": 0,
"name": {
"commentStart": 5,
"end": 18,
"moduleId": 0,
"name": "startSketchOn",
"start": 5,
"type": "Identifier"
@ -36,6 +40,7 @@ expression: actual
},
"commentStart": 5,
"end": 22,
"moduleId": 0,
"start": 5,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -43,9 +48,11 @@ expression: actual
"abs_path": false,
"commentStart": 19,
"end": 21,
"moduleId": 0,
"name": {
"commentStart": 19,
"end": 21,
"moduleId": 0,
"name": "XY",
"start": 19,
"type": "Identifier"
@ -57,13 +64,16 @@ expression: actual
}
},
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 26,
"end": 38,
"moduleId": 0,
"name": {
"commentStart": 26,
"end": 38,
"moduleId": 0,
"name": "startProfile",
"start": 26,
"type": "Identifier"
@ -74,6 +84,7 @@ expression: actual
},
"commentStart": 26,
"end": 43,
"moduleId": 0,
"start": 26,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -81,9 +92,11 @@ expression: actual
"abs_path": false,
"commentStart": 39,
"end": 42,
"moduleId": 0,
"name": {
"commentStart": 39,
"end": 42,
"moduleId": 0,
"name": "pos",
"start": 39,
"type": "Identifier"
@ -97,15 +110,18 @@ expression: actual
],
"commentStart": 5,
"end": 43,
"moduleId": 0,
"start": 5,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 43,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -113,5 +129,6 @@ expression: actual
],
"commentStart": 0,
"end": 43,
"moduleId": 0,
"start": 0
}

View File

@ -12,6 +12,7 @@ expression: actual
"id": {
"commentStart": 0,
"end": 2,
"moduleId": 0,
"name": "sg",
"start": 0,
"type": "Identifier"
@ -19,13 +20,16 @@ expression: actual
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 5,
"end": 18,
"moduleId": 0,
"name": {
"commentStart": 5,
"end": 18,
"moduleId": 0,
"name": "startSketchOn",
"start": 5,
"type": "Identifier"
@ -36,6 +40,7 @@ expression: actual
},
"commentStart": 5,
"end": 22,
"moduleId": 0,
"start": 5,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -43,9 +48,11 @@ expression: actual
"abs_path": false,
"commentStart": 19,
"end": 21,
"moduleId": 0,
"name": {
"commentStart": 19,
"end": 21,
"moduleId": 0,
"name": "XY",
"start": 19,
"type": "Identifier"
@ -57,13 +64,16 @@ expression: actual
}
},
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 30,
"end": 42,
"moduleId": 0,
"name": {
"commentStart": 30,
"end": 42,
"moduleId": 0,
"name": "startProfile",
"start": 30,
"type": "Identifier"
@ -74,6 +84,7 @@ expression: actual
},
"commentStart": 30,
"end": 47,
"moduleId": 0,
"start": 30,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -81,9 +92,11 @@ expression: actual
"abs_path": false,
"commentStart": 43,
"end": 46,
"moduleId": 0,
"name": {
"commentStart": 43,
"end": 46,
"moduleId": 0,
"name": "pos",
"start": 43,
"type": "Identifier"
@ -95,13 +108,16 @@ expression: actual
}
},
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 51,
"end": 55,
"moduleId": 0,
"name": {
"commentStart": 51,
"end": 55,
"moduleId": 0,
"name": "line",
"start": 51,
"type": "Identifier"
@ -112,6 +128,7 @@ expression: actual
},
"commentStart": 51,
"end": 68,
"moduleId": 0,
"start": 51,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -121,6 +138,7 @@ expression: actual
{
"commentStart": 57,
"end": 58,
"moduleId": 0,
"raw": "0",
"start": 57,
"type": "Literal",
@ -135,9 +153,11 @@ expression: actual
"abs_path": false,
"commentStart": 61,
"end": 66,
"moduleId": 0,
"name": {
"commentStart": 61,
"end": 66,
"moduleId": 0,
"name": "scale",
"start": 61,
"type": "Identifier"
@ -149,6 +169,7 @@ expression: actual
},
"commentStart": 60,
"end": 66,
"moduleId": 0,
"operator": "-",
"start": 60,
"type": "UnaryExpression",
@ -156,6 +177,7 @@ expression: actual
}
],
"end": 67,
"moduleId": 0,
"start": 56,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -164,15 +186,18 @@ expression: actual
],
"commentStart": 5,
"end": 68,
"moduleId": 0,
"start": 5,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 68,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -180,5 +205,6 @@ expression: actual
],
"commentStart": 0,
"end": 68,
"moduleId": 0,
"start": 0
}

View File

@ -96,7 +96,7 @@ pub struct AppSettings {
pub show_debug_panel: bool,
/// If true, the grid cells will be fixed-size, where the width is your default length unit.
/// If false, the grid will get larger as you zoom out, and smaller as you zoom in.
#[serde(default = "make_it_so")]
#[serde(default = "make_it_so", skip_serializing_if = "is_true")]
pub fixed_size_grid: bool,
}
@ -105,6 +105,10 @@ fn make_it_so() -> bool {
true
}
fn is_true(b: &bool) -> bool {
*b
}
impl Default for AppSettings {
fn default() -> Self {
Self {
@ -691,7 +695,6 @@ text_wrapping = true"#;
serialized,
r#"[settings.app]
onboarding_status = "dismissed"
fixed_size_grid = true
[settings.app.appearance]
theme = "dark"

File diff suppressed because it is too large Load Diff

View File

@ -13,6 +13,7 @@ description: Result of parsing angled_line.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "part001",
"start": 0,
"type": "Identifier"
@ -20,13 +21,16 @@ description: Result of parsing angled_line.kcl
"init": {
"body": [
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "startSketchOn",
"start": 0,
"type": "Identifier"
@ -37,6 +41,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -44,9 +49,11 @@ description: Result of parsing angled_line.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "XY",
"start": 0,
"type": "Identifier"
@ -64,6 +71,7 @@ description: Result of parsing angled_line.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "at",
"start": 0,
"type": "Identifier"
@ -74,6 +82,7 @@ description: Result of parsing angled_line.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4.83",
"start": 0,
"type": "Literal",
@ -86,6 +95,7 @@ description: Result of parsing angled_line.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "12.56",
"start": 0,
"type": "Literal",
@ -97,6 +107,7 @@ description: Result of parsing angled_line.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -107,9 +118,11 @@ description: Result of parsing angled_line.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "startProfile",
"start": 0,
"type": "Identifier"
@ -120,6 +133,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -132,6 +146,7 @@ description: Result of parsing angled_line.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "end",
"start": 0,
"type": "Identifier"
@ -142,6 +157,7 @@ description: Result of parsing angled_line.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "15.1",
"start": 0,
"type": "Literal",
@ -154,6 +170,7 @@ description: Result of parsing angled_line.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2.48",
"start": 0,
"type": "Literal",
@ -165,6 +182,7 @@ description: Result of parsing angled_line.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -175,9 +193,11 @@ description: Result of parsing angled_line.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "line",
"start": 0,
"type": "Identifier"
@ -188,6 +208,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -200,6 +221,7 @@ description: Result of parsing angled_line.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "end",
"start": 0,
"type": "Identifier"
@ -210,6 +232,7 @@ description: Result of parsing angled_line.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3.15",
"start": 0,
"type": "Literal",
@ -223,6 +246,7 @@ description: Result of parsing angled_line.kcl
"argument": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "9.85",
"start": 0,
"type": "Literal",
@ -234,6 +258,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
@ -241,6 +266,7 @@ description: Result of parsing angled_line.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -251,6 +277,7 @@ description: Result of parsing angled_line.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "tag",
"start": 0,
"type": "Identifier"
@ -258,6 +285,7 @@ description: Result of parsing angled_line.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "TagDeclarator",
"type": "TagDeclarator",
@ -269,9 +297,11 @@ description: Result of parsing angled_line.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "line",
"start": 0,
"type": "Identifier"
@ -282,6 +312,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -294,6 +325,7 @@ description: Result of parsing angled_line.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "end",
"start": 0,
"type": "Identifier"
@ -305,6 +337,7 @@ description: Result of parsing angled_line.kcl
"argument": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "15.17",
"start": 0,
"type": "Literal",
@ -316,6 +349,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
@ -325,6 +359,7 @@ description: Result of parsing angled_line.kcl
"argument": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4.1",
"start": 0,
"type": "Literal",
@ -336,6 +371,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
@ -343,6 +379,7 @@ description: Result of parsing angled_line.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -353,9 +390,11 @@ description: Result of parsing angled_line.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "line",
"start": 0,
"type": "Identifier"
@ -366,6 +405,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -378,18 +418,22 @@ description: Result of parsing angled_line.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "angle",
"start": 0,
"type": "Identifier"
},
"arg": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "segAng",
"start": 0,
"type": "Identifier"
@ -400,6 +444,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -407,9 +452,11 @@ description: Result of parsing angled_line.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "seg01",
"start": 0,
"type": "Identifier"
@ -426,6 +473,7 @@ description: Result of parsing angled_line.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "length",
"start": 0,
"type": "Identifier"
@ -433,6 +481,7 @@ description: Result of parsing angled_line.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "12.35",
"start": 0,
"type": "Literal",
@ -448,9 +497,11 @@ description: Result of parsing angled_line.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "angledLine",
"start": 0,
"type": "Identifier"
@ -461,6 +512,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -473,6 +525,7 @@ description: Result of parsing angled_line.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "end",
"start": 0,
"type": "Identifier"
@ -484,6 +537,7 @@ description: Result of parsing angled_line.kcl
"argument": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "13.02",
"start": 0,
"type": "Literal",
@ -495,6 +549,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"operator": "-",
"start": 0,
"type": "UnaryExpression",
@ -503,6 +558,7 @@ description: Result of parsing angled_line.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "10.03",
"start": 0,
"type": "Literal",
@ -514,6 +570,7 @@ description: Result of parsing angled_line.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -524,9 +581,11 @@ description: Result of parsing angled_line.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "line",
"start": 0,
"type": "Identifier"
@ -537,19 +596,23 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": null
},
{
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "close",
"start": 0,
"type": "Identifier"
@ -560,6 +623,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -572,6 +636,7 @@ description: Result of parsing angled_line.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "length",
"start": 0,
"type": "Identifier"
@ -579,6 +644,7 @@ description: Result of parsing angled_line.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4",
"start": 0,
"type": "Literal",
@ -594,9 +660,11 @@ description: Result of parsing angled_line.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "extrude",
"start": 0,
"type": "Identifier"
@ -607,6 +675,7 @@ description: Result of parsing angled_line.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -615,15 +684,18 @@ description: Result of parsing angled_line.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "PipeExpression",
"type": "PipeExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -631,6 +703,7 @@ description: Result of parsing angled_line.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}

View File

@ -24,6 +24,7 @@ description: Variables in memory after executing angled_line.kcl
"tag": {
"commentStart": 133,
"end": 139,
"moduleId": 0,
"start": 133,
"type": "TagDeclarator",
"value": "seg01"
@ -94,6 +95,7 @@ description: Variables in memory after executing angled_line.kcl
"tag": {
"commentStart": 133,
"end": 139,
"moduleId": 0,
"start": 133,
"type": "TagDeclarator",
"value": "seg01"

View File

@ -13,6 +13,7 @@ description: Result of parsing any_type.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "id",
"start": 0,
"type": "Identifier"
@ -25,9 +26,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -39,6 +42,7 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -46,16 +50,19 @@ description: Result of parsing any_type.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -67,11 +74,13 @@ description: Result of parsing any_type.kcl
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -84,6 +93,7 @@ description: Result of parsing any_type.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "singleton",
"start": 0,
"type": "Identifier"
@ -99,9 +109,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -113,12 +125,14 @@ description: Result of parsing any_type.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -126,16 +140,19 @@ description: Result of parsing any_type.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -147,11 +164,13 @@ description: Result of parsing any_type.kcl
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -164,6 +183,7 @@ description: Result of parsing any_type.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "len",
"start": 0,
"type": "Identifier"
@ -179,6 +199,7 @@ description: Result of parsing any_type.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "initial",
"start": 0,
"type": "Identifier"
@ -186,6 +207,7 @@ description: Result of parsing any_type.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -201,6 +223,7 @@ description: Result of parsing any_type.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "f",
"start": 0,
"type": "Identifier"
@ -216,9 +239,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "accum",
"start": 0,
"type": "Identifier"
@ -228,10 +253,12 @@ description: Result of parsing any_type.kcl
"type": "Name",
"type": "Name"
},
"moduleId": 0,
"operator": "+",
"right": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -247,6 +274,7 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -254,16 +282,19 @@ description: Result of parsing any_type.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "_",
"start": 0,
"type": "Identifier"
@ -275,6 +306,7 @@ description: Result of parsing any_type.kcl
"identifier": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "accum",
"start": 0,
"type": "Identifier"
@ -291,9 +323,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "reduce",
"start": 0,
"type": "Identifier"
@ -304,6 +338,7 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -311,9 +346,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "a",
"start": 0,
"type": "Identifier"
@ -326,6 +363,7 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -333,16 +371,19 @@ description: Result of parsing any_type.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "a",
"start": 0,
"type": "Identifier"
@ -354,11 +395,13 @@ description: Result of parsing any_type.kcl
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -371,18 +414,22 @@ description: Result of parsing any_type.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "one",
"start": 0,
"type": "Identifier"
},
"init": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "id",
"start": 0,
"type": "Identifier"
@ -393,12 +440,14 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -409,11 +458,13 @@ description: Result of parsing any_type.kcl
}
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -426,18 +477,22 @@ description: Result of parsing any_type.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "a",
"start": 0,
"type": "Identifier"
},
"init": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "id",
"start": 0,
"type": "Identifier"
@ -448,12 +503,14 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"a\"",
"start": 0,
"type": "Literal",
@ -461,11 +518,13 @@ description: Result of parsing any_type.kcl
"value": "a"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -478,18 +537,22 @@ description: Result of parsing any_type.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr1",
"start": 0,
"type": "Identifier"
},
"init": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "singleton",
"start": 0,
"type": "Identifier"
@ -500,12 +563,14 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
"unlabeled": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -516,11 +581,13 @@ description: Result of parsing any_type.kcl
}
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -533,18 +600,22 @@ description: Result of parsing any_type.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "len0",
"start": 0,
"type": "Identifier"
},
"init": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "len",
"start": 0,
"type": "Identifier"
@ -555,6 +626,7 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -562,16 +634,19 @@ description: Result of parsing any_type.kcl
"commentStart": 0,
"elements": [],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -584,18 +659,22 @@ description: Result of parsing any_type.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "len1",
"start": 0,
"type": "Identifier"
},
"init": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "len",
"start": 0,
"type": "Identifier"
@ -606,6 +685,7 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -615,6 +695,7 @@ description: Result of parsing any_type.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -626,16 +707,19 @@ description: Result of parsing any_type.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -650,6 +734,7 @@ description: Result of parsing any_type.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -657,6 +742,7 @@ description: Result of parsing any_type.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -672,9 +758,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -685,6 +773,7 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -692,9 +781,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "one",
"start": 0,
"type": "Identifier"
@ -705,6 +796,7 @@ description: Result of parsing any_type.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -719,6 +811,7 @@ description: Result of parsing any_type.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -726,6 +819,7 @@ description: Result of parsing any_type.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -741,9 +835,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -754,6 +850,7 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -761,9 +858,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "len0",
"start": 0,
"type": "Identifier"
@ -774,6 +873,7 @@ description: Result of parsing any_type.kcl
"type": "Name"
}
},
"moduleId": 0,
"preComments": [
"// TODO: we cannot currently assert on strings.",
"// assert(a, isEqualTo = \"a\")",
@ -794,6 +894,7 @@ description: Result of parsing any_type.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -801,6 +902,7 @@ description: Result of parsing any_type.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -816,9 +918,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -829,6 +933,7 @@ description: Result of parsing any_type.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -836,9 +941,11 @@ description: Result of parsing any_type.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "len1",
"start": 0,
"type": "Identifier"
@ -849,6 +956,7 @@ description: Result of parsing any_type.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -856,12 +964,14 @@ description: Result of parsing any_type.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"0": [
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "NonCodeNode",
"value": {
@ -873,6 +983,7 @@ description: Result of parsing any_type.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "NonCodeNode",
"value": {
@ -884,6 +995,7 @@ description: Result of parsing any_type.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "NonCodeNode",
"value": {
@ -895,6 +1007,7 @@ description: Result of parsing any_type.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "NonCodeNode",
"value": {
@ -906,6 +1019,7 @@ description: Result of parsing any_type.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "NonCodeNode",
"value": {

View File

@ -13,6 +13,7 @@ description: Result of parsing argument_error.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "f",
"start": 0,
"type": "Identifier"
@ -24,6 +25,7 @@ description: Result of parsing argument_error.kcl
"argument": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -35,6 +37,7 @@ description: Result of parsing argument_error.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ReturnStatement",
"type": "ReturnStatement"
@ -42,16 +45,19 @@ description: Result of parsing argument_error.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"params": [
{
"type": "Parameter",
"identifier": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "i",
"start": 0,
"type": "Identifier"
@ -63,11 +69,13 @@ description: Result of parsing argument_error.kcl
"type": "FunctionExpression",
"type": "FunctionExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "fn",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -82,6 +90,7 @@ description: Result of parsing argument_error.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "f",
"start": 0,
"type": "Identifier"
@ -92,6 +101,7 @@ description: Result of parsing argument_error.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -104,6 +114,7 @@ description: Result of parsing argument_error.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -115,6 +126,7 @@ description: Result of parsing argument_error.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
@ -125,9 +137,11 @@ description: Result of parsing argument_error.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "map",
"start": 0,
"type": "Identifier"
@ -138,6 +152,7 @@ description: Result of parsing argument_error.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -145,9 +160,11 @@ description: Result of parsing argument_error.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "f",
"start": 0,
"type": "Identifier"
@ -158,6 +175,7 @@ description: Result of parsing argument_error.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -165,12 +183,14 @@ description: Result of parsing argument_error.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"nonCodeMeta": {
"nonCodeNodes": {
"0": [
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "NonCodeNode",
"value": {

View File

@ -13,6 +13,7 @@ description: Result of parsing array_elem_pop.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ description: Result of parsing array_elem_pop.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -35,6 +37,7 @@ description: Result of parsing array_elem_pop.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -47,6 +50,7 @@ description: Result of parsing array_elem_pop.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -58,15 +62,18 @@ description: Result of parsing array_elem_pop.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -79,18 +86,22 @@ description: Result of parsing array_elem_pop.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
},
"init": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "pop",
"start": 0,
"type": "Identifier"
@ -101,6 +112,7 @@ description: Result of parsing array_elem_pop.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -108,9 +120,11 @@ description: Result of parsing array_elem_pop.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -121,11 +135,13 @@ description: Result of parsing array_elem_pop.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -138,18 +154,22 @@ description: Result of parsing array_elem_pop.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
},
"init": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "pop",
"start": 0,
"type": "Identifier"
@ -160,6 +180,7 @@ description: Result of parsing array_elem_pop.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -167,9 +188,11 @@ description: Result of parsing array_elem_pop.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -180,11 +203,13 @@ description: Result of parsing array_elem_pop.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -197,18 +222,22 @@ description: Result of parsing array_elem_pop.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr3",
"start": 0,
"type": "Identifier"
},
"init": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "pop",
"start": 0,
"type": "Identifier"
@ -219,6 +248,7 @@ description: Result of parsing array_elem_pop.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -226,9 +256,11 @@ description: Result of parsing array_elem_pop.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -239,11 +271,13 @@ description: Result of parsing array_elem_pop.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -258,6 +292,7 @@ description: Result of parsing array_elem_pop.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -265,6 +300,7 @@ description: Result of parsing array_elem_pop.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -280,6 +316,7 @@ description: Result of parsing array_elem_pop.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -287,6 +324,7 @@ description: Result of parsing array_elem_pop.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 0 should not have changed\"",
"start": 0,
"type": "Literal",
@ -299,9 +337,11 @@ description: Result of parsing array_elem_pop.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -312,6 +352,7 @@ description: Result of parsing array_elem_pop.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -319,13 +360,16 @@ description: Result of parsing array_elem_pop.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -338,6 +382,7 @@ description: Result of parsing array_elem_pop.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -352,6 +397,7 @@ description: Result of parsing array_elem_pop.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -366,6 +412,7 @@ description: Result of parsing array_elem_pop.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -373,6 +420,7 @@ description: Result of parsing array_elem_pop.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -388,6 +436,7 @@ description: Result of parsing array_elem_pop.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -395,6 +444,7 @@ description: Result of parsing array_elem_pop.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 1 should not have changed\"",
"start": 0,
"type": "Literal",
@ -407,9 +457,11 @@ description: Result of parsing array_elem_pop.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -420,6 +472,7 @@ description: Result of parsing array_elem_pop.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -427,13 +480,16 @@ description: Result of parsing array_elem_pop.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -446,6 +502,7 @@ description: Result of parsing array_elem_pop.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -460,6 +517,7 @@ description: Result of parsing array_elem_pop.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -474,6 +532,7 @@ description: Result of parsing array_elem_pop.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -481,6 +540,7 @@ description: Result of parsing array_elem_pop.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -496,6 +556,7 @@ description: Result of parsing array_elem_pop.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -503,6 +564,7 @@ description: Result of parsing array_elem_pop.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 0 should not have changed\"",
"start": 0,
"type": "Literal",
@ -515,9 +577,11 @@ description: Result of parsing array_elem_pop.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -528,6 +592,7 @@ description: Result of parsing array_elem_pop.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -535,13 +600,16 @@ description: Result of parsing array_elem_pop.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -554,6 +622,7 @@ description: Result of parsing array_elem_pop.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -568,6 +637,7 @@ description: Result of parsing array_elem_pop.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -575,6 +645,7 @@ description: Result of parsing array_elem_pop.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}

View File

@ -13,6 +13,7 @@ description: Result of parsing array_elem_pop_empty_fail.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -21,15 +22,18 @@ description: Result of parsing array_elem_pop_empty_fail.kcl
"commentStart": 0,
"elements": [],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -42,18 +46,22 @@ description: Result of parsing array_elem_pop_empty_fail.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "fail",
"start": 0,
"type": "Identifier"
},
"init": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "pop",
"start": 0,
"type": "Identifier"
@ -64,6 +72,7 @@ description: Result of parsing array_elem_pop_empty_fail.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -71,9 +80,11 @@ description: Result of parsing array_elem_pop_empty_fail.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -84,11 +95,13 @@ description: Result of parsing array_elem_pop_empty_fail.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -96,6 +109,7 @@ description: Result of parsing array_elem_pop_empty_fail.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}

View File

@ -13,6 +13,7 @@ description: Result of parsing array_elem_pop_fail.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ description: Result of parsing array_elem_pop_fail.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -35,6 +37,7 @@ description: Result of parsing array_elem_pop_fail.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -47,6 +50,7 @@ description: Result of parsing array_elem_pop_fail.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -58,15 +62,18 @@ description: Result of parsing array_elem_pop_fail.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -79,18 +86,22 @@ description: Result of parsing array_elem_pop_fail.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "pushedArr",
"start": 0,
"type": "Identifier"
},
"init": {
"arguments": [],
"callee": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "pop",
"start": 0,
"type": "Identifier"
@ -101,6 +112,7 @@ description: Result of parsing array_elem_pop_fail.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -108,9 +120,11 @@ description: Result of parsing array_elem_pop_fail.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -121,11 +135,13 @@ description: Result of parsing array_elem_pop_fail.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -138,6 +154,7 @@ description: Result of parsing array_elem_pop_fail.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "fail",
"start": 0,
"type": "Identifier"
@ -146,13 +163,16 @@ description: Result of parsing array_elem_pop_fail.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "pushedArr",
"start": 0,
"type": "Identifier"
@ -165,6 +185,7 @@ description: Result of parsing array_elem_pop_fail.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -178,11 +199,13 @@ description: Result of parsing array_elem_pop_fail.kcl
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -190,6 +213,7 @@ description: Result of parsing array_elem_pop_fail.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}

View File

@ -13,6 +13,7 @@ description: Result of parsing array_elem_push.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ description: Result of parsing array_elem_push.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -35,6 +37,7 @@ description: Result of parsing array_elem_push.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -47,6 +50,7 @@ description: Result of parsing array_elem_push.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -58,15 +62,18 @@ description: Result of parsing array_elem_push.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -79,6 +86,7 @@ description: Result of parsing array_elem_push.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -90,6 +98,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "item",
"start": 0,
"type": "Identifier"
@ -97,6 +106,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4",
"start": 0,
"type": "Literal",
@ -112,9 +122,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "push",
"start": 0,
"type": "Identifier"
@ -125,6 +137,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -132,9 +145,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -145,11 +160,13 @@ description: Result of parsing array_elem_push.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -162,6 +179,7 @@ description: Result of parsing array_elem_push.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -173,6 +191,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "item",
"start": 0,
"type": "Identifier"
@ -180,6 +199,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -195,9 +215,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "push",
"start": 0,
"type": "Identifier"
@ -208,6 +230,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -215,9 +238,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -228,11 +253,13 @@ description: Result of parsing array_elem_push.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -247,6 +274,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -254,6 +282,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -269,6 +298,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -276,6 +306,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 0 should not have changed\"",
"start": 0,
"type": "Literal",
@ -288,9 +319,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -301,6 +334,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -308,13 +342,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -327,6 +364,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -341,6 +379,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -355,6 +394,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -362,6 +402,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -377,6 +418,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -384,6 +426,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 1 should not have changed\"",
"start": 0,
"type": "Literal",
@ -396,9 +439,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -409,6 +454,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -416,13 +462,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -435,6 +484,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -449,6 +499,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -463,6 +514,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -470,6 +522,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -485,6 +538,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -492,6 +546,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 2 should not have changed\"",
"start": 0,
"type": "Literal",
@ -504,9 +559,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -517,6 +574,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -524,13 +582,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -543,6 +604,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -557,6 +619,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -571,6 +634,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -578,6 +642,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4",
"start": 0,
"type": "Literal",
@ -593,6 +658,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -600,6 +666,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"4 was added to the end of the array\"",
"start": 0,
"type": "Literal",
@ -612,9 +679,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -625,6 +694,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -632,13 +702,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr1",
"start": 0,
"type": "Identifier"
@ -651,6 +724,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -665,6 +739,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -679,6 +754,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -686,6 +762,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -701,6 +778,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -708,6 +786,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 0 should not have changed\"",
"start": 0,
"type": "Literal",
@ -720,9 +799,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -733,6 +814,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -740,13 +822,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -759,6 +844,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -773,6 +859,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -787,6 +874,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -794,6 +882,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -809,6 +898,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -816,6 +906,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 1 should not have changed\"",
"start": 0,
"type": "Literal",
@ -828,9 +919,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -841,6 +934,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -848,13 +942,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -867,6 +964,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -881,6 +979,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -895,6 +994,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -902,6 +1002,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -917,6 +1018,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -924,6 +1026,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"element 2 should not have changed\"",
"start": 0,
"type": "Literal",
@ -936,9 +1039,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -949,6 +1054,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -956,13 +1062,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -975,6 +1084,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -989,6 +1099,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -1003,6 +1114,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -1010,6 +1122,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4",
"start": 0,
"type": "Literal",
@ -1025,6 +1138,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -1032,6 +1146,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"4 was added to the end of the array\"",
"start": 0,
"type": "Literal",
@ -1044,9 +1159,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -1057,6 +1174,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -1064,13 +1182,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -1083,6 +1204,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -1097,6 +1219,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -1111,6 +1234,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "isEqualTo",
"start": 0,
"type": "Identifier"
@ -1118,6 +1242,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "5",
"start": 0,
"type": "Literal",
@ -1133,6 +1258,7 @@ description: Result of parsing array_elem_push.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "error",
"start": 0,
"type": "Identifier"
@ -1140,6 +1266,7 @@ description: Result of parsing array_elem_push.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "\"5 was added to the end of the array\"",
"start": 0,
"type": "Literal",
@ -1152,9 +1279,11 @@ description: Result of parsing array_elem_push.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "assert",
"start": 0,
"type": "Identifier"
@ -1165,6 +1294,7 @@ description: Result of parsing array_elem_push.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -1172,13 +1302,16 @@ description: Result of parsing array_elem_push.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "new_arr2",
"start": 0,
"type": "Identifier"
@ -1191,6 +1324,7 @@ description: Result of parsing array_elem_push.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4",
"start": 0,
"type": "Literal",
@ -1205,6 +1339,7 @@ description: Result of parsing array_elem_push.kcl
"type": "MemberExpression"
}
},
"moduleId": 0,
"start": 0,
"type": "ExpressionStatement",
"type": "ExpressionStatement"
@ -1212,6 +1347,7 @@ description: Result of parsing array_elem_push.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}

View File

@ -13,6 +13,7 @@ description: Result of parsing array_elem_push_fail.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -23,6 +24,7 @@ description: Result of parsing array_elem_push_fail.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "1",
"start": 0,
"type": "Literal",
@ -35,6 +37,7 @@ description: Result of parsing array_elem_push_fail.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "2",
"start": 0,
"type": "Literal",
@ -47,6 +50,7 @@ description: Result of parsing array_elem_push_fail.kcl
{
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -58,15 +62,18 @@ description: Result of parsing array_elem_push_fail.kcl
}
],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -79,6 +86,7 @@ description: Result of parsing array_elem_push_fail.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "pushedArr",
"start": 0,
"type": "Identifier"
@ -90,6 +98,7 @@ description: Result of parsing array_elem_push_fail.kcl
"label": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "item",
"start": 0,
"type": "Identifier"
@ -97,6 +106,7 @@ description: Result of parsing array_elem_push_fail.kcl
"arg": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "4",
"start": 0,
"type": "Literal",
@ -112,9 +122,11 @@ description: Result of parsing array_elem_push_fail.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "push",
"start": 0,
"type": "Identifier"
@ -125,6 +137,7 @@ description: Result of parsing array_elem_push_fail.kcl
},
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0,
"type": "CallExpressionKw",
"type": "CallExpressionKw",
@ -132,9 +145,11 @@ description: Result of parsing array_elem_push_fail.kcl
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -145,11 +160,13 @@ description: Result of parsing array_elem_push_fail.kcl
"type": "Name"
}
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -162,6 +179,7 @@ description: Result of parsing array_elem_push_fail.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "fail",
"start": 0,
"type": "Identifier"
@ -170,13 +188,16 @@ description: Result of parsing array_elem_push_fail.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -189,6 +210,7 @@ description: Result of parsing array_elem_push_fail.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "3",
"start": 0,
"type": "Literal",
@ -202,11 +224,13 @@ description: Result of parsing array_elem_push_fail.kcl
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -214,6 +238,7 @@ description: Result of parsing array_elem_push_fail.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}

View File

@ -13,6 +13,7 @@ description: Result of parsing array_index_oob.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -21,15 +22,18 @@ description: Result of parsing array_index_oob.kcl
"commentStart": 0,
"elements": [],
"end": 0,
"moduleId": 0,
"start": 0,
"type": "ArrayExpression",
"type": "ArrayExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -42,6 +46,7 @@ description: Result of parsing array_index_oob.kcl
"id": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "x",
"start": 0,
"type": "Identifier"
@ -50,13 +55,16 @@ description: Result of parsing array_index_oob.kcl
"commentStart": 0,
"computed": false,
"end": 0,
"moduleId": 0,
"object": {
"abs_path": false,
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"name": "arr",
"start": 0,
"type": "Identifier"
@ -69,6 +77,7 @@ description: Result of parsing array_index_oob.kcl
"property": {
"commentStart": 0,
"end": 0,
"moduleId": 0,
"raw": "0",
"start": 0,
"type": "Literal",
@ -82,11 +91,13 @@ description: Result of parsing array_index_oob.kcl
"type": "MemberExpression",
"type": "MemberExpression"
},
"moduleId": 0,
"start": 0,
"type": "VariableDeclarator"
},
"end": 0,
"kind": "const",
"moduleId": 0,
"start": 0,
"type": "VariableDeclaration",
"type": "VariableDeclaration"
@ -94,6 +105,7 @@ description: Result of parsing array_index_oob.kcl
],
"commentStart": 0,
"end": 0,
"moduleId": 0,
"start": 0
}
}

Some files were not shown because too many files have changed in this diff Show More