{
  "type": "File",
  "start":0,"end":24,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}},
  "errors": [
    "SyntaxError: Decorators cannot be used to decorate parameters (1:14)"
  ],
  "program": {
    "type": "Program",
    "start":0,"end":24,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}},
    "sourceType": "script",
    "interpreter": null,
    "body": [
      {
        "type": "FunctionDeclaration",
        "start":0,"end":24,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":24}},
        "id": {
          "type": "Identifier",
          "start":9,"end":13,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":13},"identifierName":"func"},
          "name": "func"
        },
        "generator": false,
        "async": false,
        "params": [
          {
            "type": "Identifier",
            "start":19,"end":20,"loc":{"start":{"line":1,"column":19},"end":{"line":1,"column":20},"identifierName":"x"},
            "name": "x",
            "decorators": [
              {
                "type": "Decorator",
                "start":14,"end":18,"loc":{"start":{"line":1,"column":14},"end":{"line":1,"column":18}},
                "expression": {
                  "type": "Identifier",
                  "start":15,"end":18,"loc":{"start":{"line":1,"column":15},"end":{"line":1,"column":18},"identifierName":"foo"},
                  "name": "foo"
                }
              }
            ]
          }
        ],
        "body": {
          "type": "BlockStatement",
          "start":22,"end":24,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":24}},
          "body": [],
          "directives": []
        }
      }
    ],
    "directives": []
  }
}