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

lib/es_tree/class_body.ex

defmodule ESTree.ClassBody do
@type t :: %ESTree.ClassBody{
type: binary,
loc: ESTree.SourceLocation.t | nil,
body: [ESTree.MethodDefinition.t]
}
defstruct type: "ClassBody",
loc: nil,
body: []
end