def grant

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

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

37# Consume the declaration and extract its typed operations for a system body.
38# This supplies only G; a read declaration cannot confer write operations.
39def grant(~S:Data,~H:Type,~G:Type,declaration:Declaration<S,H,G>) -> G:
40  match declaration:
41    case Declaration{grant,_,_}:grant

Uses (1)

Used by (7)