{
  "type": "File",
  "start": 0,
  "end": 30,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 2,
      "column": 7
    }
  },
  "program": {
    "type": "Program",
    "start": 0,
    "end": 30,
    "loc": {
      "start": {
        "line": 1,
        "column": 0
      },
      "end": {
        "line": 2,
        "column": 7
      }
    },
    "sourceType": "script",
    "interpreter": null,
    "body": [
      {
        "type": "SwitchStatement",
        "start": 0,
        "end": 30,
        "loc": {
          "start": {
            "line": 1,
            "column": 0
          },
          "end": {
            "line": 2,
            "column": 7
          }
        },
        "discriminant": {
          "type": "Identifier",
          "start": 7,
          "end": 8,
          "loc": {
            "start": {
              "line": 1,
              "column": 7
            },
            "end": {
              "line": 1,
              "column": 8
            },
            "identifierName": "a"
          },
          "name": "a"
        },
        "cases": [
          {
            "type": "SwitchCase",
            "start": 12,
            "end": 28,
            "loc": {
              "start": {
                "line": 1,
                "column": 12
              },
              "end": {
                "line": 2,
                "column": 5
              }
            },
            "consequent": [
              {
                "type": "BlockStatement",
                "start": 20,
                "end": 22,
                "loc": {
                  "start": {
                    "line": 1,
                    "column": 20
                  },
                  "end": {
                    "line": 1,
                    "column": 22
                  }
                },
                "body": [],
                "directives": []
              },
              {
                "type": "ExpressionStatement",
                "start": 23,
                "end": 28,
                "loc": {
                  "start": {
                    "line": 2,
                    "column": 0
                  },
                  "end": {
                    "line": 2,
                    "column": 5
                  }
                },
                "expression": {
                  "type": "RegExpLiteral",
                  "start": 23,
                  "end": 28,
                  "loc": {
                    "start": {
                      "line": 2,
                      "column": 0
                    },
                    "end": {
                      "line": 2,
                      "column": 5
                    }
                  },
                  "extra": {
                    "raw": "/foo/"
                  },
                  "pattern": "foo",
                  "flags": ""
                }
              }
            ],
            "test": {
              "type": "NumericLiteral",
              "start": 17,
              "end": 18,
              "loc": {
                "start": {
                  "line": 1,
                  "column": 17
                },
                "end": {
                  "line": 1,
                  "column": 18
                }
              },
              "extra": {
                "rawValue": 1,
                "raw": "1"
              },
              "value": 1
            }
          }
        ]
      }
    ],
    "directives": []
  }
}