Current section
Files
Jump to
Current section
Files
lib/es_tree/switch_statement.ex
defmodule ESTree.SwitchStatement do
@type t :: %ESTree.SwitchStatement{
type: binary,
loc: ESTree.SourceLocation.t | nil,
discriminant: ESTree.Expression.t ,
cases: [ESTree.SwitchCase.t]
}
defstruct type: "SwitchStatement",
loc: nil,
discriminant: %ESTree.EmptyExpression{},
cases: []
end