- line endings are normalized
 - switched to github actions from travis to check forked branches
This commit is contained in:
강동윤 2020-01-04 13:33:25 +09:00 committed by GitHub
parent c43bc471dd
commit c0cc2185ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
110 changed files with 2877 additions and 2878 deletions

8
.gitattributes vendored Normal file
View File

@ -0,0 +1,8 @@
# Auto detect text files and perform LF normalization
* text=auto
*.ts text merge=union eol=lf
*.rs text merge=union eol=lf
*.js text merge=union eol=lf
*.json text merge=union eol=lf

79
.github/workflows/cargo.yml vendored Normal file
View File

@ -0,0 +1,79 @@
name: Cargo
on: [push, pull_request]
env:
RUST_MIN_STACK: 16777216
CARGO_INCREMENTAL: 0
CI: "1"
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run cargo fmt
run: cargo fmt --all -- --check
test-debug:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Install node dependencies
run: |
npm config set prefix ~/npm
npm i browserslist @babel/runtime
npm i -g jest
# Ensure that all components all compilable.
- name: Run cargo check for all targets
run: cargo check --color always --all --all-targets
- name: Run cargo test
run: |
export PATH="$PATH:$HOME/npm/bin"
cargo test --color always --all
test-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Install node dependencies
run: |
npm config set prefix ~/npm
npm i browserslist @babel/runtime
npm i -g jest
- name: Run cargo test
run: |
export PATH="$PATH:$HOME/npm/bin"
cargo test --color always -p swc_ecma_parser --release
#
deploy-docs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
needs:
- test-debug
- test-release
steps:
- uses: actions/checkout@v2
- name: Create rustdoc
run: cargo doc

View File

@ -1,13 +0,0 @@
name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run cargo fmt
run: cargo fmt --all -- --check
# - name: Run cargo clippy
# run: cargo clippy --all

View File

@ -1,81 +0,0 @@
sudo: required
dist: trusty
addons:
apt:
packages:
- libssl-dev
language: rust
rust:
- nightly
# Need to cache the whole `.cargo` directory to keep .crates.toml for
# cargo-update to work
cache:
directories:
- /home/travis/.cargo
# But don't cache the cargo registry
before_cache:
- rm -rf /home/travis/.cargo/registry
git:
submodules: false
before_install:
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
- git submodule update --init --recursive
install:
- npm install browserslist
- cargo test --no-run --color always --all --all-features
script:
- cargo check --color always --all --all-features --all-targets
- RUST_BACKTRACE=full cargo test --color always --all --all-features
- (cd ecmascript/parser && RUST_BACKTRACE=full cargo test --release --color always --all-features)
before_deploy:
- CARGO_TARGET_DIR=$HOME/cargo-target cargo doc --color always
after_success:
# Temporarily disabled because cargo tarpaulin does not set CARGO_MANIFEST_DIR.
#
# - bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh)
# - |
# cargo tarpaulin --all --ignore-tests --out Xml &&
# bash <(curl -s https://codecov.io/bash)
# - '[ $TRAVIS_PULL_REQUEST = false ] &&
# [ "$TRAVIS_BRANCH" == "master" ] &&
# ./.travis/docs.sh'
deploy:
local_dir: $HOME/cargo-target/doc
repo: swc-project/rustdoc
target_branch: gh-pages
provider: pages
skip_cleanup: true
github_token: $GH_TOKEN
email: kdy1997.dev@gmail.com
name: "강동윤"
on:
branch: master
notifications:
email: never
slack:
secure: rJ4xuH2auOcENKwxAM+0K08IufQ5HY5nFxTHAnSW82bQQfnP9D2mwo1782b2Jo05rt72FzbRBBEqqhC2vU5Mzs8btdtcl4CsEZLEZ5JGcV8G/Xq4Wkug6xk65LvzrfW6v9ZNdsdXc41KCbbalCDouJR3KkQ3RDQBQviG1nQzI0GsyuraMqTH7aKwZh4S4U/PRAalriW3eMoLw3al4mn3X4S60mAmmLs9bO4glUwMXsc68630ItEt+u2lPGXFj3LaWFkmD9nMSWCbAfAibZWThtqZogSxOEEsE+nW//HTXzICsic5s50JsIvwCXPqpAWDALGJhSTt+gSsrGFtCVhRJ1VOCcG/Y1ttGtsii3eeJ9yGgGt5F4ywbofQH9Decc5MWnKLiWDKPkTLDUV573fexvc4kgHYk0JtSz3q/5jVe6FwCwg1YNKcKW9A28sIoBxvgt5FOWwrwDhl7Ha0HX9gV0ylE88uaR/5OPzl5kXrjlaR3eua5EqaJ1lkezZvyRffJJJA07BxoF0eI5cQnR8jrw5PmybJpJWHXN48gd2CmGj3YB+JwiLpRAlWtkyKhM62UnQihN2h7mHcvwygGG8AGTk9mdWBkUYXxahZ+PPQHb4Mip/QXWdfK0DTAd52CLsYjW+Wc0xxW6jwEff3GaDaRDxU6IjWBmEo74XCRPqUiPk=
env:
global:
- CASHER_TIME_OUT=600
- RUST_MIN_STACK=16777216
- CARGO_INCREMENTAL=0
- RUSTFLAGS="--cfg procmacro2_semver_exempt"
- secure: Z4RSNlpg/12Qx2fIjS+7TToYxPJQgK70X7u9A5lJiCIa0JfzWCxr1ZEKXfAVLG9o4nQok+nWOZa+vxR1IgyUVnf6oSanjjWl1pSRbvccxMS799NvHmGzIAiqSKAlxiSJuxf7MQbs1XBuI3XahsWLfXGPo7vPT6sKe4AAf9gT6igJr61D5hpHkVIXK7P6rnrWQALQYplyaox0NlU9UlqSXXBjdJfp3138rl7FIeYRsMMow44unBNPvs+mhVP8PWpeFWeop0jxbNbTHwnJUbCm4ZWrvqnJ/m70IMlBMN1AskLmz4KeXOhPx+XR9VtdWBX4q8lJ7s9J0hMBxrEnxgiYVBPMlLoEX+wW3zwZ5F+DQs7uLpRHYRUpxpi/7ZuQjp+uT3mN9PMMSvbHwHLH2r/CC9olKYWySXIsGsGVyyMnZeUwvgzwxiYLoeCWe4zZY99zc7jvGKbSmk0RtPu6hApPwL5A6novXbXL2QsXzqqeWpgMLmZyb7KYhM5IGIAB1oPQIqI++Re9Z+/ea/DRSUJOsA96yRQ+vVbiuClrVgDhaAaJOGYCtR1XZ5N2zRb9+Spu/ECtfisLOb9Xs1584DyRbqG69nRdjuscjYOTFZUlOoOeFvuADY65Jt0kF6u7g8NIDkJ1ROb3heKQtY/bAQUrBNUJydOQnn5tBwn8Z618+Ac=
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# This is required to update docs.
- master

View File

