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

lib/es_tree/assignment_pattern.ex

defmodule ESTree.AssignmentPattern do
@type t :: %ESTree.AssignmentPattern{
type: binary,
loc: ESTree.SourceLocation.t | nil,
left: ESTree.Pattern.t,
right: ESTree.Expression.t
}
defstruct type: "AssignmentPattern",
loc: nil,
left: nil,
right: nil
end