View Source Surface.AST.For (Surface v0.12.0)

An AST node representing a for comprehension.

Properties

* `:generator` - a quoted expression
* `:children` - the children to collect over the generator
* `:meta` - compilation meta data
* `:debug` - keyword list indicating when debug information should be printed during compilation
* `:directives` - directives associated with this node

Summary

Types

@type t() :: %Surface.AST.For{
  children: [Surface.AST.t()],
  debug: [atom()],
  directives: [Surface.AST.Directive.t()],
  else: term(),
  generator: any(),
  meta: Surface.AST.Meta.t()
}