{
  "programs": [
    "Program {\n    span: 20..771,\n    kind: Script,\n    body: [\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n    ],\n}"
  ],
  "stmts": [
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 235..242,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Return(\n    ReturnStmt {\n        span: 539..566,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)",
    "Return(\n    ReturnStmt {\n        span: 657..676,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Return(\n    ReturnStmt {\n        span: 699..716,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)"
  ],
  "decls": [
    "TsTypeAlias(\n    TsTypeAliasDecl {\n        span: 20..72,\n        ident: Ident {\n            span: 25..30,\n            sym: \"Types\",\n        },\n        declare: false,\n        type_params: [],\n        ty: _,\n    },\n)",
    "TsTypeAlias(\n    TsTypeAliasDecl {\n        span: 238..302,\n        ident: Ident {\n            span: 243..250,\n            sym: \"AnyCtor\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 251..252,\n                sym: \"P\",\n            },\n        ],\n        ty: _,\n    },\n)",
    "Fn(\n    FnDecl {\n        span: 303..495,\n        ident: Ident {\n            span: 312..331,\n            sym: \"classWithProperties\",\n        },\n        declare: true,\n        params: [\n            _,\n            _,\n        ],\n        body: [],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 490..611,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 490..604,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Class(\n    ClassDecl {\n        span: 606..725,\n        ident: Ident {\n            span: 612..619,\n            sym: \"MyClass\",\n        },\n        declare: false,\n        class: _,\n    },\n)",
    "Var(\n    VarDecl {\n        span: 720..753,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 720..747,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 748..771,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 748..769,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 386..396,\n        sym: \"properties\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 401..406,\n        sym: \"klass\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 496..500,\n        sym: \"Base\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 501..604,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 726..730,\n        sym: \"mine\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 731..747,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 754..759,\n        sym: \"value\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 760..769,\n        left: _,\n        right: _,\n    },\n)"
  ],
  "exprs": [
    "Lit(\n    Null(\n        NullLit {\n            span: 0..0,\n        },\n    ),\n)",
    "Ident(\n    Ident {\n        span: 503..522,\n        sym: \"classWithProperties\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 546..555,\n            value: \"boolean\",\n        },\n    ),\n)",
    "TsAs(\n    TsAsExpr {\n        span: 556..566,\n        expr: _,\n        ty: _,\n    },\n)",
    "Function(\n    _,\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 575..583,\n            value: \"string\",\n        },\n    ),\n)",
    "Object(\n    ObjectExpr {\n        span: 523..587,\n        props: [\n            KeyValueProp {\n                span: 529..567,\n                key: Ident(\n                    Ident {\n                        span: 533..534,\n                        sym: \"x\",\n                    },\n                ),\n                value: _,\n            },\n            KeyValueProp {\n                span: 572..584,\n                key: Ident(\n                    Ident {\n                        span: 572..573,\n                        sym: \"y\",\n                    },\n                ),\n                value: _,\n            },\n        ],\n    },\n)",
    "Class(\n    _,\n)",
    "Call(\n    CallExpr {\n        span: 522..604,\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: 628..632,\n        sym: \"Base\",\n    },\n)",
    "Lit(\n    Bool(\n        BoolLit {\n            span: 664..669,\n            value: false,\n        },\n    ),\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 706..710,\n            value: \"hi\",\n        },\n    ),\n)",
    "Ident(\n    Ident {\n        span: 737..744,\n        sym: \"MyClass\",\n    },\n)",
    "Call(\n    CallExpr {\n        span: 744..747,\n        callee: _,\n        args: [],\n    },\n)",
    "New(\n    NewExpr {\n        span: 733..747,\n        callee: _,\n        args: [],\n    },\n)",
    "Ident(\n    Ident {\n        span: 762..766,\n        sym: \"mine\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 766..769,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 767..768,\n                sym: \"x\",\n            },\n        ),\n    },\n)"
  ],
  "module_decls": [],
  "functions": [
    "Function {\n    span: 529..567,\n    params: [],\n    body: [\n        _,\n    ],\n    is_async: false,\n    is_generator: false,\n}",
    "Function {\n    span: 639..684,\n    params: [],\n    body: [\n        _,\n    ],\n    is_async: false,\n    is_generator: false,\n}",
    "Function {\n    span: 681..718,\n    params: [],\n    body: [\n        _,\n    ],\n    is_async: false,\n    is_generator: false,\n}"
  ],
  "classes": [
    "Class {\n    span: 588..603,\n    decorators: [],\n    ident: Some(\n        Ident {\n            span: 594..598,\n            sym: \"Base\",\n        },\n    ),\n    super_class: None,\n    body: [],\n}",
    "Class {\n    span: 606..725,\n    decorators: [],\n    ident: Some(\n        Ident {\n            span: 612..619,\n            sym: \"MyClass\",\n        },\n    ),\n    super_class: Some(\n        _,\n    ),\n    body: [\n        _,\n        _,\n    ],\n}"
  ],
  "class_members": [
    "Method(\n    ClassMethod {\n        span: 639..684,\n        decorators: [],\n        key: Ident(\n            Ident {\n                span: 643..644,\n                sym: \"x\",\n            },\n        ),\n        function: _,\n        is_static: false,\n        kind: Getter,\n    },\n)",
    "Method(\n    ClassMethod {\n        span: 681..718,\n        decorators: [],\n        key: Ident(\n            Ident {\n                span: 685..686,\n                sym: \"y\",\n            },\n        ),\n        function: _,\n        is_static: false,\n        kind: Getter,\n    },\n)"
  ],
  "jsx_elements": [],
  "ts_types": [
    "Lit(\n    Str(\n        StrLit {\n            span: 33..42,\n            value: \"boolean\",\n        },\n    ),\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 45..54,\n            value: \"unknown\",\n        },\n    ),\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 57..65,\n            value: \"string\",\n        },\n    ),\n)",
    "Union(\n    TsUnionType {\n        span: 33..66,\n        types: [\n            _,\n            _,\n            _,\n        ],\n    },\n)",
    "Keyword(\n    Any,\n)",
    "Array(\n    TsArrayType {\n        span: 282..288,\n        elem_type: _,\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 292..302,\n        name: Ident {\n            span: 292..302,\n            sym: \"P\",\n        },\n        type_args: [],\n    },\n)",
    "Fn(\n    TsFnType {\n        span: 275..302,\n        params: [\n            TsFnParam {\n                span: 276..288,\n                name: Some(\n                    Ident {\n                        span: 279..280,\n                        sym: \"a\",\n                    },\n                ),\n                ty: Some(\n                    _,\n                ),\n                is_rest: true,\n                optional: false,\n            },\n        ],\n        return_type: _,\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 559..566,\n        name: Ident {\n            span: 559..566,\n            sym: \"const\",\n        },\n        type_args: [],\n    },\n)"
  ]
}
