QuintConnect.Step (quint_connect v0.1.0)

Copy Markdown View Source

One replayable Quint step extracted from an ITF state.

Summary

Functions

Returns true when this step represents an action.

Returns required nondeterministic pick by name.

Returns optional nondeterministic pick by name.

Types

t()

@type t() :: %QuintConnect.Step{
  action_taken: String.t(),
  nondet_picks: map(),
  state: term()
}

Functions

action?(step, action)

@spec action?(t(), String.t() | atom()) :: boolean()

Returns true when this step represents an action.

nondet(step, name)

@spec nondet(t(), String.t() | atom()) :: {:ok, term()} | {:error, term()}

Returns required nondeterministic pick by name.

optional_nondet(step, name)

@spec optional_nondet(t(), String.t() | atom()) :: {:ok, term() | nil}

Returns optional nondeterministic pick by name.