Annotation of OpenXM/src/util/oxlistlocalf.h, Revision 1.1
1.1 ! takayama 1: union cell {
! 2: int ival;
! 3: char *str;
! 4: struct Object *op;
! 5: FILE *file;
! 6: struct stringBuf *sbuf;
! 7: void *voidp;
! 8: };
! 9:
! 10: struct Object{
! 11: int tag; /* class identifier */
! 12: union cell lc; /* left cell */
! 13: union cell rc; /* right cell */
! 14: struct object *attr;
! 15: };
! 16:
! 17: struct object{ /* must be compatible with stackm.h */
! 18: int tag; /* class identifier */
! 19: union cell lc; /* left cell */
! 20: union cell rc; /* right cell */
! 21: struct object *attr;
! 22: };
! 23: typedef struct Object * objectp;
! 24:
! 25: /**** data types (class identifiers) ************/
! 26: #define Snull 0
! 27: #define Sinteger 1 /* integer */
! 28: #define Sstring 2 /* pointer to a string */
! 29: #define SexecutableArray 3 /* executable array */
! 30: #define Soperator 4 /* operators defined in the system dic */
! 31: #define Sdollar 5 /* pointer to a string obtained from $...$ */
! 32: #define Sarray 6 /* lc.ival is the size of array,
! 33: (rc.op)[0], ..., (rc.op)[k] is the array
! 34: of object */
! 35: #define SleftBraceTag 7 /* [ */
! 36: #define SrightBraceTag 8 /* ] */
! 37: #define Spoly 9
! 38: #define SarrayOfPOLY 10
! 39: #define SmatrixOfPOLY 11
! 40: #define Slist 12 /* list of object */
! 41: #define Sfile 13
! 42: #define Sring 14
! 43: #define SuniversalNumber 15
! 44: #define SrationalFunction 16
! 45: #define Sclass 17 /* class, for extension */
! 46: #define Sdouble 18
! 47:
! 48: #define TYPES 19 /* number of data types. */
! 49: /* NOTE! If you change the above, you need to change mklookup.c too. */
! 50: /* Change also dr.sm1 : datatype constants. */
! 51:
! 52: /* The following tags are not in stackm.h, but we use them. */
! 53: #define CLASSNAME_CONTEXT 258
! 54:
! 55:
! 56: #define ID 258
! 57: #define QUOTE 259
! 58: #define SINGLEQUOTE 260
! 59: #define NUMBER 261
! 60: #define CLASS 262
! 61: #define SUPER 263
! 62: #define OPERATOR 264
! 63: #define FINAL 265
! 64: #define EXTENDS 266
! 65: #define INCETANCEVARIABLE 267
! 66: #define THIS 268
! 67: #define NEW 269
! 68: #define SIZEOFTHISCLASS 270
! 69: #define STARTOFTHISCLASS 271
! 70: #define MODULE 272
! 71: #define PRINT 273
! 72: #define LOCAL 274
! 73: #define DEF 275
! 74: #define SM1 276
! 75: #define LOAD 277
! 76: #define TEST 278
! 77: #define SPECIAL 279
! 78: #define AUTO 280
! 79: #define BREAK 281
! 80: #define CASE 282
! 81: #define CHAR 283
! 82: #define CONST 284
! 83: #define CONTINUE 285
! 84: #define DEFAULT 286
! 85: #define DO 287
! 86: #define DOUBLE 288
! 87: #define ELSE 289
! 88: #define ENUM 290
! 89: #define EXTERN 291
! 90: #define FLOAT 292
! 91: #define FOR 293
! 92: #define GOTO 294
! 93: #define IF 295
! 94: #define INT 296
! 95: #define LONG 297
! 96: #define REGISTER 298
! 97: #define RETURN 299
! 98: #define SHORT 300
! 99: #define SIGNED 301
! 100: #define SIZEOF 302
! 101: #define STATIC 303
! 102: #define STRUCT 304
! 103: #define SWITCH 305
! 104: #define TYPEDEF 306
! 105: #define UNION 307
! 106: #define UNSIGNED 308
! 107: #define VOLATILE 309
! 108: #define VOID 310
! 109: #define WHILE 311
! 110: #define PSFOR 312
! 111: #define PROMPT 313
! 112: #define RESIDUEPUT 314
! 113: #define NEGATEPUT 315
! 114: #define MULTPUT 316
! 115: #define PUT 317
! 116: #define OR 318
! 117: #define AND 319
! 118: #define NOTEQUAL 320
! 119: #define EQUAL 321
! 120: #define GREATEREQUAL 322
! 121: #define LESSEQUAL 323
! 122: #define RIGHTSHIFT 324
! 123: #define LEFTSHIFT 325
! 124: #define DECREMENT 326
! 125: #define INCREMENT 327
! 126: #define UNARYMINUS 328
! 127: #define MEMBER 329
! 128:
! 129:
! 130:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>