1defmodule ESTree.SwitchStatement do
2  @type t :: %ESTree.SwitchStatement{
3    type: binary,
4    loc: ESTree.SourceLocation.t | nil,
5    discriminant: ESTree.Expression.t ,
6    cases: [ESTree.SwitchCase.t]
7  }
8  defstruct type: "SwitchStatement",
9            loc: nil,
10            discriminant: %ESTree.EmptyExpression{},
11            cases: []
12end