Composable visibility predicate with fluent surface. Carries its underlying
Rule tree at .rule so the resolver can introspect / share trees with
the affordance pipeline and the dispatcher's eligibility filter.
Callable form cond(ctx) evaluates the tree against ctx. The fluent
methods return new Conditions wrapping new trees.
Chain semantics: strict left-to-right, no precedence.a.and(b).or(c) is (a && b) || c; a.or(b).and(c) is
(a || b) && c. Mix .and and .or only when you mean
left-to-right evaluation. For grouped disjunction, name the
subexpression or use the top-level or(...).
Composable visibility predicate with fluent surface. Carries its underlying
Ruletree at.ruleso the resolver can introspect / share trees with the affordance pipeline and the dispatcher's eligibility filter.Callable form
cond(ctx)evaluates the tree against ctx. The fluent methods return new Conditions wrapping new trees.Chain semantics: strict left-to-right, no precedence.
a.and(b).or(c)is(a && b) || c;a.or(b).and(c)is(a || b) && c. Mix.andand.oronly when you mean left-to-right evaluation. For grouped disjunction, name the subexpression or use the top-levelor(...).