View Source Surface.Directive behaviour (surface v0.11.4)

Summary

Callbacks

@callback extract(node :: any(), meta :: Surface.AST.Meta.t()) ::
  [Surface.AST.Directive.t()] | Surface.AST.Directive.t()
Link to this callback

process(directive, node)

View Source (optional)
@callback process(directive :: Surface.AST.Directive.t(), node :: Surface.AST.t()) ::
  Surface.AST.t()