@ -1,5 +1,5 @@
status = [ status = [
"lint", "Cargo",
"continuous-integration/travis-ci/push" # "continuous-integration/travis-ci/push"
] ]
use_squash_merge = true use_squash_merge = true

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 6, "end": 5,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,14 +10,14 @@
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 0, "start": 0,
"end": 6, "end": 5,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 0, "start": 0,
"end": 6, "end": 5,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -35,7 +35,7 @@
}, },
"span": { "span": {
"start": 1, "start": 1,
"end": 6, "end": 5,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 55, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,14 +10,14 @@
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 0, "start": 0,
"end": 55, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 0, "start": 0,
"end": 55, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -35,22 +35,22 @@
}, },
"span": { "span": {
"start": 1, "start": 1,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [ "attributes": [
{ {
"type": "JSXAttribute", "type": "JSXAttribute",
"span": { "span": {
"start": 12, "start": 11,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 12, "start": 11,
"end": 16, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"value": "test", "value": "test",
@ -60,8 +60,8 @@
"value": { "value": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 17, "start": 16,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"value": "&&", "value": "&&",
@ -76,26 +76,26 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 33, "start": 32,
"end": 45, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\nbar\n\r\nbaz\n\r\n", "value": "\n\nbar\n\nbaz\n\n",
"raw": "\n\r\nbar\n\r\nbaz\n\r\n" "raw": "\n\nbar\n\nbaz\n\n"
} }
], ],
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 47, "start": 43,
"end": 55, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 47, "start": 43,
"end": 54, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"value": "AbC-def", "value": "AbC-def",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 37, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -24,22 +24,22 @@
"decorators": [], "decorators": [],
"span": { "span": {
"start": 0, "start": 0,
"end": 37, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 13, "start": 13,
"end": 37, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 18, "start": 17,
"end": 23, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"kind": "let", "kind": "let",
@ -48,15 +48,15 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 22, "start": 21,
"end": 23, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 22, "start": 21,
"end": 23, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -71,15 +71,15 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 27, "start": 25,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 27, "start": 25,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -87,8 +87,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 28, "start": 26,
"end": 31, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -96,8 +96,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 28, "start": 26,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 318, "end": 300,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -50,8 +50,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 39, "start": 37,
"end": 42, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"value": "App", "value": "App",
@ -62,23 +62,23 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 30, "start": 28,
"end": 295, "end": 279,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 45, "start": 43,
"end": 295, "end": 279,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 50, "start": 47,
"end": 73, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"kind": "const", "kind": "const",
@ -87,15 +87,15 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 56, "start": 53,
"end": 72, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 56, "start": 53,
"end": 65, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"value": "isLoading", "value": "isLoading",
@ -105,8 +105,8 @@
"init": { "init": {
"type": "BooleanLiteral", "type": "BooleanLiteral",
"span": { "span": {
"start": 68, "start": 65,
"end": 72, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"value": true "value": true
@ -118,22 +118,22 @@
{ {
"type": "ReturnStatement", "type": "ReturnStatement",
"span": { "span": {
"start": 77, "start": 73,
"end": 292, "end": 277,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 84, "start": 80,
"end": 291, "end": 276,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 91, "start": 86,
"end": 286, "end": 272,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -141,8 +141,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 92, "start": 87,
"end": 95, "end": 90,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -150,8 +150,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 92, "start": 87,
"end": 96, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -162,18 +162,18 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 96, "start": 91,
"end": 104, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 104, "start": 98,
"end": 119, "end": 113,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -181,8 +181,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 105, "start": 99,
"end": 107, "end": 101,
"ctxt": 0 "ctxt": 0
}, },
"value": "h1", "value": "h1",
@ -190,8 +190,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 105, "start": 99,
"end": 108, "end": 102,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -202,8 +202,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 108, "start": 102,
"end": 114, "end": 108,
"ctxt": 0 "ctxt": 0
}, },
"value": "works ", "value": "works ",
@ -213,15 +213,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 116, "start": 110,
"end": 119, "end": 113,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 116, "start": 110,
"end": 118, "end": 112,
"ctxt": 0 "ctxt": 0
}, },
"value": "h1", "value": "h1",
@ -233,27 +233,27 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 119, "start": 113,
"end": 127, "end": 120,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXExpressionContainer", "type": "JSXExpressionContainer",
"expression": { "expression": {
"type": "ConditionalExpression", "type": "ConditionalExpression",
"span": { "span": {
"start": 138, "start": 130,
"end": 265, "end": 253,
"ctxt": 0 "ctxt": 0
}, },
"test": { "test": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 138, "start": 130,
"end": 147, "end": 139,
"ctxt": 0 "ctxt": 0
}, },
"value": "isLoading", "value": "isLoading",
@ -263,15 +263,15 @@
"consequent": { "consequent": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 150, "start": 142,
"end": 193, "end": 183,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 163, "start": 154,
"end": 182, "end": 173,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -279,8 +279,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 164, "start": 155,
"end": 167, "end": 158,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -288,8 +288,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 164, "start": 155,
"end": 168, "end": 159,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -300,8 +300,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 168, "start": 159,
"end": 176, "end": 167,
"ctxt": 0 "ctxt": 0
}, },
"value": "loading ", "value": "loading ",
@ -311,15 +311,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 178, "start": 169,
"end": 182, "end": 173,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 178, "start": 169,
"end": 181, "end": 172,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -332,15 +332,15 @@
"alternate": { "alternate": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 196, "start": 186,
"end": 265, "end": 253,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 211, "start": 200,
"end": 252, "end": 241,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -348,8 +348,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 212, "start": 201,
"end": 215, "end": 204,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -357,8 +357,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 212, "start": 201,
"end": 216, "end": 205,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -369,8 +369,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 216, "start": 205,
"end": 246, "end": 235,
"ctxt": 0 "ctxt": 0
}, },
"value": "naaaaaaaaaaaaffffffffffffffff ", "value": "naaaaaaaaaaaaffffffffffffffff ",
@ -380,15 +380,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 248, "start": 237,
"end": 252, "end": 241,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 248, "start": 237,
"end": 251, "end": 240,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -403,26 +403,26 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 274, "start": 261,
"end": 280, "end": 266,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
} }
], ],
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 282, "start": 268,
"end": 286, "end": 272,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 282, "start": 268,
"end": 285, "end": 271,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -443,15 +443,15 @@
{ {
"type": "ExportDefaultExpression", "type": "ExportDefaultExpression",
"span": { "span": {
"start": 299, "start": 281,
"end": 318, "end": 300,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 314, "start": 296,
"end": 317, "end": 299,
"ctxt": 0 "ctxt": 0
}, },
"value": "App", "value": "App",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 266, "end": 252,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -50,8 +50,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 39, "start": 37,
"end": 42, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"value": "App", "value": "App",
@ -62,23 +62,23 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 30, "start": 28,
"end": 243, "end": 231,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 45, "start": 43,
"end": 243, "end": 231,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 50, "start": 47,
"end": 73, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"kind": "const", "kind": "const",
@ -87,15 +87,15 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 56, "start": 53,
"end": 72, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 56, "start": 53,
"end": 65, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"value": "isLoading", "value": "isLoading",
@ -105,8 +105,8 @@
"init": { "init": {
"type": "BooleanLiteral", "type": "BooleanLiteral",
"span": { "span": {
"start": 68, "start": 65,
"end": 72, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"value": true "value": true
@ -118,22 +118,22 @@
{ {
"type": "ReturnStatement", "type": "ReturnStatement",
"span": { "span": {
"start": 77, "start": 73,
"end": 240, "end": 229,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 84, "start": 80,
"end": 239, "end": 228,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 91, "start": 86,
"end": 234, "end": 224,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -141,8 +141,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 92, "start": 87,
"end": 95, "end": 90,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -150,8 +150,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 92, "start": 87,
"end": 96, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -162,18 +162,18 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 96, "start": 91,
"end": 104, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 104, "start": 98,
"end": 119, "end": 113,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -181,8 +181,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 105, "start": 99,
"end": 107, "end": 101,
"ctxt": 0 "ctxt": 0
}, },
"value": "h1", "value": "h1",
@ -190,8 +190,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 105, "start": 99,
"end": 108, "end": 102,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -202,8 +202,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 108, "start": 102,
"end": 114, "end": 108,
"ctxt": 0 "ctxt": 0
}, },
"value": "works ", "value": "works ",
@ -213,15 +213,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 116, "start": 110,
"end": 119, "end": 113,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 116, "start": 110,
"end": 118, "end": 112,
"ctxt": 0 "ctxt": 0
}, },
"value": "h1", "value": "h1",
@ -233,27 +233,27 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 119, "start": 113,
"end": 127, "end": 120,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXExpressionContainer", "type": "JSXExpressionContainer",
"expression": { "expression": {
"type": "ConditionalExpression", "type": "ConditionalExpression",
"span": { "span": {
"start": 138, "start": 130,
"end": 213, "end": 205,
"ctxt": 0 "ctxt": 0
}, },
"test": { "test": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 138, "start": 130,
"end": 147, "end": 139,
"ctxt": 0 "ctxt": 0
}, },
"value": "isLoading", "value": "isLoading",
@ -263,8 +263,8 @@
"consequent": { "consequent": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 150, "start": 142,
"end": 169, "end": 161,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -272,8 +272,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 151, "start": 143,
"end": 154, "end": 146,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -281,8 +281,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 151, "start": 143,
"end": 155, "end": 147,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -293,8 +293,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 155, "start": 147,
"end": 163, "end": 155,
"ctxt": 0 "ctxt": 0
}, },
"value": "loading ", "value": "loading ",
@ -304,15 +304,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 165, "start": 157,
"end": 169, "end": 161,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 165, "start": 157,
"end": 168, "end": 160,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -324,8 +324,8 @@
"alternate": { "alternate": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 172, "start": 164,
"end": 213, "end": 205,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -333,8 +333,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 173, "start": 165,
"end": 176, "end": 168,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -342,8 +342,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 173, "start": 165,
"end": 177, "end": 169,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -354,8 +354,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 177, "start": 169,
"end": 207, "end": 199,
"ctxt": 0 "ctxt": 0
}, },
"value": "naaaaaaaaaaaaffffffffffffffff ", "value": "naaaaaaaaaaaaffffffffffffffff ",
@ -365,15 +365,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 209, "start": 201,
"end": 213, "end": 205,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 209, "start": 201,
"end": 212, "end": 204,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -387,26 +387,26 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 222, "start": 213,
"end": 228, "end": 218,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
} }
], ],
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 230, "start": 220,
"end": 234, "end": 224,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 230, "start": 220,
"end": 233, "end": 223,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -427,15 +427,15 @@
{ {
"type": "ExportDefaultExpression", "type": "ExportDefaultExpression",
"span": { "span": {
"start": 247, "start": 233,
"end": 266, "end": 252,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 262, "start": 248,
"end": 265, "end": 251,
"ctxt": 0 "ctxt": 0
}, },
"value": "App", "value": "App",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 55, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,14 +10,14 @@
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 0, "start": 0,
"end": 55, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXFragment", "type": "JSXFragment",
"span": { "span": {
"start": 0, "start": 0,
"end": 55, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -33,17 +33,17 @@
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 3, "start": 3,
"end": 7, "end": 6,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 7, "start": 6,
"end": 32, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -51,8 +51,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 8, "start": 7,
"end": 12, "end": 11,
"ctxt": 0 "ctxt": 0
}, },
"value": "span", "value": "span",
@ -60,8 +60,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 8, "start": 7,
"end": 13, "end": 12,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -72,26 +72,26 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 13, "start": 12,
"end": 25, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n hi\n\r\n ", "value": "\n\n hi\n\n ",
"raw": "\n\r\n hi\n\r\n " "raw": "\n\n hi\n\n "
} }
], ],
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 27, "start": 24,
"end": 32, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 27, "start": 24,
"end": 31, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"value": "span", "value": "span",
@ -103,18 +103,18 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 32, "start": 29,
"end": 36, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 36, "start": 32,
"end": 50, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -122,8 +122,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 37, "start": 33,
"end": 40, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -131,8 +131,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 37, "start": 33,
"end": 41, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -143,8 +143,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 41, "start": 37,
"end": 44, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"value": "bye", "value": "bye",
@ -154,15 +154,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 46, "start": 42,
"end": 50, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 46, "start": 42,
"end": 49, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -174,19 +174,19 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 50, "start": 46,
"end": 52, "end": 47,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n", "value": "\n\n",
"raw": "\n\r\n" "raw": "\n\n"
} }
], ],
"closing": { "closing": {
"type": "JSXClosingFragment", "type": "JSXClosingFragment",
"span": { "span": {
"start": 54, "start": 49,
"end": 55, "end": 50,
"ctxt": 0 "ctxt": 0
} }
} }

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 55, "end": 49,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,14 +10,14 @@
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 0, "start": 0,
"end": 55, "end": 49,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXFragment", "type": "JSXFragment",
"span": { "span": {
"start": 0, "start": 0,
"end": 55, "end": 49,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -33,24 +33,24 @@
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 2, "start": 2,
"end": 6, "end": 5,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXFragment", "type": "JSXFragment",
"span": { "span": {
"start": 6, "start": 5,
"end": 50, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
"type": "JSXOpeningFragment", "type": "JSXOpeningFragment",
"span": { "span": {
"start": 7, "start": 6,
"end": 8, "end": 7,
"ctxt": 0 "ctxt": 0
} }
}, },
@ -58,25 +58,25 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 8, "start": 7,
"end": 14, "end": 12,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXFragment", "type": "JSXFragment",
"span": { "span": {
"start": 14, "start": 12,
"end": 43, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
"type": "JSXOpeningFragment", "type": "JSXOpeningFragment",
"span": { "span": {
"start": 15, "start": 13,
"end": 16, "end": 14,
"ctxt": 0 "ctxt": 0
} }
}, },
@ -84,19 +84,19 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 16, "start": 14,
"end": 40, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n super deep\n\r\n ", "value": "\n\n super deep\n\n ",
"raw": "\n\r\n super deep\n\r\n " "raw": "\n\n super deep\n\n "
} }
], ],
"closing": { "closing": {
"type": "JSXClosingFragment", "type": "JSXClosingFragment",
"span": { "span": {
"start": 42, "start": 38,
"end": 43, "end": 39,
"ctxt": 0 "ctxt": 0
} }
} }
@ -104,19 +104,19 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 43, "start": 39,
"end": 47, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
} }
], ],
"closing": { "closing": {
"type": "JSXClosingFragment", "type": "JSXClosingFragment",
"span": { "span": {
"start": 49, "start": 44,
"end": 50, "end": 45,
"ctxt": 0 "ctxt": 0
} }
} }
@ -124,19 +124,19 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 50, "start": 45,
"end": 52, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n", "value": "\n\n",
"raw": "\n\r\n" "raw": "\n\n"
} }
], ],
"closing": { "closing": {
"type": "JSXClosingFragment", "type": "JSXClosingFragment",
"span": { "span": {
"start": 54, "start": 48,
"end": 55, "end": 49,
"ctxt": 0 "ctxt": 0
} }
} }

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 68, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,40 +10,40 @@
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 0, "start": 0,
"end": 68, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXFragment", "type": "JSXFragment",
"span": { "span": {
"start": 0, "start": 0,
"end": 68, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
"type": "JSXOpeningFragment", "type": "JSXOpeningFragment",
"span": { "span": {
"start": 32, "start": 29,
"end": 33, "end": 30,
"ctxt": 0 "ctxt": 0
} }
}, },
"children": [ "children": [
{ {
"type": "JSXText", "type": "JSXText",
"span": {
"start": 30,
"end": 33,
"ctxt": 0
},
"value": "\n\n ",
"raw": "\n\n "
},
{
"type": "JSXElement",
"span": { "span": {
"start": 33, "start": 33,
"end": 37, "end": 44,
"ctxt": 0
},
"value": "\n\r\n ",
"raw": "\n\r\n "
},
{
"type": "JSXElement",
"span": {
"start": 37,
"end": 48,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -51,8 +51,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 38, "start": 34,
"end": 41, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -60,8 +60,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 38, "start": 34,
"end": 42, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -72,15 +72,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 44, "start": 40,
"end": 48, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 44, "start": 40,
"end": 47, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -92,18 +92,18 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 48, "start": 44,
"end": 52, "end": 47,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 52, "start": 47,
"end": 63, "end": 58,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -111,8 +111,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 53, "start": 48,
"end": 56, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -120,8 +120,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 53, "start": 48,
"end": 57, "end": 52,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -132,15 +132,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 59, "start": 54,
"end": 63, "end": 58,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 59, "start": 54,
"end": 62, "end": 57,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -152,19 +152,19 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 63, "start": 58,
"end": 65, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n", "value": "\n\n",
"raw": "\n\r\n" "raw": "\n\n"
} }
], ],
"closing": { "closing": {
"type": "JSXClosingFragment", "type": "JSXClosingFragment",
"span": { "span": {
"start": 67, "start": 61,
"end": 68, "end": 62,
"ctxt": 0 "ctxt": 0
} }
} }

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -63,15 +63,15 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 14, "start": 13,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 14, "start": 13,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -81,8 +81,8 @@
"namespace": { "namespace": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 18, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"value": "Foo", "value": "Foo",
@ -92,8 +92,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 19, "start": 18,
"end": 22, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"value": "Bar", "value": "Bar",
@ -102,8 +102,8 @@
} }
}, },
"span": { "span": {
"start": 15, "start": 14,
"end": 23, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -114,8 +114,8 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 25, "start": 24,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
@ -123,8 +123,8 @@
"namespace": { "namespace": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 25, "start": 24,
"end": 28, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"value": "Foo", "value": "Foo",
@ -134,8 +134,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 29, "start": 28,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"value": "Bar", "value": "Bar",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 37, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -24,36 +24,36 @@
"decorators": [], "decorators": [],
"span": { "span": {
"start": 0, "start": 0,
"end": 37, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 13, "start": 13,
"end": 37, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 20, "start": 19,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "YieldExpression", "type": "YieldExpression",
"span": { "span": {
"start": 20, "start": 19,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 26, "start": 25,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -61,8 +61,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 27, "start": 26,
"end": 28, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",
@ -70,8 +70,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 27, "start": 26,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -82,15 +82,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 31, "start": 30,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 31, "start": 30,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 28, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -46,30 +46,30 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 12, "start": 11,
"end": 28, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "BinaryExpression", "type": "BinaryExpression",
"span": { "span": {
"start": 12, "start": 11,
"end": 27, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"operator": "==", "operator": "==",
"left": { "left": {
"type": "CallExpression", "type": "CallExpression",
"span": { "span": {
"start": 12, "start": 11,
"end": 22, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"callee": { "callee": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 12, "start": 11,
"end": 17, "end": 16,
"ctxt": 0 "ctxt": 0
}, },
"value": "async", "value": "async",
@ -80,23 +80,23 @@
"typeArguments": { "typeArguments": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 17, "start": 16,
"end": 20, "end": 19,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 18, "start": 17,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 18, "start": 17,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -111,8 +111,8 @@
"right": { "right": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 26, "start": 25,
"end": 27, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0

View File

@ -1,53 +1,53 @@
{ {
"type": "Module", "type": "Module",
"span": { "span": {
"start": 62, "start": 61,
"end": 80, "end": 79,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 62, "start": 61,
"end": 80, "end": 79,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
"span": { "span": {
"start": 65, "start": 64,
"end": 79, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 66, "start": 65,
"end": 70, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 67, "start": 66,
"end": 70, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 69, "start": 68,
"end": 70, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 69, "start": 68,
"end": 70, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -63,8 +63,8 @@
"body": { "body": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 78, "start": 77,
"end": 79, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",
@ -76,23 +76,23 @@
"typeParameters": { "typeParameters": {
"type": "TsTypeParameterDeclaration", "type": "TsTypeParameterDeclaration",
"span": { "span": {
"start": 62, "start": 61,
"end": 65, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"parameters": [ "parameters": [
{ {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 63, "start": 62,
"end": 64, "end": 63,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 63, "start": 62,
"end": 64, "end": 63,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -107,22 +107,22 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 71, "start": 70,
"end": 74, "end": 73,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 73, "start": 72,
"end": 74, "end": 73,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 73, "start": 72,
"end": 74, "end": 73,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 109, "end": 106,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -56,30 +56,30 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 9, "start": 8,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "TsAsExpression", "type": "TsAsExpression",
"span": { "span": {
"start": 9, "start": 8,
"end": 14, "end": 13,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "BinaryExpression", "type": "BinaryExpression",
"span": { "span": {
"start": 9, "start": 8,
"end": 14, "end": 13,
"ctxt": 0 "ctxt": 0
}, },
"operator": "<", "operator": "<",
"left": { "left": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 9, "start": 8,
"end": 10, "end": 9,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -89,8 +89,8 @@
"right": { "right": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 13, "start": 12,
"end": 14, "end": 13,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",
@ -101,8 +101,8 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 18, "start": 17,
"end": 25, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"kind": "boolean" "kind": "boolean"
@ -112,23 +112,23 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 51, "start": 49,
"end": 69, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "BinaryExpression", "type": "BinaryExpression",
"span": { "span": {
"start": 51, "start": 49,
"end": 58, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"operator": "===", "operator": "===",
"left": { "left": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 51, "start": 49,
"end": 52, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -138,15 +138,15 @@
"right": { "right": {
"type": "TsAsExpression", "type": "TsAsExpression",
"span": { "span": {
"start": 57, "start": 55,
"end": 58, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 57, "start": 55,
"end": 58, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"value": 1.0 "value": 1.0
@ -154,8 +154,8 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 62, "start": 60,
"end": 68, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -166,29 +166,29 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 95, "start": 92,
"end": 109, "end": 106,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "TsAsExpression", "type": "TsAsExpression",
"span": { "span": {
"start": 95, "start": 92,
"end": 103, "end": 100,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "TsAsExpression", "type": "TsAsExpression",
"span": { "span": {
"start": 95, "start": 92,
"end": 96, "end": 93,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 95, "start": 92,
"end": 96, "end": 93,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -198,8 +198,8 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 100, "start": 97,
"end": 103, "end": 100,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"
@ -208,15 +208,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 107, "start": 104,
"end": 108, "end": 105,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 107, "start": 104,
"end": 108, "end": 105,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 30, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -84,36 +84,36 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 12, "start": 11,
"end": 23, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 12, "start": 11,
"end": 22, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 12, "start": 11,
"end": 20, "end": 19,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "TsAsExpression", "type": "TsAsExpression",
"span": { "span": {
"start": 13, "start": 12,
"end": 14, "end": 13,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 13, "start": 12,
"end": 14, "end": 13,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -123,15 +123,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 18, "start": 17,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 18, "start": 17,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -145,8 +145,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 21, "start": 20,
"end": 22, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",
@ -159,29 +159,29 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 25, "start": 23,
"end": 30, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 25, "start": 23,
"end": 29, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "TsNonNullExpression", "type": "TsNonNullExpression",
"span": { "span": {
"start": 25, "start": 23,
"end": 27, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 25, "start": 23,
"end": 26, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -192,8 +192,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 28, "start": 26,
"end": 29, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 5, "end": 4,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -28,23 +28,23 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 3, "start": 2,
"end": 5, "end": 4,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "UnaryExpression", "type": "UnaryExpression",
"span": { "span": {
"start": 3, "start": 2,
"end": 5, "end": 4,
"ctxt": 0 "ctxt": 0
}, },
"operator": "!", "operator": "!",
"argument": { "argument": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 4, "start": 3,
"end": 5, "end": 4,
"ctxt": 0 "ctxt": 0
}, },
"value": "b", "value": "b",

View File

@ -1,23 +1,23 @@
{ {
"type": "Module", "type": "Module",
"span": { "span": {
"start": 64, "start": 63,
"end": 88, "end": 87,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "ExportDefaultExpression", "type": "ExportDefaultExpression",
"span": { "span": {
"start": 64, "start": 63,
"end": 88, "end": 87,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 79, "start": 78,
"end": 87, "end": 86,
"ctxt": 0 "ctxt": 0
}, },
"value": "abstract", "value": "abstract",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 204, "end": 199,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -38,8 +38,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 44, "start": 43,
"end": 45, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -48,8 +48,8 @@
}, },
"declare": true, "declare": true,
"span": { "span": {
"start": 38, "start": 37,
"end": 48, "end": 47,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -63,8 +63,8 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 50, "start": 48,
"end": 76, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
@ -72,8 +72,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 72, "start": 70,
"end": 73, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -82,8 +82,8 @@
}, },
"declare": false, "declare": false,
"span": { "span": {
"start": 66, "start": 64,
"end": 76, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -98,16 +98,16 @@
{ {
"type": "ExportDefaultDeclaration", "type": "ExportDefaultDeclaration",
"span": { "span": {
"start": 158, "start": 154,
"end": 167, "end": 163,
"ctxt": 0 "ctxt": 0
}, },
"decl": { "decl": {
"type": "ClassExpression", "type": "ClassExpression",
"identifier": null, "identifier": null,
"span": { "span": {
"start": 158, "start": 154,
"end": 167, "end": 163,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -122,8 +122,8 @@
{ {
"type": "ExportDefaultDeclaration", "type": "ExportDefaultDeclaration",
"span": { "span": {
"start": 193, "start": 188,
"end": 204, "end": 199,
"ctxt": 0 "ctxt": 0
}, },
"decl": { "decl": {
@ -131,8 +131,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 199, "start": 194,
"end": 200, "end": 195,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -140,8 +140,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 193, "start": 188,
"end": 204, "end": 199,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 94, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 94, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "Constructor", "type": "Constructor",
"span": { "span": {
"start": 15, "start": 14,
"end": 44, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"value": "constructor", "value": "constructor",
@ -49,8 +49,8 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 27, "start": 26,
"end": 30, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"value": "set", "value": "set",
@ -60,8 +60,8 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 32, "start": 31,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"value": "readonly", "value": "readonly",
@ -72,8 +72,8 @@
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 42, "start": 41,
"end": 44, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []
@ -84,15 +84,15 @@
{ {
"type": "Constructor", "type": "Constructor",
"span": { "span": {
"start": 48, "start": 46,
"end": 91, "end": 89,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 48, "start": 46,
"end": 59, "end": 57,
"ctxt": 0 "ctxt": 0
}, },
"value": "constructor", "value": "constructor",
@ -103,23 +103,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 60, "start": 58,
"end": 68, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"value": "set", "value": "set",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 63, "start": 61,
"end": 68, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 65, "start": 63,
"end": 68, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"
@ -130,23 +130,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 70, "start": 68,
"end": 87, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"value": "readonly", "value": "readonly",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 78, "start": 76,
"end": 87, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 80, "start": 78,
"end": 87, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"kind": "boolean" "kind": "boolean"
@ -158,8 +158,8 @@
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 89, "start": 87,
"end": 91, "end": 89,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 128, "end": 124,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 128, "end": 124,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "Constructor", "type": "Constructor",
"span": { "span": {
"start": 15, "start": 14,
"end": 49, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"value": "constructor", "value": "constructor",
@ -49,23 +49,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 27, "start": 26,
"end": 36, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 28, "start": 27,
"end": 36, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 30, "start": 29,
"end": 36, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -76,23 +76,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 38, "start": 37,
"end": 47, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 39, "start": 38,
"end": 47, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 41, "start": 40,
"end": 47, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -108,15 +108,15 @@
{ {
"type": "Constructor", "type": "Constructor",
"span": { "span": {
"start": 55, "start": 53,
"end": 89, "end": 87,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 55, "start": 53,
"end": 66, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"value": "constructor", "value": "constructor",
@ -127,23 +127,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 67, "start": 65,
"end": 76, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 68, "start": 66,
"end": 76, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 70, "start": 68,
"end": 76, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"kind": "string" "kind": "string"
@ -154,23 +154,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 78, "start": 76,
"end": 87, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 79, "start": 77,
"end": 87, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 81, "start": 79,
"end": 87, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"kind": "string" "kind": "string"
@ -186,15 +186,15 @@
{ {
"type": "Constructor", "type": "Constructor",
"span": { "span": {
"start": 95, "start": 92,
"end": 125, "end": 122,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 95, "start": 92,
"end": 106, "end": 103,
"ctxt": 0 "ctxt": 0
}, },
"value": "constructor", "value": "constructor",
@ -205,23 +205,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 107, "start": 104,
"end": 113, "end": 110,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 108, "start": 105,
"end": 113, "end": 110,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 110, "start": 107,
"end": 113, "end": 110,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"
@ -232,23 +232,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 115, "start": 112,
"end": 121, "end": 118,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 116, "start": 113,
"end": 121, "end": 118,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 118, "start": 115,
"end": 121, "end": 118,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"
@ -260,8 +260,8 @@
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 123, "start": 120,
"end": 125, "end": 122,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 93, "end": 87,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": true, "declare": true,
"span": { "span": {
"start": 8, "start": 8,
"end": 93, "end": 87,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -33,23 +33,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 24, "start": 23,
"end": 25, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 27, "start": 26,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 27, "start": 26,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"kind": "string" "kind": "string"
@ -61,15 +61,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 34, "start": 33,
"end": 39, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 36, "start": 35,
"end": 39, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"
@ -77,23 +77,23 @@
}, },
"readonly": false, "readonly": false,
"span": { "span": {
"start": 23, "start": 22,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
} }
}, },
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 46, "start": 44,
"end": 48, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 46, "start": 44,
"end": 47, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -114,15 +114,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 54, "start": 51,
"end": 64, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 54, "start": 51,
"end": 55, "end": 52,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -133,15 +133,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 55, "start": 52,
"end": 63, "end": 60,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 57, "start": 54,
"end": 63, "end": 60,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -159,15 +159,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 70, "start": 66,
"end": 74, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 70, "start": 66,
"end": 71, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -178,8 +178,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 70, "start": 66,
"end": 74, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -197,15 +197,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 80, "start": 75,
"end": 90, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 80, "start": 75,
"end": 81, "end": 76,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -216,8 +216,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 80, "start": 75,
"end": 90, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -227,15 +227,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 83, "start": 78,
"end": 89, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 85, "start": 80,
"end": 89, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 92, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -154,15 +154,15 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 46, "start": 45,
"end": 92, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 46, "start": 45,
"end": 91, "end": 90,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
@ -170,8 +170,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 53, "start": 52,
"end": 54, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -179,8 +179,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 47, "start": 46,
"end": 90, "end": 89,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -188,15 +188,15 @@
"superClass": { "superClass": {
"type": "CallExpression", "type": "CallExpression",
"span": { "span": {
"start": 63, "start": 62,
"end": 66, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"callee": { "callee": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 63, "start": 62,
"end": 64, "end": 63,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -211,23 +211,23 @@
"superTypeParams": { "superTypeParams": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 66, "start": 65,
"end": 69, "end": 68,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 67, "start": 66,
"end": 68, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 67, "start": 66,
"end": 68, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -242,8 +242,8 @@
{ {
"type": "TsExpressionWithTypeArguments", "type": "TsExpressionWithTypeArguments",
"span": { "span": {
"start": 81, "start": 80,
"end": 87, "end": 86,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
@ -251,8 +251,8 @@
"left": { "left": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 81, "start": 80,
"end": 82, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"value": "X", "value": "X",
@ -262,8 +262,8 @@
"right": { "right": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 83, "start": 82,
"end": 84, "end": 83,
"ctxt": 0 "ctxt": 0
}, },
"value": "Y", "value": "Y",
@ -274,23 +274,23 @@
"typeArguments": { "typeArguments": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 84, "start": 83,
"end": 87, "end": 86,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 85, "start": 84,
"end": 86, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 85, "start": 84,
"end": 86, "end": 85,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 56, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -90,15 +90,15 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 28, "start": 27,
"end": 56, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 28, "start": 27,
"end": 55, "end": 54,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
@ -106,8 +106,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 35, "start": 34,
"end": 36, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -115,8 +115,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 29, "start": 28,
"end": 54, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -124,15 +124,15 @@
"superClass": { "superClass": {
"type": "CallExpression", "type": "CallExpression",
"span": { "span": {
"start": 45, "start": 44,
"end": 48, "end": 47,
"ctxt": 0 "ctxt": 0
}, },
"callee": { "callee": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 45, "start": 44,
"end": 46, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -147,23 +147,23 @@
"superTypeParams": { "superTypeParams": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 48, "start": 47,
"end": 51, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 49, "start": 48,
"end": 50, "end": 49,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 49, "start": 48,
"end": 50, "end": 49,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -71,15 +71,15 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 16, "start": 15,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 16, "start": 15,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
@ -87,8 +87,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 23, "start": 22,
"end": 24, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -96,8 +96,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 17, "start": 16,
"end": 30, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -107,23 +107,23 @@
"typeParams": { "typeParams": {
"type": "TsTypeParameterDeclaration", "type": "TsTypeParameterDeclaration",
"span": { "span": {
"start": 24, "start": 23,
"end": 27, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"parameters": [ "parameters": [
{ {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 25, "start": 24,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 25, "start": 24,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 62, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -105,15 +105,15 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 31, "start": 30,
"end": 62, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 31, "start": 30,
"end": 61, "end": 60,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
@ -121,8 +121,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 38, "start": 37,
"end": 39, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -130,8 +130,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 32, "start": 31,
"end": 60, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -144,8 +144,8 @@
{ {
"type": "TsExpressionWithTypeArguments", "type": "TsExpressionWithTypeArguments",
"span": { "span": {
"start": 51, "start": 50,
"end": 57, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
@ -153,8 +153,8 @@
"left": { "left": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 51, "start": 50,
"end": 52, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"value": "X", "value": "X",
@ -164,8 +164,8 @@
"right": { "right": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 53, "start": 52,
"end": 54, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"value": "Y", "value": "Y",
@ -176,23 +176,23 @@
"typeArguments": { "typeArguments": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 54, "start": 53,
"end": 57, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 55, "start": 54,
"end": 56, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 55, "start": 54,
"end": 56, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 41, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": true, "declare": true,
"span": { "span": {
"start": 8, "start": 8,
"end": 41, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 23, "start": 22,
"end": 38, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 23, "start": 22,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"value": "get", "value": "get",
@ -49,8 +49,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 23, "start": 22,
"end": 38, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -59,23 +59,23 @@
"typeParameters": { "typeParameters": {
"type": "TsTypeParameterDeclaration", "type": "TsTypeParameterDeclaration",
"span": { "span": {
"start": 26, "start": 25,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"parameters": [ "parameters": [
{ {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 27, "start": 26,
"end": 28, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 27, "start": 26,
"end": 28, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -90,15 +90,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 31, "start": 30,
"end": 37, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 33, "start": 32,
"end": 37, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 67, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 67, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -33,23 +33,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 16, "start": 15,
"end": 17, "end": 16,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 19, "start": 18,
"end": 25, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 19, "start": 18,
"end": 25, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"kind": "string" "kind": "string"
@ -61,15 +61,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 26, "start": 25,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 28, "start": 27,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"
@ -77,8 +77,8 @@
}, },
"readonly": false, "readonly": false,
"span": { "span": {
"start": 15, "start": 14,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
} }
}, },
@ -88,23 +88,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 48, "start": 46,
"end": 49, "end": 47,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 51, "start": 49,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 51, "start": 49,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"kind": "string" "kind": "string"
@ -116,15 +116,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 58, "start": 56,
"end": 63, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 60, "start": 58,
"end": 63, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"
@ -132,8 +132,8 @@
}, },
"readonly": true, "readonly": true,
"span": { "span": {
"start": 38, "start": 36,
"end": 64, "end": 62,
"ctxt": 0 "ctxt": 0
} }
} }

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 103, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 103, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 15, "start": 14,
"end": 30, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 21, "end": 20,
"ctxt": 0 "ctxt": 0
}, },
"value": "public", "value": "public",
@ -49,8 +49,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 15, "start": 14,
"end": 30, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -60,15 +60,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 23, "start": 22,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 25, "start": 24,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"
@ -84,15 +84,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 36, "start": 34,
"end": 58, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 43, "start": 41,
"end": 49, "end": 47,
"ctxt": 0 "ctxt": 0
}, },
"value": "static", "value": "static",
@ -103,8 +103,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 36, "start": 34,
"end": 58, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -114,15 +114,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 51, "start": 49,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 53, "start": 51,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"
@ -138,15 +138,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 64, "start": 61,
"end": 77, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 64, "start": 61,
"end": 72, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"value": "readonly", "value": "readonly",
@ -156,8 +156,8 @@
"value": { "value": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 75, "start": 72,
"end": 76, "end": 73,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0
@ -175,15 +175,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 83, "start": 79,
"end": 100, "end": 96,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 83, "start": 79,
"end": 88, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"value": "async", "value": "async",
@ -194,8 +194,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 83, "start": 79,
"end": 100, "end": 96,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -204,23 +204,23 @@
"typeParameters": { "typeParameters": {
"type": "TsTypeParameterDeclaration", "type": "TsTypeParameterDeclaration",
"span": { "span": {
"start": 88, "start": 84,
"end": 91, "end": 87,
"ctxt": 0 "ctxt": 0
}, },
"parameters": [ "parameters": [
{ {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 89, "start": 85,
"end": 90, "end": 86,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 89, "start": 85,
"end": 90, "end": 86,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -235,15 +235,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 93, "start": 89,
"end": 99, "end": 95,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 95, "start": 91,
"end": 99, "end": 95,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 40, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 40, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 22, "start": 21,
"end": 37, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 22, "start": 21,
"end": 28, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"value": "delete", "value": "delete",
@ -49,8 +49,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 22, "start": 21,
"end": 37, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -60,15 +60,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 30, "start": 29,
"end": 36, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 32, "start": 31,
"end": 36, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 77, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 77, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,29 +30,29 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 15, "start": 14,
"end": 41, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Computed", "type": "Computed",
"span": { "span": {
"start": 15, "start": 14,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 16, "start": 15,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 16, "start": 15,
"end": 22, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"value": "Symbol", "value": "Symbol",
@ -62,8 +62,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 23, "start": 22,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"value": "iterator", "value": "iterator",
@ -77,8 +77,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 15, "start": 14,
"end": 41, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -88,15 +88,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 34, "start": 33,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 36, "start": 35,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"
@ -112,29 +112,29 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 47, "start": 45,
"end": 74, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Computed", "type": "Computed",
"span": { "span": {
"start": 47, "start": 45,
"end": 64, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 48, "start": 46,
"end": 63, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 48, "start": 46,
"end": 54, "end": 52,
"ctxt": 0 "ctxt": 0
}, },
"value": "Symbol", "value": "Symbol",
@ -144,8 +144,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 55, "start": 53,
"end": 63, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"value": "iterator", "value": "iterator",
@ -159,8 +159,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 47, "start": 45,
"end": 74, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -170,15 +170,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 67, "start": 65,
"end": 73, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 69, "start": 67,
"end": 73, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 86, "end": 83,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 86, "end": 83,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 15, "start": 14,
"end": 49, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 16, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -50,30 +50,30 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 20, "start": 19,
"end": 24, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 21, "start": 20,
"end": 24, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 23, "start": 22,
"end": 24, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 23, "start": 22,
"end": 24, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -88,30 +88,30 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 26, "start": 25,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"value": "b", "value": "b",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 28, "start": 27,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 30, "start": 29,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 30, "start": 29,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -126,20 +126,20 @@
{ {
"type": "RestElement", "type": "RestElement",
"span": { "span": {
"start": 33, "start": 32,
"end": 42, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"rest": { "rest": {
"start": 33, "start": 32,
"end": 36, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 36, "start": 35,
"end": 37, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"value": "c", "value": "c",
@ -149,29 +149,29 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 37, "start": 36,
"end": 42, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsArrayType", "type": "TsArrayType",
"span": { "span": {
"start": 39, "start": 38,
"end": 42, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"elemType": { "elemType": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 39, "start": 38,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 39, "start": 38,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -186,15 +186,15 @@
], ],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 15, "start": 14,
"end": 49, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 47, "start": 46,
"end": 49, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []
@ -204,23 +204,23 @@
"typeParameters": { "typeParameters": {
"type": "TsTypeParameterDeclaration", "type": "TsTypeParameterDeclaration",
"span": { "span": {
"start": 16, "start": 15,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"parameters": [ "parameters": [
{ {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 17, "start": 16,
"end": 18, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 17, "start": 16,
"end": 18, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -235,22 +235,22 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 43, "start": 42,
"end": 46, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 45, "start": 44,
"end": 46, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 45, "start": 44,
"end": 46, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -270,29 +270,29 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 55, "start": 53,
"end": 83, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Computed", "type": "Computed",
"span": { "span": {
"start": 55, "start": 53,
"end": 72, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 56, "start": 54,
"end": 71, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 56, "start": 54,
"end": 62, "end": 60,
"ctxt": 0 "ctxt": 0
}, },
"value": "Symbol", "value": "Symbol",
@ -302,8 +302,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 63, "start": 61,
"end": 71, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"value": "iterator", "value": "iterator",
@ -317,15 +317,15 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 55, "start": 53,
"end": 83, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 81, "start": 79,
"end": 83, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []
@ -335,23 +335,23 @@
"typeParameters": { "typeParameters": {
"type": "TsTypeParameterDeclaration", "type": "TsTypeParameterDeclaration",
"span": { "span": {
"start": 72, "start": 70,
"end": 75, "end": 73,
"ctxt": 0 "ctxt": 0
}, },
"parameters": [ "parameters": [
{ {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 73, "start": 71,
"end": 74, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 73, "start": 71,
"end": 74, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -366,22 +366,22 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 77, "start": 75,
"end": 80, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 79, "start": 77,
"end": 80, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 79, "start": 77,
"end": 80, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 38, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 38, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 15, "start": 14,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 16, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -49,8 +49,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 15, "start": 14,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -68,15 +68,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 25, "start": 23,
"end": 35, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 25, "start": 23,
"end": 26, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -87,8 +87,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 25, "start": 23,
"end": 35, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -98,15 +98,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 28, "start": 26,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 30, "start": 28,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 31, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 31, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 15, "start": 14,
"end": 28, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 16, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"value": "m", "value": "m",
@ -49,15 +49,15 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 15, "start": 14,
"end": 28, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 26, "start": 25,
"end": 28, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []
@ -68,15 +68,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 19, "start": 18,
"end": 25, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 21, "start": 20,
"end": 25, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 30, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 30, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 15, "start": 14,
"end": 27, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 16, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -49,15 +49,15 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 15, "start": 14,
"end": 27, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 25, "start": 24,
"end": 27, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []
@ -68,15 +68,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 18, "start": 17,
"end": 24, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 20, "start": 19,
"end": 24, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 36, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 36, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 16, "start": 14,
"end": 33, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 16, "start": 14,
"end": 17, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"value": "m", "value": "m",
@ -49,15 +49,15 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 16, "start": 14,
"end": 33, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 25, "start": 22,
"end": 33, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 31, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 31, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 16, "start": 14,
"end": 19, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 16, "start": 14,
"end": 17, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"value": "m", "value": "m",
@ -49,8 +49,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 16, "start": 14,
"end": 19, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -68,15 +68,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 25, "start": 22,
"end": 28, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 25, "start": 22,
"end": 26, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"value": "n", "value": "n",
@ -87,8 +87,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 25, "start": 22,
"end": 28, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,

View File

@ -1,8 +1,8 @@
{ {
"type": "Module", "type": "Module",
"span": { "span": {
"start": 41, "start": 40,
"end": 305, "end": 295,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -11,8 +11,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 56, "start": 55,
"end": 57, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -21,8 +21,8 @@
}, },
"declare": false, "declare": false,
"span": { "span": {
"start": 50, "start": 49,
"end": 305, "end": 295,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 65, "start": 63,
"end": 82, "end": 80,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 78, "start": 76,
"end": 79, "end": 77,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",
@ -49,8 +49,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 65, "start": 63,
"end": 82, "end": 80,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -68,15 +68,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 88, "start": 85,
"end": 116, "end": 113,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 99, "start": 96,
"end": 100, "end": 97,
"ctxt": 0 "ctxt": 0
}, },
"value": "s", "value": "s",
@ -87,30 +87,30 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 88, "start": 85,
"end": 116, "end": 113,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 103, "start": 100,
"end": 116, "end": 113,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "ReturnStatement", "type": "ReturnStatement",
"span": { "span": {
"start": 105, "start": 102,
"end": 114, "end": 111,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 112, "start": 109,
"end": 113, "end": 110,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0
@ -132,15 +132,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 129, "start": 125,
"end": 148, "end": 144,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 142, "start": 138,
"end": 145, "end": 141,
"ctxt": 0 "ctxt": 0
}, },
"value": "pua", "value": "pua",
@ -151,8 +151,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 129, "start": 125,
"end": 148, "end": 144,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -170,15 +170,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 161, "start": 156,
"end": 191, "end": 186,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 172, "start": 167,
"end": 175, "end": 170,
"ctxt": 0 "ctxt": 0
}, },
"value": "pus", "value": "pus",
@ -189,30 +189,30 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 161, "start": 156,
"end": 191, "end": 186,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 178, "start": 173,
"end": 191, "end": 186,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "ReturnStatement", "type": "ReturnStatement",
"span": { "span": {
"start": 180, "start": 175,
"end": 189, "end": 184,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 187, "start": 182,
"end": 188, "end": 183,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0
@ -234,15 +234,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 206, "start": 199,
"end": 228, "end": 221,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 210, "start": 203,
"end": 212, "end": 205,
"ctxt": 0 "ctxt": 0
}, },
"value": "pu", "value": "pu",
@ -253,30 +253,30 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 206, "start": 199,
"end": 228, "end": 221,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 215, "start": 208,
"end": 228, "end": 221,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "ReturnStatement", "type": "ReturnStatement",
"span": { "span": {
"start": 217, "start": 210,
"end": 226, "end": 219,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 224, "start": 217,
"end": 225, "end": 218,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0
@ -298,15 +298,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 244, "start": 236,
"end": 266, "end": 258,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 248, "start": 240,
"end": 250, "end": 242,
"ctxt": 0 "ctxt": 0
}, },
"value": "po", "value": "po",
@ -317,30 +317,30 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 244, "start": 236,
"end": 266, "end": 258,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 253, "start": 245,
"end": 266, "end": 258,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "ReturnStatement", "type": "ReturnStatement",
"span": { "span": {
"start": 255, "start": 247,
"end": 264, "end": 256,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 262, "start": 254,
"end": 263, "end": 255,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0
@ -362,15 +362,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 280, "start": 271,
"end": 302, "end": 293,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 284, "start": 275,
"end": 286, "end": 277,
"ctxt": 0 "ctxt": 0
}, },
"value": "pi", "value": "pi",
@ -381,30 +381,30 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 280, "start": 271,
"end": 302, "end": 293,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 289, "start": 280,
"end": 302, "end": 293,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "ReturnStatement", "type": "ReturnStatement",
"span": { "span": {
"start": 291, "start": 282,
"end": 300, "end": 291,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 298, "start": 289,
"end": 299, "end": 290,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0

View File

@ -1,8 +1,8 @@
{ {
"type": "Module", "type": "Module",
"span": { "span": {
"start": 43, "start": 42,
"end": 266, "end": 256,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -11,8 +11,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 58, "start": 57,
"end": 59, "end": 58,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -21,8 +21,8 @@
}, },
"declare": false, "declare": false,
"span": { "span": {
"start": 52, "start": 51,
"end": 266, "end": 256,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 67, "start": 65,
"end": 86, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 82, "start": 80,
"end": 83, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",
@ -49,8 +49,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 67, "start": 65,
"end": 86, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -68,15 +68,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 92, "start": 89,
"end": 111, "end": 108,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 105, "start": 102,
"end": 106, "end": 103,
"ctxt": 0 "ctxt": 0
}, },
"value": "s", "value": "s",
@ -87,15 +87,15 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 92, "start": 89,
"end": 111, "end": 108,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 109, "start": 106,
"end": 111, "end": 108,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []
@ -114,15 +114,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 124, "start": 120,
"end": 145, "end": 141,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 139, "start": 135,
"end": 142, "end": 138,
"ctxt": 0 "ctxt": 0
}, },
"value": "pua", "value": "pua",
@ -133,8 +133,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 124, "start": 120,
"end": 145, "end": 141,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -152,15 +152,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 158, "start": 153,
"end": 179, "end": 174,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 171, "start": 166,
"end": 174, "end": 169,
"ctxt": 0 "ctxt": 0
}, },
"value": "pus", "value": "pus",
@ -171,15 +171,15 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 158, "start": 153,
"end": 179, "end": 174,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 177, "start": 172,
"end": 179, "end": 174,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []
@ -198,15 +198,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 194, "start": 187,
"end": 207, "end": 200,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 200, "start": 193,
"end": 202, "end": 195,
"ctxt": 0 "ctxt": 0
}, },
"value": "pu", "value": "pu",
@ -217,15 +217,15 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 194, "start": 187,
"end": 207, "end": 200,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 205, "start": 198,
"end": 207, "end": 200,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []
@ -244,15 +244,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 223, "start": 215,
"end": 236, "end": 228,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 229, "start": 221,
"end": 231, "end": 223,
"ctxt": 0 "ctxt": 0
}, },
"value": "po", "value": "po",
@ -263,15 +263,15 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 223, "start": 215,
"end": 236, "end": 228,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 234, "start": 226,
"end": 236, "end": 228,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []
@ -290,15 +290,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 250, "start": 241,
"end": 263, "end": 254,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 256, "start": 247,
"end": 258, "end": 249,
"ctxt": 0 "ctxt": 0
}, },
"value": "pi", "value": "pi",
@ -309,15 +309,15 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 250, "start": 241,
"end": 263, "end": 254,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 261, "start": 252,
"end": 263, "end": 254,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 416, "end": 396,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 9, "start": 9,
"end": 416, "end": 396,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 24, "start": 23,
"end": 35, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 33, "start": 32,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"value": "r", "value": "r",
@ -59,15 +59,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 41, "start": 39,
"end": 62, "end": 60,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 50, "start": 48,
"end": 52, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"value": "r2", "value": "r2",
@ -78,15 +78,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 53, "start": 51,
"end": 61, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 55, "start": 53,
"end": 61, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -104,15 +104,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 68, "start": 65,
"end": 79, "end": 76,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 77, "start": 74,
"end": 78, "end": 75,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",
@ -133,15 +133,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 85, "start": 81,
"end": 94, "end": 90,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 92, "start": 88,
"end": 93, "end": 89,
"ctxt": 0 "ctxt": 0
}, },
"value": "s", "value": "s",
@ -162,15 +162,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 109, "start": 103,
"end": 112, "end": 106,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 109, "start": 103,
"end": 111, "end": 105,
"ctxt": 0 "ctxt": 0
}, },
"value": "pu", "value": "pu",
@ -191,15 +191,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 128, "start": 121,
"end": 131, "end": 124,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 128, "start": 121,
"end": 130, "end": 123,
"ctxt": 0 "ctxt": 0
}, },
"value": "po", "value": "po",
@ -220,15 +220,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 145, "start": 137,
"end": 148, "end": 140,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 145, "start": 137,
"end": 147, "end": 139,
"ctxt": 0 "ctxt": 0
}, },
"value": "pi", "value": "pi",
@ -249,15 +249,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 156, "start": 146,
"end": 177, "end": 167,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 174, "start": 164,
"end": 176, "end": 166,
"ctxt": 0 "ctxt": 0
}, },
"value": "ra", "value": "ra",
@ -278,15 +278,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 183, "start": 172,
"end": 204, "end": 193,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 201, "start": 190,
"end": 203, "end": 192,
"ctxt": 0 "ctxt": 0
}, },
"value": "ar", "value": "ar",
@ -307,15 +307,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 210, "start": 198,
"end": 229, "end": 217,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 226, "start": 214,
"end": 228, "end": 216,
"ctxt": 0 "ctxt": 0
}, },
"value": "sr", "value": "sr",
@ -336,15 +336,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 244, "start": 230,
"end": 257, "end": 243,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 253, "start": 239,
"end": 256, "end": 242,
"ctxt": 0 "ctxt": 0
}, },
"value": "pur", "value": "pur",
@ -365,15 +365,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 270, "start": 255,
"end": 283, "end": 268,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 279, "start": 264,
"end": 282, "end": 267,
"ctxt": 0 "ctxt": 0
}, },
"value": "pua", "value": "pua",
@ -394,15 +394,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 296, "start": 280,
"end": 307, "end": 291,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 303, "start": 287,
"end": 306, "end": 290,
"ctxt": 0 "ctxt": 0
}, },
"value": "pus", "value": "pus",
@ -423,15 +423,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 320, "start": 303,
"end": 343, "end": 326,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 338, "start": 321,
"end": 342, "end": 325,
"ctxt": 0 "ctxt": 0
}, },
"value": "pura", "value": "pura",
@ -452,15 +452,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 356, "start": 338,
"end": 379, "end": 361,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 374, "start": 356,
"end": 378, "end": 360,
"ctxt": 0 "ctxt": 0
}, },
"value": "puar", "value": "puar",
@ -481,15 +481,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 392, "start": 373,
"end": 413, "end": 394,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 408, "start": 389,
"end": 412, "end": 393,
"ctxt": 0 "ctxt": 0
}, },
"value": "pusr", "value": "pusr",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 267, "end": 257,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 267, "end": 257,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "Constructor", "type": "Constructor",
"span": { "span": {
"start": 15, "start": 14,
"end": 264, "end": 255,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"value": "constructor", "value": "constructor",
@ -49,8 +49,8 @@
{ {
"type": "TsParameterProperty", "type": "TsParameterProperty",
"span": { "span": {
"start": 37, "start": 35,
"end": 45, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -59,8 +59,8 @@
"param": { "param": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 46, "start": 44,
"end": 47, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"value": "r", "value": "r",
@ -71,8 +71,8 @@
{ {
"type": "TsParameterProperty", "type": "TsParameterProperty",
"span": { "span": {
"start": 58, "start": 55,
"end": 64, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -81,23 +81,23 @@
"param": { "param": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 65, "start": 62,
"end": 75, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"value": "pu", "value": "pu",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 67, "start": 64,
"end": 75, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 69, "start": 66,
"end": 75, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -109,8 +109,8 @@
{ {
"type": "TsParameterProperty", "type": "TsParameterProperty",
"span": { "span": {
"start": 86, "start": 82,
"end": 95, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -119,8 +119,8 @@
"param": { "param": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 96, "start": 92,
"end": 98, "end": 94,
"ctxt": 0 "ctxt": 0
}, },
"value": "po", "value": "po",
@ -131,8 +131,8 @@
{ {
"type": "TsParameterProperty", "type": "TsParameterProperty",
"span": { "span": {
"start": 110, "start": 105,
"end": 117, "end": 112,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -141,23 +141,23 @@
"param": { "param": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 118, "start": 113,
"end": 129, "end": 124,
"ctxt": 0 "ctxt": 0
}, },
"value": "pi", "value": "pi",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 121, "start": 116,
"end": 129, "end": 124,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 123, "start": 118,
"end": 129, "end": 124,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -169,8 +169,8 @@
{ {
"type": "TsParameterProperty", "type": "TsParameterProperty",
"span": { "span": {
"start": 140, "start": 134,
"end": 155, "end": 149,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -179,8 +179,8 @@
"param": { "param": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 156, "start": 150,
"end": 159, "end": 153,
"ctxt": 0 "ctxt": 0
}, },
"value": "pur", "value": "pur",
@ -191,8 +191,8 @@
{ {
"type": "TsParameterProperty", "type": "TsParameterProperty",
"span": { "span": {
"start": 214, "start": 206,
"end": 222, "end": 214,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -201,15 +201,15 @@
"param": { "param": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"span": { "span": {
"start": 223, "start": 215,
"end": 228, "end": 220,
"ctxt": 0 "ctxt": 0
}, },
"left": { "left": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 223, "start": 215,
"end": 224, "end": 216,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -219,8 +219,8 @@
"right": { "right": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 227, "start": 219,
"end": 228, "end": 220,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0
@ -231,8 +231,8 @@
{ {
"type": "TsParameterProperty", "type": "TsParameterProperty",
"span": { "span": {
"start": 239, "start": 230,
"end": 245, "end": 236,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -241,30 +241,30 @@
"param": { "param": {
"type": "AssignmentPattern", "type": "AssignmentPattern",
"span": { "span": {
"start": 246, "start": 237,
"end": 260, "end": 251,
"ctxt": 0 "ctxt": 0
}, },
"left": { "left": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 246, "start": 237,
"end": 256, "end": 247,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 248, "start": 239,
"end": 256, "end": 247,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 250, "start": 241,
"end": 256, "end": 247,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -275,8 +275,8 @@
"right": { "right": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 259, "start": 250,
"end": 260, "end": 251,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0
@ -288,8 +288,8 @@
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 262, "start": 253,
"end": 264, "end": 255,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 91, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 91, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 15, "start": 14,
"end": 17, "end": 16,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 16, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -59,15 +59,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 23, "start": 21,
"end": 26, "end": 24,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 23, "start": 21,
"end": 24, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -88,15 +88,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 32, "start": 29,
"end": 42, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 32, "start": 29,
"end": 33, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -107,15 +107,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 33, "start": 30,
"end": 41, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 35, "start": 32,
"end": 41, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -133,15 +133,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 48, "start": 44,
"end": 62, "end": 58,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 48, "start": 44,
"end": 49, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -151,8 +151,8 @@
"value": { "value": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 60, "start": 56,
"end": 61, "end": 57,
"ctxt": 0 "ctxt": 0
}, },
"value": 1.0 "value": 1.0
@ -160,15 +160,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 49, "start": 45,
"end": 57, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 51, "start": 47,
"end": 57, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -186,15 +186,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 68, "start": 63,
"end": 71, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 68, "start": 63,
"end": 69, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -215,15 +215,15 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 77, "start": 71,
"end": 88, "end": 82,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 77, "start": 71,
"end": 78, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -234,15 +234,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 79, "start": 73,
"end": 87, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 81, "start": 75,
"end": 87, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 77, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 77, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,22 +30,22 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 15, "start": 14,
"end": 41, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 16, "start": 15,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 16, "start": 15,
"end": 22, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"value": "Symbol", "value": "Symbol",
@ -55,8 +55,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 23, "start": 22,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"value": "iterator", "value": "iterator",
@ -69,15 +69,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 32, "start": 31,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 34, "start": 33,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -95,22 +95,22 @@
{ {
"type": "ClassProperty", "type": "ClassProperty",
"span": { "span": {
"start": 47, "start": 45,
"end": 74, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 48, "start": 46,
"end": 63, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 48, "start": 46,
"end": 54, "end": 52,
"ctxt": 0 "ctxt": 0
}, },
"value": "Symbol", "value": "Symbol",
@ -120,8 +120,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 55, "start": 53,
"end": 63, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"value": "iterator", "value": "iterator",
@ -134,15 +134,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 65, "start": 63,
"end": 73, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 67, "start": 65,
"end": 73, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 105, "end": 100,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -22,7 +22,7 @@
"declare": false, "declare": false,
"span": { "span": {
"start": 0, "start": 0,
"end": 105, "end": 100,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,15 +30,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 15, "start": 14,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 22, "start": 21,
"end": 23, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -49,8 +49,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 15, "start": 14,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -68,15 +68,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 39, "start": 37,
"end": 50, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 46, "start": 44,
"end": 47, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -87,8 +87,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 39, "start": 37,
"end": 50, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -106,15 +106,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 66, "start": 63,
"end": 77, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 73, "start": 70,
"end": 74, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -125,8 +125,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 66, "start": 63,
"end": 77, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -144,15 +144,15 @@
{ {
"type": "ClassMethod", "type": "ClassMethod",
"span": { "span": {
"start": 91, "start": 87,
"end": 102, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 98, "start": 94,
"end": 99, "end": 95,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -163,8 +163,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 91, "start": 87,
"end": 102, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 42, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsEnumDeclaration", "type": "TsEnumDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 42, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -30,15 +30,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 22, "start": 21,
"end": 23, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 22, "start": 21,
"end": 23, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"value": "A", "value": "A",
@ -50,15 +50,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 30, "start": 28,
"end": 31, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 30, "start": 28,
"end": 31, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"value": "B", "value": "B",
@ -70,15 +70,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 38, "start": 35,
"end": 39, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 38, "start": 35,
"end": 39, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 99, "end": 97,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 99, "end": 97,
"ctxt": 0 "ctxt": 0
}, },
"kind": "var", "kind": "var",
@ -20,7 +20,7 @@
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 4, "start": 4,
"end": 98, "end": 96,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -38,7 +38,7 @@
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
"span": { "span": {
"start": 8, "start": 8,
"end": 98, "end": 96,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
@ -120,30 +120,30 @@
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 56, "start": 56,
"end": 98, "end": 96,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "ReturnStatement", "type": "ReturnStatement",
"span": { "span": {
"start": 63, "start": 62,
"end": 95, "end": 94,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "TemplateLiteral", "type": "TemplateLiteral",
"span": { "span": {
"start": 70, "start": 69,
"end": 94, "end": 93,
"ctxt": 0 "ctxt": 0
}, },
"expressions": [ "expressions": [
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 73, "start": 72,
"end": 81, "end": 80,
"ctxt": 0 "ctxt": 0
}, },
"value": "greeting", "value": "greeting",
@ -153,8 +153,8 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 85, "start": 84,
"end": 91, "end": 90,
"ctxt": 0 "ctxt": 0
}, },
"value": "target", "value": "target",
@ -166,16 +166,16 @@
{ {
"type": "TemplateElement", "type": "TemplateElement",
"span": { "span": {
"start": 71, "start": 70,
"end": 71, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"tail": false, "tail": false,
"cooked": { "cooked": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 71, "start": 70,
"end": 71, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"value": "", "value": "",
@ -184,8 +184,8 @@
"raw": { "raw": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 71, "start": 70,
"end": 71, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"value": "", "value": "",
@ -195,16 +195,16 @@
{ {
"type": "TemplateElement", "type": "TemplateElement",
"span": { "span": {
"start": 82, "start": 81,
"end": 83, "end": 82,
"ctxt": 0 "ctxt": 0
}, },
"tail": false, "tail": false,
"cooked": { "cooked": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 82, "start": 81,
"end": 83, "end": 82,
"ctxt": 0 "ctxt": 0
}, },
"value": " ", "value": " ",
@ -213,8 +213,8 @@
"raw": { "raw": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 82, "start": 81,
"end": 83, "end": 82,
"ctxt": 0 "ctxt": 0
}, },
"value": " ", "value": " ",
@ -224,16 +224,16 @@
{ {
"type": "TemplateElement", "type": "TemplateElement",
"span": { "span": {
"start": 92, "start": 91,
"end": 93, "end": 92,
"ctxt": 0 "ctxt": 0
}, },
"tail": true, "tail": true,
"cooked": { "cooked": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 92, "start": 91,
"end": 93, "end": 92,
"ctxt": 0 "ctxt": 0
}, },
"value": "!", "value": "!",
@ -242,8 +242,8 @@
"raw": { "raw": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 92, "start": 91,
"end": 93, "end": 92,
"ctxt": 0 "ctxt": 0
}, },
"value": "!", "value": "!",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 101, "end": 99,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -98,37 +98,37 @@
"decorators": [], "decorators": [],
"span": { "span": {
"start": 0, "start": 0,
"end": 100, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 58, "start": 58,
"end": 100, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "ReturnStatement", "type": "ReturnStatement",
"span": { "span": {
"start": 65, "start": 64,
"end": 97, "end": 96,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "TemplateLiteral", "type": "TemplateLiteral",
"span": { "span": {
"start": 72, "start": 71,
"end": 96, "end": 95,
"ctxt": 0 "ctxt": 0
}, },
"expressions": [ "expressions": [
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 75, "start": 74,
"end": 83, "end": 82,
"ctxt": 0 "ctxt": 0
}, },
"value": "greeting", "value": "greeting",
@ -138,8 +138,8 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 87, "start": 86,
"end": 93, "end": 92,
"ctxt": 0 "ctxt": 0
}, },
"value": "target", "value": "target",
@ -151,16 +151,16 @@
{ {
"type": "TemplateElement", "type": "TemplateElement",
"span": { "span": {
"start": 73, "start": 72,
"end": 73, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"tail": false, "tail": false,
"cooked": { "cooked": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 73, "start": 72,
"end": 73, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"value": "", "value": "",
@ -169,8 +169,8 @@
"raw": { "raw": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 73, "start": 72,
"end": 73, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"value": "", "value": "",
@ -180,16 +180,16 @@
{ {
"type": "TemplateElement", "type": "TemplateElement",
"span": { "span": {
"start": 84, "start": 83,
"end": 85, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"tail": false, "tail": false,
"cooked": { "cooked": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 84, "start": 83,
"end": 85, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"value": " ", "value": " ",
@ -198,8 +198,8 @@
"raw": { "raw": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 84, "start": 83,
"end": 85, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"value": " ", "value": " ",
@ -209,16 +209,16 @@
{ {
"type": "TemplateElement", "type": "TemplateElement",
"span": { "span": {
"start": 94, "start": 93,
"end": 95, "end": 94,
"ctxt": 0 "ctxt": 0
}, },
"tail": true, "tail": true,
"cooked": { "cooked": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 94, "start": 93,
"end": 95, "end": 94,
"ctxt": 0 "ctxt": 0
}, },
"value": "!", "value": "!",
@ -227,8 +227,8 @@
"raw": { "raw": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 94, "start": 93,
"end": 95, "end": 94,
"ctxt": 0 "ctxt": 0
}, },
"value": "!", "value": "!",
@ -248,8 +248,8 @@
{ {
"type": "EmptyStatement", "type": "EmptyStatement",
"span": { "span": {
"start": 100, "start": 98,
"end": 101, "end": 99,
"ctxt": 0 "ctxt": 0
} }
} }

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 60, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -124,23 +124,23 @@
{ {
"type": "ExportNamedDeclaration", "type": "ExportNamedDeclaration",
"span": { "span": {
"start": 44, "start": 43,
"end": 60, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"specifiers": [ "specifiers": [
{ {
"type": "ExportSpecifier", "type": "ExportSpecifier",
"span": { "span": {
"start": 53, "start": 52,
"end": 57, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"orig": { "orig": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 53, "start": 52,
"end": 57, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"value": "Link", "value": "Link",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 174, "end": 171,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 174, "end": 171,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
@ -163,52 +163,52 @@
"decorators": [], "decorators": [],
"span": { "span": {
"start": 7, "start": 7,
"end": 174, "end": 171,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 116, "start": 116,
"end": 174, "end": 171,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 123, "start": 122,
"end": 144, "end": 143,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "AssignmentExpression", "type": "AssignmentExpression",
"span": { "span": {
"start": 123, "start": 122,
"end": 143, "end": 142,
"ctxt": 0 "ctxt": 0
}, },
"operator": "=", "operator": "=",
"left": { "left": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 123, "start": 122,
"end": 134, "end": 133,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "ThisExpression", "type": "ThisExpression",
"span": { "span": {
"start": 123, "start": 122,
"end": 127, "end": 126,
"ctxt": 0 "ctxt": 0
} }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 128, "start": 127,
"end": 134, "end": 133,
"ctxt": 0 "ctxt": 0
}, },
"value": "$scope", "value": "$scope",
@ -220,8 +220,8 @@
"right": { "right": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 137, "start": 136,
"end": 143, "end": 142,
"ctxt": 0 "ctxt": 0
}, },
"value": "$scope", "value": "$scope",
@ -233,38 +233,38 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 150, "start": 148,
"end": 171, "end": 169,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "AssignmentExpression", "type": "AssignmentExpression",
"span": { "span": {
"start": 150, "start": 148,
"end": 170, "end": 168,
"ctxt": 0 "ctxt": 0
}, },
"operator": "=", "operator": "=",
"left": { "left": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 150, "start": 148,
"end": 161, "end": 159,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "ThisExpression", "type": "ThisExpression",
"span": { "span": {
"start": 150, "start": 148,
"end": 154, "end": 152,
"ctxt": 0 "ctxt": 0
} }
}, },
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 155, "start": 153,
"end": 161, "end": 159,
"ctxt": 0 "ctxt": 0
}, },
"value": "$attrs", "value": "$attrs",
@ -276,8 +276,8 @@
"right": { "right": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 164, "start": 162,
"end": 170, "end": 168,
"ctxt": 0 "ctxt": 0
}, },
"value": "$attrs", "value": "$attrs",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 43, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 43, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"kind": "const", "kind": "const",
@ -20,7 +20,7 @@
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 6, "start": 6,
"end": 42, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -65,15 +65,15 @@
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
"span": { "span": {
"start": 13, "start": 13,
"end": 42, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 20, "start": 19,
"end": 21, "end": 20,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",
@ -83,8 +83,8 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 28, "start": 26,
"end": 29, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"value": "b", "value": "b",
@ -95,8 +95,8 @@
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 38, "start": 35,
"end": 42, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 93, "end": 92,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -67,8 +67,8 @@
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 42, "start": 41,
"end": 93, "end": 92,
"ctxt": 0 "ctxt": 0
}, },
"kind": "let", "kind": "let",
@ -77,30 +77,30 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 46, "start": 45,
"end": 92, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 46, "start": 45,
"end": 55, "end": 54,
"ctxt": 0 "ctxt": 0
}, },
"value": "strLength", "value": "strLength",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 55, "start": 54,
"end": 63, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 57, "start": 56,
"end": 63, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -111,29 +111,29 @@
"init": { "init": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 66, "start": 65,
"end": 92, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 66, "start": 65,
"end": 85, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "TsTypeAssertion", "type": "TsTypeAssertion",
"span": { "span": {
"start": 67, "start": 66,
"end": 84, "end": 83,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 75, "start": 74,
"end": 84, "end": 83,
"ctxt": 0 "ctxt": 0
}, },
"value": "someValue", "value": "someValue",
@ -143,8 +143,8 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 68, "start": 67,
"end": 74, "end": 73,
"ctxt": 0 "ctxt": 0
}, },
"kind": "string" "kind": "string"
@ -154,8 +154,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 86, "start": 85,
"end": 92, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"value": "length", "value": "length",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 40, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "ForInStatement", "type": "ForInStatement",
"span": { "span": {
"start": 0, "start": 0,
"end": 40, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"left": { "left": {
@ -73,44 +73,44 @@
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 20, "start": 20,
"end": 40, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 25, "start": 24,
"end": 37, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "CallExpression", "type": "CallExpression",
"span": { "span": {
"start": 25, "start": 24,
"end": 36, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"callee": { "callee": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 25, "start": 24,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "ArrowFunctionExpression", "type": "ArrowFunctionExpression",
"span": { "span": {
"start": 26, "start": 25,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 26, "start": 25,
"end": 27, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -121,8 +121,8 @@
"body": { "body": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 31, "start": 30,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0
@ -139,8 +139,8 @@
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 34, "start": 33,
"end": 35, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",

View File

@ -1,30 +1,30 @@
{ {
"type": "Module", "type": "Module",
"span": { "span": {
"start": 2, "start": 1,
"end": 194, "end": 183,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 2, "start": 1,
"end": 194, "end": 183,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 2, "start": 1,
"end": 193, "end": 182,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 9, "start": 7,
"end": 190, "end": 180,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -32,8 +32,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 10, "start": 8,
"end": 13, "end": 11,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -41,8 +41,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 10, "start": 8,
"end": 14, "end": 12,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -53,27 +53,27 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 14, "start": 12,
"end": 24, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXExpressionContainer", "type": "JSXExpressionContainer",
"expression": { "expression": {
"type": "ConditionalExpression", "type": "ConditionalExpression",
"span": { "span": {
"start": 39, "start": 35,
"end": 165, "end": 158,
"ctxt": 0 "ctxt": 0
}, },
"test": { "test": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 39, "start": 35,
"end": 48, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"value": "isLoading", "value": "isLoading",
@ -83,15 +83,15 @@
"consequent": { "consequent": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 68, "start": 63,
"end": 87, "end": 82,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 69, "start": 64,
"end": 86, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -99,8 +99,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 70, "start": 65,
"end": 72, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"value": "h2", "value": "h2",
@ -108,8 +108,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 70, "start": 65,
"end": 73, "end": 68,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -120,8 +120,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 73, "start": 68,
"end": 81, "end": 76,
"ctxt": 0 "ctxt": 0
}, },
"value": "loading ", "value": "loading ",
@ -131,15 +131,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 83, "start": 78,
"end": 86, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 83, "start": 78,
"end": 85, "end": 80,
"ctxt": 0 "ctxt": 0
}, },
"value": "h2", "value": "h2",
@ -152,15 +152,15 @@
"alternate": { "alternate": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 124, "start": 117,
"end": 165, "end": 158,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 125, "start": 118,
"end": 164, "end": 157,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -168,8 +168,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 126, "start": 119,
"end": 128, "end": 121,
"ctxt": 0 "ctxt": 0
}, },
"value": "h3", "value": "h3",
@ -177,8 +177,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 126, "start": 119,
"end": 129, "end": 122,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -189,8 +189,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 129, "start": 122,
"end": 159, "end": 152,
"ctxt": 0 "ctxt": 0
}, },
"value": "naaaaaaaaaaaaffffffffffffffff ", "value": "naaaaaaaaaaaaffffffffffffffff ",
@ -200,15 +200,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 161, "start": 154,
"end": 164, "end": 157,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 161, "start": 154,
"end": 163, "end": 156,
"ctxt": 0 "ctxt": 0
}, },
"value": "h3", "value": "h3",
@ -223,26 +223,26 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 178, "start": 169,
"end": 184, "end": 174,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
} }
], ],
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 186, "start": 176,
"end": 190, "end": 180,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 186, "start": 176,
"end": 189, "end": 179,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 266, "end": 252,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -50,8 +50,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 39, "start": 37,
"end": 42, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"value": "App", "value": "App",
@ -62,23 +62,23 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 30, "start": 28,
"end": 243, "end": 231,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 45, "start": 43,
"end": 243, "end": 231,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [ "stmts": [
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 50, "start": 47,
"end": 73, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"kind": "const", "kind": "const",
@ -87,15 +87,15 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 56, "start": 53,
"end": 72, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 56, "start": 53,
"end": 65, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"value": "isLoading", "value": "isLoading",
@ -105,8 +105,8 @@
"init": { "init": {
"type": "BooleanLiteral", "type": "BooleanLiteral",
"span": { "span": {
"start": 68, "start": 65,
"end": 72, "end": 69,
"ctxt": 0 "ctxt": 0
}, },
"value": true "value": true
@ -118,22 +118,22 @@
{ {
"type": "ReturnStatement", "type": "ReturnStatement",
"span": { "span": {
"start": 77, "start": 73,
"end": 240, "end": 229,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 84, "start": 80,
"end": 239, "end": 228,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 91, "start": 86,
"end": 234, "end": 224,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -141,8 +141,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 92, "start": 87,
"end": 95, "end": 90,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -150,8 +150,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 92, "start": 87,
"end": 96, "end": 91,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -162,18 +162,18 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 96, "start": 91,
"end": 104, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 104, "start": 98,
"end": 119, "end": 113,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -181,8 +181,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 105, "start": 99,
"end": 107, "end": 101,
"ctxt": 0 "ctxt": 0
}, },
"value": "h1", "value": "h1",
@ -190,8 +190,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 105, "start": 99,
"end": 108, "end": 102,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -202,8 +202,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 108, "start": 102,
"end": 114, "end": 108,
"ctxt": 0 "ctxt": 0
}, },
"value": "works ", "value": "works ",
@ -213,15 +213,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 116, "start": 110,
"end": 119, "end": 113,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 116, "start": 110,
"end": 118, "end": 112,
"ctxt": 0 "ctxt": 0
}, },
"value": "h1", "value": "h1",
@ -233,27 +233,27 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 119, "start": 113,
"end": 127, "end": 120,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
}, },
{ {
"type": "JSXExpressionContainer", "type": "JSXExpressionContainer",
"expression": { "expression": {
"type": "ConditionalExpression", "type": "ConditionalExpression",
"span": { "span": {
"start": 138, "start": 130,
"end": 213, "end": 205,
"ctxt": 0 "ctxt": 0
}, },
"test": { "test": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 138, "start": 130,
"end": 147, "end": 139,
"ctxt": 0 "ctxt": 0
}, },
"value": "isLoading", "value": "isLoading",
@ -263,8 +263,8 @@
"consequent": { "consequent": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 150, "start": 142,
"end": 169, "end": 161,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -272,8 +272,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 151, "start": 143,
"end": 154, "end": 146,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -281,8 +281,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 151, "start": 143,
"end": 155, "end": 147,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -293,8 +293,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 155, "start": 147,
"end": 163, "end": 155,
"ctxt": 0 "ctxt": 0
}, },
"value": "loading ", "value": "loading ",
@ -304,15 +304,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 165, "start": 157,
"end": 169, "end": 161,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 165, "start": 157,
"end": 168, "end": 160,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -324,8 +324,8 @@
"alternate": { "alternate": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 172, "start": 164,
"end": 213, "end": 205,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -333,8 +333,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 173, "start": 165,
"end": 176, "end": 168,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -342,8 +342,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 173, "start": 165,
"end": 177, "end": 169,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],
@ -354,8 +354,8 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 177, "start": 169,
"end": 207, "end": 199,
"ctxt": 0 "ctxt": 0
}, },
"value": "naaaaaaaaaaaaffffffffffffffff ", "value": "naaaaaaaaaaaaffffffffffffffff ",
@ -365,15 +365,15 @@
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 209, "start": 201,
"end": 213, "end": 205,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 209, "start": 201,
"end": 212, "end": 204,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -387,26 +387,26 @@
{ {
"type": "JSXText", "type": "JSXText",
"span": { "span": {
"start": 222, "start": 213,
"end": 228, "end": 218,
"ctxt": 0 "ctxt": 0
}, },
"value": "\n\r\n ", "value": "\n\n ",
"raw": "\n\r\n " "raw": "\n\n "
} }
], ],
"closing": { "closing": {
"type": "JSXClosingElement", "type": "JSXClosingElement",
"span": { "span": {
"start": 230, "start": 220,
"end": 234, "end": 224,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 230, "start": 220,
"end": 233, "end": 223,
"ctxt": 0 "ctxt": 0
}, },
"value": "div", "value": "div",
@ -427,15 +427,15 @@
{ {
"type": "ExportDefaultExpression", "type": "ExportDefaultExpression",
"span": { "span": {
"start": 247, "start": 233,
"end": 266, "end": 252,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 262, "start": 248,
"end": 265, "end": 251,
"ctxt": 0 "ctxt": 0
}, },
"value": "App", "value": "App",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 35, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -42,8 +42,8 @@
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 24, "start": 23,
"end": 35, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"kind": "var", "kind": "var",
@ -52,30 +52,30 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 28, "start": 27,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 28, "start": 27,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 29, "start": 28,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 31, "start": 30,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 35, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -11,8 +11,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 28, "start": 27,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"value": "Test", "value": "Test",
@ -21,8 +21,8 @@
}, },
"declare": false, "declare": false,
"span": { "span": {
"start": 22, "start": 21,
"end": 35, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [ "decorators": [

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 36, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsEnumDeclaration", "type": "TsEnumDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 36, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -30,15 +30,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 14, "start": 13,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 14, "start": 13,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"value": "const", "value": "const",
@ -50,15 +50,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 26, "start": 24,
"end": 33, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 26, "start": 24,
"end": 33, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"value": "default", "value": "default",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 38, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsEnumDeclaration", "type": "TsEnumDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 38, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -30,15 +30,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 14, "start": 13,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 14, "start": 13,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"value": "foo", "value": "foo",
@ -49,15 +49,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 26, "start": 24,
"end": 35, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 26, "start": 24,
"end": 31, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"value": "bar", "value": "bar",
@ -66,8 +66,8 @@
"init": { "init": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 34, "start": 32,
"end": 35, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"value": 1.0 "value": 1.0

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 23, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsEnumDeclaration", "type": "TsEnumDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 23, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -30,15 +30,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 14, "start": 13,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 14, "start": 13,
"end": 15, "end": 14,
"ctxt": 0 "ctxt": 0
}, },
"value": "A", "value": "A",
@ -48,8 +48,8 @@
"init": { "init": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 18, "start": 17,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 19, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsEnumDeclaration", "type": "TsEnumDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 19, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -30,15 +30,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 14, "start": 13,
"end": 15, "end": 14,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 14, "start": 13,
"end": 15, "end": 14,
"ctxt": 0 "ctxt": 0
}, },
"value": "A", "value": "A",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 30, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsEnumDeclaration", "type": "TsEnumDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 30, "end": 27,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -30,15 +30,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 14, "start": 13,
"end": 15, "end": 14,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 14, "start": 13,
"end": 15, "end": 14,
"ctxt": 0 "ctxt": 0
}, },
"value": "A", "value": "A",
@ -50,15 +50,15 @@
{ {
"type": "TsEnumMember", "type": "TsEnumMember",
"span": { "span": {
"start": 22, "start": 20,
"end": 27, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 22, "start": 20,
"end": 23, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"value": "B", "value": "B",
@ -68,8 +68,8 @@
"init": { "init": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 26, "start": 24,
"end": 27, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0

View File

@ -1,23 +1,23 @@
{ {
"type": "Module", "type": "Module",
"span": { "span": {
"start": 2, "start": 1,
"end": 192, "end": 188,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 12, "start": 11,
"end": 192, "end": 188,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 12, "start": 11,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"value": "ObjectConstructor", "value": "ObjectConstructor",
@ -30,24 +30,24 @@
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 30, "start": 29,
"end": 192, "end": 188,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
"span": { "span": {
"start": 37, "start": 35,
"end": 131, "end": 129,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 37, "start": 35,
"end": 48, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"value": "fromEntries", "value": "fromEntries",
@ -60,30 +60,30 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 58, "start": 56,
"end": 102, "end": 100,
"ctxt": 0 "ctxt": 0
}, },
"value": "entries", "value": "entries",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 65, "start": 63,
"end": 102, "end": 100,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 67, "start": 65,
"end": 102, "end": 100,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 67, "start": 65,
"end": 75, "end": 73,
"ctxt": 0 "ctxt": 0
}, },
"value": "Iterable", "value": "Iterable",
@ -93,39 +93,39 @@
"typeParams": { "typeParams": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 75, "start": 73,
"end": 102, "end": 100,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeOperator", "type": "TsTypeOperator",
"span": { "span": {
"start": 76, "start": 74,
"end": 101, "end": 99,
"ctxt": 0 "ctxt": 0
}, },
"op": "readonly", "op": "readonly",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTupleType", "type": "TsTupleType",
"span": { "span": {
"start": 85, "start": 83,
"end": 101, "end": 99,
"ctxt": 0 "ctxt": 0
}, },
"elemTypes": [ "elemTypes": [
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 86, "start": 84,
"end": 97, "end": 95,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 86, "start": 84,
"end": 97, "end": 95,
"ctxt": 0 "ctxt": 0
}, },
"value": "PropertyKey", "value": "PropertyKey",
@ -137,15 +137,15 @@
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 99, "start": 97,
"end": 100, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 99, "start": 97,
"end": 100, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -167,30 +167,30 @@
"typeAnn": { "typeAnn": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 103, "start": 101,
"end": 130, "end": 128,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsMappedType", "type": "TsMappedType",
"span": { "span": {
"start": 105, "start": 103,
"end": 130, "end": 128,
"ctxt": 0 "ctxt": 0
}, },
"readonly": null, "readonly": null,
"typeParam": { "typeParam": {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 108, "start": 106,
"end": 124, "end": 122,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 108, "start": 106,
"end": 109, "end": 107,
"ctxt": 0 "ctxt": 0
}, },
"value": "k", "value": "k",
@ -200,15 +200,15 @@
"constraint": { "constraint": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 113, "start": 111,
"end": 124, "end": 122,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 113, "start": 111,
"end": 124, "end": 122,
"ctxt": 0 "ctxt": 0
}, },
"value": "PropertyKey", "value": "PropertyKey",
@ -223,15 +223,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 127, "start": 125,
"end": 128, "end": 126,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 127, "start": 125,
"end": 128, "end": 126,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -245,23 +245,23 @@
"typeParams": { "typeParams": {
"type": "TsTypeParameterDeclaration", "type": "TsTypeParameterDeclaration",
"span": { "span": {
"start": 48, "start": 46,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"parameters": [ "parameters": [
{ {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 49, "start": 47,
"end": 56, "end": 54,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 49, "start": 47,
"end": 50, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -272,8 +272,8 @@
"default": { "default": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 53, "start": 51,
"end": 56, "end": 54,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"
@ -285,16 +285,16 @@
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
"span": { "span": {
"start": 137, "start": 134,
"end": 189, "end": 186,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 137, "start": 134,
"end": 148, "end": 145,
"ctxt": 0 "ctxt": 0
}, },
"value": "fromEntries", "value": "fromEntries",
@ -307,30 +307,30 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 149, "start": 146,
"end": 182, "end": 179,
"ctxt": 0 "ctxt": 0
}, },
"value": "entries", "value": "entries",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 156, "start": 153,
"end": 182, "end": 179,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 158, "start": 155,
"end": 182, "end": 179,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 158, "start": 155,
"end": 166, "end": 163,
"ctxt": 0 "ctxt": 0
}, },
"value": "Iterable", "value": "Iterable",
@ -340,31 +340,31 @@
"typeParams": { "typeParams": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 166, "start": 163,
"end": 182, "end": 179,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeOperator", "type": "TsTypeOperator",
"span": { "span": {
"start": 167, "start": 164,
"end": 181, "end": 178,
"ctxt": 0 "ctxt": 0
}, },
"op": "readonly", "op": "readonly",
"typeAnnotation": { "typeAnnotation": {
"type": "TsArrayType", "type": "TsArrayType",
"span": { "span": {
"start": 176, "start": 173,
"end": 181, "end": 178,
"ctxt": 0 "ctxt": 0
}, },
"elemType": { "elemType": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 176, "start": 173,
"end": 179, "end": 176,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"
@ -381,15 +381,15 @@
"typeAnn": { "typeAnn": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 183, "start": 180,
"end": 188, "end": 185,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 185, "start": 182,
"end": 188, "end": 185,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 217, "end": 211,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -66,8 +66,8 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 33, "start": 32,
"end": 67, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
@ -75,8 +75,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 57, "start": 56,
"end": 58, "end": 57,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -87,8 +87,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 48, "start": 47,
"end": 67, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -98,15 +98,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 60, "start": 59,
"end": 66, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 62, "start": 61,
"end": 66, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"
@ -117,8 +117,8 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 69, "start": 67,
"end": 94, "end": 92,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
@ -126,8 +126,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 90, "start": 88,
"end": 91, "end": 89,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -136,8 +136,8 @@
}, },
"declare": true, "declare": true,
"span": { "span": {
"start": 84, "start": 82,
"end": 94, "end": 92,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -152,22 +152,22 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 96, "start": 93,
"end": 125, "end": 122,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 121, "start": 118,
"end": 125, "end": 122,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 121, "start": 118,
"end": 122, "end": 119,
"ctxt": 0 "ctxt": 0
}, },
"value": "I", "value": "I",
@ -180,8 +180,8 @@
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 123, "start": 120,
"end": 125, "end": 122,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []
@ -191,23 +191,23 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 127, "start": 123,
"end": 158, "end": 154,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
"type": "TsTypeAliasDeclaration", "type": "TsTypeAliasDeclaration",
"span": { "span": {
"start": 127, "start": 123,
"end": 158, "end": 154,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 147, "start": 143,
"end": 148, "end": 144,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -218,8 +218,8 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 151, "start": 147,
"end": 157, "end": 153,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -229,15 +229,15 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 160, "start": 155,
"end": 186, "end": 181,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 160, "start": 155,
"end": 186, "end": 181,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -245,8 +245,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 182, "start": 177,
"end": 183, "end": 178,
"ctxt": 0 "ctxt": 0
}, },
"value": "M", "value": "M",
@ -256,8 +256,8 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 184, "start": 179,
"end": 186, "end": 181,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []
@ -267,15 +267,15 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 188, "start": 182,
"end": 217, "end": 211,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 188, "start": 182,
"end": 217, "end": 211,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -283,8 +283,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 213, "start": 207,
"end": 214, "end": 208,
"ctxt": 0 "ctxt": 0
}, },
"value": "N", "value": "N",
@ -294,8 +294,8 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 215, "start": 209,
"end": 217, "end": 211,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 69, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -58,15 +58,15 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 21, "start": 20,
"end": 69, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 28, "start": 27,
"end": 69, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -74,8 +74,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 38, "start": 37,
"end": 39, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"value": "N", "value": "N",
@ -85,23 +85,23 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 40, "start": 39,
"end": 69, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 47, "start": 45,
"end": 66, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 54, "start": 52,
"end": 66, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"kind": "const", "kind": "const",
@ -110,15 +110,15 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 60, "start": 58,
"end": 65, "end": 63,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 60, "start": 58,
"end": 61, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -128,8 +128,8 @@
"init": { "init": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 64, "start": 62,
"end": 65, "end": 63,
"ctxt": 0 "ctxt": 0
}, },
"value": 1.0 "value": 1.0

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 56, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -54,8 +54,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 46, "start": 45,
"end": 47, "end": 46,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -66,8 +66,8 @@
"params": [], "params": [],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 37, "start": 36,
"end": 56, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -76,23 +76,23 @@
"typeParameters": { "typeParameters": {
"type": "TsTypeParameterDeclaration", "type": "TsTypeParameterDeclaration",
"span": { "span": {
"start": 47, "start": 46,
"end": 50, "end": 49,
"ctxt": 0 "ctxt": 0
}, },
"parameters": [ "parameters": [
{ {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 48, "start": 47,
"end": 49, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 48, "start": 47,
"end": 49, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -107,22 +107,22 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 52, "start": 51,
"end": 55, "end": 54,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 54, "start": 53,
"end": 55, "end": 54,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 54, "start": 53,
"end": 55, "end": 54,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 76, "end": 75,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -88,8 +88,8 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 39, "start": 38,
"end": 76, "end": 75,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
@ -97,8 +97,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 55, "start": 54,
"end": 56, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -110,23 +110,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 57, "start": 56,
"end": 66, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 58, "start": 57,
"end": 66, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 60, "start": 59,
"end": 66, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"kind": "string" "kind": "string"
@ -137,8 +137,8 @@
], ],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 46, "start": 45,
"end": 76, "end": 75,
"ctxt": 0 "ctxt": 0
}, },
"body": null, "body": null,
@ -148,15 +148,15 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 67, "start": 66,
"end": 75, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 69, "start": 68,
"end": 75, "end": 74,
"ctxt": 0 "ctxt": 0
}, },
"kind": "string" "kind": "string"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 72, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -115,15 +115,15 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 37, "start": 36,
"end": 72, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "ParenthesisExpression", "type": "ParenthesisExpression",
"span": { "span": {
"start": 37, "start": 36,
"end": 72, "end": 71,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
@ -133,23 +133,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 47, "start": 46,
"end": 53, "end": 52,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 48, "start": 47,
"end": 53, "end": 52,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 50, "start": 49,
"end": 53, "end": 52,
"ctxt": 0 "ctxt": 0
}, },
"kind": "any" "kind": "any"
@ -160,15 +160,15 @@
], ],
"decorators": [], "decorators": [],
"span": { "span": {
"start": 38, "start": 37,
"end": 71, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"body": { "body": {
"type": "BlockStatement", "type": "BlockStatement",
"span": { "span": {
"start": 69, "start": 68,
"end": 71, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"stmts": [] "stmts": []
@ -179,22 +179,22 @@
"returnType": { "returnType": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 54, "start": 53,
"end": 68, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypePredicate", "type": "TsTypePredicate",
"span": { "span": {
"start": 54, "start": 53,
"end": 68, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"paramName": { "paramName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 56, "start": 55,
"end": 57, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -204,15 +204,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 61, "start": 60,
"end": 68, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 61, "start": 60,
"end": 68, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"kind": "boolean" "kind": "boolean"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 52, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 52, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -29,30 +29,30 @@
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 19, "start": 19,
"end": 52, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "ImportDeclaration", "type": "ImportDeclaration",
"span": { "span": {
"start": 26, "start": 25,
"end": 49, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"specifiers": [ "specifiers": [
{ {
"type": "ImportNamespaceSpecifier", "type": "ImportNamespaceSpecifier",
"span": { "span": {
"start": 33, "start": 32,
"end": 39, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"local": { "local": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 38, "start": 37,
"end": 39, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",
@ -64,8 +64,8 @@
"source": { "source": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 45, "start": 44,
"end": 48, "end": 47,
"ctxt": 0 "ctxt": 0
}, },
"value": "a", "value": "a",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 40, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 40, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,38 +31,38 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 40, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsCallSignatureDeclaration", "type": "TsCallSignatureDeclaration",
"span": { "span": {
"start": 19, "start": 18,
"end": 37, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 20, "start": 19,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 21, "start": 20,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 23, "start": 22,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -74,15 +74,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 30, "start": 29,
"end": 36, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 32, "start": 31,
"end": 36, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 44, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 44, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,38 +31,38 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 44, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsConstructSignatureDeclaration", "type": "TsConstructSignatureDeclaration",
"span": { "span": {
"start": 19, "start": 18,
"end": 41, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 24, "start": 23,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 25, "start": 24,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 27, "start": 26,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -74,15 +74,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 34, "start": 33,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 36, "start": 35,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 52, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -48,22 +48,22 @@
{ {
"type": "ExportDefaultDeclaration", "type": "ExportDefaultDeclaration",
"span": { "span": {
"start": 23, "start": 22,
"end": 52, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"decl": { "decl": {
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 48, "start": 47,
"end": 52, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 48, "start": 47,
"end": 49, "end": 48,
"ctxt": 0 "ctxt": 0
}, },
"value": "A", "value": "A",
@ -76,8 +76,8 @@
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 50, "start": 49,
"end": 52, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 42, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 42, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,7 +31,7 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 42, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -41,23 +41,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 20, "start": 19,
"end": 21, "end": 20,
"ctxt": 0 "ctxt": 0
}, },
"value": "s", "value": "s",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 23, "start": 22,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 23, "start": 22,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"kind": "string" "kind": "string"
@ -69,15 +69,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 30, "start": 29,
"end": 38, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 32, "start": 31,
"end": 38, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -85,8 +85,8 @@
}, },
"readonly": false, "readonly": false,
"span": { "span": {
"start": 19, "start": 18,
"end": 39, "end": 38,
"ctxt": 0 "ctxt": 0
} }
} }

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 83, "end": 80,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 83, "end": 80,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,30 +31,30 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 83, "end": 80,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
"span": { "span": {
"start": 19, "start": 18,
"end": 45, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 20, "start": 19,
"end": 35, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 20, "start": 19,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"value": "Symbol", "value": "Symbol",
@ -64,8 +64,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 27, "start": 26,
"end": 35, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"value": "iterator", "value": "iterator",
@ -80,15 +80,15 @@
"typeAnn": { "typeAnn": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 38, "start": 37,
"end": 44, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 40, "start": 39,
"end": 44, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"
@ -99,23 +99,23 @@
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
"span": { "span": {
"start": 51, "start": 49,
"end": 80, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 52, "start": 50,
"end": 67, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 52, "start": 50,
"end": 58, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"value": "Symbol", "value": "Symbol",
@ -125,8 +125,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 59, "start": 57,
"end": 67, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"value": "iterator", "value": "iterator",
@ -141,15 +141,15 @@
"typeAnn": { "typeAnn": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 71, "start": 69,
"end": 79, "end": 77,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 73, "start": 71,
"end": 79, "end": 77,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 63, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 63, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,23 +31,23 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 63, "end": 61,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
"span": { "span": {
"start": 19, "start": 18,
"end": 60, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 19, "start": 18,
"end": 20, "end": 19,
"ctxt": 0 "ctxt": 0
}, },
"value": "m", "value": "m",
@ -60,22 +60,22 @@
"typeAnn": { "typeAnn": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 56, "start": 55,
"end": 59, "end": 58,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 58, "start": 57,
"end": 59, "end": 58,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 58, "start": 57,
"end": 59, "end": 58,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -88,23 +88,23 @@
"typeParams": { "typeParams": {
"type": "TsTypeParameterDeclaration", "type": "TsTypeParameterDeclaration",
"span": { "span": {
"start": 20, "start": 19,
"end": 54, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"parameters": [ "parameters": [
{ {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 21, "start": 20,
"end": 53, "end": 52,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 21, "start": 20,
"end": 22, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -114,8 +114,8 @@
"constraint": { "constraint": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 31, "start": 30,
"end": 37, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"kind": "object" "kind": "object"
@ -123,24 +123,24 @@
"default": { "default": {
"type": "TsTypeLiteral", "type": "TsTypeLiteral",
"span": { "span": {
"start": 40, "start": 39,
"end": 53, "end": 52,
"ctxt": 0 "ctxt": 0
}, },
"members": [ "members": [
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 42, "start": 41,
"end": 51, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 42, "start": 41,
"end": 43, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -154,15 +154,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 43, "start": 42,
"end": 51, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 45, "start": 44,
"end": 51, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 33, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 33, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,23 +31,23 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 33, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
"span": { "span": {
"start": 19, "start": 18,
"end": 30, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 19, "start": 18,
"end": 20, "end": 19,
"ctxt": 0 "ctxt": 0
}, },
"value": "m", "value": "m",
@ -60,15 +60,15 @@
"typeAnn": { "typeAnn": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 23, "start": 22,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 25, "start": 24,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 68, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 68, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,23 +31,23 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 68, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
"span": { "span": {
"start": 19, "start": 18,
"end": 23, "end": 22,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 19, "start": 18,
"end": 20, "end": 19,
"ctxt": 0 "ctxt": 0
}, },
"value": "m", "value": "m",
@ -63,16 +63,16 @@
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
"span": { "span": {
"start": 29, "start": 27,
"end": 65, "end": 63,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 29, "start": 27,
"end": 30, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"value": "m", "value": "m",
@ -85,23 +85,23 @@
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 31, "start": 29,
"end": 41, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 33, "start": 31,
"end": 41, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 35, "start": 33,
"end": 41, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -112,20 +112,20 @@
{ {
"type": "RestElement", "type": "RestElement",
"span": { "span": {
"start": 43, "start": 41,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"rest": { "rest": {
"start": 43, "start": 41,
"end": 46, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"argument": { "argument": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 46, "start": 44,
"end": 47, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",
@ -135,22 +135,22 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 47, "start": 45,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsArrayType", "type": "TsArrayType",
"span": { "span": {
"start": 49, "start": 47,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"elemType": { "elemType": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 49, "start": 47,
"end": 55, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -162,15 +162,15 @@
"typeAnn": { "typeAnn": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 58, "start": 56,
"end": 64, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 60, "start": 58,
"end": 64, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 41, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 41, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,23 +31,23 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 41, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 19, "start": 18,
"end": 38, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"readonly": true, "readonly": true,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 28, "start": 27,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -61,15 +61,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 29, "start": 28,
"end": 37, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 31, "start": 30,
"end": 37, "end": 36,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 57, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 57, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,23 +31,23 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 57, "end": 53,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 19, "start": 18,
"end": 21, "end": 20,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 19, "start": 18,
"end": 20, "end": 19,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -64,16 +64,16 @@
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 27, "start": 25,
"end": 37, "end": 35,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 27, "start": 25,
"end": 28, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",
@ -87,15 +87,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 28, "start": 26,
"end": 36, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 30, "start": 28,
"end": 36, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -106,16 +106,16 @@
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 43, "start": 40,
"end": 54, "end": 51,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 43, "start": 40,
"end": 44, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"value": "z", "value": "z",
@ -129,15 +129,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 45, "start": 42,
"end": 53, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 47, "start": 44,
"end": 53, "end": 50,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 81, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 81, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,30 +31,30 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 81, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 19, "start": 18,
"end": 45, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 20, "start": 19,
"end": 35, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 20, "start": 19,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"value": "Symbol", "value": "Symbol",
@ -64,8 +64,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 27, "start": 26,
"end": 35, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"value": "iterator", "value": "iterator",
@ -81,15 +81,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 36, "start": 35,
"end": 44, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 38, "start": 37,
"end": 44, "end": 43,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -100,23 +100,23 @@
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 51, "start": 49,
"end": 78, "end": 76,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "MemberExpression", "type": "MemberExpression",
"span": { "span": {
"start": 52, "start": 50,
"end": 67, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"object": { "object": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 52, "start": 50,
"end": 58, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"value": "Symbol", "value": "Symbol",
@ -126,8 +126,8 @@
"property": { "property": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 59, "start": 57,
"end": 67, "end": 65,
"ctxt": 0 "ctxt": 0
}, },
"value": "iterator", "value": "iterator",
@ -143,15 +143,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 69, "start": 67,
"end": 77, "end": 75,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 71, "start": 69,
"end": 77, "end": 75,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,23 +31,23 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 16, "start": 15,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 16, "start": 15,
"end": 22, "end": 21,
"ctxt": 0 "ctxt": 0
}, },
"value": "public", "value": "public",
@ -61,15 +61,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 22, "start": 21,
"end": 30, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 24, "start": 23,
"end": 30, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 36, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 36, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -31,23 +31,23 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 12, "start": 12,
"end": 36, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsMethodSignature", "type": "TsMethodSignature",
"span": { "span": {
"start": 19, "start": 18,
"end": 33, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 19, "start": 18,
"end": 24, "end": 23,
"ctxt": 0 "ctxt": 0
}, },
"value": "catch", "value": "catch",
@ -60,15 +60,15 @@
"typeAnn": { "typeAnn": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 26, "start": 25,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 28, "start": 27,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"kind": "void" "kind": "void"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 135, "end": 130,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -125,15 +125,15 @@
{ {
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 52, "start": 51,
"end": 81, "end": 80,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 52, "start": 51,
"end": 56, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"value": "Semi", "value": "Semi",
@ -146,24 +146,24 @@
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 57, "start": 56,
"end": 81, "end": 80,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 59, "start": 58,
"end": 69, "end": 68,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 59, "start": 58,
"end": 60, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -177,15 +177,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 60, "start": 59,
"end": 68, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 62, "start": 61,
"end": 68, "end": 67,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -196,16 +196,16 @@
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 70, "start": 69,
"end": 79, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 70, "start": 69,
"end": 71, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",
@ -219,15 +219,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 71, "start": 70,
"end": 79, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 73, "start": 72,
"end": 79, "end": 78,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -241,15 +241,15 @@
{ {
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 93, "start": 91,
"end": 135, "end": 130,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 93, "start": 91,
"end": 100, "end": 98,
"ctxt": 0 "ctxt": 0
}, },
"value": "Newline", "value": "Newline",
@ -262,24 +262,24 @@
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 101, "start": 99,
"end": 135, "end": 130,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 108, "start": 105,
"end": 117, "end": 114,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 108, "start": 105,
"end": 109, "end": 106,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -293,15 +293,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 109, "start": 106,
"end": 117, "end": 114,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 111, "start": 108,
"end": 117, "end": 114,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"
@ -312,16 +312,16 @@
{ {
"type": "TsPropertySignature", "type": "TsPropertySignature",
"span": { "span": {
"start": 123, "start": 119,
"end": 132, "end": 128,
"ctxt": 0 "ctxt": 0
}, },
"readonly": false, "readonly": false,
"key": { "key": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 123, "start": 119,
"end": 124, "end": 120,
"ctxt": 0 "ctxt": 0
}, },
"value": "y", "value": "y",
@ -335,15 +335,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 124, "start": 120,
"end": 132, "end": 128,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 126, "start": 122,
"end": 132, "end": 128,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 46, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 46, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -30,15 +30,15 @@
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 20, "start": 20,
"end": 46, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 27, "start": 26,
"end": 43, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"kind": "const", "kind": "const",
@ -47,30 +47,30 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 33, "start": 32,
"end": 42, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 33, "start": 32,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 34, "start": 33,
"end": 42, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 36, "start": 35,
"end": 42, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 76, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 76, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -30,15 +30,15 @@
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 20, "start": 20,
"end": 76, "end": 72,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 27, "start": 26,
"end": 73, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -46,8 +46,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 37, "start": 36,
"end": 38, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"value": "B", "value": "B",
@ -57,16 +57,16 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 39, "start": 38,
"end": 73, "end": 70,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 50, "start": 48,
"end": 66, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"kind": "const", "kind": "const",
@ -75,30 +75,30 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 56, "start": 54,
"end": 65, "end": 63,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 56, "start": 54,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 57, "start": 55,
"end": 65, "end": 63,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 59, "start": 57,
"end": 65, "end": 63,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 42, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 42, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -30,15 +30,15 @@
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 12, "start": 12,
"end": 42, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 19, "start": 18,
"end": 39, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -46,8 +46,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 29, "start": 28,
"end": 30, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"value": "B", "value": "B",
@ -57,8 +57,8 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 31, "start": 30,
"end": 39, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -30,15 +30,15 @@
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 12, "start": 12,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 19, "start": 18,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"kind": "const", "kind": "const",
@ -47,15 +47,15 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 25, "start": 24,
"end": 30, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 25, "start": 24,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
@ -65,8 +65,8 @@
"init": { "init": {
"type": "NumericLiteral", "type": "NumericLiteral",
"span": { "span": {
"start": 29, "start": 28,
"end": 30, "end": 29,
"ctxt": 0 "ctxt": 0
}, },
"value": 0.0 "value": 0.0

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 68, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 0, "start": 0,
"end": 68, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -29,15 +29,15 @@
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 19, "start": 19,
"end": 68, "end": 64,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 26, "start": 25,
"end": 65, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -45,8 +45,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 26, "start": 25,
"end": 32, "end": 31,
"ctxt": 0 "ctxt": 0
}, },
"value": "global", "value": "global",
@ -56,16 +56,16 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 33, "start": 32,
"end": 65, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "VariableDeclaration", "type": "VariableDeclaration",
"span": { "span": {
"start": 44, "start": 42,
"end": 58, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"kind": "var", "kind": "var",
@ -74,30 +74,30 @@
{ {
"type": "VariableDeclarator", "type": "VariableDeclarator",
"span": { "span": {
"start": 48, "start": 46,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 48, "start": 46,
"end": 49, "end": 47,
"ctxt": 0 "ctxt": 0
}, },
"value": "x", "value": "x",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 49, "start": 47,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsKeywordType", "type": "TsKeywordType",
"span": { "span": {
"start": 51, "start": 49,
"end": 57, "end": 55,
"ctxt": 0 "ctxt": 0
}, },
"kind": "number" "kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 87, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -60,8 +60,8 @@
{ {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 26, "start": 25,
"end": 45, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -69,8 +69,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 41, "start": 40,
"end": 42, "end": 41,
"ctxt": 0 "ctxt": 0
}, },
"value": "M", "value": "M",
@ -80,8 +80,8 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 43, "start": 42,
"end": 45, "end": 44,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []
@ -90,8 +90,8 @@
{ {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 47, "start": 45,
"end": 68, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -99,8 +99,8 @@
"id": { "id": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 62, "start": 60,
"end": 65, "end": 63,
"ctxt": 0 "ctxt": 0
}, },
"value": "m", "value": "m",
@ -109,8 +109,8 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 66, "start": 64,
"end": 68, "end": 66,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []
@ -119,8 +119,8 @@
{ {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 70, "start": 67,
"end": 87, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"declare": true, "declare": true,
@ -128,8 +128,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 78, "start": 75,
"end": 84, "end": 81,
"ctxt": 0 "ctxt": 0
}, },
"value": "global", "value": "global",
@ -139,8 +139,8 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 85, "start": 82,
"end": 87, "end": 84,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 43, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -68,15 +68,15 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 25, "start": 24,
"end": 43, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 32, "start": 31,
"end": 43, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -84,8 +84,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 39, "start": 38,
"end": 40, "end": 39,
"ctxt": 0 "ctxt": 0
}, },
"value": "X", "value": "X",
@ -95,8 +95,8 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 41, "start": 40,
"end": 43, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 62, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -39,8 +39,8 @@
{ {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 16, "start": 15,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -48,8 +48,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 26, "start": 25,
"end": 27, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"value": "M", "value": "M",
@ -59,8 +59,8 @@
"body": { "body": {
"type": "TsNamespaceDeclaration", "type": "TsNamespaceDeclaration",
"span": { "span": {
"start": 28, "start": 27,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -68,8 +68,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 28, "start": 27,
"end": 29, "end": 28,
"ctxt": 0 "ctxt": 0
}, },
"value": "N", "value": "N",
@ -79,8 +79,8 @@
"body": { "body": {
"type": "TsNamespaceDeclaration", "type": "TsNamespaceDeclaration",
"span": { "span": {
"start": 30, "start": 29,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -88,8 +88,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 30, "start": 29,
"end": 31, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"value": "O", "value": "O",
@ -99,8 +99,8 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 32, "start": 31,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []
@ -111,8 +111,8 @@
{ {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 36, "start": 34,
"end": 47, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -120,8 +120,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 43, "start": 41,
"end": 44, "end": 42,
"ctxt": 0 "ctxt": 0
}, },
"value": "M", "value": "M",
@ -131,8 +131,8 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 45, "start": 43,
"end": 47, "end": 45,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []
@ -141,8 +141,8 @@
{ {
"type": "TsModuleDeclaration", "type": "TsModuleDeclaration",
"span": { "span": {
"start": 49, "start": 46,
"end": 62, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -150,8 +150,8 @@
"id": { "id": {
"type": "StringLiteral", "type": "StringLiteral",
"span": { "span": {
"start": 56, "start": 53,
"end": 59, "end": 56,
"ctxt": 0 "ctxt": 0
}, },
"value": "m", "value": "m",
@ -160,8 +160,8 @@
"body": { "body": {
"type": "TsModuleBlock", "type": "TsModuleBlock",
"span": { "span": {
"start": 60, "start": 57,
"end": 62, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 64, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -47,15 +47,15 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 25, "start": 24,
"end": 41, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
"type": "TsEnumDeclaration", "type": "TsEnumDeclaration",
"span": { "span": {
"start": 32, "start": 31,
"end": 41, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
@ -63,8 +63,8 @@
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 37, "start": 36,
"end": 38, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"value": "E", "value": "E",
@ -77,22 +77,22 @@
{ {
"type": "ExportDeclaration", "type": "ExportDeclaration",
"span": { "span": {
"start": 43, "start": 41,
"end": 64, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"declaration": { "declaration": {
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 60, "start": 58,
"end": 64, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 60, "start": 58,
"end": 61, "end": 59,
"ctxt": 0 "ctxt": 0
}, },
"value": "I", "value": "I",
@ -105,8 +105,8 @@
"body": { "body": {
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 62, "start": 60,
"end": 64, "end": 62,
"ctxt": 0 "ctxt": 0
}, },
"body": [] "body": []

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 42, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration", "type": "TsInterfaceDeclaration",
"span": { "span": {
"start": 10, "start": 10,
"end": 42, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"id": { "id": {
@ -61,45 +61,45 @@
"type": "TsInterfaceBody", "type": "TsInterfaceBody",
"span": { "span": {
"start": 17, "start": 17,
"end": 42, "end": 40,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
{ {
"type": "TsCallSignatureDeclaration", "type": "TsCallSignatureDeclaration",
"span": { "span": {
"start": 24, "start": 23,
"end": 39, "end": 38,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 28, "start": 27,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"value": "bar", "value": "bar",
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 31, "start": 30,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 33, "start": 32,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 33, "start": 32,
"end": 34, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"value": "G", "value": "G",
@ -115,22 +115,22 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeAnnotation", "type": "TsTypeAnnotation",
"span": { "span": {
"start": 35, "start": 34,
"end": 38, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 37, "start": 36,
"end": 38, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 37, "start": 36,
"end": 38, "end": 37,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -143,23 +143,23 @@
"typeParams": { "typeParams": {
"type": "TsTypeParameterDeclaration", "type": "TsTypeParameterDeclaration",
"span": { "span": {
"start": 24, "start": 23,
"end": 27, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"parameters": [ "parameters": [
{ {
"type": "TsTypeParameter", "type": "TsTypeParameter",
"span": { "span": {
"start": 25, "start": 24,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 25, "start": 24,
"end": 26, "end": 25,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",

View File

@ -1,8 +1,8 @@
{ {
"type": "Module", "type": "Module",
"span": { "span": {
"start": 100, "start": 99,
"end": 129, "end": 127,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -11,8 +11,8 @@
"identifier": { "identifier": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 106, "start": 105,
"end": 107, "end": 106,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -21,8 +21,8 @@
}, },
"declare": false, "declare": false,
"span": { "span": {
"start": 100, "start": 99,
"end": 123, "end": 122,
"ctxt": 0 "ctxt": 0
}, },
"decorators": [], "decorators": [],
@ -30,8 +30,8 @@
"superClass": { "superClass": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 116, "start": 115,
"end": 117, "end": 116,
"ctxt": 0 "ctxt": 0
}, },
"value": "D", "value": "D",
@ -43,23 +43,23 @@
"superTypeParams": { "superTypeParams": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 117, "start": 116,
"end": 120, "end": 119,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 118, "start": 117,
"end": 119, "end": 118,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 118, "start": 117,
"end": 119, "end": 118,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -75,15 +75,15 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 125, "start": 123,
"end": 129, "end": 127,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "JSXElement", "type": "JSXElement",
"span": { "span": {
"start": 125, "start": 123,
"end": 129, "end": 127,
"ctxt": 0 "ctxt": 0
}, },
"opening": { "opening": {
@ -91,8 +91,8 @@
"name": { "name": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 126, "start": 124,
"end": 127, "end": 125,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -100,8 +100,8 @@
"optional": false "optional": false
}, },
"span": { "span": {
"start": 126, "start": 124,
"end": 129, "end": 127,
"ctxt": 0 "ctxt": 0
}, },
"attributes": [], "attributes": [],

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 36, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -67,22 +67,22 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 9, "start": 8,
"end": 20, "end": 19,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "NewExpression", "type": "NewExpression",
"span": { "span": {
"start": 9, "start": 8,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"callee": { "callee": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 13, "start": 12,
"end": 14, "end": 13,
"ctxt": 0 "ctxt": 0
}, },
"value": "C", "value": "C",
@ -93,23 +93,23 @@
"typeArguments": { "typeArguments": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 14, "start": 13,
"end": 17, "end": 16,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 15, "start": 14,
"end": 16, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 15, "start": 14,
"end": 16, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -125,16 +125,16 @@
{ {
"type": "TsTypeAliasDeclaration", "type": "TsTypeAliasDeclaration",
"span": { "span": {
"start": 22, "start": 20,
"end": 36, "end": 34,
"ctxt": 0 "ctxt": 0
}, },
"declare": false, "declare": false,
"id": { "id": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 27, "start": 25,
"end": 28, "end": 26,
"ctxt": 0 "ctxt": 0
}, },
"value": "A", "value": "A",
@ -145,15 +145,15 @@
"typeAnnotation": { "typeAnnotation": {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 31, "start": 29,
"end": 35, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 31, "start": 29,
"end": 32, "end": 30,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -163,23 +163,23 @@
"typeParams": { "typeParams": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 32, "start": 30,
"end": 35, "end": 33,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 33, "start": 31,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 33, "start": 31,
"end": 34, "end": 32,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",

View File

@ -2,7 +2,7 @@
"type": "Module", "type": "Module",
"span": { "span": {
"start": 0, "start": 0,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"body": [ "body": [
@ -67,22 +67,22 @@
{ {
"type": "ExpressionStatement", "type": "ExpressionStatement",
"span": { "span": {
"start": 9, "start": 8,
"end": 19, "end": 18,
"ctxt": 0 "ctxt": 0
}, },
"expression": { "expression": {
"type": "CallExpression", "type": "CallExpression",
"span": { "span": {
"start": 9, "start": 8,
"end": 18, "end": 17,
"ctxt": 0 "ctxt": 0
}, },
"callee": { "callee": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 9, "start": 8,
"end": 10, "end": 9,
"ctxt": 0 "ctxt": 0
}, },
"value": "f", "value": "f",
@ -93,23 +93,23 @@
"typeArguments": { "typeArguments": {
"type": "TsTypeParameterInstantiation", "type": "TsTypeParameterInstantiation",
"span": { "span": {
"start": 10, "start": 9,
"end": 16, "end": 15,
"ctxt": 0 "ctxt": 0
}, },
"params": [ "params": [
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 11, "start": 10,
"end": 12, "end": 11,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 11, "start": 10,
"end": 12, "end": 11,
"ctxt": 0 "ctxt": 0
}, },
"value": "T", "value": "T",
@ -121,15 +121,15 @@
{ {
"type": "TsTypeReference", "type": "TsTypeReference",
"span": { "span": {
"start": 14, "start": 13,
"end": 15, "end": 14,
"ctxt": 0 "ctxt": 0
}, },
"typeName": { "typeName": {
"type": "Identifier", "type": "Identifier",
"span": { "span": {
"start": 14, "start": 13,
"end": 15, "end": 14,
"ctxt": 0 "ctxt": 0
}, },
"value": "U", "value": "U",

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