refactor(es/ast): Change TaggedTpl to have a Tpl (#1114)

swc_ecma_ast:
 - Make `TaggedTpl` have `Tpl`.

Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
This commit is contained in:
David Sherret 2021-03-25 07:09:36 -04:00 committed by GitHub
parent df3f3106df
commit da62c73239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
70 changed files with 28447 additions and 26657 deletions

View File

@ -11,7 +11,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc" name = "swc"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.11.0" version = "0.12.0"
[lib] [lib]
name = "swc" name = "swc"
@ -29,12 +29,12 @@ serde_json = "1"
sourcemap = "6" sourcemap = "6"
swc_atoms = {version = "0.2", path = "./atoms"} swc_atoms = {version = "0.2", path = "./atoms"}
swc_common = {version = "0.10.10", path = "./common", features = ["sourcemap", "concurrent"]} swc_common = {version = "0.10.10", path = "./common", features = ["sourcemap", "concurrent"]}
swc_ecma_ast = {version = "0.40.0", path = "./ecmascript/ast"} swc_ecma_ast = {version = "0.41.0", path = "./ecmascript/ast"}
swc_ecma_codegen = {version = "0.48.0", path = "./ecmascript/codegen"} swc_ecma_codegen = {version = "0.49.0", path = "./ecmascript/codegen"}
swc_ecma_ext_transforms = {version = "0.8.0", path = "./ecmascript/ext-transforms"} swc_ecma_ext_transforms = {version = "0.9.0", path = "./ecmascript/ext-transforms"}
swc_ecma_parser = {version = "0.50.0", path = "./ecmascript/parser"} swc_ecma_parser = {version = "0.51.0", path = "./ecmascript/parser"}
swc_ecma_preset_env = {version = "0.11.0", path = "./ecmascript/preset_env"} swc_ecma_preset_env = {version = "0.12.0", path = "./ecmascript/preset_env"}
swc_ecma_transforms = {version = "0.41.0", path = "./ecmascript/transforms", features = [ swc_ecma_transforms = {version = "0.42.0", path = "./ecmascript/transforms", features = [
"compat", "compat",
"module", "module",
"optimization", "optimization",
@ -42,8 +42,8 @@ swc_ecma_transforms = {version = "0.41.0", path = "./ecmascript/transforms", fea
"react", "react",
"typescript", "typescript",
]} ]}
swc_ecma_utils = {version = "0.31.0", path = "./ecmascript/utils"} swc_ecma_utils = {version = "0.32.0", path = "./ecmascript/utils"}
swc_ecma_visit = {version = "0.26.0", path = "./ecmascript/visit"} swc_ecma_visit = {version = "0.27.0", path = "./ecmascript/visit"}
swc_visit = {version = "0.2.3", path = "./visit"} swc_visit = {version = "0.2.3", path = "./visit"}
[dev-dependencies] [dev-dependencies]

View File

@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"]
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_bundler" name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.28.1" version = "0.29.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features] [features]
@ -32,19 +32,19 @@ relative-path = "1.2"
retain_mut = "0.1.2" retain_mut = "0.1.2"
swc_atoms = {version = "0.2.4", path = "../atoms"} swc_atoms = {version = "0.2.4", path = "../atoms"}
swc_common = {version = "0.10.10", path = "../common"} swc_common = {version = "0.10.10", path = "../common"}
swc_ecma_ast = {version = "0.40.0", path = "../ecmascript/ast"} swc_ecma_ast = {version = "0.41.0", path = "../ecmascript/ast"}
swc_ecma_codegen = {version = "0.48.0", path = "../ecmascript/codegen"} swc_ecma_codegen = {version = "0.49.0", path = "../ecmascript/codegen"}
swc_ecma_parser = {version = "0.50.0", path = "../ecmascript/parser"} swc_ecma_parser = {version = "0.51.0", path = "../ecmascript/parser"}
swc_ecma_transforms = {version = "0.41.0", path = "../ecmascript/transforms", features = ["optimization"]} swc_ecma_transforms = {version = "0.42.0", path = "../ecmascript/transforms", features = ["optimization"]}
swc_ecma_utils = {version = "0.31.0", path = "../ecmascript/utils"} swc_ecma_utils = {version = "0.32.0", path = "../ecmascript/utils"}
swc_ecma_visit = {version = "0.26.0", path = "../ecmascript/visit"} swc_ecma_visit = {version = "0.27.0", path = "../ecmascript/visit"}
[dev-dependencies] [dev-dependencies]
hex = "0.4" hex = "0.4"
ntest = "0.7.2" ntest = "0.7.2"
reqwest = {version = "0.10.8", features = ["blocking"]} reqwest = {version = "0.10.8", features = ["blocking"]}
sha-1 = "0.9" sha-1 = "0.9"
swc_ecma_transforms = {version = "0.41.0", path = "../ecmascript/transforms", features = ["react", "typescript"]} swc_ecma_transforms = {version = "0.42.0", path = "../ecmascript/transforms", features = ["react", "typescript"]}
tempfile = "3.1.0" tempfile = "3.1.0"
testing = {version = "0.10.3", path = "../testing"} testing = {version = "0.10.3", path = "../testing"}
url = "2.1.1" url = "2.1.1"

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecmascript" name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.27.0" version = "0.28.0"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
@ -27,12 +27,12 @@ react = ["swc_ecma_transforms/react"]
typescript = ["swc_ecma_transforms/typescript"] typescript = ["swc_ecma_transforms/typescript"]
[dependencies] [dependencies]
swc_ecma_ast = {version = "0.40.0", path = "./ast"} swc_ecma_ast = {version = "0.41.0", path = "./ast"}
swc_ecma_codegen = {version = "0.48.0", path = "./codegen", optional = true} swc_ecma_codegen = {version = "0.49.0", path = "./codegen", optional = true}
swc_ecma_dep_graph = {version = "0.18.0", path = "./dep-graph", optional = true} swc_ecma_dep_graph = {version = "0.19.0", path = "./dep-graph", optional = true}
swc_ecma_parser = {version = "0.50.0", path = "./parser", optional = true} swc_ecma_parser = {version = "0.51.0", path = "./parser", optional = true}
swc_ecma_transforms = {version = "0.41.0", path = "./transforms", optional = true} swc_ecma_transforms = {version = "0.42.0", path = "./transforms", optional = true}
swc_ecma_utils = {version = "0.31.0", path = "./utils", optional = true} swc_ecma_utils = {version = "0.32.0", path = "./utils", optional = true}
swc_ecma_visit = {version = "0.26.0", path = "./visit", optional = true} swc_ecma_visit = {version = "0.27.0", path = "./visit", optional = true}
[dev-dependencies] [dev-dependencies]

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_ast" name = "swc_ecma_ast"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.40.0" version = "0.41.0"
[features] [features]
default = [] default = []

View File

@ -439,12 +439,11 @@ pub struct TaggedTpl {
pub tag: Box<Expr>, pub tag: Box<Expr>,
#[serde(rename = "expressions")]
pub exprs: Vec<Box<Expr>>,
pub quasis: Vec<TplElement>,
#[serde(default, rename = "typeParameters")] #[serde(default, rename = "typeParameters")]
pub type_params: Option<TsTypeParamInstantiation>, pub type_params: Option<TsTypeParamInstantiation>,
#[serde(rename = "template")]
pub tpl: Tpl,
} }
#[ast_node("TemplateElement")] #[ast_node("TemplateElement")]

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_codegen" name = "swc_ecma_codegen"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.48.0" version = "0.49.0"
[dependencies] [dependencies]
bitflags = "1" bitflags = "1"
@ -15,9 +15,9 @@ num-bigint = {version = "0.2", features = ["serde"]}
sourcemap = "6" sourcemap = "6"
swc_atoms = {version = "0.2", path = "../../atoms"} swc_atoms = {version = "0.2", path = "../../atoms"}
swc_common = {version = "0.10.10", path = "../../common"} swc_common = {version = "0.10.10", path = "../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../ast"} swc_ecma_ast = {version = "0.41.0", path = "../ast"}
swc_ecma_codegen_macros = {version = "0.5.2", path = "./macros"} swc_ecma_codegen_macros = {version = "0.5.2", path = "./macros"}
swc_ecma_parser = {version = "0.50.0", path = "../parser"} swc_ecma_parser = {version = "0.51.0", path = "../parser"}
[dev-dependencies] [dev-dependencies]
swc_common = {version = "0.10.10", path = "../../common", features = ["sourcemap"]} swc_common = {version = "0.10.10", path = "../../common", features = ["sourcemap"]}

View File

@ -1192,26 +1192,11 @@ impl<'a> Emitter<'a> {
#[emitter] #[emitter]
fn emit_tagged_tpl_lit(&mut self, node: &TaggedTpl) -> Result { fn emit_tagged_tpl_lit(&mut self, node: &TaggedTpl) -> Result {
debug_assert!(node.quasis.len() == node.exprs.len() + 1);
self.emit_leading_comments_of_pos(node.span().lo())?; self.emit_leading_comments_of_pos(node.span().lo())?;
emit!(node.tag); emit!(node.tag);
emit!(node.type_params); emit!(node.type_params);
punct!("`"); emit!(node.tpl);
let i = 0;
for i in 0..(node.quasis.len() + node.exprs.len()) {
if i % 2 == 0 {
emit!(node.quasis[i / 2]);
} else {
punct!("${");
emit!(node.exprs[i / 2]);
punct!("}");
}
}
punct!("`");
} }
#[emitter] #[emitter]

View File

@ -6,14 +6,14 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_dep_graph" name = "swc_ecma_dep_graph"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.18.0" version = "0.19.0"
[dependencies] [dependencies]
swc_atoms = {version = "0.2", path = "../../atoms"} swc_atoms = {version = "0.2", path = "../../atoms"}
swc_common = {version = "0.10.10", path = "../../common"} swc_common = {version = "0.10.10", path = "../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../ast"} swc_ecma_ast = {version = "0.41.0", path = "../ast"}
swc_ecma_visit = {version = "0.26.0", path = "../visit"} swc_ecma_visit = {version = "0.27.0", path = "../visit"}
[dev-dependencies] [dev-dependencies]
swc_ecma_parser = {version = "0.50.0", path = "../parser"} swc_ecma_parser = {version = "0.51.0", path = "../parser"}
testing = {version = "0.10.3", path = "../../testing"} testing = {version = "0.10.3", path = "../../testing"}

View File

@ -5,7 +5,7 @@ documentation = "https://swc.rs/rustdoc/swc_ecma_ext_transforms/"
edition = "2018" edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_ext_transforms" name = "swc_ecma_ext_transforms"
version = "0.8.0" version = "0.9.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -13,7 +13,7 @@ version = "0.8.0"
phf = {version = "0.8.0", features = ["macros"]} phf = {version = "0.8.0", features = ["macros"]}
swc_atoms = {version = "0.2", path = "../../atoms"} swc_atoms = {version = "0.2", path = "../../atoms"}
swc_common = {version = "0.10.10", path = "../../common"} swc_common = {version = "0.10.10", path = "../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../ast"} swc_ecma_ast = {version = "0.41.0", path = "../ast"}
swc_ecma_parser = {version = "0.50.0", path = "../parser"} swc_ecma_parser = {version = "0.51.0", path = "../parser"}
swc_ecma_utils = {version = "0.31.0", path = "../utils"} swc_ecma_utils = {version = "0.32.0", path = "../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../visit"} swc_ecma_visit = {version = "0.27.0", path = "../visit"}

View File

@ -5,7 +5,7 @@ documentation = "https://swc.rs/rustdoc/jsdoc/"
edition = "2018" edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "jsdoc" name = "jsdoc"
version = "0.18.0" version = "0.19.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -18,7 +18,7 @@ swc_common = {version = "0.10.10", path = "../../common"}
[dev-dependencies] [dev-dependencies]
anyhow = "1" anyhow = "1"
dashmap = "3" dashmap = "3"
swc_ecma_ast = {version = "0.40.0", path = "../ast"} swc_ecma_ast = {version = "0.41.0", path = "../ast"}
swc_ecma_parser = {version = "0.50.0", path = "../parser"} swc_ecma_parser = {version = "0.51.0", path = "../parser"}
testing = {version = "0.10.3", path = "../../testing"} testing = {version = "0.10.3", path = "../../testing"}
walkdir = "2" walkdir = "2"

View File

@ -6,15 +6,15 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_loader" name = "swc_ecma_loader"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.1.0" version = "0.2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
swc_atoms = {version = "0.2.3", path = "../../atoms"} swc_atoms = {version = "0.2.3", path = "../../atoms"}
swc_common = {version = "0.10.10", path = "../../common"} swc_common = {version = "0.10.10", path = "../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../ast"} swc_ecma_ast = {version = "0.41.0", path = "../ast"}
swc_ecma_visit = {version = "0.26.0", path = "../visit"} swc_ecma_visit = {version = "0.27.0", path = "../visit"}
[dev-dependencies] [dev-dependencies]
testing = {version = "0.10.3", path = "../../testing"} testing = {version = "0.10.3", path = "../../testing"}

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "examples/**/*.rs"]
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_parser" name = "swc_ecma_parser"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.50.0" version = "0.51.0"
[features] [features]
default = [] default = []
@ -22,8 +22,8 @@ serde = {version = "1", features = ["derive"]}
smallvec = "1" smallvec = "1"
swc_atoms = {version = "0.2.3", path = "../../atoms"} swc_atoms = {version = "0.2.3", path = "../../atoms"}
swc_common = {version = "0.10.10", path = "../../common"} swc_common = {version = "0.10.10", path = "../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../ast"} swc_ecma_ast = {version = "0.41.0", path = "../ast"}
swc_ecma_visit = {version = "0.26.0", path = "../visit"} swc_ecma_visit = {version = "0.27.0", path = "../visit"}
unicode-xid = "0.2" unicode-xid = "0.2"
[dev-dependencies] [dev-dependencies]

View File

@ -773,15 +773,12 @@ impl<'a, I: Tokens> Parser<I> {
} }
#[allow(clippy::vec_box)] #[allow(clippy::vec_box)]
fn parse_tpl_elements( fn parse_tpl_elements(&mut self) -> PResult<(Vec<Box<Expr>>, Vec<TplElement>)> {
&mut self,
is_tagged: bool,
) -> PResult<(Vec<Box<Expr>>, Vec<TplElement>)> {
trace_cur!(self, parse_tpl_elements); trace_cur!(self, parse_tpl_elements);
let mut exprs = vec![]; let mut exprs = vec![];
let cur_elem = self.parse_tpl_element(is_tagged)?; let cur_elem = self.parse_tpl_element()?;
let mut is_tail = cur_elem.tail; let mut is_tail = cur_elem.tail;
let mut quasis = vec![cur_elem]; let mut quasis = vec![cur_elem];
@ -789,7 +786,7 @@ impl<'a, I: Tokens> Parser<I> {
expect!(self, "${"); expect!(self, "${");
exprs.push(self.include_in_expr(true).parse_expr()?); exprs.push(self.include_in_expr(true).parse_expr()?);
expect!(self, '}'); expect!(self, '}');
let elem = self.parse_tpl_element(is_tagged)?; let elem = self.parse_tpl_element()?;
is_tail = elem.tail; is_tail = elem.tail;
quasis.push(elem); quasis.push(elem);
} }
@ -805,19 +802,14 @@ impl<'a, I: Tokens> Parser<I> {
let tagged_tpl_start = tag.span().lo(); let tagged_tpl_start = tag.span().lo();
trace_cur!(self, parse_tagged_tpl); trace_cur!(self, parse_tagged_tpl);
assert_and_bump!(self, '`'); let tpl = self.parse_tpl()?;
let (exprs, quasis) = self.parse_tpl_elements(false)?;
expect!(self, '`');
let span = span!(self, tagged_tpl_start); let span = span!(self, tagged_tpl_start);
Ok(TaggedTpl { Ok(TaggedTpl {
span, span,
tag, tag,
exprs,
type_params, type_params,
quasis, tpl,
}) })
} }
@ -827,7 +819,7 @@ impl<'a, I: Tokens> Parser<I> {
assert_and_bump!(self, '`'); assert_and_bump!(self, '`');
let (exprs, quasis) = self.parse_tpl_elements(false)?; let (exprs, quasis) = self.parse_tpl_elements()?;
expect!(self, '`'); expect!(self, '`');
@ -839,7 +831,7 @@ impl<'a, I: Tokens> Parser<I> {
}) })
} }
pub(super) fn parse_tpl_element(&mut self, is_tagged: bool) -> PResult<TplElement> { pub(super) fn parse_tpl_element(&mut self) -> PResult<TplElement> {
let start = cur_pos!(self); let start = cur_pos!(self);
let (raw, cooked) = match *cur!(self, true)? { let (raw, cooked) = match *cur!(self, true)? {

View File

@ -1672,7 +1672,7 @@ impl<I: Tokens> Parser<I> {
let mut types = vec![]; let mut types = vec![];
let cur_elem = self.parse_tpl_element(false)?; let cur_elem = self.parse_tpl_element()?;
let mut is_tail = cur_elem.tail; let mut is_tail = cur_elem.tail;
let mut quasis = vec![cur_elem]; let mut quasis = vec![cur_elem];
@ -1680,7 +1680,7 @@ impl<I: Tokens> Parser<I> {
expect!(self, "${"); expect!(self, "${");
types.push(self.parse_ts_type()?); types.push(self.parse_ts_type()?);
expect!(self, '}'); expect!(self, '}');
let elem = self.parse_tpl_element(false)?; let elem = self.parse_tpl_element()?;
is_tail = elem.tail; is_tail = elem.tail;
quasis.push(elem); quasis.push(elem);
} }

View File

@ -46,6 +46,12 @@ warning: Ident
1 | tag`foo` 1 | tag`foo`
| ^^^ | ^^^
warning: Tpl
--> $DIR/tests/span/js/expr/tagged-tpl.js:1:4
|
1 | tag`foo`
| ^^^^^
warning: TplElement warning: TplElement
--> $DIR/tests/span/js/expr/tagged-tpl.js:1:5 --> $DIR/tests/span/js/expr/tagged-tpl.js:1:5
| |

View File

@ -62,6 +62,14 @@
"computed": false "computed": false
} }
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 4,
"end": 9,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -101,8 +109,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -874,6 +874,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 413,
"end": 437,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1006,8 +1014,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1091,6 +1099,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 477,
"end": 494,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1223,8 +1239,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
] ]

