Mercurial > emacs
annotate lisp/cedet/semantic/wisent/js-wy.el @ 105966:1b85a4b6472f
(ffap-alternate-file-other-window, ffap-literally): New functions.
(find-file-literally-at-point): Alias of `ffap-literally'.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Thu, 12 Nov 2009 10:41:50 +0000 |
parents | 7f4c7f5c0eba |
children | 1d1d5d9bd884 |
rev | line source |
---|---|
104478
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
1 ;;; semantic/wisent/js-wy.el --- Generated parser support file |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
2 |
105288 | 3 ;; Copyright (C) 2005, 2009 Free Software Foundation, Inc. |
104478
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
4 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
5 ;; This file is part of GNU Emacs. |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
6 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
7 ;; GNU Emacs is free software: you can redistribute it and/or modify |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
8 ;; it under the terms of the GNU General Public License as published by |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
9 ;; the Free Software Foundation, either version 3 of the License, or |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
10 ;; (at your option) any later version. |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
11 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
12 ;; GNU Emacs is distributed in the hope that it will be useful, |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
15 ;; GNU General Public License for more details. |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
16 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
17 ;; You should have received a copy of the GNU General Public License |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
18 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
19 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
20 ;;; Commentary: |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
21 ;; |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
22 ;; This file was generated from the grammar file |
104489
25e047f7f6a2
Synch to Eric Ludlam's upstream CEDET repository.
Chong Yidong <cyd@stupidchicken.com>
parents:
104478
diff
changeset
|
23 ;; semantic/wisent/wisent-javascript-jv.wy in the CEDET repository. |
104478
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
24 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
25 ;;; Code: |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
26 (require 'semantic/lex) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
27 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
28 ;;; Prologue |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
29 ;; |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
30 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
31 ;;; Declarations |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
32 ;; |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
33 (defconst wisent-javascript-jv-wy--keyword-table |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
34 (semantic-lex-make-keyword-table |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
35 '(("if" . IF) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
36 ("break" . BREAK) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
37 ("continue" . CONTINUE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
38 ("else" . ELSE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
39 ("for" . FOR) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
40 ("function" . FUNCTION) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
41 ("this" . THIS) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
42 ("return" . RETURN) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
43 ("while" . WHILE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
44 ("void" . VOID_SYMBOL) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
45 ("new" . NEW) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
46 ("delete" . DELETE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
47 ("var" . VAR) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
48 ("with" . WITH) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
49 ("typeof" . TYPEOF) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
50 ("in" . IN)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
51 '(("in" summary "in something") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
52 ("typeof" summary "typeof ") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
53 ("with" summary "with ") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
54 ("var" summary "var <variablename> [= value];") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
55 ("delete" summary "delete(<objectreference>) - Deletes the object.") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
56 ("new" summary "new <objecttype> - Creates a new object.") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
57 ("void" summary "Method return type: void <name> ...") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
58 ("while" summary "while (<expr>) <stmt> | do <stmt> while (<expr>);") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
59 ("return" summary "return [<expr>] ;") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
60 ("this" summary "this") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
61 ("function" summary "function declaration blah blah") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
62 ("for" summary "for ([<init-expr>]; [<expr>]; [<update-expr>]) <stmt>") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
63 ("else" summary "if (<expr>) <stmt> else <stmt>") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
64 ("continue" summary "continue [<label>] ;") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
65 ("break" summary "break [<label>] ;") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
66 ("if" summary "if (<expr>) <stmt> [else <stmt>] (jv)"))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
67 "Table of language keywords.") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
68 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
69 (defconst wisent-javascript-jv-wy--token-table |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
70 (semantic-lex-make-type-table |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
71 '(("<no-type>" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
72 (NULL_TOKEN) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
73 (QUERY) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
74 (TRUE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
75 (FALSE)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
76 ("number" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
77 (NUMBER)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
78 ("string" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
79 (STRING)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
80 ("symbol" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
81 (VARIABLE)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
82 ("close-paren" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
83 (CLOSE_SQ_BRACKETS . "]") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
84 (END_BLOCK . "}") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
85 (CLOSE_PARENTHESIS . ")")) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
86 ("open-paren" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
87 (OPEN_SQ_BRACKETS . "[") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
88 (START_BLOCK . "{") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
89 (OPEN_PARENTHESIS . "(")) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
90 ("block" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
91 (BRACK_BLOCK . "(OPEN_SQ_BRACKETS CLOSE_SQ_BRACKETS)") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
92 (BRACE_BLOCK . "(START_BLOCK END_BLOCK)") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
93 (PAREN_BLOCK . "(OPEN_PARENTHESIS CLOSE_PARENTHESIS)")) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
94 ("punctuation" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
95 (ONES_COMPLIMENT . "~") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
96 (SEMICOLON . ";") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
97 (LINE_TERMINATOR . "\n") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
98 (LESS_THAN . "<") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
99 (DOT . ".") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
100 (COMMA . ",") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
101 (COLON . ":") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
102 (DIV . "/") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
103 (DECREMENT . "--") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
104 (INCREMENT . "++") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
105 (PLUS_EQUALS . "+=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
106 (PLUS . "+") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
107 (MULTIPLY_EQUALS . "*=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
108 (MULTIPLY . "*") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
109 (MOD_EQUALS . "%=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
110 (MOD . "%") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
111 (MINUS_EQUALS . "-=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
112 (MINUS . "-") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
113 (LS_EQUAL . "<=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
114 (LOGICAL_NOT . "!!") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
115 (LOGICAL_OR . "||") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
116 (LOGICAL_AND . "&&") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
117 (GT_EQUAL . ">=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
118 (GREATER_THAN . ">") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
119 (EQUALS . "==") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
120 (DIV_EQUALS . "/=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
121 (NOT_EQUAL . "!=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
122 (BITWISE_SHIFT_RIGHT_ZERO_FILL_EQUALS . ">>>=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
123 (BITWISE_SHIFT_RIGHT_ZERO_FILL . ">>>") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
124 (BITWISE_SHIFT_RIGHT_EQUALS . ">>=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
125 (BITWISE_SHIFT_RIGHT . ">>") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
126 (BITWISE_SHIFT_LEFT_EQUALS . "<<=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
127 (BITWISE_SHIFT_LEFT . "<<") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
128 (BITWISE_OR_EQUALS . "|=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
129 (BITWISE_OR . "|") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
130 (BITWISE_EXCLUSIVE_OR_EQUALS . "^=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
131 (BITWISE_EXCLUSIVE_OR . "^") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
132 (BITWISE_AND_EQUALS . "&=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
133 (BITWISE_AND . "&") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
134 (ASSIGN_SYMBOL . "="))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
135 '(("number" :declared t) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
136 ("string" :declared t) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
137 ("symbol" :declared t) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
138 ("keyword" :declared t) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
139 ("block" :declared t) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
140 ("punctuation" :declared t))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
141 "Table of lexical tokens.") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
142 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
143 (defconst wisent-javascript-jv-wy--parse-table |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
144 (progn |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
145 (eval-when-compile |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
146 (require 'semantic/wisent/comp)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
147 (wisent-compile-grammar |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
148 '((ASSIGN_SYMBOL BITWISE_AND BITWISE_AND_EQUALS BITWISE_EXCLUSIVE_OR BITWISE_EXCLUSIVE_OR_EQUALS BITWISE_OR BITWISE_OR_EQUALS BITWISE_SHIFT_LEFT BITWISE_SHIFT_LEFT_EQUALS BITWISE_SHIFT_RIGHT BITWISE_SHIFT_RIGHT_EQUALS BITWISE_SHIFT_RIGHT_ZERO_FILL BITWISE_SHIFT_RIGHT_ZERO_FILL_EQUALS NOT_EQUAL DIV_EQUALS EQUALS GREATER_THAN GT_EQUAL LOGICAL_AND LOGICAL_OR LOGICAL_NOT LS_EQUAL MINUS MINUS_EQUALS MOD MOD_EQUALS MULTIPLY MULTIPLY_EQUALS PLUS PLUS_EQUALS INCREMENT DECREMENT DIV COLON COMMA DOT LESS_THAN LINE_TERMINATOR SEMICOLON ONES_COMPLIMENT PAREN_BLOCK BRACE_BLOCK BRACK_BLOCK OPEN_PARENTHESIS CLOSE_PARENTHESIS START_BLOCK END_BLOCK OPEN_SQ_BRACKETS CLOSE_SQ_BRACKETS IF BREAK CONTINUE ELSE FOR FUNCTION THIS RETURN WHILE VOID_SYMBOL NEW DELETE VAR WITH TYPEOF IN VARIABLE STRING NUMBER FALSE TRUE QUERY NULL_TOKEN) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
149 ((left PLUS MINUS) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
150 (left MULTIPLY DIV MOD) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
151 (nonassoc FALSE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
152 (nonassoc HIGHER_THAN_FALSE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
153 (nonassoc ELSE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
154 (nonassoc LOWER_THAN_CLOSE_PARENTHESIS) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
155 (nonassoc CLOSE_PARENTHESIS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
156 (Program |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
157 ((SourceElement))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
158 (SourceElement |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
159 ((Statement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
160 ((FunctionDeclaration))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
161 (Statement |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
162 ((Block)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
163 ((VariableStatement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
164 ((EmptyStatement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
165 ((ExpressionStatement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
166 ((IfStatement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
167 ((IterationExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
168 ((ContinueStatement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
169 ((BreakStatement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
170 ((ReturnStatement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
171 ((WithStatement))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
172 (FunctionDeclaration |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
173 ((FUNCTION VARIABLE FormalParameterListBlock Block) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
174 (wisent-raw-tag |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
175 (semantic-tag-new-function $2 nil $3)))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
176 (FormalParameterListBlock |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
177 ((PAREN_BLOCK) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
178 (semantic-parse-region |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
179 (car $region1) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
180 (cdr $region1) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
181 'FormalParameterList 1))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
182 (FormalParameterList |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
183 ((OPEN_PARENTHESIS) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
184 nil) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
185 ((VARIABLE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
186 (wisent-raw-tag |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
187 (semantic-tag-new-variable $1 nil nil))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
188 ((CLOSE_PARENTHESIS) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
189 nil) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
190 ((COMMA) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
191 nil)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
192 (StatementList |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
193 ((Statement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
194 ((StatementList Statement))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
195 (Block |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
196 ((BRACE_BLOCK))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
197 (BlockExpand |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
198 ((START_BLOCK StatementList END_BLOCK)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
199 ((START_BLOCK END_BLOCK))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
200 (VariableStatement |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
201 ((VAR VariableDeclarationList SEMICOLON) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
202 (wisent-raw-tag |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
203 (semantic-tag-new-variable $2 nil nil)))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
204 (VariableDeclarationList |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
205 ((VariableDeclaration) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
206 (list $1)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
207 ((VariableDeclarationList COMMA VariableDeclaration) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
208 (append $1 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
209 (list $3)))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
210 (VariableDeclaration |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
211 ((VARIABLE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
212 (append |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
213 (list $1 nil) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
214 $region)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
215 ((VARIABLE Initializer) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
216 (append |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
217 (cons $1 $2) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
218 $region))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
219 (Initializer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
220 ((ASSIGN_SYMBOL AssignmentExpression) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
221 (list $2))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
222 (EmptyStatement |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
223 ((SEMICOLON))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
224 (ExpressionStatement |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
225 ((Expression SEMICOLON))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
226 (IfStatement |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
227 ((IF OPEN_PARENTHESIS Expression CLOSE_PARENTHESIS Statement) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
228 [HIGHER_THAN_FALSE]) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
229 ((IF OPEN_PARENTHESIS Expression CLOSE_PARENTHESIS Statement ELSE Statement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
230 ((IF OPEN_PARENTHESIS FALSE CLOSE_PARENTHESIS Statement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
231 ((IF OPEN_PARENTHESIS LeftHandSideExpression AssignmentOperator AssignmentExpression CLOSE_PARENTHESIS Statement))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
232 (IterationExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
233 ((WHILE OPEN_PARENTHESIS Expression CLOSE_PARENTHESIS Statement) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
234 [HIGHER_THAN_FALSE]) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
235 ((WHILE OPEN_PARENTHESIS FALSE CLOSE_PARENTHESIS Statement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
236 ((WHILE OPEN_PARENTHESIS LeftHandSideExpression AssignmentOperator AssignmentExpression CLOSE_PARENTHESIS Statement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
237 ((FOR OPEN_PARENTHESIS OptionalExpression SEMICOLON OptionalExpression SEMICOLON OptionalExpression CLOSE_PARENTHESIS Statement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
238 ((FOR OPEN_PARENTHESIS VAR VariableDeclarationList SEMICOLON OptionalExpression SEMICOLON OptionalExpression CLOSE_PARENTHESIS Statement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
239 ((FOR OPEN_PARENTHESIS LeftHandSideExpression IN Expression CLOSE_PARENTHESIS Statement)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
240 ((FOR OPEN_PARENTHESIS VAR VARIABLE OptionalInitializer IN Expression CLOSE_PARENTHESIS Statement))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
241 (ContinueStatement |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
242 ((CONTINUE SEMICOLON))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
243 (BreakStatement |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
244 ((BREAK SEMICOLON))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
245 (ReturnStatement |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
246 ((RETURN Expression SEMICOLON)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
247 ((RETURN SEMICOLON))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
248 (WithStatement |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
249 ((WITH OPEN_PARENTHESIS Expression CLOSE_PARENTHESIS Statement))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
250 (OptionalInitializer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
251 ((Initializer)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
252 (nil)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
253 (PrimaryExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
254 ((THIS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
255 ((VARIABLE)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
256 ((NUMBER)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
257 ((STRING)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
258 ((NULL_TOKEN)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
259 ((TRUE)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
260 ((FALSE)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
261 ((OPEN_PARENTHESIS Expression CLOSE_PARENTHESIS))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
262 (MemberExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
263 ((PrimaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
264 ((MemberExpression OPEN_SQ_BRACKETS Expression CLOSE_SQ_BRACKETS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
265 ((MemberExpression DOT VARIABLE)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
266 ((NEW MemberExpression Arguments))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
267 (NewExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
268 ((MemberExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
269 ((NEW NewExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
270 (CallExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
271 ((MemberExpression Arguments)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
272 ((CallExpression Arguments)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
273 ((CallExpression OPEN_SQ_BRACKETS Expression CLOSE_SQ_BRACKETS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
274 ((CallExpression DOT VARIABLE))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
275 (Arguments |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
276 ((OPEN_PARENTHESIS CLOSE_PARENTHESIS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
277 ((OPEN_PARENTHESIS ArgumentList CLOSE_PARENTHESIS))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
278 (ArgumentList |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
279 ((AssignmentExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
280 ((ArgumentList COMMA AssignmentExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
281 (LeftHandSideExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
282 ((NewExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
283 ((CallExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
284 (PostfixExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
285 ((LeftHandSideExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
286 ((LeftHandSideExpression INCREMENT)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
287 ((LeftHandSideExpression DECREMENT))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
288 (UnaryExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
289 ((PostfixExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
290 ((DELETE UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
291 ((VOID_SYMBOL UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
292 ((TYPEOF UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
293 ((INCREMENT UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
294 ((DECREMENT UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
295 ((PLUS UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
296 ((MINUS UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
297 ((ONES_COMPLIMENT UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
298 ((LOGICAL_NOT UnaryExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
299 (MultiplicativeExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
300 ((UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
301 ((MultiplicativeExpression MULTIPLY UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
302 ((MultiplicativeExpression DIV UnaryExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
303 ((MultiplicativeExpression MOD UnaryExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
304 (AdditiveExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
305 ((MultiplicativeExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
306 ((AdditiveExpression PLUS MultiplicativeExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
307 ((AdditiveExpression MINUS MultiplicativeExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
308 (ShiftExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
309 ((AdditiveExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
310 ((ShiftExpression BITWISE_SHIFT_LEFT AdditiveExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
311 ((ShiftExpression BITWISE_SHIFT_RIGHT AdditiveExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
312 ((ShiftExpression BITWISE_SHIFT_RIGHT_ZERO_FILL AdditiveExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
313 (RelationalExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
314 ((ShiftExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
315 ((RelationalExpression LESS_THAN ShiftExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
316 ((RelationalExpression GREATER_THAN ShiftExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
317 ((RelationalExpression LS_EQUAL ShiftExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
318 ((RelationalExpression GT_EQUAL ShiftExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
319 (EqualityExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
320 ((RelationalExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
321 ((EqualityExpression EQUALS RelationalExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
322 ((EqualityExpression NOT_EQUAL RelationalExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
323 (BitwiseANDExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
324 ((EqualityExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
325 ((BitwiseANDExpression BITWISE_AND EqualityExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
326 (BitwiseXORExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
327 ((BitwiseANDExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
328 ((BitwiseXORExpression BITWISE_EXCLUSIVE_OR BitwiseANDExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
329 (BitwiseORExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
330 ((BitwiseXORExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
331 ((BitwiseORExpression BITWISE_OR BitwiseXORExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
332 (LogicalANDExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
333 ((BitwiseORExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
334 ((LogicalANDExpression LOGICAL_AND BitwiseORExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
335 (LogicalORExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
336 ((LogicalANDExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
337 ((LogicalORExpression LOGICAL_OR LogicalANDExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
338 (ConditionalExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
339 ((LogicalORExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
340 ((LogicalORExpression QUERY AssignmentExpression COLON AssignmentExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
341 (AssignmentExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
342 ((ConditionalExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
343 ((LeftHandSideExpression AssignmentOperator AssignmentExpression) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
344 [LOWER_THAN_CLOSE_PARENTHESIS])) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
345 (AssignmentOperator |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
346 ((ASSIGN_SYMBOL)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
347 ((MULTIPLY_EQUALS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
348 ((DIV_EQUALS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
349 ((MOD_EQUALS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
350 ((PLUS_EQUALS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
351 ((MINUS_EQUALS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
352 ((BITWISE_SHIFT_LEFT_EQUALS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
353 ((BITWISE_SHIFT_RIGHT_EQUALS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
354 ((BITWISE_SHIFT_RIGHT_ZERO_FILL_EQUALS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
355 ((BITWISE_AND_EQUALS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
356 ((BITWISE_EXCLUSIVE_OR_EQUALS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
357 ((BITWISE_OR_EQUALS))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
358 (Expression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
359 ((AssignmentExpression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
360 ((Expression COMMA AssignmentExpression))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
361 (OptionalExpression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
362 ((Expression)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
363 (nil))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
364 '(Program FormalParameterList))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
365 "Parser table.") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
366 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
367 (defun wisent-javascript-jv-wy--install-parser () |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
368 "Setup the Semantic Parser." |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
369 (semantic-install-function-overrides |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
370 '((parse-stream . wisent-parse-stream))) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
371 (setq semantic-parser-name "LALR" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
372 semantic--parse-table wisent-javascript-jv-wy--parse-table |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
373 semantic-debug-parser-source "wisent-javascript-jv.wy" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
374 semantic-flex-keywords-obarray wisent-javascript-jv-wy--keyword-table |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
375 semantic-lex-types-obarray wisent-javascript-jv-wy--token-table) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
376 ;; Collect unmatched syntax lexical tokens |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
377 (semantic-make-local-hook 'wisent-discarding-token-functions) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
378 (add-hook 'wisent-discarding-token-functions |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
379 'wisent-collect-unmatched-syntax nil t)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
380 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
381 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
382 ;;; Analyzers |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
383 ;; |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
384 (define-lex-keyword-type-analyzer wisent-javascript-jv-wy--<keyword>-keyword-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
385 "keyword analyzer for <keyword> tokens." |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
386 "\\(\\sw\\|\\s_\\)+") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
387 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
388 (define-lex-block-type-analyzer wisent-javascript-jv-wy--<block>-block-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
389 "block analyzer for <block> tokens." |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
390 "\\s(\\|\\s)" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
391 '((("(" OPEN_PARENTHESIS PAREN_BLOCK) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
392 ("{" START_BLOCK BRACE_BLOCK) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
393 ("[" OPEN_SQ_BRACKETS BRACK_BLOCK)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
394 (")" CLOSE_PARENTHESIS) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
395 ("}" END_BLOCK) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
396 ("]" CLOSE_SQ_BRACKETS)) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
397 ) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
398 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
399 (define-lex-regex-type-analyzer wisent-javascript-jv-wy--<symbol>-regexp-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
400 "regexp analyzer for <symbol> tokens." |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
401 "\\(\\sw\\|\\s_\\)+" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
402 nil |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
403 'VARIABLE) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
404 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
405 (define-lex-sexp-type-analyzer wisent-javascript-jv-wy--<string>-sexp-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
406 "sexp analyzer for <string> tokens." |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
407 "\\s\"" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
408 'STRING) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
409 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
410 (define-lex-regex-type-analyzer wisent-javascript-jv-wy--<number>-regexp-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
411 "regexp analyzer for <number> tokens." |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
412 semantic-lex-number-expression |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
413 nil |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
414 'NUMBER) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
415 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
416 (define-lex-string-type-analyzer wisent-javascript-jv-wy--<punctuation>-string-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
417 "string analyzer for <punctuation> tokens." |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
418 "\\(\\s.\\|\\s$\\|\\s'\\)+" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
419 '((ONES_COMPLIMENT . "~") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
420 (SEMICOLON . ";") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
421 (LINE_TERMINATOR . "\n") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
422 (LESS_THAN . "<") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
423 (DOT . ".") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
424 (COMMA . ",") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
425 (COLON . ":") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
426 (DIV . "/") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
427 (DECREMENT . "--") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
428 (INCREMENT . "++") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
429 (PLUS_EQUALS . "+=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
430 (PLUS . "+") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
431 (MULTIPLY_EQUALS . "*=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
432 (MULTIPLY . "*") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
433 (MOD_EQUALS . "%=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
434 (MOD . "%") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
435 (MINUS_EQUALS . "-=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
436 (MINUS . "-") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
437 (LS_EQUAL . "<=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
438 (LOGICAL_NOT . "!!") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
439 (LOGICAL_OR . "||") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
440 (LOGICAL_AND . "&&") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
441 (GT_EQUAL . ">=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
442 (GREATER_THAN . ">") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
443 (EQUALS . "==") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
444 (DIV_EQUALS . "/=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
445 (NOT_EQUAL . "!=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
446 (BITWISE_SHIFT_RIGHT_ZERO_FILL_EQUALS . ">>>=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
447 (BITWISE_SHIFT_RIGHT_ZERO_FILL . ">>>") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
448 (BITWISE_SHIFT_RIGHT_EQUALS . ">>=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
449 (BITWISE_SHIFT_RIGHT . ">>") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
450 (BITWISE_SHIFT_LEFT_EQUALS . "<<=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
451 (BITWISE_SHIFT_LEFT . "<<") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
452 (BITWISE_OR_EQUALS . "|=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
453 (BITWISE_OR . "|") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
454 (BITWISE_EXCLUSIVE_OR_EQUALS . "^=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
455 (BITWISE_EXCLUSIVE_OR . "^") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
456 (BITWISE_AND_EQUALS . "&=") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
457 (BITWISE_AND . "&") |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
458 (ASSIGN_SYMBOL . "=")) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
459 'punctuation) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
460 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
461 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
462 ;;; Epilogue |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
463 ;; |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
464 ;;here something like: |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
465 ;;(define-lex wisent-java-tags-lexer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
466 ;; should go |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
467 (define-lex javascript-lexer-jv |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
468 "javascript thingy" |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
469 ;;std stuff |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
470 semantic-lex-ignore-whitespace |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
471 semantic-lex-ignore-newline |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
472 semantic-lex-ignore-comments |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
473 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
474 ;;stuff generated from the wy file(one for each "type" declaration) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
475 wisent-javascript-jv-wy--<number>-regexp-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
476 wisent-javascript-jv-wy--<string>-sexp-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
477 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
478 wisent-javascript-jv-wy--<keyword>-keyword-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
479 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
480 wisent-javascript-jv-wy--<symbol>-regexp-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
481 wisent-javascript-jv-wy--<punctuation>-string-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
482 wisent-javascript-jv-wy--<block>-block-analyzer |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
483 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
484 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
485 ;;;;more std stuff |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
486 semantic-lex-default-action |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
487 ) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
488 |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
489 (provide 'semantic/wisent/js-wy) |
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
490 |
105377 | 491 ;; arch-tag: ff9ecf05-18e6-46a6-a3bb-e7f43f04640f |
104478
8b129ef893a2
lisp/cedet/semantic/wisent/comp.el:
Chong Yidong <cyd@stupidchicken.com>
parents:
diff
changeset
|
492 ;;; semantic/wisent/js-wy.el ends here |