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

lib/es_tree/catch_clause.ex

defmodule ESTree.CatchClause do
@type t :: %ESTree.CatchClause{
type: binary,
loc: ESTree.SourceLocation.t | nil,
param: ESTree.Pattern.t,
body: ESTree.BlockStatement.t
}
defstruct type: "CatchClause",
loc: nil,
param: %ESTree.EmptyExpression{},
body: %ESTree.BlockStatement{}
end