Surface.AST.SubBlock (surface v0.7.0) View Source

An AST node representing a generic sub-block.

Properties

* `:name` - name of the block
* `:expression` - the expression passed to block
* `:children` - children AST nodes
* `: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

Specs

t() :: %Surface.AST.SubBlock{
  children: [Surface.AST.t()],
  debug: [atom()],
  expression: Surface.AST.AttributeExpr.t(),
  meta: Surface.AST.Meta.t(),
  name: :default | binary()
}