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

lib/es_tree/class_declaration.ex

defmodule ESTree.ClassDeclaration do
@type t :: %ESTree.ClassDeclaration{
type: binary,
loc: ESTree.SourceLocation.t | nil,
id: ESTree.Identifier.t,
body: ESTree.ClassBody.t,
superClass: ESTree.Expression.t | nil
}
defstruct type: "ClassDeclaration",
loc: nil,
id: %ESTree.Identifier{},
body: %ESTree.ClassBody{},
superClass: nil
end