Ruler.State.ConstantTestNode (Ruler v0.1.0) View Source

Link to this section Summary

Link to this section Types

Specs

ref() :: {:constant_test_node_ref, Ruler.State.RefMap.ref()}

Specs

t() :: %Ruler.State.ConstantTestNode{
  alpha_memory_ref: Ruler.State.AlphaMemory.ref() | nil,
  child_refs: [ref()],
  field_index: Ruler.Fact.field_index() | nil,
  target_value: any()
}

Link to this section Functions

Link to this function

matches_fact?(node, fact)

View Source

Specs

matches_fact?(t(), Ruler.Fact.t()) :: boolean()

Specs

top_node_ref() :: ref()