{
  "programs": [
    "Program {\n    span: 54..785,\n    kind: Script,\n    body: [\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)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 693..741,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 739..785,\n        expr: _,\n    },\n)"
  ],
  "decls": [
    "Fn(\n    FnDecl {\n        span: 62..93,\n        ident: Ident {\n            span: 71..73,\n            sym: \"f1\",\n        },\n        declare: true,\n        params: [\n            _,\n        ],\n        body: [],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 90..124,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 90..119,\n                name: _,\n                init: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 121..151,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 121..137,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 148..210,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 148..172,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "TsTypeAlias(\n    TsTypeAliasDecl {\n        span: 206..261,\n        ident: Ident {\n            span: 211..221,\n            sym: \"Comparator\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 222..223,\n                sym: \"T\",\n            },\n        ],\n        ty: _,\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 252..335,\n        ident: Ident {\n            span: 262..272,\n            sym: \"LinkedList\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 273..274,\n                sym: \"T\",\n            },\n        ],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 282..318,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 282..292,\n                            sym: \"comparator\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 313..329,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 313..318,\n                            sym: \"nodes\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsTypeAlias(\n    TsTypeAliasDecl {\n        span: 331..389,\n        ident: Ident {\n            span: 336..340,\n            sym: \"Node\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 341..342,\n                sym: \"T\",\n            },\n        ],\n        ty: _,\n    },\n)",
    "Fn(\n    FnDecl {\n        span: 390..452,\n        ident: Ident {\n            span: 399..413,\n            sym: \"compareNumbers\",\n        },\n        declare: true,\n        params: [\n            _,\n            _,\n        ],\n        body: [],\n    },\n)",
    "Fn(\n    FnDecl {\n        span: 453..533,\n        ident: Ident {\n            span: 462..468,\n            sym: \"mkList\",\n        },\n        declare: true,\n        params: [\n            _,\n            _,\n        ],\n        body: [],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 528..619,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 528..588,\n                name: _,\n                init: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Fn(\n    FnDecl {\n        span: 620..695,\n        ident: Ident {\n            span: 629..631,\n            sym: \"f2\",\n        },\n        declare: true,\n        params: [\n            _,\n            _,\n            _,\n        ],\n        body: [],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 77..78,\n        sym: \"x\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 94..104,\n        sym: \"neverArray\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 125..127,\n        sym: \"a1\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 128..137,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 152..154,\n        sym: \"a2\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 155..172,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 414..415,\n        sym: \"x\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 425..426,\n        sym: \"y\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 472..477,\n        sym: \"items\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 484..494,\n        sym: \"comparator\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 534..538,\n        sym: \"list\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 635..638,\n        sym: \"as1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 645..648,\n        sym: \"as2\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 655..658,\n        sym: \"cmp\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 718..720,\n        sym: \"a1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 722..724,\n        sym: \"a2\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 764..766,\n        sym: \"a1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 768..770,\n        sym: \"a2\",\n    },\n)"
  ],
  "exprs": [
    "Array(\n    ArrayExpr {\n        span: 116..119,\n        elems: [],\n    },\n)",
    "Ident(\n    Ident {\n        span: 130..132,\n        sym: \"f1\",\n    },\n)",
    "Array(\n    ArrayExpr {\n        span: 133..136,\n        elems: [],\n    },\n)",
    "Call(\n    CallExpr {\n        span: 132..137,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Ident(\n    Ident {\n        span: 157..159,\n        sym: \"f1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 160..170,\n        sym: \"neverArray\",\n    },\n)",
    "Call(\n    CallExpr {\n        span: 159..172,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Ident(\n    Ident {\n        span: 561..567,\n        sym: \"mkList\",\n    },\n)",
    "Array(\n    ArrayExpr {\n        span: 568..571,\n        elems: [],\n    },\n)",
    "Ident(\n    Ident {\n        span: 572..586,\n        sym: \"compareNumbers\",\n    },\n)",
    "Call(\n    CallExpr {\n        span: 567..588,\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: 693..695,\n        sym: \"f2\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 696..701,\n        sym: \"Array\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 701..707,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 702..706,\n                sym: \"from\",\n            },\n        ),\n    },\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 708..709,\n            value: 0.0,\n        },\n    ),\n)",
    "Array(\n    ArrayExpr {\n        span: 707..711,\n        elems: [\n            Some(\n                ExprOrSpread {\n                    spread: false,\n                    expr: _,\n                },\n            ),\n        ],\n    },\n)",
    "Call(\n    CallExpr {\n        span: 706..712,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Array(\n    ArrayExpr {\n        span: 713..716,\n        elems: [],\n    },\n)",
    "Ident(\n    Ident {\n        span: 729..731,\n        sym: \"a1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 734..736,\n        sym: \"a2\",\n    },\n)",
    "Binary(\n    BinaryExpr {\n        span: 732..737,\n        op: Sub,\n        left: _,\n        right: _,\n    },\n)",
    "Arrow(\n    ArrowExpr {\n        span: 717..737,\n        params: [\n            _,\n            _,\n        ],\n        body: Expr(\n            _,\n        ),\n        is_async: false,\n    },\n)",
    "Call(\n    CallExpr {\n        span: 695..738,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Ident(\n    Ident {\n        span: 739..741,\n        sym: \"f2\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 742..747,\n        sym: \"Array\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 747..753,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 748..752,\n                sym: \"from\",\n            },\n        ),\n    },\n)",
    "Array(\n    ArrayExpr {\n        span: 753..756,\n        elems: [],\n    },\n)",
    "Call(\n    CallExpr {\n        span: 752..757,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 759..760,\n            value: 0.0,\n        },\n    ),\n)",
    "Array(\n    ArrayExpr {\n        span: 758..762,\n        elems: [\n            Some(\n                ExprOrSpread {\n                    spread: false,\n                    expr: _,\n                },\n            ),\n        ],\n    },\n)",
    "Ident(\n    Ident {\n        span: 775..777,\n        sym: \"a1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 780..782,\n        sym: \"a2\",\n    },\n)",
    "Binary(\n    BinaryExpr {\n        span: 778..783,\n        op: Sub,\n        left: _,\n        right: _,\n    },\n)",
    "Arrow(\n    ArrowExpr {\n        span: 763..783,\n        params: [\n            _,\n            _,\n        ],\n        body: Expr(\n            _,\n        ),\n        is_async: false,\n    },\n)",
    "Call(\n    CallExpr {\n        span: 741..784,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\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": [
    "TypeRef(\n    TsTypeRef {\n        span: 231..233,\n        name: Ident {\n            span: 231..233,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 237..239,\n        name: Ident {\n            span: 237..239,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    Number,\n)",
    "Fn(\n    TsFnType {\n        span: 227..250,\n        params: [\n            TsFnParam {\n                span: 228..233,\n                name: Some(\n                    Ident {\n                        span: 228..229,\n                        sym: \"x\",\n                    },\n                ),\n                ty: Some(\n                    _,\n                ),\n                is_rest: false,\n                optional: false,\n            },\n            TsFnParam {\n                span: 234..239,\n                name: Some(\n                    Ident {\n                        span: 234..235,\n                        sym: \"y\",\n                    },\n                ),\n                ty: Some(\n                    _,\n                ),\n                is_rest: false,\n                optional: false,\n            },\n        ],\n        return_type: _,\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 305..307,\n        name: Ident {\n            span: 305..307,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 294..308,\n        name: Ident {\n            span: 294..305,\n            sym: \"Comparator\",\n        },\n        type_args: [\n            _,\n        ],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 325..327,\n        name: Ident {\n            span: 325..327,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 320..329,\n        name: Ident {\n            span: 320..325,\n            sym: \"Node\",\n        },\n        type_args: [\n            _,\n        ],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 355..357,\n        name: Ident {\n            span: 355..357,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 369..371,\n        name: Ident {\n            span: 369..371,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 364..373,\n        name: Ident {\n            span: 364..369,\n            sym: \"Node\",\n        },\n        type_args: [\n            _,\n        ],\n    },\n)",
    "TypeLit(\n    TsTypeLit {\n        span: 346..375,\n        members: [\n            TsTypeMember {\n                span: 348..362,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 348..353,\n                            sym: \"value\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 358..373,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 358..362,\n                            sym: \"next\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 376..389,\n        name: Ident {\n            span: 376..389,\n            sym: \"null\",\n        },\n        type_args: [],\n    },\n)",
    "Union(\n    TsUnionType {\n        span: 346..389,\n        types: [\n            _,\n            _,\n        ],\n    },\n)"
  ]
}
