{
  "type": "File",
  "start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}},
  "program": {
    "type": "Program",
    "start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}},
    "sourceType": "module",
    "interpreter": null,
    "body": [
      {
        "type": "FunctionDeclaration",
        "start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":39}},
        "id": {
          "type": "Identifier",
          "start":9,"end":12,"loc":{"start":{"line":1,"column":9},"end":{"line":1,"column":12},"identifierName":"foo"},
          "name": "foo"
        },
        "generator": false,
        "async": false,
        "params": [
          {
            "type": "RestElement",
            "start":13,"end":35,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":35}},
            "argument": {
              "type": "Identifier",
              "start":16,"end":20,"loc":{"start":{"line":1,"column":16},"end":{"line":1,"column":20},"identifierName":"rest"},
              "name": "rest"
            },
            "typeAnnotation": {
              "type": "TypeAnnotation",
              "start":20,"end":35,"loc":{"start":{"line":1,"column":20},"end":{"line":1,"column":35}},
              "typeAnnotation": {
                "type": "GenericTypeAnnotation",
                "start":22,"end":35,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":35}},
                "typeParameters": {
                  "type": "TypeParameterInstantiation",
                  "start":27,"end":35,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":35}},
                  "params": [
                    {
                      "type": "NumberTypeAnnotation",
                      "start":28,"end":34,"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":34}}
                    }
                  ]
                },
                "id": {
                  "type": "Identifier",
                  "start":22,"end":27,"loc":{"start":{"line":1,"column":22},"end":{"line":1,"column":27},"identifierName":"Array"},
                  "name": "Array"
                }
              }
            }
          }
        ],
        "body": {
          "type": "BlockStatement",
          "start":37,"end":39,"loc":{"start":{"line":1,"column":37},"end":{"line":1,"column":39}},
          "body": [],
          "directives": []
        }
      }
    ],
    "directives": []
  }
}