{
  "programs": [
    "Program {\n    span: 29..904,\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)",
    "Expr(\n    ExprStmt {\n        span: 71..75,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 74..80,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 88..92,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 91..97,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 134..153,\n        expr: _,\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 128..158,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 179..215,\n        stmts: [],\n    },\n)",
    "If(\n    IfStmt {\n        span: 159..215,\n        test: _,\n        cons: _,\n        alt: None,\n    },\n)",
    "If(\n    IfStmt {\n        span: 95..215,\n        test: _,\n        cons: _,\n        alt: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Return(\n    ReturnStmt {\n        span: 392..407,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 519..564,\n        expr: _,\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 509..570,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 489..570,\n        test: _,\n        cons: _,\n        alt: None,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 569..853,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 878..900,\n        expr: _,\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 868..902,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 851..902,\n        test: _,\n        cons: _,\n        alt: None,\n    },\n)",
    "Decl(\n    _,\n)"
  ],
  "decls": [
    "TsInterface(\n    TsInterfaceDecl {\n        span: 29..64,\n        ident: Ident {\n            span: 39..40,\n            sym: \"I\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 43..60,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 43..49,\n                            sym: \"global\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 61..72,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 61..72,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 77..89,\n        kind: Var,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 77..89,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 206..293,\n        ident: Ident {\n            span: 216..225,\n            sym: \"OnChanges\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 232..283,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 232..241,\n                            sym: \"onChanges\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 242..275,\n                        name: Some(\n                            Ident {\n                                span: 242..249,\n                                sym: \"changes\",\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: 284..362,\n        ident: Ident {\n            span: 294..303,\n            sym: \"Validator\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 310..355,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 310..318,\n                            sym: \"validate\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Class(\n    ClassDecl {\n        span: 357..419,\n        ident: Ident {\n            span: 363..364,\n            sym: \"C\",\n        },\n        declare: false,\n        class: _,\n    },\n)",
    "Var(\n    VarDecl {\n        span: 432..491,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 432..484,\n                name: _,\n                init: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Fn(\n    FnDecl {\n        span: 411..904,\n        ident: Ident {\n            span: 420..423,\n            sym: \"foo\",\n        },\n        declare: false,\n        params: [],\n        body: [\n            _,\n            _,\n            _,\n            _,\n        ],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 65..71,\n        sym: \"result\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 81..88,\n        sym: \"result2\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 134..140,\n        sym: \"result\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 436..437,\n        sym: \"v\",\n    },\n)"
  ],
  "exprs": [
    "Lit(\n    Null(\n        NullLit {\n            span: 0..0,\n        },\n    ),\n)",
    "Unary(\n    UnaryExpr {\n        span: 71..75,\n        op: Bang,\n        arg: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 74..75,\n        sym: \"I\",\n    },\n)",
    "Lit(\n    Null(\n        NullLit {\n            span: 0..0,\n        },\n    ),\n)",
    "Unary(\n    UnaryExpr {\n        span: 88..92,\n        op: Bang,\n        arg: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 91..92,\n        sym: \"I\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 101..107,\n        sym: \"result\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 119..125,\n        sym: \"RegExp\",\n    },\n)",
    "Binary(\n    BinaryExpr {\n        span: 108..126,\n        op: InstanceOf,\n        left: _,\n        right: _,\n    },\n)",
    "Paren(\n    ParenExpr {\n        span: 100..127,\n        expr: _,\n    },\n)",
    "Unary(\n    UnaryExpr {\n        span: 99..127,\n        op: Bang,\n        arg: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 143..150,\n        sym: \"result2\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 141..151,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 164..170,\n        sym: \"result\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 170..178,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 171..177,\n                sym: \"global\",\n            },\n        ),\n    },\n)",
    "Unary(\n    UnaryExpr {\n        span: 163..178,\n        op: Bang,\n        arg: _,\n    },\n)",
    "Object(\n    ObjectExpr {\n        span: 399..407,\n        props: [],\n    },\n)",
    "Lit(\n    Null(\n        NullLit {\n            span: 472..476,\n        },\n    ),\n)",
    "TsAs(\n    TsAsExpr {\n        span: 477..484,\n        expr: _,\n        ty: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 493..494,\n        sym: \"v\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 506..507,\n        sym: \"C\",\n    },\n)",
    "Binary(\n    BinaryExpr {\n        span: 495..508,\n        op: InstanceOf,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 519..520,\n        sym: \"v\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 569..570,\n        sym: \"v\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 855..856,\n        sym: \"v\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 856..867,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 857..866,\n                sym: \"onChanges\",\n            },\n        ),\n    },\n)",
    "Ident(\n    Ident {\n        span: 878..879,\n        sym: \"v\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 879..890,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 880..889,\n                sym: \"onChanges\",\n            },\n        ),\n    },\n)",
    "Object(\n    ObjectExpr {\n        span: 890..893,\n        props: [],\n    },\n)",
    "Call(\n    CallExpr {\n        span: 889..894,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)"
  ],
  "module_decls": [],
  "functions": [
    "Function {\n    span: 371..409,\n    params: [],\n    body: [\n        _,\n    ],\n    is_async: false,\n    is_generator: false,\n}"
  ],
  "classes": [
    "Class {\n    span: 357..419,\n    decorators: [],\n    ident: Some(\n        Ident {\n            span: 363..364,\n            sym: \"C\",\n        },\n    ),\n    super_class: None,\n    body: [\n        _,\n    ],\n}"
  ],
  "class_members": [
    "Method(\n    ClassMethod {\n        span: 371..409,\n        decorators: [],\n        key: Ident(\n            Ident {\n                span: 371..379,\n                sym: \"validate\",\n            },\n        ),\n        function: _,\n        is_static: false,\n        kind: Method,\n    },\n)"
  ],
  "jsx_elements": [],
  "ts_types": [
    "Keyword(\n    String,\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    Unknown,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 251..275,\n        name: Ident {\n            span: 251..258,\n            sym: \"Record\",\n        },\n        type_args: [\n            _,\n            _,\n        ],\n    },\n)",
    "Keyword(\n    Void,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 322..328,\n        name: Ident {\n            span: 322..328,\n            sym: \"null\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    Unknown,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 329..353,\n        name: Ident {\n            span: 329..336,\n            sym: \"Record\",\n        },\n        type_args: [\n            _,\n            _,\n        ],\n    },\n)",
    "Union(\n    TsUnionType {\n        span: 322..353,\n        types: [\n            _,\n            _,\n        ],\n    },\n)",
    "Keyword(\n    Any,\n)"
  ]
}