View File

@ -123,6 +123,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 34,
"end": 115,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -162,8 +170,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -123,6 +123,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 49,
"end": 130,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -162,8 +170,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -123,6 +123,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 49,
"end": 333,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -1642,8 +1650,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -140,6 +140,14 @@
"value": "noParams", "value": "noParams",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 76,
"end": 78,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -179,8 +187,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -317,6 +325,14 @@
"value": "noGenericParams", "value": "noGenericParams",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 218,
"end": 220,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -356,8 +372,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -550,6 +566,14 @@
"value": "someGenerics1a", "value": "someGenerics1a",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 381,
"end": 387,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -636,8 +660,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -840,6 +864,14 @@
"value": "someGenerics1b", "value": "someGenerics1b",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 470,
"end": 476,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -926,8 +958,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1156,6 +1188,14 @@
"value": "someGenerics2a", "value": "someGenerics2a",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 660,
"end": 681,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1284,8 +1324,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1571,6 +1611,14 @@
"value": "someGenerics2b", "value": "someGenerics2b",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 786,
"end": 820,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1726,8 +1774,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1928,6 +1976,14 @@
"value": "someGenerics3", "value": "someGenerics3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1047,
"end": 1060,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2032,8 +2088,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2060,6 +2116,14 @@
"value": "someGenerics3", "value": "someGenerics3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1076,
"end": 1096,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2160,8 +2224,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2188,6 +2252,14 @@
"value": "someGenerics3", "value": "someGenerics3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1112,
"end": 1124,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2287,8 +2359,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2583,6 +2655,14 @@
"value": "someGenerics4", "value": "someGenerics4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1367,
"end": 1388,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -2727,8 +2807,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2755,6 +2835,14 @@
"value": "someGenerics4", "value": "someGenerics4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1404,
"end": 1423,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -2905,8 +2993,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2933,6 +3021,14 @@
"value": "someGenerics4", "value": "someGenerics4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1439,
"end": 1459,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NullLiteral", "type": "NullLiteral",
@ -3063,8 +3159,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -3359,6 +3455,14 @@
"value": "someGenerics5", "value": "someGenerics5",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1702,
"end": 1726,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -3503,8 +3607,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -3531,6 +3635,14 @@
"value": "someGenerics5", "value": "someGenerics5",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1742,
"end": 1763,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -3681,8 +3793,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -3709,6 +3821,14 @@
"value": "someGenerics5", "value": "someGenerics5",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1779,
"end": 1795,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NullLiteral", "type": "NullLiteral",
@ -3839,8 +3959,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4283,6 +4403,14 @@
"value": "someGenerics6", "value": "someGenerics6",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2026,
"end": 2059,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -4539,8 +4667,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4567,6 +4695,14 @@
"value": "someGenerics6", "value": "someGenerics6",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2075,
"end": 2108,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -4823,8 +4959,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4851,6 +4987,14 @@
"value": "someGenerics6", "value": "someGenerics6",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2124,
"end": 2189,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -5155,8 +5299,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5639,6 +5783,14 @@
"value": "someGenerics7", "value": "someGenerics7",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2427,
"end": 2462,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -5895,8 +6047,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5923,6 +6075,14 @@
"value": "someGenerics7", "value": "someGenerics7",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2478,
"end": 2513,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -6179,8 +6339,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -6207,6 +6367,14 @@
"value": "someGenerics7", "value": "someGenerics7",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2529,
"end": 2590,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -6511,8 +6679,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -6761,6 +6929,14 @@
"value": "someGenerics8", "value": "someGenerics8",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2746,
"end": 2766,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "Identifier", "type": "Identifier",
@ -6848,8 +7024,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -6879,6 +7055,14 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2770,
"end": 2793,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NullLiteral", "type": "NullLiteral",
@ -7054,8 +7238,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -7394,6 +7578,14 @@
"value": "someGenerics9", "value": "someGenerics9",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 3014,
"end": 3036,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -7577,8 +7769,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -7914,6 +8106,14 @@
"value": "someGenerics9", "value": "someGenerics9",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 3278,
"end": 3342,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "Identifier", "type": "Identifier",
@ -8199,8 +8399,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -8300,6 +8500,14 @@
"value": "someGenerics9", "value": "someGenerics9",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 3486,
"end": 3525,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ObjectExpression", "type": "ObjectExpression",
@ -8547,8 +8755,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -8739,6 +8947,14 @@
"value": "someGenerics9", "value": "someGenerics9",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 3684,
"end": 3709,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -8918,8 +9134,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -9019,6 +9235,14 @@
"value": "someGenerics9", "value": "someGenerics9",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 3856,
"end": 3888,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrayExpression", "type": "ArrayExpression",
@ -9197,8 +9421,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }

