{
  "programs": [
    "Program {\n    span: 24..653,\n    kind: Script,\n    body: [\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n    ],\n}"
  ],
  "stmts": [
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Return(\n    ReturnStmt {\n        span: 449..479,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 545..568,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 569..591,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 524..591,\n        test: _,\n        cons: _,\n        alt: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 611..634,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 635..653,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 589..653,\n        test: _,\n        cons: _,\n        alt: Some(\n            _,\n        ),\n    },\n)"
  ],
  "decls": [
    "TsTypeAlias(\n    TsTypeAliasDecl {\n        span: 24..56,\n        ident: Ident {\n            span: 29..33,\n            sym: \"Kind\",\n        },\n        declare: false,\n        type_params: [],\n        ty: _,\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 47..94,\n        ident: Ident {\n            span: 57..63,\n            sym: \"Entity\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 70..83,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 70..74,\n                            sym: \"kind\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 85..156,\n        ident: Ident {\n            span: 95..96,\n            sym: \"A\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 105..113,\n                sym: \"Entity\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 118..134,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 118..122,\n                            sym: \"kind\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 133..145,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 133..134,\n                            sym: \"a\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 147..217,\n        ident: Ident {\n            span: 157..158,\n            sym: \"B\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 167..175,\n                sym: \"Entity\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 180..196,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 180..184,\n                            sym: \"kind\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 195..207,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 195..196,\n                            sym: \"b\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Fn(\n    FnDecl {\n        span: 389..484,\n        ident: Ident {\n            span: 398..405,\n            sym: \"hasKind\",\n        },\n        declare: false,\n        params: [\n            _,\n            _,\n        ],\n        body: [\n            _,\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 481..526,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 481..526,\n                name: _,\n                init: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 551..563,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 551..561,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 575..587,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 575..585,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 617..629,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 617..627,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 641..653,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 641..651,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 406..412,\n        sym: \"entity\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 422..426,\n        sym: \"kind\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 485..486,\n        sym: \"x\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 555..556,\n        sym: \"a\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 557..561,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 579..580,\n        sym: \"b\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 581..585,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 621..622,\n        sym: \"c\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 623..627,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 645..646,\n        sym: \"d\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 647..651,\n        left: _,\n        right: _,\n    },\n)"
  ],
  "exprs": [
    "Ident(\n    Ident {\n        span: 456..462,\n        sym: \"entity\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 462..471,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 463..467,\n                sym: \"kind\",\n            },\n        ),\n    },\n)",
    "Ident(\n    Ident {\n        span: 472..476,\n        sym: \"kind\",\n    },\n)",
    "Binary(\n    BinaryExpr {\n        span: 468..477,\n        op: EqEqEq,\n        left: _,\n        right: _,\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 504..507,\n            value: \"A\",\n        },\n    ),\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 516..519,\n            value: 100.0,\n        },\n    ),\n)",
    "Object(\n    ObjectExpr {\n        span: 492..526,\n        props: [\n            KeyValueProp {\n                span: 498..508,\n                key: Ident(\n                    Ident {\n                        span: 498..502,\n                        sym: \"kind\",\n                    },\n                ),\n                value: _,\n            },\n            KeyValueProp {\n                span: 513..520,\n                key: Ident(\n                    Ident {\n                        span: 513..514,\n                        sym: \"a\",\n                    },\n                ),\n                value: _,\n            },\n        ],\n    },\n)",
    "Ident(\n    Ident {\n        span: 528..535,\n        sym: \"hasKind\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 536..537,\n        sym: \"x\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 539..542,\n            value: \"A\",\n        },\n    ),\n)",
    "Call(\n    CallExpr {\n        span: 535..544,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Ident(\n    Ident {\n        span: 559..560,\n        sym: \"x\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 583..584,\n        sym: \"x\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 594..601,\n        sym: \"hasKind\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 602..603,\n        sym: \"x\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 605..608,\n            value: \"B\",\n        },\n    ),\n)",
    "Call(\n    CallExpr {\n        span: 601..610,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Unary(\n    UnaryExpr {\n        span: 593..610,\n        op: Bang,\n        arg: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 625..626,\n        sym: \"x\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 649..650,\n        sym: \"x\",\n    },\n)"
  ],
  "module_decls": [],
  "functions": [],
  "classes": [],
  "class_members": [],
  "jsx_elements": [],
  "ts_types": [
    "Lit(\n    Str(\n        StrLit {\n            span: 36..39,\n            value: \"A\",\n        },\n    ),\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 42..45,\n            value: \"B\",\n        },\n    ),\n)",
    "Union(\n    TsUnionType {\n        span: 36..56,\n        types: [\n            _,\n            _,\n        ],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 76..81,\n        name: Ident {\n            span: 76..81,\n            sym: \"Kind\",\n        },\n        type_args: [],\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 124..127,\n            value: \"A\",\n        },\n    ),\n)",
    "Keyword(\n    Number,\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 186..189,\n            value: \"B\",\n        },\n    ),\n)",
    "Keyword(\n    String,\n)"
  ]
}
