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

lib/es_tree/while_statement.ex

defmodule ESTree.WhileStatement do
@type t :: %ESTree.WhileStatement{
type: binary,
loc: ESTree.SourceLocation.t | nil,
test: ESTree.Expression.t ,
body: ESTree.Statement.t
}
defstruct type: "WhileStatement",
loc: nil,
test: %ESTree.EmptyExpression{},
body: %ESTree.EmptyStatement{}
end