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

lib/es_tree/source_location.ex

defmodule ESTree.SourceLocation do
@type t :: %ESTree.SourceLocation{
source: binary | nil,
start: ESTree.Position.t,
end: ESTree.Position.t
}
defstruct source: nil,
start: %ESTree.Position{},
end: %ESTree.Position{}
end