Green.Rule behaviour (green v0.2.0)

Copy Markdown

This is the Rule behaviour.

Summary

Types

comment()

@type comment() :: map()

forms()

@type forms() :: tuple()

Callbacks

apply(tuple, keyword)

@callback apply({forms(), [comment()]}, keyword()) :: {forms(), [comment()]}