An intermediate data structure representing a partial match.
Returns all bound variables of the token.
Returns the value of a bound variable.
@type t() :: %Wongi.Engine.Token{ assignments: term(), node_ref: term(), parents: term(), ref: term(), wme: term() }
@spec fetch(t(), atom()) :: {:ok, any()} | :error