{
  "programs": [
    "Program {\n    span: 56..1051,\n    kind: Script,\n    body: [\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)",
    "Expr(\n    ExprStmt {\n        span: 273..287,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 286..306,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 338..354,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 352..376,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 594..615,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 613..645,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 755..776,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 774..805,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 903..931,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 929..959,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 1000..1028,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 1026..1049,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)"
  ],
  "decls": [
    "TsInterface(\n    TsInterfaceDecl {\n        span: 56..97,\n        ident: Ident {\n            span: 66..70,\n            sym: \"Base\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 73..87,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 73..76,\n                            sym: \"foo\",\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: 88..145,\n        ident: Ident {\n            span: 98..105,\n            sym: \"Derived\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 114..120,\n                sym: \"Base\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 121..135,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 121..124,\n                            sym: \"bar\",\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: 136..198,\n        ident: Ident {\n            span: 146..154,\n            sym: \"Derived2\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 163..172,\n                sym: \"Derived\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 173..187,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 173..176,\n                            sym: \"baz\",\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: 189..232,\n        ident: Ident {\n            span: 199..200,\n            sym: \"A\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 207..227,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 208..209,\n                        name: Some(\n                            Ident {\n                                span: 208..209,\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: 229..243,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 229..238,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 240..274,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 240..274,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 303..339,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 303..339,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 392..466,\n        ident: Ident {\n            span: 402..403,\n            sym: \"A\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 404..405,\n                sym: \"T\",\n            },\n        ],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 430..451,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 431..432,\n                        name: Some(\n                            Ident {\n                                span: 431..432,\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: 457..537,\n        ident: Ident {\n            span: 467..468,\n            sym: \"B\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 477..479,\n                sym: \"A\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 495..528,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 496..497,\n                        name: Some(\n                            Ident {\n                                span: 496..497,\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: 534..576,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 534..568,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 573..596,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 573..589,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 636..718,\n        ident: Ident {\n            span: 646..648,\n            sym: \"B2\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 657..659,\n                sym: \"A\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 675..709,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 676..677,\n                        name: Some(\n                            Ident {\n                                span: 676..677,\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: 715..757,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 715..750,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 838..884,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 838..872,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 881..905,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 881..894,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 956..1002,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 956..991,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Fn(\n    FnDecl {\n        span: 797..1051,\n        ident: Ident {\n            span: 806..809,\n            sym: \"foo\",\n        },\n        declare: false,\n        params: [],\n        body: [\n            _,\n            _,\n            _,\n            _,\n            _,\n            _,\n            _,\n        ],\n    },\n)",
    "TsModule(\n    TsModuleDecl {\n        span: 370..1051,\n        declare: false,\n        global: false,\n        namespace: false,\n        id: Ident(\n            Ident {\n                span: 377..385,\n                sym: \"Generics\",\n            },\n        ),\n        body: Some(\n            ModuleBlock(\n                [\n                    _,\n                    _,\n                    _,\n                    _,\n                    _,\n                    _,\n                    _,\n                    _,\n                    _,\n                    _,\n                    _,\n                ],\n            ),\n        ),\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 233..234,\n        sym: \"a\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 244..245,\n        sym: \"b\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 273..274,\n        sym: \"a\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 286..287,\n        sym: \"b\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 307..309,\n        sym: \"b2\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 338..339,\n        sym: \"a\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 352..354,\n        sym: \"b2\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 538..540,\n        sym: \"b1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 577..579,\n        sym: \"a1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 594..596,\n        sym: \"a1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 613..615,\n        sym: \"b1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 719..721,\n        sym: \"b2\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 755..757,\n        sym: \"a1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 774..776,\n        sym: \"b2\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 842..844,\n        sym: \"b3\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 885..887,\n        sym: \"a3\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 903..905,\n        sym: \"a3\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 929..931,\n        sym: \"b3\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 960..962,\n        sym: \"b4\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 1000..1002,\n        sym: \"a3\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 1026..1028,\n        sym: \"b4\",\n    },\n)"
  ],
  "exprs": [
    "Ident(\n    Ident {\n        span: 277..278,\n        sym: \"b\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 275..279,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 290..291,\n        sym: \"a\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 288..292,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 342..344,\n        sym: \"b2\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 340..345,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 357..358,\n        sym: \"a\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 355..359,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 599..601,\n        sym: \"b1\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 597..602,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 618..620,\n        sym: \"a1\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 616..621,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 760..762,\n        sym: \"b2\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 758..763,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 779..781,\n        sym: \"a1\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 777..782,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 908..910,\n        sym: \"b3\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 906..911,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 934..936,\n        sym: \"a3\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 932..937,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 1005..1007,\n        sym: \"b4\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 1003..1008,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 1031..1033,\n        sym: \"a3\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 1029..1034,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)"
  ],
  "module_decls": [],
  "functions": [],
  "classes": [],
  "class_members": [],
  "jsx_elements": [],
  "ts_types": [
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 220..225,\n        name: Ident {\n            span: 220..225,\n            sym: \"Base\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 443..445,\n        name: Ident {\n            span: 443..445,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 508..516,\n        name: Ident {\n            span: 508..516,\n            sym: \"Derived\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 688..697,\n        name: Ident {\n            span: 688..697,\n            sym: \"Derived2\",\n        },\n        type_args: [],\n    },\n)"
  ]
}
