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

lib/es_tree/for_of_statement.ex

defmodule ESTree.ForOfStatement do
@type t :: %ESTree.ForOfStatement{
type: binary,
loc: ESTree.SourceLocation.t | nil,
left: ESTree.VariableDeclaration.t | ESTree.Pattern.t ,
right: ESTree.Expression.t ,
body: ESTree.Statement.t
}
defstruct type: "ForOfStatement",
loc: nil,
left: %ESTree.EmptyExpression{},
right: %ESTree.EmptyExpression{},
body: %ESTree.EmptyStatement{}
end