View File

@ -140,6 +140,14 @@
"value": "noParams", "value": "noParams",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 90,
"end": 92,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -179,8 +187,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -317,6 +325,14 @@
"value": "noGenericParams", "value": "noGenericParams",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 232,
"end": 234,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -356,8 +372,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -550,6 +566,14 @@
"value": "someGenerics1a", "value": "someGenerics1a",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 395,
"end": 401,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -636,8 +660,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -840,6 +864,14 @@
"value": "someGenerics1b", "value": "someGenerics1b",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 484,
"end": 490,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -926,8 +958,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1156,6 +1188,14 @@
"value": "someGenerics2a", "value": "someGenerics2a",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 674,
"end": 695,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1284,8 +1324,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1571,6 +1611,14 @@
"value": "someGenerics2b", "value": "someGenerics2b",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 800,
"end": 834,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1726,8 +1774,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1928,6 +1976,14 @@
"value": "someGenerics3", "value": "someGenerics3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1061,
"end": 1074,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2032,8 +2088,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2060,6 +2116,14 @@
"value": "someGenerics3", "value": "someGenerics3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1090,
"end": 1110,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2160,8 +2224,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2188,6 +2252,14 @@
"value": "someGenerics3", "value": "someGenerics3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1126,
"end": 1138,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2287,8 +2359,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2583,6 +2655,14 @@
"value": "someGenerics4", "value": "someGenerics4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1381,
"end": 1402,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -2727,8 +2807,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2755,6 +2835,14 @@
"value": "someGenerics4", "value": "someGenerics4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1418,
"end": 1437,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -2905,8 +2993,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2933,6 +3021,14 @@
"value": "someGenerics4", "value": "someGenerics4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1453,
"end": 1473,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NullLiteral", "type": "NullLiteral",
@ -3063,8 +3159,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -3359,6 +3455,14 @@
"value": "someGenerics5", "value": "someGenerics5",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1716,
"end": 1740,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -3503,8 +3607,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -3531,6 +3635,14 @@
"value": "someGenerics5", "value": "someGenerics5",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1756,
"end": 1777,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -3681,8 +3793,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -3709,6 +3821,14 @@
"value": "someGenerics5", "value": "someGenerics5",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1793,
"end": 1809,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NullLiteral", "type": "NullLiteral",
@ -3839,8 +3959,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4283,6 +4403,14 @@
"value": "someGenerics6", "value": "someGenerics6",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2040,
"end": 2073,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -4539,8 +4667,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4567,6 +4695,14 @@
"value": "someGenerics6", "value": "someGenerics6",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2089,
"end": 2122,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -4823,8 +4959,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4851,6 +4987,14 @@
"value": "someGenerics6", "value": "someGenerics6",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2138,
"end": 2203,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -5155,8 +5299,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5639,6 +5783,14 @@
"value": "someGenerics7", "value": "someGenerics7",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2441,
"end": 2476,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -5895,8 +6047,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5923,6 +6075,14 @@
"value": "someGenerics7", "value": "someGenerics7",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2492,
"end": 2527,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -6179,8 +6339,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -6207,6 +6367,14 @@
"value": "someGenerics7", "value": "someGenerics7",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2543,
"end": 2604,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -6511,8 +6679,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -6761,6 +6929,14 @@
"value": "someGenerics8", "value": "someGenerics8",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2760,
"end": 2780,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "Identifier", "type": "Identifier",
@ -6848,8 +7024,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -6879,6 +7055,14 @@
"value": "x", "value": "x",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2784,
"end": 2807,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NullLiteral", "type": "NullLiteral",
@ -7054,8 +7238,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -7394,6 +7578,14 @@
"value": "someGenerics9", "value": "someGenerics9",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 3028,
"end": 3050,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -7577,8 +7769,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -7914,6 +8106,14 @@
"value": "someGenerics9", "value": "someGenerics9",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 3292,
"end": 3356,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "Identifier", "type": "Identifier",
@ -8199,8 +8399,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -8300,6 +8500,14 @@
"value": "someGenerics9", "value": "someGenerics9",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 3500,
"end": 3539,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ObjectExpression", "type": "ObjectExpression",
@ -8547,8 +8755,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -8739,6 +8947,14 @@
"value": "someGenerics9", "value": "someGenerics9",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 3698,
"end": 3723,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -8918,8 +9134,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -9019,6 +9235,14 @@
"value": "someGenerics9", "value": "someGenerics9",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 3870,
"end": 3902,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrayExpression", "type": "ArrayExpression",
@ -9197,8 +9421,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }

