{
  "programs": [
    "Program {\n    span: 71..811,\n    kind: Script,\n    body: [\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n    ],\n}"
  ],
  "stmts": [
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Return(\n    ReturnStmt {\n        span: 379..396,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 369..405,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "Return(\n    ReturnStmt {\n        span: 416..433,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 406..435,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 352..435,\n        test: _,\n        cons: _,\n        alt: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)",
    "Return(\n    ReturnStmt {\n        span: 500..517,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 490..526,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "Return(\n    ReturnStmt {\n        span: 537..554,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 527..556,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 473..556,\n        test: _,\n        cons: _,\n        alt: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)",
    "Return(\n    ReturnStmt {\n        span: 632..649,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 622..658,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "Return(\n    ReturnStmt {\n        span: 669..686,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 659..688,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 604..688,\n        test: _,\n        cons: _,\n        alt: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)",
    "Return(\n    ReturnStmt {\n        span: 754..771,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 744..780,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "Return(\n    ReturnStmt {\n        span: 791..808,\n        arg: Some(\n            _,\n        ),\n    },\n)",
    "Block(\n    BlockStmt {\n        span: 781..810,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 726..810,\n        test: _,\n        cons: _,\n        alt: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)"
  ],
  "decls": [
    "TsTypeAlias(\n    TsTypeAliasDecl {\n        span: 71..215,\n        ident: Ident {\n            span: 76..85,\n            sym: \"WeakTypes\",\n        },\n        declare: false,\n        type_params: [],\n        ty: _,\n    },\n)",
    "TsTypeAlias(\n    TsTypeAliasDecl {\n        span: 211..283,\n        ident: Ident {\n            span: 216..235,\n            sym: \"LiteralsOrWeakTypes\",\n        },\n        declare: false,\n        type_params: [],\n        ty: _,\n    },\n)",
    "Var(\n    VarDecl {\n        span: 284..311,\n        kind: Let,\n        declare: true,\n        declarators: [\n            VarDeclarator {\n                span: 284..304,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 306..442,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 306..442,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 437..563,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 437..563,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 558..695,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 558..695,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 690..811,\n        kind: Const,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 690..811,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 288..292,\n        sym: \"aOrB\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 312..313,\n        sym: \"f\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 317..320,\n        sym: \"arg\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 314..442,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 443..444,\n        sym: \"g\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 448..451,\n        sym: \"arg\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 445..563,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 564..565,\n        sym: \"h\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 569..572,\n        sym: \"arg\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 566..695,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 696..697,\n        sym: \"i\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 701..704,\n        sym: \"arg\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 698..811,\n        left: _,\n        right: _,\n    },\n)"
  ],
  "exprs": [
    "Ident(\n    Ident {\n        span: 356..359,\n        sym: \"arg\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 364..367,\n            value: \"A\",\n        },\n    ),\n)",
    "Binary(\n    BinaryExpr {\n        span: 360..368,\n        op: EqEqEq,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 386..389,\n        sym: \"arg\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 423..426,\n        sym: \"arg\",\n    },\n)",
    "Arrow(\n    ArrowExpr {\n        span: 316..442,\n        params: [\n            _,\n        ],\n        body: Block(\n            [\n                _,\n            ],\n        ),\n        is_async: false,\n    },\n)",
    "Ident(\n    Ident {\n        span: 477..480,\n        sym: \"arg\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 485..488,\n            value: \"A\",\n        },\n    ),\n)",
    "Binary(\n    BinaryExpr {\n        span: 481..489,\n        op: EqEqEq,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 507..510,\n        sym: \"arg\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 544..547,\n        sym: \"arg\",\n    },\n)",
    "Arrow(\n    ArrowExpr {\n        span: 447..563,\n        params: [\n            _,\n        ],\n        body: Block(\n            [\n                _,\n            ],\n        ),\n        is_async: false,\n    },\n)",
    "Ident(\n    Ident {\n        span: 608..611,\n        sym: \"arg\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 616..620,\n        sym: \"aOrB\",\n    },\n)",
    "Binary(\n    BinaryExpr {\n        span: 612..621,\n        op: EqEqEq,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 639..642,\n        sym: \"arg\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 676..679,\n        sym: \"arg\",\n    },\n)",
    "Arrow(\n    ArrowExpr {\n        span: 568..695,\n        params: [\n            _,\n        ],\n        body: Block(\n            [\n                _,\n            ],\n        ),\n        is_async: false,\n    },\n)",
    "Ident(\n    Ident {\n        span: 730..733,\n        sym: \"arg\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 738..742,\n        sym: \"aOrB\",\n    },\n)",
    "Binary(\n    BinaryExpr {\n        span: 734..743,\n        op: EqEqEq,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 761..764,\n        sym: \"arg\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 798..801,\n        sym: \"arg\",\n    },\n)",
    "Arrow(\n    ArrowExpr {\n        span: 700..811,\n        params: [\n            _,\n        ],\n        body: Block(\n            [\n                _,\n            ],\n        ),\n        is_async: false,\n    },\n)"
  ],
  "module_decls": [],
  "functions": [],
  "classes": [],
  "class_members": [],
  "jsx_elements": [],
  "ts_types": [
    "Lit(\n    Bool(\n        BoolLit {\n            span: 107..111,\n            value: true,\n        },\n    ),\n)",
    "TypeLit(\n    TsTypeLit {\n        span: 94..120,\n        members: [\n            TsTypeMember {\n                span: 96..114,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 96..104,\n                            sym: \"optional\",\n                        },\n                    ),\n                ),\n                optional: true,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Keyword(\n    String,\n)",
    "TypeLit(\n    TsTypeLit {\n        span: 121..153,\n        members: [\n            TsTypeMember {\n                span: 123..147,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 123..134,\n                            sym: \"toLowerCase\",\n                        },\n                    ),\n                ),\n                optional: true,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Keyword(\n    String,\n)",
    "Keyword(\n    Number,\n)",
    "TypeLit(\n    TsTypeLit {\n        span: 154..209,\n        members: [\n            TsTypeMember {\n                span: 156..197,\n                kind: Method,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 156..167,\n                            sym: \"toUpperCase\",\n                        },\n                    ),\n                ),\n                optional: true,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 180..208,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 180..197,\n                            sym: \"otherOptionalProp\",\n                        },\n                    ),\n                ),\n                optional: true,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Union(\n    TsUnionType {\n        span: 92..209,\n        types: [\n            _,\n            _,\n            _,\n        ],\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 244..247,\n            value: \"A\",\n        },\n    ),\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 254..257,\n            value: \"B\",\n        },\n    ),\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 264..274,\n        name: Ident {\n            span: 264..274,\n            sym: \"WeakTypes\",\n        },\n        type_args: [],\n    },\n)",
    "Union(\n    TsUnionType {\n        span: 242..274,\n        types: [\n            _,\n            _,\n            _,\n        ],\n    },\n)"
  ]
}
