View Source Surface.AST.For (surface v0.11.0)

An AST node representing a for comprehension.

properties

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

Link to this section Summary

Link to this section 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()
}