View File

@ -530,6 +530,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 184,
"end": 189,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -569,8 +577,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -597,6 +605,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 193,
"end": 212,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -729,8 +745,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -764,6 +780,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 217,
"end": 222,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -803,8 +827,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -850,6 +874,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 233,
"end": 252,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -982,8 +1014,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -1029,6 +1061,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 264,
"end": 269,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1068,8 +1108,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1119,6 +1159,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 284,
"end": 303,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1251,8 +1299,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1316,6 +1364,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 318,
"end": 323,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1355,8 +1411,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1381,6 +1437,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 334,
"end": 353,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1513,8 +1577,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1562,6 +1626,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 358,
"end": 377,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1694,8 +1766,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1725,6 +1797,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 395,
"end": 414,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1857,8 +1937,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1906,6 +1986,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 419,
"end": 448,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "BooleanLiteral", "type": "BooleanLiteral",
@ -2038,8 +2126,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -2069,6 +2157,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 466,
"end": 489,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -2201,8 +2297,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {

View File

@ -530,6 +530,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 200,
"end": 205,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -569,8 +577,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -597,6 +605,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 209,
"end": 228,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -729,8 +745,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -764,6 +780,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 233,
"end": 238,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -803,8 +827,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -850,6 +874,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 249,
"end": 268,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -982,8 +1014,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -1029,6 +1061,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 280,
"end": 285,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1068,8 +1108,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1119,6 +1159,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 300,
"end": 319,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1251,8 +1299,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1316,6 +1364,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 334,
"end": 339,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1355,8 +1411,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1381,6 +1437,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 350,
"end": 369,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1513,8 +1577,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1562,6 +1626,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 374,
"end": 393,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1694,8 +1766,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1725,6 +1797,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 411,
"end": 430,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1857,8 +1937,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1906,6 +1986,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 435,
"end": 464,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "BooleanLiteral", "type": "BooleanLiteral",
@ -2038,8 +2126,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -2069,6 +2157,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 482,
"end": 505,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -2201,8 +2297,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {

View File

@ -482,6 +482,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 241,
"end": 255,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -568,8 +576,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",

View File

@ -482,6 +482,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 257,
"end": 271,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -568,8 +576,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",

View File

@ -1230,6 +1230,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 582,
"end": 584,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1269,8 +1277,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1321,6 +1329,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 621,
"end": 627,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1407,8 +1423,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1459,6 +1475,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 660,
"end": 670,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1591,8 +1615,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1643,6 +1667,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 700,
"end": 713,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1775,8 +1807,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1827,6 +1859,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 753,
"end": 765,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1964,8 +2004,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -2016,6 +2056,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 788,
"end": 802,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -2194,8 +2242,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }

View File

@ -1230,6 +1230,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 597,
"end": 599,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1269,8 +1277,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1321,6 +1329,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 636,
"end": 642,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1407,8 +1423,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1459,6 +1475,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 675,
"end": 685,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1591,8 +1615,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1643,6 +1667,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 715,
"end": 728,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1775,8 +1807,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1827,6 +1859,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 768,
"end": 780,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1964,8 +2004,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -2016,6 +2056,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 803,
"end": 817,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -2194,8 +2242,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }

View File

@ -427,6 +427,14 @@
"value": "foo1", "value": "foo1",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 189,
"end": 195,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -513,8 +521,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1018,6 +1026,14 @@
"value": "foo2", "value": "foo2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 407,
"end": 413,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1104,8 +1120,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }

View File

@ -427,6 +427,14 @@
"value": "foo1", "value": "foo1",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 203,
"end": 209,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -513,8 +521,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1018,6 +1026,14 @@
"value": "foo2", "value": "foo2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 421,
"end": 427,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1104,8 +1120,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }

View File

