def access

bendvy-ecs-core@0.1.0.4 · ordinary_system.bend:24

import bendvy-ecs-core@0.1.0.4/ordinary_system.bend as OrdinarySystem
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as Query

24# Project ordered component names from declaration clauses as registration
25# access metadata. Does not validate runtime identity or grant payload access.
26def access(~S:Data,clauses:List<&2,Query.Clause<S>>) -> List<&2,String>:
27  match clauses:
28    case []:[]
29    case Query.Clause{name,_} <> rest:name <> access(~S,rest)

Uses (3)

Used by (7)