Rete.Network.Node.Query (Rete v0.1.0)

Copy Markdown View Source

A terminal node for a query. Holds the tokens that reached it, to be read back by name.

There is no parameter list. A query is its conditions and its body, and Rete.Engine.query/3 lets the caller constrain any variable in :bind.

Summary

Types

t()

@type t() :: %Rete.Network.Node.Query{
  bind: [atom()],
  hash: integer(),
  id: non_neg_integer() | nil,
  module: module(),
  name: atom(),
  rhs: fun()
}