~ubuntu-branches/ubuntu/maverick/swig1.3/maverick

« back to all changes in this revision

Viewing changes to Source/CParse/parser.h

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Landschoff
  • Date: 2002-03-29 01:56:07 UTC
  • Revision ID: james.westby@ubuntu.com-20020329015607-c0wt03xu8oy9ioj7
Tags: upstream-1.3.11
ImportĀ upstreamĀ versionĀ 1.3.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
typedef union {
 
2
  char  *id;
 
3
  List  *bases;
 
4
  struct Define {
 
5
    String *val;
 
6
    String *rawval;
 
7
    int     type;
 
8
    String *qualifier;
 
9
  } dtype;
 
10
  struct {
 
11
    char *type;
 
12
    char *filename;
 
13
    int   line;
 
14
  } loc;
 
15
  struct {
 
16
    char      *id;
 
17
    SwigType  *type;
 
18
    String    *defarg;
 
19
    ParmList  *parms;
 
20
    short      have_parms;
 
21
  } decl;
 
22
  struct {
 
23
    String     *rparms;
 
24
    String     *sparms;
 
25
  } tmplstr;
 
26
  struct {
 
27
    String     *op;
 
28
    Hash       *kwargs;
 
29
  } tmap;
 
30
  struct {
 
31
    String     *type;
 
32
    String     *us;
 
33
  } ptype;
 
34
  SwigType     *type;
 
35
  String       *str;
 
36
  Parm         *p;
 
37
  ParmList     *pl;
 
38
  int           ivalue;
 
39
  Node         *node;
 
40
} YYSTYPE;
 
41
#define ID      258
 
42
#define HBLOCK  259
 
43
#define POUND   260
 
44
#define STRING  261
 
45
#define INCLUDE 262
 
46
#define IMPORT  263
 
47
#define INSERT  264
 
48
#define CHARCONST       265
 
49
#define NUM_INT 266
 
50
#define NUM_FLOAT       267
 
51
#define NUM_UNSIGNED    268
 
52
#define NUM_LONG        269
 
53
#define NUM_ULONG       270
 
54
#define NUM_LONGLONG    271
 
55
#define NUM_ULONGLONG   272
 
56
#define TYPEDEF 273
 
57
#define TYPE_INT        274
 
58
#define TYPE_UNSIGNED   275
 
59
#define TYPE_SHORT      276
 
60
#define TYPE_LONG       277
 
61
#define TYPE_FLOAT      278
 
62
#define TYPE_DOUBLE     279
 
63
#define TYPE_CHAR       280
 
64
#define TYPE_VOID       281
 
65
#define TYPE_SIGNED     282
 
66
#define TYPE_BOOL       283
 
67
#define TYPE_TYPEDEF    284
 
68
#define TYPE_RAW        285
 
69
#define LPAREN  286
 
70
#define RPAREN  287
 
71
#define COMMA   288
 
72
#define SEMI    289
 
73
#define EXTERN  290
 
74
#define INIT    291
 
75
#define LBRACE  292
 
76
#define RBRACE  293
 
77
#define PERIOD  294
 
78
#define CONST   295
 
79
#define VOLATILE        296
 
80
#define STRUCT  297
 
81
#define UNION   298
 
82
#define EQUAL   299
 
83
#define SIZEOF  300
 
84
#define MODULE  301
 
85
#define LBRACKET        302
 
86
#define RBRACKET        303
 
87
#define ILLEGAL 304
 
88
#define CONSTANT        305
 
89
#define NAME    306
 
90
#define RENAME  307
 
91
#define NAMEWARN        308
 
92
#define ADDMETHODS      309
 
93
#define PRAGMA  310
 
94
#define FEATURE 311
 
95
#define ENUM    312
 
96
#define CLASS   313
 
97
#define TYPENAME        314
 
98
#define PRIVATE 315
 
99
#define PUBLIC  316
 
100
#define PROTECTED       317
 
101
#define COLON   318
 
102
#define STATIC  319
 
103
#define VIRTUAL 320
 
104
#define FRIEND  321
 
105
#define THROW   322
 
106
#define NATIVE  323
 
107
#define INLINE  324
 
108
#define TYPEMAP 325
 
109
#define EXCEPT  326
 
110
#define ECHO    327
 
111
#define NEW     328
 
112
#define APPLY   329
 
113
#define CLEAR   330
 
114
#define SWIGTEMPLATE    331
 
115
#define ENDTEMPLATE     332
 
116
#define GENCODE 333
 
117
#define LESSTHAN        334
 
118
#define GREATERTHAN     335
 
119
#define MODULO  336
 
120
#define DELETE  337
 
121
#define TYPES   338
 
122
#define NONID   339
 
123
#define DSTAR   340
 
124
#define TEMPLATE        341
 
125
#define OPERATOR        342
 
126
#define COPERATOR       343
 
127
#define LOR     344
 
128
#define LAND    345
 
129
#define OR      346
 
130
#define XOR     347
 
131
#define AND     348
 
132
#define LSHIFT  349
 
133
#define RSHIFT  350
 
134
#define PLUS    351
 
135
#define MINUS   352
 
136
#define STAR    353
 
137
#define SLASH   354
 
138
#define UMINUS  355
 
139
#define NOT     356
 
140
#define LNOT    357
 
141
#define DCOLON  358
 
142
 
 
143
 
 
144
extern YYSTYPE yylval;