View Source Wongi.Engine.Token (Wongi.Engine v0.9.10)

An intermediate data structure representing a partial match.

Summary

Functions

Returns the value of a bound variable.

Types

@type t() :: %Wongi.Engine.Token{
  assignments: term(),
  node_ref: term(),
  parents: term(),
  ref: term(),
  wme: term()
}

Functions

@spec fetch(t(), atom()) :: {:ok, any()} | :error

Returns the value of a bound variable.