home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / historic / v941.tgz / icon.v941src.tar / icon.v941src / src / common / icontype.h < prev    next >
C/C++ Source or Header  |  2000-07-29  |  2KB  |  56 lines

  1. /*
  2.  * This file was generated by the program typespec.
  3.  */
  4.  
  5. int str_typ = 0;
  6. int int_typ = 1;
  7. int rec_typ = 2;
  8. int proc_typ = 3;
  9. int coexp_typ = 4;
  10. int stv_typ = 5;
  11. int ttv_typ = 6;
  12. int null_typ = 7;
  13. int cset_typ = 8;
  14. int real_typ = 9;
  15. int list_typ = 10;
  16. int tbl_typ = 11;
  17.  
  18. int num_typs = 20;
  19. struct icon_type icontypes[20] = {
  20.   {"string", 0, DrfNone, TRetSpcl, NULL, 0, 0, "s", "String"},
  21.   {"integer", 0, DrfNone, TRetNone, NULL, 0, 0, "i", "Integer"},
  22.   {"record", 0, DrfNone, TRetBlkP, NULL, 0, 0, "R", "Record"},
  23.   {"proc", 0, DrfNone, TRetBlkP, NULL, 0, 0, "proc", "Proc"},
  24.   {"coexpr", 0, DrfNone, TRetBlkP, NULL, 0, 0, "C", "Coexpr"},
  25.   {"tvsubs", 1, DrfSpcl, TRetSpcl, NULL, 1, 0, "sstv", "Tvsubs"},
  26.   {"tvtbl", 1, DrfSpcl, TRetBlkP, NULL, 1, 1, "tetv", "Tvtbl"},
  27.   {"null", 0, DrfNone, TRetNone, NULL, 0, 0, "n", "Null"},
  28.   {"cset", 0, DrfNone, TRetBlkP, NULL, 0, 0, "c", "Cset"},
  29.   {"real", 0, DrfNone, TRetBlkP, NULL, 0, 0, "r", "Real"},
  30.   {"list", 1, DrfNone, TRetBlkP, NULL, 1, 2, "L", "List"},
  31.   {"table", 1, DrfNone, TRetBlkP, NULL, 3, 3, "T", "Table"},
  32.   {"file", 0, DrfNone, TRetBlkP, NULL, 0, 0, "f", "File"},
  33.   {"set", 1, DrfNone, TRetBlkP, NULL, 1, 6, "S", "Set"},
  34.   {"kywdint", 0, DrfCnst, TRetDescP, ".i..................", 0, 0, "kywdint", "Kywdint"},
  35.   {"kywdsubj", 0, DrfCnst, TRetDescP, "s...................", 0, 0, "kywdsubj", "Kywdsubj"},
  36.   {"kywdpos", 0, DrfCnst, TRetDescP, ".i..................", 0, 0, "kywdpos", "Kywdpos"},
  37.   {"kywdevent", 0, DrfCnst, TRetDescP, "siRpC..ncrLTfS......", 0, 0, "kywdevent", "Kywdevent"},
  38.   {"kywdwin", 0, DrfCnst, TRetDescP, ".......n....f.......", 0, 0, "kywdwin", "Kywdwin"},
  39.   {"kywdstr", 0, DrfCnst, TRetDescP, "s...................", 0, 0, "kywdstr", "Kywdstr"}};
  40.  
  41. int str_var = 0;
  42. int trpd_tbl = 1;
  43. int lst_elem = 2;
  44. int tbl_dflt = 5;
  45. int tbl_val = 4;
  46.  
  47. int num_cmpnts = 7;
  48. struct typ_compnt typecompnt[7] = {
  49.   {"str_var", 0, 0, 5, NULL},
  50.   {"trpd_tbl", 0, 0, 6, NULL},
  51.   {"lst_elem", 0, 1, 10, "LE"},
  52.   {"tbl_key", 0, 0, 11, NULL},
  53.   {"tbl_val", 1, 1, 11, "TV"},
  54.   {"tbl_dflt", 2, 0, 11, NULL},
  55.   {"set_elem", 0, 0, 13, NULL}};
  56.