{
  "programs": [
    "Program {\n    span: 11..608,\n    kind: Script,\n    body: [\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n    ],\n}"
  ],
  "stmts": [
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 167..177,\n        expr: _,\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 196..212,\n        stmts: [],\n    },\n)",
    "While(\n    WhileStmt {\n        span: 186..212,\n        test: _,\n        body: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 208..235,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 274..338,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 233..338,\n        test: _,\n        cons: _,\n        alt: None,\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 176..340,\n        stmts: [\n            _,\n            _,\n            _,\n        ],\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 339..347,\n        expr: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 384..394,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 438..452,\n        stmts: [],\n    },\n)",
    "While(\n    WhileStmt {\n        span: 428..452,\n        test: _,\n        body: _,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 505..531,\n        expr: _,\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 491..543,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 450..543,\n        test: _,\n        cons: _,\n        alt: None,\n    },\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 393..608,\n        stmts: [\n            _,\n            _,\n            _,\n            _,\n        ],\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 607..608,\n        expr: _,\n    },\n)"
  ],
  "decls": [
    "TsTypeAlias(\n    TsTypeAliasDecl {\n        span: 11..131,\n        ident: Ident {\n            span: 16..21,\n            sym: \"State\",\n        },\n        declare: false,\n        type_params: [],\n        ty: _,\n    },\n)",
    "Var(\n    VarDecl {\n        span: 288..332,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 288..322,\n                name: _,\n                init: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 403..433,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 403..419,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 540..606,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 540..573,\n                name: _,\n                init: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 294..295,\n        sym: \"s\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 409..410,\n        sym: \"c\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 411..419,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 544..545,\n        sym: \"n\",\n    },\n)"
  ],
  "exprs": [
    "Ident(\n    Ident {\n        span: 167..173,\n        sym: \"method\",\n    },\n)",
    "Call(\n    CallExpr {\n        span: 173..177,\n        callee: _,\n        args: [],\n    },\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 193..194,\n            value: 0.0,\n        },\n    ),\n)",
    "Ident(\n    Ident {\n        span: 208..212,\n        sym: \"this\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 212..219,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 213..218,\n                sym: \"state\",\n            },\n        ),\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 218..224,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 219..223,\n                sym: \"data\",\n            },\n        ),\n    },\n)",
    "Ident(\n    Ident {\n        span: 237..241,\n        sym: \"this\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 241..248,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 242..247,\n                sym: \"state\",\n            },\n        ),\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 247..256,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 248..252,\n                sym: \"type\",\n            },\n        ),\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 257..272,\n            value: \"stringVariant\",\n        },\n    ),\n)",
    "Binary(\n    BinaryExpr {\n        span: 253..273,\n        op: EqEqEq,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 306..310,\n        sym: \"this\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 310..317,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 311..316,\n                sym: \"state\",\n            },\n        ),\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 316..322,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 317..321,\n                sym: \"data\",\n            },\n        ),\n    },\n)",
    "Lit(\n    Null(\n        NullLit {\n            span: 0..0,\n        },\n    ),\n)",
    "Ident(\n    Ident {\n        span: 384..390,\n        sym: \"method\",\n    },\n)",
    "Call(\n    CallExpr {\n        span: 390..394,\n        callee: _,\n        args: [],\n    },\n)",
    "Lit(\n    Bool(\n        BoolLit {\n            span: 413..418,\n            value: false,\n        },\n    ),\n)",
    "Ident(\n    Ident {\n        span: 435..436,\n        sym: \"c\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 454..458,\n        sym: \"this\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 458..465,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 459..464,\n                sym: \"state\",\n            },\n        ),\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 464..473,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 465..469,\n                sym: \"type\",\n            },\n        ),\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 474..489,\n            value: \"numberVariant\",\n        },\n    ),\n)",
    "Binary(\n    BinaryExpr {\n        span: 470..490,\n        op: EqEqEq,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 505..509,\n        sym: \"this\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 509..516,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 510..515,\n                sym: \"state\",\n            },\n        ),\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 515..521,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 516..520,\n                sym: \"data\",\n            },\n        ),\n    },\n)",
    "Ident(\n    Ident {\n        span: 556..560,\n        sym: \"this\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 560..568,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 561..566,\n                sym: \"state\",\n            },\n        ),\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 566..573,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 568..572,\n                sym: \"data\",\n            },\n        ),\n    },\n)",
    "OptChain(\n    OptChainExpr {\n        span: 566..573,\n        base: _,\n    },\n)",
    "Lit(\n    Null(\n        NullLit {\n            span: 0..0,\n        },\n    ),\n)"
  ],
  "module_decls": [],
  "functions": [],
  "classes": [],
  "class_members": [],
  "jsx_elements": [],
  "ts_types": [
    "Lit(\n    Str(\n        StrLit {\n            span: 36..51,\n            value: \"numberVariant\",\n        },\n    ),\n)",
    "Keyword(\n    Number,\n)",
    "TypeLit(\n    TsTypeLit {\n        span: 24..74,\n        members: [\n            TsTypeMember {\n                span: 30..61,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 30..34,\n                            sym: \"type\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 57..72,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 57..61,\n                            sym: \"data\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 87..102,\n            value: \"stringVariant\",\n        },\n    ),\n)",
    "Keyword(\n    String,\n)",
    "TypeLit(\n    TsTypeLit {\n        span: 75..124,\n        members: [\n            TsTypeMember {\n                span: 81..112,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 81..85,\n                            sym: \"type\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 108..123,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 108..112,\n                            sym: \"data\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Union(\n    TsUnionType {\n        span: 24..124,\n        types: [\n            _,\n            _,\n        ],\n    },\n)"
  ]
}
