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

lib/es_tree/rest_element.ex

defmodule ESTree.RestElement do
@type t :: %ESTree.RestElement{
type: binary,
loc: ESTree.SourceLocation.t | nil,
argument: ESTree.Pattern.t
}
defstruct type: "RestElement",
loc: nil,
argument: %ESTree.Identifier{}
end