View Source Surface.AST.Container (surface v0.11.0)
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
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
Link to this section Summary
Link to this section 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() }