RecognizedQueryDeclaration.ordinary: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/recognized_query_declaration.bend as RecognizedQueryDeclaration Lines 25-30 of bendvy-ecs-core@0.1.0.4/recognized_query_declaration.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/recognized_query_declaration.bend&start_line=25&end_line=30 import Base import bendvy-ecs-core@0.1.0.4/compose.bend as Q import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as N # Convert the recognized declaration into its ordinary operational declaration. # Consumes the carrier; call a closed declaration template again when both forms # are needed. Selection, access clauses and grants come from this same carrier. def ordinary(~S:Data,~Store:Type,~R:Type,~E:Data,~Ops:Type -> Type,declaration:Declaration) -> N.Declaration,Ops(Q.Frame)>: match declaration: case Declaration{legacy,_,_}:legacy(Unit{}) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/compose.bend&name=Frame https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend&name=Declaration https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/recognized_query_declaration.bend&name=Declaration