{
  "type": "File",
  "start":0,"end":21,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}},
  "errors": [
    "SyntaxError: Lexical declaration cannot appear in a single-statement context (1:9)"
  ],
  "program": {
    "type": "Program",
    "start":0,"end":21,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}},
    "sourceType": "script",
    "interpreter": null,
    "body": [
      {
        "type": "IfStatement",
        "start":0,"end":21,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":21}},
        "test": {
          "type": "BooleanLiteral",
          "start":3,"end":7,"loc":{"start":{"line":1,"column":3},"end":{"line":1,"column":7}},
          "value": true
        },
        "consequent": {
          "type": "VariableDeclaration",
          "start":9,"end":21,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":21}},
          "declarations": [
            {
              "type": "VariableDeclarator",
              "start":15,"end":20,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":20}},
              "id": {
                "type": "Identifier",
                "start":15,"end":16,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":16},"identifierName":"a"},
                "name": "a"
              },
              "init": {
                "type": "NumericLiteral",
                "start":19,"end":20,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20}},
                "extra": {
                  "rawValue": 1,
                  "raw": "1"
                },
                "value": 1
              }
            }
          ],
          "kind": "const"
        },
        "alternate": null
      }
    ],
    "directives": []
  }
}