@ -368,6 +368,14 @@
"value": "fn1", "value": "fn1",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 240,
"end": 256,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "Identifier", "type": "Identifier",
@ -455,8 +463,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -486,6 +494,14 @@
"value": "fn1", "value": "fn1",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 295,
"end": 304,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ObjectExpression", "type": "ObjectExpression",
@ -572,8 +588,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1071,6 +1087,14 @@
"value": "fn2", "value": "fn2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 510,
"end": 532,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1204,8 +1228,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1256,6 +1280,14 @@
"value": "fn2", "value": "fn2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 575,
"end": 597,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1389,8 +1421,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1495,6 +1527,14 @@
"value": "fn2", "value": "fn2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 749,
"end": 764,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1632,8 +1672,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1660,6 +1700,14 @@
"value": "fn2", "value": "fn2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 862,
"end": 877,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -1797,8 +1845,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2633,6 +2681,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1183,
"end": 1191,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -2719,8 +2775,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -2771,6 +2827,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1205,
"end": 1226,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -2959,8 +3023,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -3011,6 +3075,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1240,
"end": 1260,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -3189,8 +3261,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -3290,6 +3362,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1399,
"end": 1407,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -3376,8 +3456,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -3428,6 +3508,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1420,
"end": 1443,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -3621,8 +3709,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -3673,6 +3761,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1457,
"end": 1479,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -3861,8 +3957,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -3892,6 +3988,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1588,
"end": 1590,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -3931,8 +4035,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4526,6 +4630,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1970,
"end": 1986,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -4663,8 +4775,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4691,6 +4803,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1992,
"end": 2008,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -4828,8 +4948,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4856,6 +4976,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2014,
"end": 2037,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -4989,8 +5117,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5017,6 +5145,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2043,
"end": 2061,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -5153,8 +5289,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5181,6 +5317,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2169,
"end": 2189,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NullLiteral", "type": "NullLiteral",
@ -5311,8 +5455,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5339,6 +5483,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2324,
"end": 2344,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "BooleanLiteral", "type": "BooleanLiteral",
@ -5470,8 +5622,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5498,6 +5650,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2350,
"end": 2370,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NullLiteral", "type": "NullLiteral",
@ -5629,8 +5789,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -6052,6 +6212,14 @@
"value": "fn5", "value": "fn5",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2646,
"end": 2671,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -6193,8 +6361,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -6221,6 +6389,14 @@
"value": "fn5", "value": "fn5",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2723,
"end": 2748,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -6375,8 +6551,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -368,6 +368,14 @@
"value": "fn1", "value": "fn1",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 254,
"end": 270,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "Identifier", "type": "Identifier",
@ -455,8 +463,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -486,6 +494,14 @@
"value": "fn1", "value": "fn1",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 309,
"end": 318,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ObjectExpression", "type": "ObjectExpression",
@ -572,8 +588,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1071,6 +1087,14 @@
"value": "fn2", "value": "fn2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 524,
"end": 546,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1204,8 +1228,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1256,6 +1280,14 @@
"value": "fn2", "value": "fn2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 583,
"end": 605,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1389,8 +1421,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1495,6 +1527,14 @@
"value": "fn2", "value": "fn2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 757,
"end": 772,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1632,8 +1672,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1660,6 +1700,14 @@
"value": "fn2", "value": "fn2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 870,
"end": 885,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -1797,8 +1845,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2633,6 +2681,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1191,
"end": 1199,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -2719,8 +2775,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -2771,6 +2827,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1213,
"end": 1234,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -2959,8 +3023,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -3011,6 +3075,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1248,
"end": 1268,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -3189,8 +3261,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -3290,6 +3362,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1407,
"end": 1415,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -3376,8 +3456,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -3428,6 +3508,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1428,
"end": 1451,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -3621,8 +3709,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -3673,6 +3761,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1465,
"end": 1487,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -3861,8 +3957,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -3892,6 +3988,14 @@
"value": "fn3", "value": "fn3",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1596,
"end": 1598,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -3931,8 +4035,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4526,6 +4630,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 1978,
"end": 1994,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -4663,8 +4775,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4691,6 +4803,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2000,
"end": 2016,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -4828,8 +4948,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -4856,6 +4976,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2022,
"end": 2045,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -4989,8 +5117,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5017,6 +5145,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2051,
"end": 2069,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -5153,8 +5289,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5181,6 +5317,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2177,
"end": 2197,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NullLiteral", "type": "NullLiteral",
@ -5311,8 +5455,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5339,6 +5483,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2332,
"end": 2352,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "BooleanLiteral", "type": "BooleanLiteral",
@ -5470,8 +5622,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -5498,6 +5650,14 @@
"value": "fn4", "value": "fn4",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2358,
"end": 2378,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NullLiteral", "type": "NullLiteral",
@ -5629,8 +5789,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -6052,6 +6212,14 @@
"value": "fn5", "value": "fn5",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2654,
"end": 2679,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -6193,8 +6361,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -6221,6 +6389,14 @@
"value": "fn5", "value": "fn5",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 2731,
"end": 2756,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -6375,8 +6551,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -159,6 +159,14 @@
"value": "declare", "value": "declare",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 54,
"end": 73,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -245,8 +253,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -159,6 +159,14 @@
"value": "declare", "value": "declare",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 68,
"end": 87,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -245,8 +253,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -79,6 +79,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 15,
"end": 20,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -118,8 +126,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -146,6 +154,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 24,
"end": 43,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -278,8 +294,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -344,6 +360,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 52,
"end": 57,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -383,8 +407,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -449,6 +473,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 65,
"end": 84,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -581,8 +613,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -616,6 +648,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 89,
"end": 94,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -655,8 +695,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -702,6 +742,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 105,
"end": 124,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -834,8 +882,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -881,6 +929,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 136,
"end": 141,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -920,8 +976,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -971,6 +1027,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 156,
"end": 175,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1103,8 +1167,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1168,6 +1232,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 190,
"end": 195,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1207,8 +1279,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1238,6 +1310,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 219,
"end": 238,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1370,8 +1450,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1419,6 +1499,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 243,
"end": 262,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1551,8 +1639,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1582,6 +1670,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 286,
"end": 305,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1714,8 +1810,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {

View File

@ -79,6 +79,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 30,
"end": 35,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -118,8 +126,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -146,6 +154,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 39,
"end": 58,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -278,8 +294,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -344,6 +360,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 67,
"end": 72,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -383,8 +407,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -449,6 +473,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 80,
"end": 99,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -581,8 +613,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -616,6 +648,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 104,
"end": 109,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -655,8 +695,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -702,6 +742,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 120,
"end": 139,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -834,8 +882,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -881,6 +929,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 151,
"end": 156,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -920,8 +976,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -971,6 +1027,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 171,
"end": 190,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1103,8 +1167,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1168,6 +1232,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 205,
"end": 210,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1207,8 +1279,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1238,6 +1310,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 234,
"end": 253,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1370,8 +1450,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1419,6 +1499,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 258,
"end": 277,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1551,8 +1639,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1582,6 +1670,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 301,
"end": 320,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1714,8 +1810,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {

View File

@ -123,6 +123,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 40,
"end": 81,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "FunctionExpression", "type": "FunctionExpression",
@ -304,8 +312,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -123,6 +123,14 @@
"value": "foo", "value": "foo",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 54,
"end": 95,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "FunctionExpression", "type": "FunctionExpression",
@ -304,8 +312,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -530,6 +530,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 183,
"end": 188,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -569,8 +577,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -597,6 +605,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 192,
"end": 211,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -729,8 +745,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -764,6 +780,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 216,
"end": 221,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -803,8 +827,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -850,6 +874,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 232,
"end": 251,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -982,8 +1014,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -1029,6 +1061,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 263,
"end": 268,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1068,8 +1108,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1119,6 +1159,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 283,
"end": 302,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1251,8 +1299,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1316,6 +1364,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 317,
"end": 322,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1355,8 +1411,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1381,6 +1437,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 333,
"end": 352,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1513,8 +1577,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1562,6 +1626,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 357,
"end": 376,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1694,8 +1766,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1725,6 +1797,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 394,
"end": 413,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1857,8 +1937,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {

View File

@ -530,6 +530,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 199,
"end": 204,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -569,8 +577,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -597,6 +605,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 208,
"end": 227,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -729,8 +745,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -764,6 +780,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 232,
"end": 237,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -803,8 +827,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -850,6 +874,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 248,
"end": 267,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -982,8 +1014,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
@ -1029,6 +1061,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 279,
"end": 284,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1068,8 +1108,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1119,6 +1159,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 299,
"end": 318,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1251,8 +1299,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1316,6 +1364,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 333,
"end": 338,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1355,8 +1411,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1381,6 +1437,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 349,
"end": 368,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1513,8 +1577,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1562,6 +1626,14 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 373,
"end": 392,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1694,8 +1766,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"property": { "property": {
"type": "StringLiteral", "type": "StringLiteral",
@ -1725,6 +1797,14 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 410,
"end": 429,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1857,8 +1937,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {

View File

@ -89,6 +89,14 @@
"value": "tag", "value": "tag",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 23,
"end": 37,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -128,8 +136,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -56,6 +56,14 @@
"value": "CtorTag", "value": "CtorTag",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 27,
"end": 41,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -95,8 +103,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -224,6 +224,14 @@
"value": "tag", "value": "tag",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 86,
"end": 100,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -263,8 +271,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -464,6 +464,42 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 199,
"end": 206,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 200,
"end": 205,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 200,
"end": 205,
"ctxt": 0
},
"value": "Stuff",
"optional": false
},
"typeParams": null
}
]
},
"template": {
"type": "TemplateLiteral",
"span": {
"start": 207,
"end": 312,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -777,34 +813,6 @@
} }
} }
} }
],
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 199,
"end": 206,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 200,
"end": 205,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 200,
"end": 205,
"ctxt": 0
},
"value": "Stuff",
"optional": false
},
"typeParams": null
}
] ]
} }
}, },
@ -1407,6 +1415,69 @@
"value": "g", "value": "g",
"optional": false "optional": false
}, },
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 478,
"end": 510,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 479,
"end": 484,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 479,
"end": 484,
"ctxt": 0
},
"value": "Stuff",
"optional": false
},
"typeParams": null
},
{
"type": "TsKeywordType",
"span": {
"start": 486,
"end": 492,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 494,
"end": 500,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 502,
"end": 509,
"ctxt": 0
},
"kind": "boolean"
}
]
},
"template": {
"type": "TemplateLiteral",
"span": {
"start": 511,
"end": 616,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1720,61 +1791,6 @@
} }
} }
} }
],
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 478,
"end": 510,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 479,
"end": 484,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 479,
"end": 484,
"ctxt": 0
},
"value": "Stuff",
"optional": false
},
"typeParams": null
},
{
"type": "TsKeywordType",
"span": {
"start": 486,
"end": 492,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 494,
"end": 500,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 502,
"end": 509,
"ctxt": 0
},
"kind": "boolean"
}
] ]
} }
}, },
@ -2179,6 +2195,42 @@
}, },
"computed": true "computed": true
}, },
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 767,
"end": 774,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 768,
"end": 773,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 768,
"end": 773,
"ctxt": 0
},
"value": "Stuff",
"optional": false
},
"typeParams": null
}
]
},
"template": {
"type": "TemplateLiteral",
"span": {
"start": 775,
"end": 805,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2317,34 +2369,6 @@
} }
} }
} }
],
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 767,
"end": 774,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 768,
"end": 773,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 768,
"end": 773,
"ctxt": 0
},
"value": "Stuff",
"optional": false
},
"typeParams": null
}
] ]
} }
}, },
@ -2583,6 +2607,42 @@
}, },
"computed": false "computed": false
}, },
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 882,
"end": 889,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 883,
"end": 888,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 883,
"end": 888,
"ctxt": 0
},
"value": "Stuff",
"optional": false
},
"typeParams": null
}
]
},
"template": {
"type": "TemplateLiteral",
"span": {
"start": 890,
"end": 920,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2721,34 +2781,6 @@
} }
} }
} }
],
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 882,
"end": 889,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 883,
"end": 888,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 883,
"end": 888,
"ctxt": 0
},
"value": "Stuff",
"optional": false
},
"typeParams": null
}
] ]
} }
} }

View File

@ -240,6 +240,14 @@
} }
] ]
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 41,
"end": 75,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -331,8 +339,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -240,6 +240,14 @@
} }
] ]
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 57,
"end": 91,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "StringLiteral", "type": "StringLiteral",
@ -331,8 +339,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -1048,6 +1048,14 @@
"value": "tag", "value": "tag",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 283,
"end": 303,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "NumericLiteral", "type": "NumericLiteral",
@ -1134,8 +1142,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
@ -1203,6 +1211,14 @@
"value": "tag", "value": "tag",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 327,
"end": 334,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -1242,8 +1258,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",

View File

@ -182,6 +182,14 @@
"value": "as", "value": "as",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 79,
"end": 92,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -221,8 +229,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {

View File

@ -1032,6 +1032,14 @@
"value": "tempFun", "value": "tempFun",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 440,
"end": 462,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1190,8 +1198,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1242,6 +1250,14 @@
"value": "tempFun", "value": "tempFun",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 479,
"end": 503,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
@ -1408,8 +1424,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1460,6 +1476,14 @@
"value": "tempFun", "value": "tempFun",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 520,
"end": 545,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
@ -1634,8 +1658,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1686,6 +1710,14 @@
"value": "tempFun", "value": "tempFun",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 562,
"end": 595,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1916,8 +1948,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -1968,6 +2000,14 @@
"value": "tempFun", "value": "tempFun",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 612,
"end": 647,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2206,8 +2246,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -2258,6 +2298,14 @@
"value": "tempFun", "value": "tempFun",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 664,
"end": 701,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2504,8 +2552,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -2556,6 +2604,14 @@
"value": "tempFun", "value": "tempFun",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 718,
"end": 759,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
@ -2818,8 +2874,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }
@ -2870,6 +2926,14 @@
"value": "tempFun", "value": "tempFun",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 776,
"end": 824,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
@ -3133,8 +3197,8 @@
} }
} }
} }
], ]
"typeParameters": null }
}, },
"definite": false "definite": false
} }

