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

lib/es_tree/array_expression.ex

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