Packages

Represents the JavaScript AST from the ESTree spec. Includes tools for building an AST and generating code from it.

Current section

Files

Jump to
estree lib es_tree labeled_statement.ex
Raw

lib/es_tree/labeled_statement.ex

defmodule ESTree.LabeledStatement do
@type t :: %ESTree.LabeledStatement{
type: binary,
loc: ESTree.SourceLocation.t | nil,
label: ESTree.Identifier.t,
body: ESTree.Statement.t
}
defstruct type: "LabeledStatement",
loc: nil,
label: %ESTree.Identifier{},
body: %ESTree.EmptyStatement{}
end