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

An intermediate data structure representing a partial match.

Summary

Types

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

Functions

Link to this function

ancestral_wme?(token, wme)

View Source
Link to this function

child_of?(token, parent)

View Source
Link to this function

fetch(token, var, extra_assignments)

View Source
Link to this function

new(node, parents, wme, assignments \\ %{})

View Source