View File

@ -862,6 +862,14 @@
"value": "tempTag1", "value": "tempTag1",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 552,
"end": 624,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1098,8 +1106,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1126,6 +1134,14 @@
"value": "tempTag1", "value": "tempTag1",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 635,
"end": 769,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1512,8 +1528,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1540,6 +1556,14 @@
"value": "tempTag1", "value": "tempTag1",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 780,
"end": 921,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2038,8 +2062,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -2066,6 +2090,14 @@
"value": "tempTag1", "value": "tempTag1",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 932,
"end": 1073,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -2564,8 +2596,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -924,6 +924,14 @@
"value": "tempTag2", "value": "tempTag2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 622,
"end": 683,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1160,8 +1168,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1188,6 +1196,14 @@
"value": "tempTag2", "value": "tempTag2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 694,
"end": 809,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1595,8 +1611,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
}, },
{ {
@ -1623,6 +1639,14 @@
"value": "tempTag2", "value": "tempTag2",
"optional": false "optional": false
}, },
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 820,
"end": 901,
"ctxt": 0
},
"expressions": [ "expressions": [
{ {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
@ -1920,8 +1944,8 @@
} }
} }
} }
], ]
"typeParameters": null }
} }
} }
], ],

View File

@ -37,6 +37,42 @@
"value": "C", "value": "C",
"optional": false "optional": false
}, },
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 5,
"end": 8,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 6,
"end": 7,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6,
"end": 7,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
]
},
"template": {
"type": "TemplateLiteral",
"span": {
"start": 9,
"end": 11,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -76,34 +112,6 @@
} }
} }
} }
],
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 5,
"end": 8,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 6,
"end": 7,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 6,
"end": 7,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
] ]
} }
}, },

View File

@ -30,6 +30,42 @@
"value": "f", "value": "f",
"optional": false "optional": false
}, },
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 1,
"end": 4,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2,
"end": 3,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2,
"end": 3,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
]
},
"template": {
"type": "TemplateLiteral",
"span": {
"start": 4,
"end": 6,
"ctxt": 0
},
"expressions": [], "expressions": [],
"quasis": [ "quasis": [
{ {
@ -69,34 +105,6 @@
} }
} }
} }
],
"typeParameters": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 1,
"end": 4,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 2,
"end": 3,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2,
"end": 3,
"ctxt": 0
},
"value": "T",
"optional": false
},
"typeParams": null
}
] ]
} }
} }

View File

@ -5,7 +5,7 @@ documentation = "https://swc.rs/rustdoc/swc_ecma_preset_env/"
edition = "2018" edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_preset_env" name = "swc_ecma_preset_env"
version = "0.11.0" version = "0.12.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -20,14 +20,14 @@ st-map = "0.1.2"
string_enum = {version = "0.3.1", path = "../../macros/string_enum"} string_enum = {version = "0.3.1", path = "../../macros/string_enum"}
swc_atoms = {version = "0.2", path = "../../atoms"} swc_atoms = {version = "0.2", path = "../../atoms"}
swc_common = {version = "0.10.10", path = "../../common"} swc_common = {version = "0.10.10", path = "../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../ast"} swc_ecma_ast = {version = "0.41.0", path = "../ast"}
swc_ecma_transforms = {version = "0.41.0", path = "../transforms", features = ["compat", "proposal"]} swc_ecma_transforms = {version = "0.42.0", path = "../transforms", features = ["compat", "proposal"]}
swc_ecma_utils = {version = "0.31.0", path = "../utils"} swc_ecma_utils = {version = "0.32.0", path = "../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../visit"} swc_ecma_visit = {version = "0.27.0", path = "../visit"}
walkdir = "2" walkdir = "2"
[dev-dependencies] [dev-dependencies]
pretty_assertions = "0.6" pretty_assertions = "0.6"
swc_ecma_codegen = {version = "0.48.0", path = "../codegen"} swc_ecma_codegen = {version = "0.49.0", path = "../codegen"}
swc_ecma_parser = {version = "0.50.0", path = "../parser"} swc_ecma_parser = {version = "0.51.0", path = "../parser"}
testing = {version = "0.10.3", path = "../../testing"} testing = {version = "0.10.3", path = "../../testing"}

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_transforms" name = "swc_ecma_transforms"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.41.0" version = "0.42.0"
[package.metadata.docs.rs] [package.metadata.docs.rs]
all-features = true all-features = true
@ -23,24 +23,24 @@ typescript = ["swc_ecma_transforms_typescript"]
[dependencies] [dependencies]
swc_atoms = {version = "0.2.0", path = "../../atoms"} swc_atoms = {version = "0.2.0", path = "../../atoms"}
swc_common = {version = "0.10.10", path = "../../common"} swc_common = {version = "0.10.10", path = "../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../ast"} swc_ecma_ast = {version = "0.41.0", path = "../ast"}
swc_ecma_parser = {version = "0.50.0", path = "../parser"} swc_ecma_parser = {version = "0.51.0", path = "../parser"}
swc_ecma_transforms_base = {version = "0.8.0", path = "./base"} swc_ecma_transforms_base = {version = "0.9.0", path = "./base"}
swc_ecma_transforms_compat = {version = "0.9.0", path = "./compat", optional = true} swc_ecma_transforms_compat = {version = "0.10.0", path = "./compat", optional = true}
swc_ecma_transforms_module = {version = "0.9.0", path = "./module", optional = true} swc_ecma_transforms_module = {version = "0.10.0", path = "./module", optional = true}
swc_ecma_transforms_optimization = {version = "0.11.0", path = "./optimization", optional = true} swc_ecma_transforms_optimization = {version = "0.12.0", path = "./optimization", optional = true}
swc_ecma_transforms_proposal = {version = "0.9.0", path = "./proposal", optional = true} swc_ecma_transforms_proposal = {version = "0.10.0", path = "./proposal", optional = true}
swc_ecma_transforms_react = {version = "0.10.0", path = "./react", optional = true} swc_ecma_transforms_react = {version = "0.11.0", path = "./react", optional = true}
swc_ecma_transforms_typescript = {version = "0.10.0", path = "./typescript", optional = true} swc_ecma_transforms_typescript = {version = "0.11.0", path = "./typescript", optional = true}
swc_ecma_utils = {version = "0.31.0", path = "../utils"} swc_ecma_utils = {version = "0.32.0", path = "../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../visit"} swc_ecma_visit = {version = "0.27.0", path = "../visit"}
unicode-xid = "0.2" unicode-xid = "0.2"
[dev-dependencies] [dev-dependencies]
pretty_assertions = "0.6" pretty_assertions = "0.6"
sourcemap = "6" sourcemap = "6"
swc_ecma_codegen = {version = "0.48.0", path = "../codegen"} swc_ecma_codegen = {version = "0.49.0", path = "../codegen"}
swc_ecma_transforms_testing = {version = "0.8.0", path = "./testing"} swc_ecma_transforms_testing = {version = "0.9.0", path = "./testing"}
tempfile = "3" tempfile = "3"
testing = {version = "0.10.3", path = "../../testing"} testing = {version = "0.10.3", path = "../../testing"}
walkdir = "2" walkdir = "2"

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_base" name = "swc_ecma_transforms_base"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.8.1" version = "0.9.0"
[dependencies] [dependencies]
fxhash = "0.2.1" fxhash = "0.2.1"
@ -16,11 +16,11 @@ scoped-tls = "1.0.0"
smallvec = "1.6.0" smallvec = "1.6.0"
swc_atoms = {version = "0.2", path = "../../../atoms"} swc_atoms = {version = "0.2", path = "../../../atoms"}
swc_common = {version = "0.10.10", path = "../../../common"} swc_common = {version = "0.10.10", path = "../../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../../ast"} swc_ecma_ast = {version = "0.41.0", path = "../../ast"}
swc_ecma_parser = {version = "0.50.0", path = "../../parser"} swc_ecma_parser = {version = "0.51.0", path = "../../parser"}
swc_ecma_utils = {version = "0.31.0", path = "../../utils"} swc_ecma_utils = {version = "0.32.0", path = "../../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../../visit"} swc_ecma_visit = {version = "0.27.0", path = "../../visit"}
[dev-dependencies] [dev-dependencies]
swc_ecma_codegen = {version = "0.48.0", path = "../../codegen"} swc_ecma_codegen = {version = "0.49.0", path = "../../codegen"}
testing = {version = "0.10.3", path = "../../../testing"} testing = {version = "0.10.3", path = "../../../testing"}

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_compat" name = "swc_ecma_transforms_compat"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.9.0" version = "0.10.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
@ -20,13 +20,13 @@ serde = {version = "1.0.118", features = ["derive"]}
smallvec = "1.6.0" smallvec = "1.6.0"
swc_atoms = {version = "0.2.5", path = "../../../atoms"} swc_atoms = {version = "0.2.5", path = "../../../atoms"}
swc_common = {version = "0.10.10", path = "../../../common"} swc_common = {version = "0.10.10", path = "../../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../../ast"} swc_ecma_ast = {version = "0.41.0", path = "../../ast"}
swc_ecma_transforms_base = {version = "0.8.0", path = "../base"} swc_ecma_transforms_base = {version = "0.9.0", path = "../base"}
swc_ecma_transforms_macros = {version = "0.2.1", path = "../macros"} swc_ecma_transforms_macros = {version = "0.2.1", path = "../macros"}
swc_ecma_utils = {version = "0.31.0", path = "../../utils"} swc_ecma_utils = {version = "0.32.0", path = "../../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../../visit"} swc_ecma_visit = {version = "0.27.0", path = "../../visit"}
[dev-dependencies] [dev-dependencies]
swc_ecma_parser = {version = "0.50.0", path = "../../parser"} swc_ecma_parser = {version = "0.51.0", path = "../../parser"}
swc_ecma_transforms_testing = {version = "0.8.0", path = "../testing"} swc_ecma_transforms_testing = {version = "0.9.0", path = "../testing"}
testing = {version = "0.10.3", path = "../../../testing"} testing = {version = "0.10.3", path = "../../../testing"}

