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

lib/es_tree/array_pattern.ex

defmodule ESTree.ArrayPattern do
@type t :: %ESTree.ArrayPattern{
type: binary,
loc: ESTree.SourceLocation.t | nil,
elements: [ESTree.Pattern.t | nil]
}
defstruct type: "ArrayPattern",
loc: nil,
elements: []
end