View Source Surface.Directive behaviour (surface v0.11.5)
Summary
Callbacks
@callback extract(node :: any(), meta :: Surface.AST.Meta.t()) :: [Surface.AST.Directive.t()] | Surface.AST.Directive.t()
@callback process(directive :: Surface.AST.Directive.t(), node :: Surface.AST.t()) :: Surface.AST.t()