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

lib/es_tree/binary_expression.ex

defmodule ESTree.BinaryExpression do
@type t :: %ESTree.BinaryExpression{
type: binary,
loc: ESTree.SourceLocation.t | nil,
operator: ESTree.binary_operator,
left: ESTree.Expression.t,
right: ESTree.Expression.t
}
defstruct type: "BinaryExpression",
loc: nil,
operator: nil,
left: %ESTree.EmptyExpression{},
right: %ESTree.EmptyExpression{}
end