Nuke arch-tags.
[emacs.git] / lisp / cedet / semantic / wisent / javat-wy.el
blob5b59fef160ed885263ab02e84ed32fb772c5d5b6
1 ;;; semantic/wisent/javat-wy.el --- Generated parser support file
3 ;; Copyright (C) 2002, 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
5 ;; This file is part of GNU Emacs.
7 ;; GNU Emacs is free software: you can redistribute it and/or modify
8 ;; it under the terms of the GNU General Public License as published by
9 ;; the Free Software Foundation, either version 3 of the License, or
10 ;; (at your option) any later version.
12 ;; GNU Emacs is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;; GNU General Public License for more details.
17 ;; You should have received a copy of the GNU General Public License
18 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
20 ;;; Commentary:
22 ;; This file was generated from the grammar file
23 ;; semantic/wisent/wisent-java-tags.wy in the CEDET repository.
25 ;;; Code:
27 (require 'semantic/lex)
30 ;;; Prologue
33 ;;; Declarations
35 (defconst wisent-java-tags-wy--keyword-table
36 (semantic-lex-make-keyword-table
37 '(("abstract" . ABSTRACT)
38 ("boolean" . BOOLEAN)
39 ("break" . BREAK)
40 ("byte" . BYTE)
41 ("case" . CASE)
42 ("catch" . CATCH)
43 ("char" . CHAR)
44 ("class" . CLASS)
45 ("const" . CONST)
46 ("continue" . CONTINUE)
47 ("default" . DEFAULT)
48 ("do" . DO)
49 ("double" . DOUBLE)
50 ("else" . ELSE)
51 ("extends" . EXTENDS)
52 ("final" . FINAL)
53 ("finally" . FINALLY)
54 ("float" . FLOAT)
55 ("for" . FOR)
56 ("goto" . GOTO)
57 ("if" . IF)
58 ("implements" . IMPLEMENTS)
59 ("import" . IMPORT)
60 ("instanceof" . INSTANCEOF)
61 ("int" . INT)
62 ("interface" . INTERFACE)
63 ("long" . LONG)
64 ("native" . NATIVE)
65 ("new" . NEW)
66 ("package" . PACKAGE)
67 ("private" . PRIVATE)
68 ("protected" . PROTECTED)
69 ("public" . PUBLIC)
70 ("return" . RETURN)
71 ("short" . SHORT)
72 ("static" . STATIC)
73 ("strictfp" . STRICTFP)
74 ("super" . SUPER)
75 ("switch" . SWITCH)
76 ("synchronized" . SYNCHRONIZED)
77 ("this" . THIS)
78 ("throw" . THROW)
79 ("throws" . THROWS)
80 ("transient" . TRANSIENT)
81 ("try" . TRY)
82 ("void" . VOID)
83 ("volatile" . VOLATILE)
84 ("while" . WHILE)
85 ("@author" . _AUTHOR)
86 ("@version" . _VERSION)
87 ("@param" . _PARAM)
88 ("@return" . _RETURN)
89 ("@exception" . _EXCEPTION)
90 ("@throws" . _THROWS)
91 ("@see" . _SEE)
92 ("@since" . _SINCE)
93 ("@serial" . _SERIAL)
94 ("@serialData" . _SERIALDATA)
95 ("@serialField" . _SERIALFIELD)
96 ("@deprecated" . _DEPRECATED))
97 '(("@deprecated" javadoc
98 (seq 12 usage
99 (type function variable)
100 opt t))
101 ("@serialField" javadoc
102 (seq 11 usage
103 (variable)
104 opt t))
105 ("@serialData" javadoc
106 (seq 10 usage
107 (function)
108 opt t))
109 ("@serial" javadoc
110 (seq 9 usage
111 (variable)
112 opt t))
113 ("@since" javadoc
114 (seq 8 usage
115 (type function variable)
116 opt t))
117 ("@see" javadoc
118 (seq 7 usage
119 (type function variable)
120 opt t with-ref t))
121 ("@throws" javadoc
122 (seq 6 usage
123 (function)
124 with-name t))
125 ("@exception" javadoc
126 (seq 5 usage
127 (function)
128 with-name t))
129 ("@return" javadoc
130 (seq 4 usage
131 (function)))
132 ("@param" javadoc
133 (seq 3 usage
134 (function)
135 with-name t))
136 ("@version" javadoc
137 (seq 2 usage
138 (type)))
139 ("@author" javadoc
140 (seq 1 usage
141 (type)))
142 ("while" summary "while (<expr>) <stmt> | do <stmt> while (<expr>);")
143 ("volatile" summary "Field declaration modifier: volatile <type> <name> ...")
144 ("void" summary "Method return type: void <name> ...")
145 ("try" summary "try {<stmts>} [catch(<parm>) {<stmts>} ...] [finally {<stmts>}]")
146 ("transient" summary "Field declaration modifier: transient <type> <name> ...")
147 ("throws" summary "Method|Constructor declaration: throws <classType>, ...")
148 ("throw" summary "throw <expr> ;")
149 ("synchronized" summary "synchronized (<expr>) ... | Method decl. modifier: synchronized <type> <name> ...")
150 ("switch" summary "switch(<expr>) {[case <const-expr>: <stmts> ...] [default: <stmts>]}")
151 ("strictfp" summary "Declaration modifier: strictfp {class|interface|<type>} <name> ...")
152 ("static" summary "Declaration modifier: static {class|interface|<type>} <name> ...")
153 ("short" summary "Integral primitive type (-32768 to 32767)")
154 ("return" summary "return [<expr>] ;")
155 ("public" summary "Access level modifier: public {class|interface|<type>} <name> ...")
156 ("protected" summary "Access level modifier: protected {class|interface|<type>} <name> ...")
157 ("private" summary "Access level modifier: private {class|interface|<type>} <name> ...")
158 ("package" summary "Package declaration: package <name>")
159 ("native" summary "Method declaration modifier: native <type> <name> ...")
160 ("long" summary "Integral primitive type (-9223372036854775808 to 9223372036854775807)")
161 ("interface" summary "Interface declaration: interface <name>")
162 ("int" summary "Integral primitive type (-2147483648 to 2147483647)")
163 ("import" summary "Import package declarations: import <package>")
164 ("implements" summary "Class SuperInterfaces declaration: implements <name> [, ...]")
165 ("if" summary "if (<expr>) <stmt> [else <stmt>]")
166 ("goto" summary "Unused reserved word")
167 ("for" summary "for ([<init-expr>]; [<expr>]; [<update-expr>]) <stmt>")
168 ("float" summary "Primitive floating-point type (single-precision 32-bit IEEE 754)")
169 ("finally" summary "try {<stmts>} ... finally {<stmts>}")
170 ("final" summary "Class|Member declaration modifier: final {class|<type>} <name> ...")
171 ("extends" summary "SuperClass|SuperInterfaces declaration: extends <name> [, ...]")
172 ("else" summary "if (<expr>) <stmt> else <stmt>")
173 ("double" summary "Primitive floating-point type (double-precision 64-bit IEEE 754)")
174 ("do" summary "do <stmt> while (<expr>);")
175 ("default" summary "switch(<expr>) { ... default: <stmts>}")
176 ("continue" summary "continue [<label>] ;")
177 ("const" summary "Unused reserved word")
178 ("class" summary "Class declaration: class <name>")
179 ("char" summary "Integral primitive type ('\000' to '￿') (0 to 65535)")
180 ("catch" summary "try {<stmts>} catch(<parm>) {<stmts>} ... ")
181 ("case" summary "switch(<expr>) {case <const-expr>: <stmts> ... }")
182 ("byte" summary "Integral primitive type (-128 to 127)")
183 ("break" summary "break [<label>] ;")
184 ("boolean" summary "Primitive logical quantity type (true or false)")
185 ("abstract" summary "Class|Method declaration modifier: abstract {class|<type>} <name> ...")))
186 "Table of language keywords.")
188 (defconst wisent-java-tags-wy--token-table
189 (semantic-lex-make-type-table
190 '(("unicode"
191 (unicodecharacter))
192 ("number"
193 (NUMBER_LITERAL))
194 ("string"
195 (STRING_LITERAL))
196 ("symbol"
197 (IDENTIFIER))
198 ("punctuation"
199 (COMP . "~")
200 (OROR . "||")
201 (OREQ . "|=")
202 (OR . "|")
203 (XOREQ . "^=")
204 (XOR . "^")
205 (QUESTION . "?")
206 (URSHIFTEQ . ">>>=")
207 (URSHIFT . ">>>")
208 (RSHIFTEQ . ">>=")
209 (RSHIFT . ">>")
210 (GTEQ . ">=")
211 (GT . ">")
212 (EQEQ . "==")
213 (EQ . "=")
214 (LTEQ . "<=")
215 (LSHIFTEQ . "<<=")
216 (LSHIFT . "<<")
217 (LT . "<")
218 (SEMICOLON . ";")
219 (COLON . ":")
220 (DIVEQ . "/=")
221 (DIV . "/")
222 (DOT . ".")
223 (MINUSEQ . "-=")
224 (MINUSMINUS . "--")
225 (MINUS . "-")
226 (COMMA . ",")
227 (PLUSEQ . "+=")
228 (PLUSPLUS . "++")
229 (PLUS . "+")
230 (MULTEQ . "*=")
231 (MULT . "*")
232 (ANDEQ . "&=")
233 (ANDAND . "&&")
234 (AND . "&")
235 (MODEQ . "%=")
236 (MOD . "%")
237 (NOTEQ . "!=")
238 (NOT . "!"))
239 ("close-paren"
240 (RBRACK . "]")
241 (RBRACE . "}")
242 (RPAREN . ")"))
243 ("open-paren"
244 (LBRACK . "[")
245 (LBRACE . "{")
246 (LPAREN . "("))
247 ("block"
248 (BRACK_BLOCK . "(LBRACK RBRACK)")
249 (BRACE_BLOCK . "(LBRACE RBRACE)")
250 (PAREN_BLOCK . "(LPAREN RPAREN)")))
251 '(("keyword" :declared t)
252 ("unicode" syntax "\\\\u[0-9a-f][0-9a-f][0-9a-f][0-9a-f]")
253 ("unicode" :declared t)
254 ("number" :declared t)
255 ("string" :declared t)
256 ("symbol" :declared t)
257 ("punctuation" :declared t)
258 ("block" :declared t)))
259 "Table of lexical tokens.")
261 (defconst wisent-java-tags-wy--parse-table
262 (progn
263 (eval-when-compile
264 (require 'semantic/wisent/comp))
265 (wisent-compile-grammar
266 '((PAREN_BLOCK BRACE_BLOCK BRACK_BLOCK LPAREN RPAREN LBRACE RBRACE LBRACK RBRACK NOT NOTEQ MOD MODEQ AND ANDAND ANDEQ MULT MULTEQ PLUS PLUSPLUS PLUSEQ COMMA MINUS MINUSMINUS MINUSEQ DOT DIV DIVEQ COLON SEMICOLON LT LSHIFT LSHIFTEQ LTEQ EQ EQEQ GT GTEQ RSHIFT RSHIFTEQ URSHIFT URSHIFTEQ QUESTION XOR XOREQ OR OREQ OROR COMP IDENTIFIER STRING_LITERAL NUMBER_LITERAL unicodecharacter ABSTRACT BOOLEAN BREAK BYTE CASE CATCH CHAR CLASS CONST CONTINUE DEFAULT DO DOUBLE ELSE EXTENDS FINAL FINALLY FLOAT FOR GOTO IF IMPLEMENTS IMPORT INSTANCEOF INT INTERFACE LONG NATIVE NEW PACKAGE PRIVATE PROTECTED PUBLIC RETURN SHORT STATIC STRICTFP SUPER SWITCH SYNCHRONIZED THIS THROW THROWS TRANSIENT TRY VOID VOLATILE WHILE _AUTHOR _VERSION _PARAM _RETURN _EXCEPTION _THROWS _SEE _SINCE _SERIAL _SERIALDATA _SERIALFIELD _DEPRECATED)
268 (compilation_unit
269 ((package_declaration))
270 ((import_declaration))
271 ((type_declaration)))
272 (package_declaration
273 ((PACKAGE qualified_name SEMICOLON)
274 (wisent-raw-tag
275 (semantic-tag-new-package $2 nil))))
276 (import_declaration
277 ((IMPORT qualified_name SEMICOLON)
278 (wisent-raw-tag
279 (semantic-tag-new-include $2 nil)))
280 ((IMPORT qualified_name DOT MULT SEMICOLON)
281 (wisent-raw-tag
282 (semantic-tag-new-include
283 (concat $2 $3 $4)
284 nil))))
285 (type_declaration
286 ((SEMICOLON)
287 nil)
288 ((class_declaration))
289 ((interface_declaration)))
290 (class_declaration
291 ((modifiers_opt CLASS qualified_name superc_opt interfaces_opt class_body)
292 (wisent-raw-tag
293 (semantic-tag-new-type $3 $2 $6
295 (or $4 $5)
296 (cons $4 $5))
297 :typemodifiers $1))))
298 (superc_opt
299 (nil)
300 ((EXTENDS qualified_name)
301 (identity $2)))
302 (interfaces_opt
303 (nil)
304 ((IMPLEMENTS qualified_name_list)
305 (nreverse $2)))
306 (class_body
307 ((BRACE_BLOCK)
308 (semantic-parse-region
309 (car $region1)
310 (cdr $region1)
311 'class_member_declaration 1)))
312 (class_member_declaration
313 ((LBRACE)
314 nil)
315 ((RBRACE)
316 nil)
317 ((block)
318 nil)
319 ((static_initializer)
320 nil)
321 ((constructor_declaration))
322 ((interface_declaration))
323 ((class_declaration))
324 ((method_declaration))
325 ((field_declaration)))
326 (interface_declaration
327 ((modifiers_opt INTERFACE IDENTIFIER extends_interfaces_opt interface_body)
328 (wisent-raw-tag
329 (semantic-tag-new-type $3 $2 $5
330 (if $4
331 (cons nil $4))
332 :typemodifiers $1))))
333 (extends_interfaces_opt
334 (nil)
335 ((EXTENDS qualified_name_list)
336 (identity $2)))
337 (interface_body
338 ((BRACE_BLOCK)
339 (semantic-parse-region
340 (car $region1)
341 (cdr $region1)
342 'interface_member_declaration 1)))
343 (interface_member_declaration
344 ((LBRACE)
345 nil)
346 ((RBRACE)
347 nil)
348 ((interface_declaration))
349 ((class_declaration))
350 ((method_declaration))
351 ((field_declaration)))
352 (static_initializer
353 ((STATIC block)))
354 (constructor_declaration
355 ((modifiers_opt constructor_declarator throwsc_opt constructor_body)
356 (wisent-raw-tag
357 (semantic-tag-new-function
358 (car $2)
360 (cdr $2)
361 :typemodifiers $1 :throws $3 :constructor-flag t))))
362 (constructor_declarator
363 ((IDENTIFIER formal_parameter_list)
364 (cons $1 $2)))
365 (constructor_body
366 ((block)))
367 (method_declaration
368 ((modifiers_opt VOID method_declarator throwsc_opt method_body)
369 (wisent-raw-tag
370 (semantic-tag-new-function
371 (car $3)
373 (cdr $3)
374 :typemodifiers $1 :throws $4)))
375 ((modifiers_opt type method_declarator throwsc_opt method_body)
376 (wisent-raw-tag
377 (semantic-tag-new-function
378 (car $3)
380 (cdr $3)
381 :typemodifiers $1 :throws $4))))
382 (method_declarator
383 ((IDENTIFIER formal_parameter_list dims_opt)
384 (cons
385 (concat $1 $3)
386 $2)))
387 (throwsc_opt
388 (nil)
389 ((THROWS qualified_name_list)
390 (nreverse $2)))
391 (qualified_name_list
392 ((qualified_name_list COMMA qualified_name)
393 (cons $3 $1))
394 ((qualified_name)
395 (list $1)))
396 (method_body
397 ((SEMICOLON))
398 ((block)))
399 (block
400 ((BRACE_BLOCK)))
401 (formal_parameter_list
402 ((PAREN_BLOCK)
403 (semantic-parse-region
404 (car $region1)
405 (cdr $region1)
406 'formal_parameters 1)))
407 (formal_parameters
408 ((LPAREN)
409 nil)
410 ((RPAREN)
411 nil)
412 ((formal_parameter COMMA))
413 ((formal_parameter RPAREN)))
414 (formal_parameter
415 ((formal_parameter_modifier_opt type variable_declarator_id)
416 (wisent-raw-tag
417 (semantic-tag-new-variable $3 $2 nil :typemodifiers $1))))
418 (formal_parameter_modifier_opt
419 (nil)
420 ((FINAL)
421 (list $1)))
422 (field_declaration
423 ((modifiers_opt type variable_declarators SEMICOLON)
424 (wisent-raw-tag
425 (semantic-tag-new-variable $3 $2 nil :typemodifiers $1))))
426 (variable_declarators
427 ((variable_declarators COMMA variable_declarator)
428 (progn
429 (setcdr
430 (cdr
431 (car $1))
432 (cdr $region2))
433 (cons $3 $1)))
434 ((variable_declarator)
435 (list $1)))
436 (variable_declarator
437 ((variable_declarator_id EQ variable_initializer)
438 (cons $1 $region))
439 ((variable_declarator_id)
440 (cons $1 $region)))
441 (variable_declarator_id
442 ((IDENTIFIER dims_opt)
443 (concat $1 $2)))
444 (variable_initializer
445 ((expression)))
446 (expression
447 ((expression term))
448 ((term)))
449 (term
450 ((literal))
451 ((operator))
452 ((primitive_type))
453 ((IDENTIFIER))
454 ((BRACK_BLOCK))
455 ((PAREN_BLOCK))
456 ((BRACE_BLOCK))
457 ((NEW))
458 ((CLASS))
459 ((THIS))
460 ((SUPER)))
461 (literal
462 ((STRING_LITERAL))
463 ((NUMBER_LITERAL)))
464 (operator
465 ((NOT))
466 ((PLUS))
467 ((PLUSPLUS))
468 ((MINUS))
469 ((MINUSMINUS))
470 ((NOTEQ))
471 ((MOD))
472 ((MODEQ))
473 ((AND))
474 ((ANDAND))
475 ((ANDEQ))
476 ((MULT))
477 ((MULTEQ))
478 ((PLUSEQ))
479 ((MINUSEQ))
480 ((DOT))
481 ((DIV))
482 ((DIVEQ))
483 ((COLON))
484 ((LT))
485 ((LSHIFT))
486 ((LSHIFTEQ))
487 ((LTEQ))
488 ((EQ))
489 ((EQEQ))
490 ((GT))
491 ((GTEQ))
492 ((RSHIFT))
493 ((RSHIFTEQ))
494 ((URSHIFT))
495 ((URSHIFTEQ))
496 ((QUESTION))
497 ((XOR))
498 ((XOREQ))
499 ((OR))
500 ((OREQ))
501 ((OROR))
502 ((COMP))
503 ((INSTANCEOF)))
504 (primitive_type
505 ((BOOLEAN))
506 ((CHAR))
507 ((LONG))
508 ((INT))
509 ((SHORT))
510 ((BYTE))
511 ((DOUBLE))
512 ((FLOAT)))
513 (modifiers_opt
514 (nil)
515 ((modifiers)
516 (nreverse $1)))
517 (modifiers
518 ((modifiers modifier)
519 (cons $2 $1))
520 ((modifier)
521 (list $1)))
522 (modifier
523 ((STRICTFP))
524 ((VOLATILE))
525 ((TRANSIENT))
526 ((SYNCHRONIZED))
527 ((NATIVE))
528 ((FINAL))
529 ((ABSTRACT))
530 ((STATIC))
531 ((PRIVATE))
532 ((PROTECTED))
533 ((PUBLIC)))
534 (type
535 ((qualified_name dims_opt)
536 (concat $1 $2))
537 ((primitive_type dims_opt)
538 (concat $1 $2)))
539 (qualified_name
540 ((qualified_name DOT IDENTIFIER)
541 (concat $1 $2 $3))
542 ((IDENTIFIER)))
543 (dims_opt
544 (nil
545 (identity ""))
546 ((dims)))
547 (dims
548 ((dims BRACK_BLOCK)
549 (concat $1 "[]"))
550 ((BRACK_BLOCK)
551 (identity "[]"))))
552 '(compilation_unit package_declaration import_declaration class_declaration field_declaration method_declaration formal_parameter constructor_declaration interface_declaration class_member_declaration interface_member_declaration formal_parameters)))
553 "Parser table.")
555 (defun wisent-java-tags-wy--install-parser ()
556 "Setup the Semantic Parser."
557 (semantic-install-function-overrides
558 '((parse-stream . wisent-parse-stream)))
559 (setq semantic-parser-name "LALR"
560 semantic--parse-table wisent-java-tags-wy--parse-table
561 semantic-debug-parser-source "wisent-java-tags.wy"
562 semantic-flex-keywords-obarray wisent-java-tags-wy--keyword-table
563 semantic-lex-types-obarray wisent-java-tags-wy--token-table)
564 ;; Collect unmatched syntax lexical tokens
565 (semantic-make-local-hook 'wisent-discarding-token-functions)
566 (add-hook 'wisent-discarding-token-functions
567 'wisent-collect-unmatched-syntax nil t))
570 ;;; Analyzers
572 (define-lex-keyword-type-analyzer wisent-java-tags-wy--<keyword>-keyword-analyzer
573 "keyword analyzer for <keyword> tokens."
574 "\\(\\sw\\|\\s_\\)+")
576 (define-lex-block-type-analyzer wisent-java-tags-wy--<block>-block-analyzer
577 "block analyzer for <block> tokens."
578 "\\s(\\|\\s)"
579 '((("(" LPAREN PAREN_BLOCK)
580 ("{" LBRACE BRACE_BLOCK)
581 ("[" LBRACK BRACK_BLOCK))
582 (")" RPAREN)
583 ("}" RBRACE)
584 ("]" RBRACK))
587 (define-lex-regex-type-analyzer wisent-java-tags-wy--<symbol>-regexp-analyzer
588 "regexp analyzer for <symbol> tokens."
589 "\\(\\sw\\|\\s_\\)+"
591 'IDENTIFIER)
593 (define-lex-sexp-type-analyzer wisent-java-tags-wy--<string>-sexp-analyzer
594 "sexp analyzer for <string> tokens."
595 "\\s\""
596 'STRING_LITERAL)
598 (define-lex-regex-type-analyzer wisent-java-tags-wy--<number>-regexp-analyzer
599 "regexp analyzer for <number> tokens."
600 semantic-lex-number-expression
602 'NUMBER_LITERAL)
604 (define-lex-string-type-analyzer wisent-java-tags-wy--<punctuation>-string-analyzer
605 "string analyzer for <punctuation> tokens."
606 "\\(\\s.\\|\\s$\\|\\s'\\)+"
607 '((COMP . "~")
608 (OROR . "||")
609 (OREQ . "|=")
610 (OR . "|")
611 (XOREQ . "^=")
612 (XOR . "^")
613 (QUESTION . "?")
614 (URSHIFTEQ . ">>>=")
615 (URSHIFT . ">>>")
616 (RSHIFTEQ . ">>=")
617 (RSHIFT . ">>")
618 (GTEQ . ">=")
619 (GT . ">")
620 (EQEQ . "==")
621 (EQ . "=")
622 (LTEQ . "<=")
623 (LSHIFTEQ . "<<=")
624 (LSHIFT . "<<")
625 (LT . "<")
626 (SEMICOLON . ";")
627 (COLON . ":")
628 (DIVEQ . "/=")
629 (DIV . "/")
630 (DOT . ".")
631 (MINUSEQ . "-=")
632 (MINUSMINUS . "--")
633 (MINUS . "-")
634 (COMMA . ",")
635 (PLUSEQ . "+=")
636 (PLUSPLUS . "++")
637 (PLUS . "+")
638 (MULTEQ . "*=")
639 (MULT . "*")
640 (ANDEQ . "&=")
641 (ANDAND . "&&")
642 (AND . "&")
643 (MODEQ . "%=")
644 (MOD . "%")
645 (NOTEQ . "!=")
646 (NOT . "!"))
647 'punctuation)
649 (define-lex-regex-type-analyzer wisent-java-tags-wy--<unicode>-regexp-analyzer
650 "regexp analyzer for <unicode> tokens."
651 "\\\\u[0-9a-f][0-9a-f][0-9a-f][0-9a-f]"
653 'unicodecharacter)
656 ;;; Epilogue
658 ;; Define the lexer for this grammar
659 (define-lex wisent-java-tags-lexer
660 "Lexical analyzer that handles Java buffers.
661 It ignores whitespaces, newlines and comments."
662 semantic-lex-ignore-whitespace
663 semantic-lex-ignore-newline
664 semantic-lex-ignore-comments
665 ;;;; Auto-generated analyzers.
666 wisent-java-tags-wy--<number>-regexp-analyzer
667 wisent-java-tags-wy--<string>-sexp-analyzer
668 ;; Must detect keywords before other symbols
669 wisent-java-tags-wy--<keyword>-keyword-analyzer
670 wisent-java-tags-wy--<symbol>-regexp-analyzer
671 wisent-java-tags-wy--<punctuation>-string-analyzer
672 wisent-java-tags-wy--<block>-block-analyzer
673 ;; In theory, unicode chars should be turned into normal chars
674 ;; and then combined into regular ascii keywords and text. This
675 ;; analyzer just keeps these things from making the lexer go boom.
676 wisent-java-tags-wy--<unicode>-regexp-analyzer
677 ;;;;
678 semantic-lex-default-action)
680 (provide 'semantic/wisent/javat-wy)
682 ;;; semantic/wisent/javat-wy.el ends here