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

lib/es_tree/update_expression.ex

defmodule ESTree.UpdateExpression do
@type t :: %ESTree.UpdateExpression{
type: binary,
loc: ESTree.SourceLocation.t | nil,
operator: ESTree.update_operator,
argument: ESTree.Expression.t ,
prefix: boolean
}
defstruct type: "UpdateExpression",
loc: nil,
operator: nil,
argument: %ESTree.EmptyExpression{},
prefix: false
end