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

lib/es_tree/template_element.ex

defmodule ESTree.TemplateElement do
@type t :: %ESTree.TemplateElement{
type: binary,
loc: ESTree.SourceLocation.t | nil,
value: %{cooked: binary, raw: binary},
tail: boolean
}
defstruct type: "TemplateElement",
loc: nil,
value: %{cooked: "", raw: ""},
tail: false
end