{
  "programs": [
    "Program {\n    span: 63..992,\n    kind: Module,\n    body: [\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n    ],\n}"
  ],
  "stmts": [
    "ModuleDecl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 408..459,\n        expr: _,\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 390..477,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 380..477,\n        test: _,\n        cons: _,\n        alt: None,\n    },\n)",
    "Expr(\n    ExprStmt {\n        span: 472..493,\n        expr: _,\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 366..499,\n        stmts: [\n            _,\n            _,\n        ],\n    },\n)",
    "For(\n    ForStmt {\n        span: 335..499,\n        head: Of(\n            ForOfHead {\n                is_await: false,\n                left: Decl(\n                    _,\n                ),\n                right: _,\n            },\n        ),\n        body: _,\n    },\n)",
    "Return(\n    ReturnStmt {\n        span: 301..501,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "ModuleDecl(\n    _,\n)",
    "ModuleDecl(\n    _,\n)",
    "ModuleDecl(\n    _,\n)",
    "Return(\n    ReturnStmt {\n        span: 741..756,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "ModuleDecl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 851..865,\n        expr: _,\n    },\n)",
    "ModuleDecl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 961..979,\n        expr: _,\n    },\n)",
    "Return(\n    ReturnStmt {\n        span: 973..988,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "ModuleDecl(\n    _,\n)"
  ],
  "decls": [
    "TsInterface(\n    TsInterfaceDecl {\n        span: 70..140,\n        ident: Ident {\n            span: 80..94,\n            sym: \"StrategicState\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 101..132,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 101..120,\n                            sym: \"lastStrategyApplied\",\n                        },\n                    ),\n                ),\n                optional: true,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 340..353,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 340..353,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Fn(\n    FnDecl {\n        span: 141..509,\n        ident: Ident {\n            span: 150..158,\n            sym: \"strategy\",\n        },\n        declare: false,\n        params: [\n            _,\n            _,\n        ],\n        body: [\n            _,\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 510..588,\n        ident: Ident {\n            span: 520..528,\n            sym: \"Strategy\",\n        },\n        declare: false,\n        type_params: [\n            Ident {\n                span: 529..530,\n                sym: \"T\",\n            },\n        ],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 538..580,\n                kind: Call,\n                name: None,\n                optional: false,\n                readonly: false,\n                params: [\n                    TsFnParam {\n                        span: 539..544,\n                        name: Some(\n                            Ident {\n                                span: 539..540,\n                                sym: \"a\",\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: 589..656,\n        ident: Ident {\n            span: 599..604,\n            sym: \"State\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 613..629,\n                sym: \"StrategicState\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 634..648,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 634..637,\n                            sym: \"foo\",\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: 657..766,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 657..758,\n                name: _,\n                init: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 767..875,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 767..867,\n                name: _,\n                init: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 876..992,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 876..990,\n                name: _,\n                init: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 185..194,\n        sym: \"stratName\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 204..207,\n        sym: \"gen\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 318..323,\n        sym: \"state\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 346..350,\n        sym: \"next\",\n    },\n)",
    "Expr(\n    _,\n)",
    "Ident(\n    Ident {\n        span: 663..671,\n        sym: \"Nothing1\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 721..726,\n        sym: \"state\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 773..781,\n        sym: \"Nothing2\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 831..836,\n        sym: \"state\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 882..890,\n        sym: \"Nothing3\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 941..946,\n        sym: \"state\",\n    },\n)"
  ],
  "exprs": [
    "Ident(\n    Ident {\n        span: 354..357,\n        sym: \"gen\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 358..363,\n        sym: \"state\",\n    },\n)",
    "Call(\n    CallExpr {\n        span: 357..365,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Ident(\n    Ident {\n        span: 384..388,\n        sym: \"next\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 408..412,\n        sym: \"next\",\n    },\n)",
    "Member(\n    MemberExpr {\n        span: 412..434,\n        obj: _,\n        prop: Ident(\n            Ident {\n                span: 413..432,\n                sym: \"lastStrategyApplied\",\n            },\n        ),\n    },\n)",
    "Ident(\n    Ident {\n        span: 435..444,\n        sym: \"stratName\",\n    },\n)",
    "Assign(\n    AssignExpr {\n        span: 433..445,\n        left: _,\n        op: Assign,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 478..482,\n        sym: \"next\",\n    },\n)",
    "Yield(\n    YieldExpr {\n        span: 472..483,\n        arg: Some(\n            _,\n        ),\n        delegate: false,\n    },\n)",
    "Function(\n    _,\n)",
    "Ident(\n    Ident {\n        span: 691..699,\n        sym: \"strategy\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 700..709,\n            value: \"Nothing\",\n        },\n    ),\n)",
    "Ident(\n    Ident {\n        span: 748..753,\n        sym: \"state\",\n    },\n)",
    "Function(\n    _,\n)",
    "Call(\n    CallExpr {\n        span: 699..758,\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: 801..809,\n        sym: \"strategy\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 810..819,\n            value: \"Nothing\",\n        },\n    ),\n)",
    "Ident(\n    Ident {\n        span: 857..862,\n        sym: \"state\",\n    },\n)",
    "Yield(\n    YieldExpr {\n        span: 851..863,\n        arg: Some(\n            _,\n        ),\n        delegate: false,\n    },\n)",
    "Function(\n    _,\n)",
    "Call(\n    CallExpr {\n        span: 809..867,\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: 910..918,\n        sym: \"strategy\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 919..928,\n            value: \"Nothing\",\n        },\n    ),\n)",
    "Yield(\n    YieldExpr {\n        span: 961..968,\n        arg: None,\n        delegate: false,\n    },\n)",
    "Ident(\n    Ident {\n        span: 980..985,\n        sym: \"state\",\n    },\n)",
    "Function(\n    _,\n)",
    "Call(\n    CallExpr {\n        span: 918..990,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)"
  ],
  "module_decls": [
    "ExportDecl(\n    ExportDecl {\n        span: 63..140,\n        decl: _,\n    },\n)",
    "ExportDecl(\n    ExportDecl {\n        span: 134..509,\n        decl: _,\n    },\n)",
    "ExportDecl(\n    ExportDecl {\n        span: 503..588,\n        decl: _,\n    },\n)",
    "ExportDecl(\n    ExportDecl {\n        span: 582..656,\n        decl: _,\n    },\n)",
    "ExportDecl(\n    ExportDecl {\n        span: 650..766,\n        decl: _,\n    },\n)",
    "ExportDecl(\n    ExportDecl {\n        span: 760..875,\n        decl: _,\n    },\n)",
    "ExportDecl(\n    ExportDecl {\n        span: 869..992,\n        decl: _,\n    },\n)"
  ],
  "functions": [
    "Function {\n    span: 308..501,\n    params: [\n        Param {\n            span: 308..308,\n            decorators: [],\n            pat: _,\n        },\n    ],\n    body: [\n        _,\n    ],\n    is_async: false,\n    is_generator: true,\n}",
    "Function {\n    span: 711..757,\n    params: [\n        Param {\n            span: 711..711,\n            decorators: [],\n            pat: _,\n        },\n    ],\n    body: [\n        _,\n    ],\n    is_async: false,\n    is_generator: true,\n}",
    "Function {\n    span: 821..866,\n    params: [\n        Param {\n            span: 821..821,\n            decorators: [],\n            pat: _,\n        },\n    ],\n    body: [\n        _,\n    ],\n    is_async: false,\n    is_generator: true,\n}",
    "Function {\n    span: 930..989,\n    params: [\n        Param {\n            span: 930..930,\n            decorators: [],\n            pat: _,\n        },\n    ],\n    body: [\n        _,\n        _,\n    ],\n    is_async: false,\n    is_generator: true,\n}"
  ],
  "classes": [],
  "class_members": [],
  "jsx_elements": [],
  "ts_types": [
    "Keyword(\n    String,\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 542..544,\n        name: Ident {\n            span: 542..544,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 563..566,\n        name: Ident {\n            span: 563..566,\n            sym: \"T\",\n        },\n        type_args: [],\n    },\n)",
    "Keyword(\n    Undefined,\n)",
    "Union(\n    TsUnionType {\n        span: 563..577,\n        types: [\n            _,\n            _,\n        ],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 546..578,\n        name: Ident {\n            span: 546..563,\n            sym: \"IterableIterator\",\n        },\n        type_args: [\n            _,\n        ],\n    },\n)",
    "Keyword(\n    Number,\n)"
  ]
}
