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

lib/es_tree/logical_expression.ex

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