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

lib/es_tree/jsx_attribute.ex

defmodule ESTree.JSXAttribute do
@type t :: %ESTree.JSXAttribute{
type: binary,
loc: ESTree.SourceLocation.t | nil,
name: ESTree.JSXIdentifier.t | ESTree.JSXNamespacedName.t,
value: ESTree.Literal.t | ESTree.JSXExpressionContainer.t | ESTree.JSXElement.t | nil
}
defstruct type: "JSXAttribute", loc: nil, name: nil, value: nil
end