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

An AST node representing a generic block.

Properties

* `:name` - name of the block
* `:expression` - the expression passed to block
* `:sub_blocks` - a list containing each sub-block's {name, children_ast}
* `:meta` - compile meta
* `:debug` - keyword list indicating when debug information should be printed during compilation

Summary

Types

@type t() :: %Surface.AST.Block{
  debug: [atom()],
  expression: Surface.AST.AttributeExpr.t(),
  meta: Surface.AST.Meta.t(),
  name: binary(),
  sub_blocks: [Surface.AST.SubBlock.t()]
}