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

An AST node representing a macro component

Properties

* `:module` - the component module
* `:attributes` - the specified attributes
* `:directives` - any directives to be applied to this macro
* `:body` - the macro body
* `: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

Specs

t() :: %Surface.AST.MacroComponent{
  attributes: [Surface.AST.Attribute.t()],
  body: iodata(),
  debug: [atom()],
  directives: [Surface.AST.Directive.t()],
  meta: Surface.AST.Meta.t(),
  module: module(),
  name: binary()
}