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

lib/es_tree/import_specifier.ex

defmodule ESTree.ImportSpecifier do
@type t :: %ESTree.ImportSpecifier{
type: binary,
loc: ESTree.SourceLocation.t | nil,
id: ESTree.Identifier.t,
name: ESTree.Identifier.t | nil,
default: boolean
}
defstruct type: "ImportSpecifier",
loc: nil,
id: %ESTree.Identifier{},
name: nil,
default: false
end