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

lib/es_tree/jsx_element.ex

defmodule ESTree.JSXElement do
@type t :: %ESTree.JSXElement{
type: binary,
loc: ESTree.SourceLocation.t | nil,
openingElement: ESTree.JSXOpeningElement.t,
children: [ESTree.Literal.t | ESTree.JSXExpressionContainer.t | ESTree.JSXElement.t],
closingElement: ESTree.JSXClosingElement.t | nil
}
defstruct type: "JSXElement", loc: nil, openingElement: nil, children: [], closingElement: nil
end