View File

@ -90,8 +90,10 @@ impl Fold for TemplateLiteralCaching {
let template = TaggedTpl { let template = TaggedTpl {
span: DUMMY_SP, span: DUMMY_SP,
tag: Box::new(Expr::Ident(helper_ident.clone())), tag: Box::new(Expr::Ident(helper_ident.clone())),
quasis: n.quasis, tpl: Tpl {
exprs: (&n.exprs) span: DUMMY_SP,
quasis: n.tpl.quasis,
exprs: (&n.tpl.exprs)
.into_iter() .into_iter()
.map(|_| { .map(|_| {
Box::new(Expr::Lit(Lit::Num(Number { Box::new(Expr::Lit(Lit::Num(Number {
@ -100,6 +102,7 @@ impl Fold for TemplateLiteralCaching {
}))) })))
}) })
.collect(), .collect(),
},
type_params: None, type_params: None,
}; };
@ -132,7 +135,8 @@ impl Fold for TemplateLiteralCaching {
}] }]
.into_iter() .into_iter()
.chain( .chain(
n.exprs n.tpl
.exprs
.into_iter() .into_iter()
.map(|expr| ExprOrSpread { expr, spread: None }), .map(|expr| ExprOrSpread { expr, spread: None }),
) )

View File

@ -189,7 +189,9 @@ impl Fold for TemplateLiteral {
} }
Expr::TaggedTpl(TaggedTpl { Expr::TaggedTpl(TaggedTpl {
tag, exprs, quasis, .. tag,
tpl: Tpl { exprs, quasis, .. },
..
}) => { }) => {
assert_eq!(quasis.len(), exprs.len() + 1); assert_eq!(quasis.len(), exprs.len() + 1);

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_module" name = "swc_ecma_transforms_module"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.9.0" version = "0.10.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
@ -16,13 +16,13 @@ indexmap = "1.6.1"
serde = {version = "1.0.118", features = ["derive"]} serde = {version = "1.0.118", features = ["derive"]}
swc_atoms = {version = "0.2", path = "../../../atoms"} swc_atoms = {version = "0.2", path = "../../../atoms"}
swc_common = {version = "0.10.10", path = "../../../common"} swc_common = {version = "0.10.10", path = "../../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../../ast"} swc_ecma_ast = {version = "0.41.0", path = "../../ast"}
swc_ecma_parser = {version = "0.50.0", path = "../../parser"} swc_ecma_parser = {version = "0.51.0", path = "../../parser"}
swc_ecma_transforms_base = {version = "0.8.0", path = "../base"} swc_ecma_transforms_base = {version = "0.9.0", path = "../base"}
swc_ecma_utils = {version = "0.31.0", path = "../../utils"} swc_ecma_utils = {version = "0.32.0", path = "../../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../../visit"} swc_ecma_visit = {version = "0.27.0", path = "../../visit"}
[dev-dependencies] [dev-dependencies]
swc_ecma_transforms_compat = {version = "0.9.0", path = "../compat"} swc_ecma_transforms_compat = {version = "0.10.0", path = "../compat"}
swc_ecma_transforms_testing = {version = "0.8.0", path = "../testing/"} swc_ecma_transforms_testing = {version = "0.9.0", path = "../testing/"}
testing = {version = "0.10.3", path = "../../../testing/"} testing = {version = "0.10.3", path = "../../../testing/"}

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_optimization" name = "swc_ecma_transforms_optimization"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.11.0" version = "0.12.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
@ -19,17 +19,17 @@ retain_mut = "0.1.2"
serde_json = "1.0.61" serde_json = "1.0.61"
swc_atoms = {version = "0.2", path = "../../../atoms"} swc_atoms = {version = "0.2", path = "../../../atoms"}
swc_common = {version = "0.10.10", path = "../../../common"} swc_common = {version = "0.10.10", path = "../../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../../ast"} swc_ecma_ast = {version = "0.41.0", path = "../../ast"}
swc_ecma_parser = {version = "0.50.0", path = "../../parser"} swc_ecma_parser = {version = "0.51.0", path = "../../parser"}
swc_ecma_transforms_base = {version = "0.8.0", path = "../base"} swc_ecma_transforms_base = {version = "0.9.0", path = "../base"}
swc_ecma_utils = {version = "0.31.0", path = "../../utils"} swc_ecma_utils = {version = "0.32.0", path = "../../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../../visit"} swc_ecma_visit = {version = "0.27.0", path = "../../visit"}
[dev-dependencies] [dev-dependencies]
swc_ecma_transforms_compat = {version = "0.9.0", path = "../compat"} swc_ecma_transforms_compat = {version = "0.10.0", path = "../compat"}
swc_ecma_transforms_module = {version = "0.9.0", path = "../module"} swc_ecma_transforms_module = {version = "0.10.0", path = "../module"}
swc_ecma_transforms_proposal = {version = "0.9.0", path = "../proposal"} swc_ecma_transforms_proposal = {version = "0.10.0", path = "../proposal"}
swc_ecma_transforms_react = {version = "0.10.0", path = "../react"} swc_ecma_transforms_react = {version = "0.11.0", path = "../react"}
swc_ecma_transforms_testing = {version = "0.8.0", path = "../testing"} swc_ecma_transforms_testing = {version = "0.9.0", path = "../testing"}
swc_ecma_transforms_typescript = {version = "0.10.0", path = "../typescript"} swc_ecma_transforms_typescript = {version = "0.11.0", path = "../typescript"}
testing = {version = "0.10.0", path = "../../../testing"} testing = {version = "0.10.0", path = "../../../testing"}

View File

@ -1281,7 +1281,10 @@ fn ignore_result(e: Expr) -> Option<Expr> {
} }
Expr::TaggedTpl(TaggedTpl { Expr::TaggedTpl(TaggedTpl {
span, tag, exprs, .. span,
tag,
tpl: Tpl { exprs, .. },
..
}) if tag.is_pure_callee() => { }) if tag.is_pure_callee() => {
ignore_result(preserve_effects(span, *undefined(span), exprs)) ignore_result(preserve_effects(span, *undefined(span), exprs))
} }

View File

@ -811,7 +811,7 @@ impl VisitMut for Dce<'_> {
normal!(visit_mut_rest_pat, RestPat, arg); normal!(visit_mut_rest_pat, RestPat, arg);
normal!(visit_mut_seq_expr, SeqExpr, [], [exprs]); normal!(visit_mut_seq_expr, SeqExpr, [], [exprs]);
normal!(visit_mut_setter_prop, SetterProp, key, param, body); normal!(visit_mut_setter_prop, SetterProp, key, param, body);
normal!(visit_mut_tagged_tpl, TaggedTpl, [tag], [exprs]); normal!(visit_mut_tagged_tpl, TaggedTpl, tag, tpl);
normal!(visit_mut_tpl, Tpl, [], [exprs]); normal!(visit_mut_tpl, Tpl, [], [exprs]);
normal!(visit_mut_yield_expr, YieldExpr, arg); normal!(visit_mut_yield_expr, YieldExpr, arg);
} }

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_proposal" name = "swc_ecma_transforms_proposal"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.9.0" version = "0.10.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -21,14 +21,14 @@ serde = {version = "1.0.118", features = ["derive"]}
smallvec = "1.6.0" smallvec = "1.6.0"
swc_atoms = {version = "0.2", path = "../../../atoms"} swc_atoms = {version = "0.2", path = "../../../atoms"}
swc_common = {version = "0.10.10", path = "../../../common"} swc_common = {version = "0.10.10", path = "../../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../../ast"} swc_ecma_ast = {version = "0.41.0", path = "../../ast"}
swc_ecma_loader = {version = "0.1.0", path = "../../loader", optional = true} swc_ecma_loader = {version = "0.2.0", path = "../../loader", optional = true}
swc_ecma_parser = {version = "0.50.0", path = "../../parser"} swc_ecma_parser = {version = "0.51.0", path = "../../parser"}
swc_ecma_transforms_base = {version = "0.8.0", path = "../base"} swc_ecma_transforms_base = {version = "0.9.0", path = "../base"}
swc_ecma_utils = {version = "0.31.0", path = "../../utils"} swc_ecma_utils = {version = "0.32.0", path = "../../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../../visit"} swc_ecma_visit = {version = "0.27.0", path = "../../visit"}
[dev-dependencies] [dev-dependencies]
swc_ecma_transforms_compat = {version = "0.9.0", path = "../compat"} swc_ecma_transforms_compat = {version = "0.10.0", path = "../compat"}
swc_ecma_transforms_module = {version = "0.9.0", path = "../module"} swc_ecma_transforms_module = {version = "0.10.0", path = "../module"}
swc_ecma_transforms_testing = {version = "0.8.0", path = "../testing"} swc_ecma_transforms_testing = {version = "0.9.0", path = "../testing"}

