{
  "programs": [
    "Program {\n    span: 17..275,\n    kind: Script,\n    body: [\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n    ],\n}"
  ],
  "stmts": [
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 173..262,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 261..275,\n        expr: _,\n    },\n)"
  ],
  "decls": [
    "TsInterface(\n    TsInterfaceDecl {\n        span: 17..65,\n        ident: Ident {\n            span: 27..28,\n            sym: \"I\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 29..30,\n                sym: \"T\",\n            },\n        ],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 38..55,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 39..40,\n                        name: Some(\n                            Ident {\n                                span: 39..40,\n                                sym: \"n\",\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: 56..103,\n        ident: Ident {\n            span: 66..67,\n            sym: \"J\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 68..69,\n                sym: \"T\",\n            },\n        ],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 77..94,\n                kind: Index,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 78..79,\n                        name: Some(\n                            Ident {\n                                span: 78..79,\n                                sym: \"s\",\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)",
    "Fn(\n    FnDecl {\n        span: 104..142,\n        ident: Ident {\n            span: 113..116,\n            sym: \"foo\",\n        },\n        declare: true,\n        params: [\n            _,\n        ],\n        body: [],\n    },\n)",
    "Fn(\n    FnDecl {\n        span: 143..176,\n        ident: Ident {\n            span: 152..153,\n            sym: \"g\",\n        },\n        declare: true,\n        params: [\n            _,\n        ],\n        body: [],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 120..123,\n        sym: \"obj\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 157..160,\n        sym: \"obj\",\n    },\n)"
  ],
  "exprs": [
    "Ident(\n    Ident {\n        span: 173..176,\n        sym: \"foo\",\n    },\n)",
    "Arrow(\n    ArrowExpr {\n        span: 186..196,\n        params: [],\n        body: Block(\n            [],\n        ),\n        is_async: false,\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 202..206,\n            value: \"hi\",\n        },\n    ),\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 209..214,\n            value: \"bye\",\n        },\n    ),\n)",
    "Binary(\n    BinaryExpr {\n        span: 207..215,\n        op: Add,\n        left: _,\n        right: _,\n    },\n)",
    "Lit(\n    Bool(\n        BoolLit {\n            span: 217..221,\n            value: true,\n        },\n    ),\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 228..229,\n            value: 0.0,\n        },\n    ),\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 232..233,\n            value: 1.0,\n        },\n    ),\n)",
    "Binary(\n    BinaryExpr {\n        span: 230..234,\n        op: Add,\n        left: _,\n        right: _,\n    },\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 236..237,\n            value: 0.0,\n        },\n    ),\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 245..249,\n            value: \"hi\",\n        },\n    ),\n)",
    "Unary(\n    UnaryExpr {\n        span: 244..250,\n        op: Plus,\n        arg: _,\n    },\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 253..254,\n            value: 0.0,\n        },\n    ),\n)",
    "Array(\n    ArrayExpr {\n        span: 252..257,\n        elems: [\n            Some(\n                ExprOrSpread {\n                    spread: false,\n                    expr: _,\n                },\n            ),\n        ],\n    },\n)",
    "Object(\n    ObjectExpr {\n        span: 177..258,\n        props: [\n            KeyValueProp {\n                span: 183..196,\n                key: Num(\n                    NumberLit {\n                        span: 183..184,\n                        value: 0.0,\n                    },\n                ),\n                value: _,\n            },\n            KeyValueProp {\n                span: 201..222,\n                key: Computed(\n                    _,\n                ),\n                value: _,\n            },\n            KeyValueProp {\n                span: 227..238,\n                key: Computed(\n                    _,\n                ),\n                value: _,\n            },\n            KeyValueProp {\n                span: 243..257,\n                key: Computed(\n                    _,\n                ),\n                value: _,\n            },\n        ],\n    },\n)",
    "Call(\n    CallExpr {\n        span: 176..259,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Ident(\n    Ident {\n        span: 261..262,\n        sym: \"g\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 268..270,\n            value: \"\",\n        },\n    ),\n)",
    "Object(\n    ObjectExpr {\n        span: 263..273,\n        props: [\n            KeyValueProp {\n                span: 265..272,\n                key: Ident(\n                    Ident {\n                        span: 265..266,\n                        sym: \"p\",\n                    },\n                ),\n                value: _,\n            },\n        ],\n    },\n)",
    "Call(\n    CallExpr {\n        span: 262..274,\n        callee: _,\n        args: [\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)",
    "TypeRef(\n    TsTypeRef {\n        span: 51..53,\n        name: Ident {\n            span: 51..53,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 90..92,\n        name: Ident {\n            span: 90..92,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)"
  ]
}
