|
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: 5120 (0x1400) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Un_Mot_Du_Voca, seg_046885
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Error, Dictionnary, Dynamic_Value; package body Un_Mot_Du_Voca is procedure Parse (Dyn_Node : in out Dynamic_Node.Object) is use Lexical_Analyzer; Dyn_Val_Local : Dynamic_Value.Object; Dyn_Node_Local : Dynamic_Node.Object; begin if not (Un_Mot_Du_Voca.Is_First (Lexical_Analyzer.Get_Token)) then Error.Set_Type_Error (Error.Decl_Mot_Voca_Expected); raise Error.Excep_Syntaxe_Error; end if; Dynamic_Value.Set_Value (Dyn_Val_Local, Lexical_Analyzer.Get_Value, Dynamic_Value.Voca_Value); Dynamic_Node.Create_Value (Dyn_Node_Local); Dynamic_Node.Set_Value (Dyn_Node_Local, Dyn_Val_Local); if (Dynamic_Value.Get_Value (Dyn_Val_Local) /= "complement1") and (Dynamic_Value.Get_Value (Dyn_Val_Local) /= "complement2") then if (Dictionnary.Is_Verb (Dynamic_Value.Get_Value (Dyn_Val_Local))) then Dynamic_Node.Create_Unary_Operator (Dyn_Node, Dynamic_Node.Verb); elsif (Dictionnary.Is_Complement (Dynamic_Value.Get_Value (Dyn_Val_Local))) then Dynamic_Node.Create_Unary_Operator (Dyn_Node, Dynamic_Node.Complement); else Error.Set_Type_Error (Error.Is_Not_Declared_Voca_Word); raise Error.Excep_Syntaxe_Error; end if; else Dynamic_Node.Create_Unary_Operator (Dyn_Node, Dynamic_Node.Complement); end if; Dynamic_Node.Set_Argument (Dyn_Node, Dyn_Node_Local); Lexical_Analyzer.Next; end Parse; function Is_First (Un_Token : Lexical_Analyzer.Tokens) return Boolean is use Lexical_Analyzer; begin return ((Un_Token = Complement_Or_Verbe) or (Un_Token = Complement1) or (Un_Token = Complement2)); end Is_First; --function eval ; --functin unparse; end Un_Mot_Du_Voca;
nblk1=4 nid=3 hdr6=6 [0x00] rec0=1d rec1=00 rec2=01 rec3=05a [0x01] rec0=19 rec1=00 rec2=02 rec3=06c [0x02] rec0=06 rec1=00 rec2=04 rec3=000 [0x03] rec0=03 rec1=7b rec2=c3 rec3=142 tail 0x215433c0486515c28945d 0x42a00088462060003 Free Block Chain: 0x3: 0000 00 00 00 60 80 10 20 20 20 65 6e 64 20 49 73 5f ┆ ` end Is_┆