View File

@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_react" name = "swc_ecma_transforms_react"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.10.0" version = "0.11.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
@ -18,14 +18,14 @@ serde = {version = "1.0.118", features = ["derive"]}
string_enum = {version = "0.3.1", path = "../../../macros/string_enum"} string_enum = {version = "0.3.1", path = "../../../macros/string_enum"}
swc_atoms = {version = "0.2", path = "../../../atoms"} swc_atoms = {version = "0.2", path = "../../../atoms"}
swc_common = {version = "0.10.10", path = "../../../common"} swc_common = {version = "0.10.10", path = "../../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../../ast"} swc_ecma_ast = {version = "0.41.0", path = "../../ast"}
swc_ecma_parser = {version = "0.50.0", path = "../../parser"} swc_ecma_parser = {version = "0.51.0", path = "../../parser"}
swc_ecma_transforms_base = {version = "0.8.0", path = "../base"} swc_ecma_transforms_base = {version = "0.9.0", path = "../base"}
swc_ecma_utils = {version = "0.31.0", path = "../../utils"} swc_ecma_utils = {version = "0.32.0", path = "../../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../../visit"} swc_ecma_visit = {version = "0.27.0", path = "../../visit"}
[dev-dependencies] [dev-dependencies]
swc_ecma_transforms_compat = {version = "0.9.0", path = "../compat/"} swc_ecma_transforms_compat = {version = "0.10.0", path = "../compat/"}
swc_ecma_transforms_module = {version = "0.9.0", path = "../module"} swc_ecma_transforms_module = {version = "0.10.0", path = "../module"}
swc_ecma_transforms_testing = {version = "0.8.0", path = "../testing/"} swc_ecma_transforms_testing = {version = "0.9.0", path = "../testing/"}
testing = {version = "0.10.3", path = "../../../testing"} testing = {version = "0.10.3", path = "../../../testing"}

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_testing" name = "swc_ecma_transforms_testing"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.8.0" version = "0.9.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -15,11 +15,11 @@ ansi_term = "0.12.1"
serde = "1" serde = "1"
serde_json = "1" serde_json = "1"
swc_common = {version = "0.10.10", path = "../../../common"} swc_common = {version = "0.10.10", path = "../../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../../ast"} swc_ecma_ast = {version = "0.41.0", path = "../../ast"}
swc_ecma_codegen = {version = "0.48.0", path = "../../codegen"} swc_ecma_codegen = {version = "0.49.0", path = "../../codegen"}
swc_ecma_parser = {version = "0.50.0", path = "../../parser"} swc_ecma_parser = {version = "0.51.0", path = "../../parser"}
swc_ecma_transforms_base = {version = "0.8.0", path = "../base"} swc_ecma_transforms_base = {version = "0.9.0", path = "../base"}
swc_ecma_utils = {version = "0.31.0", path = "../../utils"} swc_ecma_utils = {version = "0.32.0", path = "../../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../../visit"} swc_ecma_visit = {version = "0.27.0", path = "../../visit"}
tempfile = "3.1.0" tempfile = "3.1.0"
testing = {version = "0.10.3", path = "../../../testing"} testing = {version = "0.10.3", path = "../../../testing"}

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_typescript" name = "swc_ecma_transforms_typescript"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.10.0" version = "0.11.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
@ -14,17 +14,17 @@ fxhash = "0.2.1"
serde = {version = "1.0.118", features = ["derive"]} serde = {version = "1.0.118", features = ["derive"]}
swc_atoms = {version = "0.2", path = "../../../atoms"} swc_atoms = {version = "0.2", path = "../../../atoms"}
swc_common = {version = "0.10.10", path = "../../../common"} swc_common = {version = "0.10.10", path = "../../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../../ast"} swc_ecma_ast = {version = "0.41.0", path = "../../ast"}
swc_ecma_parser = {version = "0.50.0", path = "../../parser"} swc_ecma_parser = {version = "0.51.0", path = "../../parser"}
swc_ecma_transforms_base = {version = "0.8.0", path = "../base"} swc_ecma_transforms_base = {version = "0.9.0", path = "../base"}
swc_ecma_utils = {version = "0.31.0", path = "../../utils"} swc_ecma_utils = {version = "0.32.0", path = "../../utils"}
swc_ecma_visit = {version = "0.26.0", path = "../../visit"} swc_ecma_visit = {version = "0.27.0", path = "../../visit"}
[dev-dependencies] [dev-dependencies]
swc_ecma_codegen = {version = "0.48.0", path = "../../codegen"} swc_ecma_codegen = {version = "0.49.0", path = "../../codegen"}
swc_ecma_transforms_compat = {version = "0.9.0", path = "../compat"} swc_ecma_transforms_compat = {version = "0.10.0", path = "../compat"}
swc_ecma_transforms_module = {version = "0.9.0", path = "../module"} swc_ecma_transforms_module = {version = "0.10.0", path = "../module"}
swc_ecma_transforms_proposal = {version = "0.9.0", path = "../proposal/"} swc_ecma_transforms_proposal = {version = "0.10.0", path = "../proposal/"}
swc_ecma_transforms_testing = {version = "0.8.0", path = "../testing"} swc_ecma_transforms_testing = {version = "0.9.0", path = "../testing"}
testing = {version = "0.10.3", path = "../../../testing"} testing = {version = "0.10.3", path = "../../../testing"}
walkdir = "2.3.1" walkdir = "2.3.1"

View File

@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_utils" name = "swc_ecma_utils"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.31.0" version = "0.32.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -15,8 +15,8 @@ once_cell = "1"
scoped-tls = "1" scoped-tls = "1"
swc_atoms = {version = "0.2.0", path = "../../atoms"} swc_atoms = {version = "0.2.0", path = "../../atoms"}
swc_common = {version = "0.10.10", path = "../../common"} swc_common = {version = "0.10.10", path = "../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../ast"} swc_ecma_ast = {version = "0.41.0", path = "../ast"}
swc_ecma_visit = {version = "0.26.0", path = "../visit"} swc_ecma_visit = {version = "0.27.0", path = "../visit"}
unicode-xid = "0.2" unicode-xid = "0.2"
[dev-dependencies] [dev-dependencies]

View File

@ -6,11 +6,11 @@ edition = "2018"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
name = "swc_ecma_visit" name = "swc_ecma_visit"
repository = "https://github.com/swc-project/swc.git" repository = "https://github.com/swc-project/swc.git"
version = "0.26.0" version = "0.27.0"
[dependencies] [dependencies]
num-bigint = {version = "0.2", features = ["serde"]} num-bigint = {version = "0.2", features = ["serde"]}
swc_atoms = {version = "0.2", path = "../../atoms"} swc_atoms = {version = "0.2", path = "../../atoms"}
swc_common = {version = "0.10.10", path = "../../common"} swc_common = {version = "0.10.10", path = "../../common"}
swc_ecma_ast = {version = "0.40.0", path = "../ast"} swc_ecma_ast = {version = "0.41.0", path = "../ast"}
swc_visit = {version = "0.2.3", path = "../../visit"} swc_visit = {version = "0.2.3", path = "../../visit"}

View File

@ -683,9 +683,8 @@ define!({
pub struct TaggedTpl { pub struct TaggedTpl {
pub span: Span, pub span: Span,
pub tag: Box<Expr>, pub tag: Box<Expr>,
pub exprs: Vec<Box<Expr>>,
pub quasis: Vec<TplElement>,
pub type_params: Option<TsTypeParamInstantiation>, pub type_params: Option<TsTypeParamInstantiation>,
pub tpl: Tpl,
} }
pub struct TplElement { pub struct TplElement {
pub span: Span, pub span: Span,