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

lib/es_tree/import_declaration.ex

defmodule ESTree.ImportDeclaration do
@type t :: %ESTree.ImportDeclaration{
type: binary,
loc: ESTree.SourceLocation.t | nil,
specifiers: [ESTree.ImportSpecifier.t | ESTree.ImportNamespaceSpecifier.t | ESTree.ImportDefaultSpecifier.t],
source: ESTree.Identifier.t | nil
}
defstruct type: "ImportDeclaration",
loc: nil,
specifiers: [],
source: nil
end