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 throw_statement.ex
Raw

lib/es_tree/throw_statement.ex

defmodule ESTree.ThrowStatement do
@type t :: %ESTree.ThrowStatement{
type: binary,
loc: ESTree.SourceLocation.t | nil,
argument: ESTree.Expression.t
}
defstruct type: "ThrowStatement",
loc: nil,
argument: %ESTree.EmptyExpression{}
end