source: webkit/trunk/JavaScriptCore/kjs/grammar.cpp.h@ 2740

Last change on this file since 2740 was 901, checked in by mjs, 23 years ago

Turned JavaScriptCore into a framework, and made it build with Project
Builder in preparation for submission:

Top level:

  • Tests/kde/Makefile.am: Link against JavaScriptCore.framework instead of the defunct libJavaScriptCore.dylib.
  • Tests/khtmlview/WebViewTest/WebViewTest.pbproj/project.pbxproj: Likewise.
  • Tests/qt/Makefile.am: Likewise.

JavaScriptCore:

Converted JavaScriptCore to build with Project Builder, in
preparation for B&I submission.

  • .cvsignore: Update the set of ignored things.
  • Makefile.am: Hand off to PB for the main build, but still handle the generated files and the test program.
  • kjs/Makefile.am: Don't build anything except the generated source files.
  • kjs/KWQDef.h, kjs/config.h: Added minimal versions of these files to get kjs to build.

Check in all the genrated files, since Project Builder isn't up to
the task of handling built sources:

  • kjs/array_object.lut.h: Added.
  • kjs/date_object.lut.h: Added.
  • kjs/grammar.cpp: Added.
  • kjs/grammar.cpp.h: Added.
  • kjs/grammar.h: Added.
  • kjs/lexer.lut.h: Added.
  • kjs/math_object.lut.h: Added.
  • kjs/number_object.lut.h: Added.
  • kjs/string_object.lut.h: Added.
  • kjs/.cvsignore: Update set of ignored things.

WebCore:

  • src/Makefile.am: Link against JavaScriptCore.framework instead of the defunct libJavaScriptCore.dylib.

WebKit:

  • WebKit.pbproj/project.pbxproj: Link against JavaScriptCore.framework instead of the defunct libJavaScriptCore.dylib.

WebBrowser:

  • WebBrowser.pbproj/project.pbxproj: Link against JavaScriptCore.framework instead of the defunct libJavaScriptCore.dylib.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1typedef union {
2 int ival;
3 double dval;
4 UString *ustr;
5 Node *node;
6 StatementNode *stat;
7 ParameterNode *param;
8 FunctionBodyNode *body;
9 FuncDeclNode *func;
10 ProgramNode *prog;
11 AssignExprNode *init;
12 SourceElementNode *src;
13 SourceElementsNode *srcs;
14 StatListNode *slist;
15 ArgumentsNode *args;
16 ArgumentListNode *alist;
17 VarDeclNode *decl;
18 VarDeclListNode *vlist;
19 CaseBlockNode *cblk;
20 ClauseListNode *clist;
21 CaseClauseNode *ccl;
22 ElementNode *elm;
23 ElisionNode *eli;
24 Operator op;
25} YYSTYPE;
26
27#ifndef YYLTYPE
28typedef
29 struct yyltype
30 {
31 int timestamp;
32 int first_line;
33 int first_column;
34 int last_line;
35 int last_column;
36 char *text;
37 }
38 yyltype;
39
40#define YYLTYPE yyltype
41#endif
42
43#define NULLTOKEN 257
44#define TRUETOKEN 258
45#define FALSETOKEN 259
46#define STRING 260
47#define NUMBER 261
48#define BREAK 262
49#define CASE 263
50#define DEFAULT 264
51#define FOR 265
52#define NEW 266
53#define VAR 267
54#define CONTINUE 268
55#define FUNCTION 269
56#define RETURN 270
57#define VOID 271
58#define DELETE 272
59#define IF 273
60#define THIS 274
61#define DO 275
62#define WHILE 276
63#define ELSE 277
64#define IN 278
65#define INSTANCEOF 279
66#define TYPEOF 280
67#define SWITCH 281
68#define WITH 282
69#define RESERVED 283
70#define THROW 284
71#define TRY 285
72#define CATCH 286
73#define FINALLY 287
74#define EQEQ 288
75#define NE 289
76#define STREQ 290
77#define STRNEQ 291
78#define LE 292
79#define GE 293
80#define OR 294
81#define AND 295
82#define PLUSPLUS 296
83#define MINUSMINUS 297
84#define LSHIFT 298
85#define RSHIFT 299
86#define URSHIFT 300
87#define PLUSEQUAL 301
88#define MINUSEQUAL 302
89#define MULTEQUAL 303
90#define DIVEQUAL 304
91#define LSHIFTEQUAL 305
92#define RSHIFTEQUAL 306
93#define URSHIFTEQUAL 307
94#define ANDEQUAL 308
95#define MODEQUAL 309
96#define XOREQUAL 310
97#define OREQUAL 311
98#define IDENT 312
99#define AUTOPLUSPLUS 313
100#define AUTOMINUSMINUS 314
101
102
103extern YYSTYPE kjsyylval;
Note: See TracBrowser for help on using the repository browser.