View Source Surface.AST.Container (surface v0.11.4)

An AST node representing a container of other nodes. This does not have content itself, just contains children which have content, and directives that operate on the entirety of the children (i.e. for, if, debug)

Properties

* `:children` - children AST nodes
* `:attributes` - the specified attributes
* `:directives` - directives associated with this container
* `:meta` - compile meta
* `:debug` - keyword list indicating when debug information should be printed during compilation

Summary

Types

@type t() :: %Surface.AST.Container{
  attributes: [Surface.AST.Attribute.t()],
  children: [Surface.AST.t()],
  debug: [atom()],
  directives: [Surface.AST.Directive.t()],
  meta: Surface.AST.Meta.t()
}