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

An AST node representing a macro component

properties

Properties

* `:module` - the component module
* `:attributes` - the specified attributes
* `:directives` - any directives to be applied to this macro
* `:children` - the children after the macro is expanded
* `:meta` - compilation meta data
* `: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.MacroComponent{
  attributes: [Surface.AST.Attribute.t()],
  children: [Surface.AST.t()],
  debug: [atom()],
  directives: [Surface.AST.Directive.t()],
  meta: Surface.AST.Meta.t(),
  module: module(),
  name: binary()
}