feature_flag v0.1.5 FeatureFlag.Definition

An internal struct representing a feature flag definition.

Link to this section Summary

Link to this section Types

Link to this type

case_type()

case_type() :: :match | :do_else
Link to this type

def_type()

def_type() :: :def | :defp
Link to this type

t()

t() :: %FeatureFlag.Definition{
  case_expr: Macro.t(),
  case_type: case_type(),
  def_type: def_type(),
  head: Macro.t(),
  mfa: mfa()
}

Link to this section Functions

Link to this function

to_expected_cases_string(definition)

Link to this function

to_mfa_string(definition)