Matcha.Pattern (Matcha v0.1.0) View Source
About patterns.
Link to this section Summary
Link to this section Types
Specs
t() :: %Matcha.Pattern{
context: Matcha.Context.t(),
source: Matcha.Source.pattern(),
type: Matcha.Source.type()
}
Link to this section Functions
Specs
filter(t(), Enumerable.t()) :: Enumerable.t()
Specs
Specs
Specs
test(t()) :: {:ok, Matcha.Source.test_result()} | {:error, Matcha.Error.problems()}
Specs
test(t(), Matcha.Source.test_target()) :: {:ok, Matcha.Source.test_result()} | {:error, Matcha.Error.problems()}
Specs
test!(t()) :: Matcha.Source.test_result() | no_return()
Specs
test!(t(), Matcha.Source.test_target()) :: Matcha.Source.test_result() | no_return()
Specs
to_test_spec(t()) :: {:ok, Matcha.Spec.t()}
Specs
Specs
validate(t()) :: {:ok, t()} | {:error, Matcha.Error.problems()}