View Source Patch.Mock.Values.CallableStack (patch v0.13.0)

Link to this section Summary

Link to this section Types

@type t() :: %Patch.Mock.Values.CallableStack{stack: [Patch.Mock.Values.Callable.t()]}

Link to this section Functions

@spec advance(stack :: t()) :: t()
@spec new(stack :: [Patch.Mock.Values.Callable.t()]) :: t()
@spec next(stack :: t(), arguments :: [term()]) :: {:ok, t(), term()} | :error
@spec push(stack :: t(), callable :: Patch.Mock.Values.Callable.t()) :: t()