|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Get_Label_If_No_Label_Found_Rule, seg_04bddb, separate Fruit_Rule_Bundle_4
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
separate (Fruit_Rule_Bundle_4)
package body Get_Label_If_No_Label_Found_Rule is
-- if no label is found : add a null_label in fact base
function Premiss return Fact_Queries is
use Fact_Base.Predicate;
use Fruit_Frames_4;
The_Marker_Name : constant Alias.Name := Alias.M;
The_X_Pos : constant Alias.Name := Alias.X;
The_Y_Pos : constant Alias.Name := Alias.Y;
begin
return (Requests.Exist
((Request_Name => Is_Equal (Get_Label_Request_Name),
Marker_Name => Define_As (The_Marker_Name),
Argument1 => Is_Any,
Argument2 => Is_Any)),
Visual_Markers.Exist
((Marker_Name => Is_Equal (The_Marker_Name),
Position_X => Define_As (The_X_Pos),
Position_Y => Define_As (The_Y_Pos))),
Visual_Blocks.Absent ((Label => Is_Any,
Position_X => Is_Equal (The_X_Pos),
Position_Y => Is_Equal (The_Y_Pos))));
end Premiss;
procedure Action (Objects : Fact_Collection) is
use Fruit_Frames_4;
use Slot;
The_Request : Fact_Name renames Objects (1);
The_Marker_Name : Slot.Object :=
Requests.Get (The_Request, Marker_Name);
begin
Labels.Add ((Label => Null_Object, Marker_Name => The_Marker_Name));
Requests.Delete (The_Request);
end Action;
end Get_Label_If_No_Label_Found_Rule;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=18 rec1=00 rec2=01 rec3=070
[0x01] rec0=13 rec1=00 rec2=02 rec3=001
tail 0x217513cba868f75789529 0x42a00088462063c03