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

lib/es_tree/new_expression.ex

defmodule ESTree.NewExpression do
@type t :: %ESTree.NewExpression{
type: binary,
loc: ESTree.SourceLocation.t | nil,
callee: ESTree.Expression.t ,
arguments: [ESTree.Expression.t ]
}
defstruct type: "NewExpression",
loc: nil,
callee: %ESTree.EmptyExpression{},
arguments: []
end