def clauses

bendvy-ecs-core@0.1.0.4 · ordinary_query_declaration.bend:101

import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as OrdinaryQueryDeclaration
import Base

101# Consume the declaration and return detached schema-scoped query metadata.
102# Prefer observe when the caller also needs to retain the declaration.
103def clauses(~S:Data,~H:Type,~G:Type,declaration:Declaration<S,H,G>) -> List<&2,Clause<S>>:
104  match declaration:
105    case Declaration{_,_,clauses}:clauses

Uses (3)

Used by (14)