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

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
* `:children` - the children after the macro is expanded
* `:meta` - compilation meta data
* `:debug` - keyword list indicating when debug information should be printed during compilation

Summary

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()
}