{
  "programs": [
    "Program {\n    span: 63..842,\n    kind: Script,\n    body: [\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n    ],\n}"
  ],
  "stmts": [
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 534..540,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 710..722,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 760..766,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)"
  ],
  "decls": [
    "TsInterface(\n    TsInterfaceDecl {\n        span: 63..145,\n        ident: Ident {\n            span: 73..74,\n            sym: \"A\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 81..112,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 81..84,\n                            sym: \"foo\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 85..95,\n                        name: Some(\n                            Ident {\n                                span: 85..86,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 109..134,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 109..112,\n                            sym: \"foo\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 113..123,\n                        name: Some(\n                            Ident {\n                                span: 113..114,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 136..186,\n        ident: Ident {\n            span: 146..147,\n            sym: \"A\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 154..175,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 154..157,\n                            sym: \"foo\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 158..166,\n                        name: Some(\n                            Ident {\n                                span: 158..159,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 177..257,\n        ident: Ident {\n            span: 187..188,\n            sym: \"B\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 189..190,\n                sym: \"T\",\n            },\n        ],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 198..224,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 198..201,\n                            sym: \"foo\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 202..207,\n                        name: Some(\n                            Ident {\n                                span: 202..203,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 221..246,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 221..224,\n                            sym: \"foo\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 225..235,\n                        name: Some(\n                            Ident {\n                                span: 225..226,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 248..318,\n        ident: Ident {\n            span: 258..259,\n            sym: \"B\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 260..261,\n                sym: \"T\",\n            },\n        ],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 269..293,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 269..272,\n                            sym: \"foo\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 273..278,\n                        name: Some(\n                            Ident {\n                                span: 273..274,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 290..313,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 290..293,\n                            sym: \"foo\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 294..302,\n                        name: Some(\n                            Ident {\n                                span: 294..295,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 315..337,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 315..333,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 334..405,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 334..354,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 396..496,\n        ident: Ident {\n            span: 406..407,\n            sym: \"C\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 408..409,\n                sym: \"T\",\n            },\n            Ident {\n                span: 411..412,\n                sym: \"U\",\n            },\n        ],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 420..452,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 420..423,\n                            sym: \"foo\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 424..429,\n                        name: Some(\n                            Ident {\n                                span: 424..425,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                    TsFnParam {\n                        span: 430..435,\n                        name: Some(\n                            Ident {\n                                span: 430..431,\n                                sym: \"y\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 449..485,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 449..452,\n                            sym: \"foo\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 453..463,\n                        name: Some(\n                            Ident {\n                                span: 453..454,\n                                sym: \"x\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                    TsFnParam {\n                        span: 464..474,\n                        name: Some(\n                            Ident {\n                                span: 464..465,\n                                sym: \"y\",\n                            },\n                        ),\n                        ty: Some(\n                            _,\n                        ),\n                        is_rest: false,\n                        optional: false,\n                    },\n                ],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 537..565,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 537..561,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 562..652,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 562..583,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 763..791,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 763..787,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 788..842,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 788..809,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 319..320,\n        sym: \"b\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 338..339,\n        sym: \"r\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 340..354,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 541..542,\n        sym: \"c\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 566..568,\n        sym: \"r2\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 569..583,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 767..768,\n        sym: \"d\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 792..794,\n        sym: \"r3\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 795..809,\n        left: _,\n        right: _,\n    },\n)"
  ],
  "exprs": [
    "Ident(\n    Ident {\n        span: 342..343,\n        sym: \"b\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 343..348,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 344..347,\n                sym: \"foo\",\n            },\n        ),\n    },\n)",
    "Lit(\n    Bool(\n        BoolLit {\n            span: 348..352,\n            value: true,\n        },\n    ),\n)",
    "Call(\n    CallExpr {\n        span: 347..354,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Lit(\n    Null(\n        NullLit {\n            span: 0..0,\n        },\n    ),\n)",
    "Ident(\n    Ident {\n        span: 571..572,\n        sym: \"c\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 572..577,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 573..576,\n                sym: \"foo\",\n            },\n        ),\n    },\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 577..578,\n            value: 1.0,\n        },\n    ),\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 580..581,\n            value: 2.0,\n        },\n    ),\n)",
    "Call(\n    CallExpr {\n        span: 576..583,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Lit(\n    Null(\n        NullLit {\n            span: 0..0,\n        },\n    ),\n)",
    "Lit(\n    Null(\n        NullLit {\n            span: 0..0,\n        },\n    ),\n)",
    "Ident(\n    Ident {\n        span: 797..798,\n        sym: \"d\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 798..803,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 799..802,\n                sym: \"foo\",\n            },\n        ),\n    },\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 803..804,\n            value: 1.0,\n        },\n    ),\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 806..807,\n            value: 1.0,\n        },\n    ),\n)",
    "Call(\n    CallExpr {\n        span: 802..809,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)"
  ],
  "module_decls": [],
  "functions": [],
  "classes": [],
  "class_members": [],
  "jsx_elements": [],
  "ts_types": [
    "Keyword(\n    Number,\n)",
    "Keyword(\n    Number,\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 161..166,\n        name: Ident {\n            span: 161..166,\n            sym: \"Date\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 168..173,\n        name: Ident {\n            span: 168..173,\n            sym: \"Date\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 205..207,\n        name: Ident {\n            span: 205..207,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    Number,\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 276..278,\n        name: Ident {\n            span: 276..278,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 280..285,\n        name: Ident {\n            span: 280..285,\n            sym: \"Date\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 297..302,\n        name: Ident {\n            span: 297..302,\n            sym: \"Date\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 427..429,\n        name: Ident {\n            span: 427..429,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 433..435,\n        name: Ident {\n            span: 433..435,\n            sym: \"U\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    Number,\n)"
  ]
}
