{
  "type": "File",
  "start":0,"end":23,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":18}},
  "program": {
    "type": "Program",
    "start":0,"end":23,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":18}},
    "sourceType": "module",
    "interpreter": null,
    "body": [
      {
        "type": "ExpressionStatement",
        "start":0,"end":23,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":18}},
        "expression": {
          "type": "ConditionalExpression",
          "start":0,"end":23,"loc":{"start":{"line":1,"column":0},"end":{"line":2,"column":18}},
          "test": {
            "type": "Identifier",
            "start":0,"end":4,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":4},"identifierName":"test"},
            "name": "test"
          },
          "consequent": {
            "type": "TypeCastExpression",
            "start":10,"end":14,"loc":{"start":{"line":2,"column":5},"end":{"line":2,"column":9}},
            "expression": {
              "type": "Identifier",
              "start":10,"end":11,"loc":{"start":{"line":2,"column":5},"end":{"line":2,"column":6},"identifierName":"x"},
              "name": "x"
            },
            "typeAnnotation": {
              "type": "TypeAnnotation",
              "start":11,"end":14,"loc":{"start":{"line":2,"column":6},"end":{"line":2,"column":9}},
              "typeAnnotation": {
                "type": "GenericTypeAnnotation",
                "start":13,"end":14,"loc":{"start":{"line":2,"column":8},"end":{"line":2,"column":9}},
                "typeParameters": null,
                "id": {
                  "type": "Identifier",
                  "start":13,"end":14,"loc":{"start":{"line":2,"column":8},"end":{"line":2,"column":9},"identifierName":"T"},
                  "name": "T"
                }
              }
            },
            "extra": {
              "parenthesized": true,
              "parenStart": 9
            }
          },
          "alternate": {
            "type": "ArrowFunctionExpression",
            "start":17,"end":23,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":18}},
            "id": null,
            "generator": false,
            "async": false,
            "params": [
              {
                "type": "Identifier",
                "start":17,"end":18,"loc":{"start":{"line":2,"column":12},"end":{"line":2,"column":13},"identifierName":"U"},
                "name": "U"
              }
            ],
            "body": {
              "type": "Identifier",
              "start":22,"end":23,"loc":{"start":{"line":2,"column":17},"end":{"line":2,"column":18},"identifierName":"y"},
              "name": "y"
            }
          }
        }
      }
    ],
    "directives": []
  }
}