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

lib/es_tree/jsx_opening_element.ex

defmodule ESTree.JSXOpeningElement do
@type t :: %ESTree.JSXOpeningElement{
type: binary,
loc: ESTree.SourceLocation.t | nil,
name: ESTree.JSXIdentifier.t | ESTree.JSXMemberExpression.t | ESTree.JSXNamespacedName.t,
attributes: [ ESTree.JSXAttribute.t | ESTree.JSXSpreadAttribute.t ],
selfClosing: boolean
}
defstruct type: "JSXOpeningElement", loc: nil, name: nil, attributes: [], selfClosing: false
end