{
  "programs": [
    "Program {\n    span: 24..887,\n    kind: Script,\n    body: [\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n        _,\n    ],\n}"
  ],
  "stmts": [
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Expr(\n    ExprStmt {\n        span: 712..718,\n        expr: _,\n    },\n)",
    "Decl(\n    _,\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 779..802,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 803..825,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 758..825,\n        test: _,\n        cons: _,\n        alt: Some(\n            _,\n        ),\n    },\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 845..868,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "Decl(\n    _,\n)",
    "Block(\n    BlockStmt {\n        span: 869..887,\n        stmts: [\n            _,\n        ],\n    },\n)",
    "If(\n    IfStmt {\n        span: 823..887,\n        test: _,\n        cons: _,\n        alt: Some(\n            _,\n        ),\n    },\n)"
  ],
  "decls": [
    "TsTypeAlias(\n    TsTypeAliasDecl {\n        span: 24..56,\n        ident: Ident {\n            span: 29..33,\n            sym: \"Kind\",\n        },\n        declare: false,\n        type_params: [],\n        ty: _,\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 47..94,\n        ident: Ident {\n            span: 57..63,\n            sym: \"Entity\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [],\n        body: [\n            TsTypeMember {\n                span: 70..83,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 70..74,\n                            sym: \"kind\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 85..156,\n        ident: Ident {\n            span: 95..96,\n            sym: \"A\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 105..113,\n                sym: \"Entity\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 118..134,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 118..122,\n                            sym: \"kind\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 133..145,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 133..134,\n                            sym: \"a\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "TsInterface(\n    TsInterfaceDecl {\n        span: 147..494,\n        ident: Ident {\n            span: 157..158,\n            sym: \"B\",\n        },\n        declare: false,\n        type_params: [],\n        extends: [\n            Ident {\n                span: 167..175,\n                sym: \"Entity\",\n            },\n        ],\n        body: [\n            TsTypeMember {\n                span: 180..196,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 180..184,\n                            sym: \"kind\",\n                        },\n                    ),\n                ),\n                optional: false,\n                readonly: false,\n                params: [],\n                ty: Some(\n                    _,\n                ),\n            },\n            TsTypeMember {\n                span: 195..207,\n                kind: Property,\n                name: Some(\n                    Ident(\n                        Ident {\n                            span: 195..196,\n                            sym: \"b\",\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: 715..760,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 715..760,\n                name: _,\n                init: Some(\n                    _,\n                ),\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 785..797,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 785..795,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 809..821,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 809..819,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 851..863,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 851..861,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)",
    "Var(\n    VarDecl {\n        span: 875..887,\n        kind: Let,\n        declare: false,\n        declarators: [\n            VarDeclarator {\n                span: 875..885,\n                name: _,\n                init: None,\n            },\n        ],\n    },\n)"
  ],
  "pats": [
    "Ident(\n    Ident {\n        span: 719..720,\n        sym: \"x\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 789..790,\n        sym: \"a\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 791..795,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 813..814,\n        sym: \"b\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 815..819,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 855..856,\n        sym: \"c\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 857..861,\n        left: _,\n        right: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 879..880,\n        sym: \"d\",\n    },\n)",
    "Assign(\n    AssignPat {\n        span: 881..885,\n        left: _,\n        right: _,\n    },\n)"
  ],
  "exprs": [
    "Lit(\n    Null(\n        NullLit {\n            span: 0..0,\n        },\n    ),\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 738..741,\n            value: \"A\",\n        },\n    ),\n)",
    "Lit(\n    Num(\n        NumberLit {\n            span: 750..753,\n            value: 100.0,\n        },\n    ),\n)",
    "Object(\n    ObjectExpr {\n        span: 726..760,\n        props: [\n            KeyValueProp {\n                span: 732..742,\n                key: Ident(\n                    Ident {\n                        span: 732..736,\n                        sym: \"kind\",\n                    },\n                ),\n                value: _,\n            },\n            KeyValueProp {\n                span: 747..754,\n                key: Ident(\n                    Ident {\n                        span: 747..748,\n                        sym: \"a\",\n                    },\n                ),\n                value: _,\n            },\n        ],\n    },\n)",
    "Ident(\n    Ident {\n        span: 762..769,\n        sym: \"hasKind\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 770..771,\n        sym: \"x\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 773..776,\n            value: \"A\",\n        },\n    ),\n)",
    "Call(\n    CallExpr {\n        span: 769..778,\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: 793..794,\n        sym: \"x\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 817..818,\n        sym: \"x\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 828..835,\n        sym: \"hasKind\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 836..837,\n        sym: \"x\",\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 839..842,\n            value: \"B\",\n        },\n    ),\n)",
    "Call(\n    CallExpr {\n        span: 835..844,\n        callee: _,\n        args: [\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n            ExprOrSpread {\n                spread: false,\n                expr: _,\n            },\n        ],\n    },\n)",
    "Unary(\n    UnaryExpr {\n        span: 827..844,\n        op: Bang,\n        arg: _,\n    },\n)",
    "Ident(\n    Ident {\n        span: 859..860,\n        sym: \"x\",\n    },\n)",
    "Ident(\n    Ident {\n        span: 883..884,\n        sym: \"x\",\n    },\n)"
  ],
  "module_decls": [],
  "functions": [],
  "classes": [],
  "class_members": [],
  "jsx_elements": [],
  "ts_types": [
    "Lit(\n    Str(\n        StrLit {\n            span: 36..39,\n            value: \"A\",\n        },\n    ),\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 42..45,\n            value: \"B\",\n        },\n    ),\n)",
    "Union(\n    TsUnionType {\n        span: 36..56,\n        types: [\n            _,\n            _,\n        ],\n    },\n)",
    "TypeRef(\n    TsTypeRef {\n        span: 76..81,\n        name: Ident {\n            span: 76..81,\n            sym: \"Kind\",\n        },\n        type_args: [],\n    },\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 124..127,\n            value: \"A\",\n        },\n    ),\n)",
    "Keyword(\n    Number,\n)",
    "Lit(\n    Str(\n        StrLit {\n            span: 186..189,\n            value: \"B\",\n        },\n    ),\n)",
    "Keyword(\n    String,\n)"
  ]
}
