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

lib/es_tree/export_declaration.ex

defmodule ESTree.ExportDeclaration do
@type t :: %ESTree.ExportDeclaration{
type: binary,
loc: ESTree.SourceLocation.t | nil,
declaration: ESTree.Declaration.t,
specifiers: [ESTree.ExportSpecifier.t | ESTree.ExportBatchSpecifier.t],
default: boolean,
source: ESTree.Identifier.t | nil
}
defstruct type: "ExportDeclaration",
loc: nil,
declaration: %ESTree.EmptyStatement{},
specifiers: nil,
default: false,
source: nil
end