1/** \file 2 * This OBJC source file was generated by $ANTLR version 3.2 Aug 19, 2010 17:16:04 3 * 4 * - From the grammar source file : /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g 5 * - On : 2010-08-19 17:16:47 6 * - for the lexer : SymbolTableLexerLexer * 7 * Editing it, at least manually, is not wise. 8 * 9 * C language generator and runtime by Jim Idle, jimi|hereisanat|idle|dotgoeshere|ws. 10 * 11 * 12*/ 13// [The "BSD licence"] 14// Copyright (c) 2010 Alan Condit 15// 16// All rights reserved. 17// 18// Redistribution and use in source and binary forms, with or without 19// modification, are permitted provided that the following conditions 20// are met: 21// 1. Redistributions of source code must retain the above copyright 22// notice, this list of conditions and the following disclaimer. 23// 2. Redistributions in binary form must reproduce the above copyright 24// notice, this list of conditions and the following disclaimer in the 25// documentation and/or other materials provided with the distribution. 26// 3. The name of the author may not be used to endorse or promote products 27// derived from this software without specific prior written permission. 28// 29// THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 30// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 31// OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 32// IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 33// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 34// NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 35// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 36// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 37// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 38// THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39 40// $ANTLR 3.2 Aug 19, 2010 17:16:04 /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g 2010-08-19 17:16:47 41 42/* ----------------------------------------- 43 * Include the ANTLR3 generated header file. 44 */ 45#import "SymbolTableLexer.h" 46/* ----------------------------------------- */ 47 48 49/* ============================================================================= */ 50 51/* ============================================================================= 52 * Start of recognizer 53 */ 54 55#pragma mark Cyclic DFA implementation start DFA4 56@implementation DFA4 57const static NSInteger dfa4_eot[21] = 58 {-1,9,-1,-1,-1,-1,-1,-1,9,-1,-1,-1,9,9,9,17,9,-1,9,20,-1}; 59const static NSInteger dfa4_eof[21] = 60 {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}; 61const static unichar dfa4_min[21] = 62 {10,101,0,0,0,0,0,0,110,0,0,0,116,116,104,97,111,0,100,97,0}; 63const static unichar dfa4_max[21] = 64 {125,101,0,0,0,0,0,0,110,0,0,0,116,116,104,122,111,0,100,122,0}; 65const static NSInteger dfa4_accept[21] = 66 {-1,-1,2,3,4,5,6,7,-1,9,10,11,-1,-1,-1,-1,-1,8,-1,-1,1}; 67const static NSInteger dfa4_special[21] = 68 {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1}; 69const static NSInteger dfa4_transition[] = {}; 70const static NSInteger dfa4_transition0[] = {11, -1, -1, 11, -1, -1, -1, 71 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 11, -1, -1, 72 -1, -1, -1, -1, -1, 2, 3, -1, -1, -1, -1, -1, -1, 10, 10, 10, 10, 10, 10, 73 10, 10, 10, 10, -1, 7, -1, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 74 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 75 -1, -1, -1, -1, -1, -1, 9, 9, 9, 9, 9, 9, 9, 9, 8, 9, 9, 9, 1, 9, 9, 9, 76 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 4, -1, 5}; 77const static NSInteger dfa4_transition1[] = {19}; 78const static NSInteger dfa4_transition2[] = {16}; 79const static NSInteger dfa4_transition3[] = {18}; 80const static NSInteger dfa4_transition4[] = {13}; 81const static NSInteger dfa4_transition5[] = {15}; 82const static NSInteger dfa4_transition6[] = {12}; 83const static NSInteger dfa4_transition7[] = {14}; 84const static NSInteger dfa4_transition8[] = {9, 9, 9, 9, 9, 9, 9, 9, 9, 85 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9}; 86 87 88+ () newDFA4WithRecognizer:(ANTLRBaseRecognizer *)aRecognizer 89{ 90 return [[[DFA4 alloc] initWithRecognizer:aRecognizer] retain]; 91} 92 93- (id) initWithRecognizer:(ANTLRBaseRecognizer *) theRecognizer 94{ 95 if ((self = [super initWithRecognizer:theRecognizer]) != nil) { 96 decisionNumber = 4; 97 eot = dfa4_eot; 98 eof = dfa4_eof; 99 min = dfa4_min; 100 max = dfa4_max; 101 accept = dfa4_accept; 102 special = dfa4_special; 103 if (!(transition = calloc(21, sizeof(void*)))) { 104 [self release]; 105 return nil; 106 } 107 len = 21; 108 transition[0] = dfa4_transition0; 109 transition[1] = dfa4_transition6; 110 transition[2] = dfa4_transition; 111 transition[3] = dfa4_transition; 112 transition[4] = dfa4_transition; 113 transition[5] = dfa4_transition; 114 transition[6] = dfa4_transition; 115 transition[7] = dfa4_transition; 116 transition[8] = dfa4_transition4; 117 transition[9] = dfa4_transition; 118 transition[10] = dfa4_transition; 119 transition[11] = dfa4_transition; 120 transition[12] = dfa4_transition7; 121 transition[13] = dfa4_transition5; 122 transition[14] = dfa4_transition2; 123 transition[15] = dfa4_transition8; 124 transition[16] = dfa4_transition3; 125 transition[17] = dfa4_transition; 126 transition[18] = dfa4_transition1; 127 transition[19] = dfa4_transition8; 128 transition[20] = dfa4_transition; 129 } 130 return self; 131} 132 133- (void) dealloc 134{ 135 free(transition); 136 [super dealloc]; 137} 138 139- (NSString *) description 140{ 141 return @"1:1: Tokens : ( T__7 | T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | ID | INT | WS );"; 142} 143 144 145@end 146#pragma mark Cyclic DFA implementation end DFA4 147 148 149 150/** As per Terence: No returns for lexer rules! 151#pragma mark Rule return scopes start 152#pragma mark Rule return scopes end 153*/ 154@implementation SymbolTableLexer // line 330 155 156+ (void) initialize 157{ 158 [ANTLRBaseRecognizer setGrammarFileName:@"/usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g"]; 159} 160 161+ (NSString *) tokenNameForType:(NSInteger)aTokenType 162{ 163 return [[self getTokenNames] objectAtIndex:aTokenType]; 164} 165 166+ (SymbolTableLexer *)newSymbolTableLexer:(id<ANTLRCharStream>)anInput 167{ 168 return [[SymbolTableLexer alloc] initWithCharStream:anInput]; 169} 170 171- (id) initWithCharStream:(id<ANTLRCharStream>)anInput 172{ 173 if ((self = [super initWithCharStream:anInput State:[ANTLRRecognizerSharedState newANTLRRecognizerSharedStateWithRuleLen:12+1]]) != nil) { 174 175 dfa4 = [DFA4 newDFA4WithRecognizer:self]; 176 } 177 return self; 178} 179 180- (void) dealloc 181{ 182 [dfa4 release]; 183 [super dealloc]; 184} 185 186// Start of actions.lexer.methods 187// start methods() 188 189// Start of Rules 190// $ANTLR start "T__7" 191- (void) mT__7 192{ 193 // 194 // ruleScopeSetUp 195 196 @try { 197 NSInteger _type = T__7; 198 NSInteger _channel = ANTLRTokenChannelDefault; 199 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:7:6: ( 'method' ) // ruleBlockSingleAlt 200 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:7:8: 'method' // alt 201 { 202 [self matchString:@"method"]; 203 /* element() */ 204 /* elements */ 205 } 206 207 // token+rule list labels 208 209 [state setType:_type]; 210 211 state.channel = _channel; 212 } 213 @finally { 214 // 215 } 216 return; 217} 218// $ANTLR end "T__7" 219 220// $ANTLR start "T__8" 221- (void) mT__8 222{ 223 // 224 // ruleScopeSetUp 225 226 @try { 227 NSInteger _type = T__8; 228 NSInteger _channel = ANTLRTokenChannelDefault; 229 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:8:6: ( '(' ) // ruleBlockSingleAlt 230 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:8:8: '(' // alt 231 { 232 [self matchChar:'(']; 233 /* element() */ 234 /* elements */ 235 } 236 237 // token+rule list labels 238 239 [state setType:_type]; 240 241 state.channel = _channel; 242 } 243 @finally { 244 // 245 } 246 return; 247} 248// $ANTLR end "T__8" 249 250// $ANTLR start "T__9" 251- (void) mT__9 252{ 253 // 254 // ruleScopeSetUp 255 256 @try { 257 NSInteger _type = T__9; 258 NSInteger _channel = ANTLRTokenChannelDefault; 259 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:9:6: ( ')' ) // ruleBlockSingleAlt 260 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:9:8: ')' // alt 261 { 262 [self matchChar:')']; 263 /* element() */ 264 /* elements */ 265 } 266 267 // token+rule list labels 268 269 [state setType:_type]; 270 271 state.channel = _channel; 272 } 273 @finally { 274 // 275 } 276 return; 277} 278// $ANTLR end "T__9" 279 280// $ANTLR start "T__10" 281- (void) mT__10 282{ 283 // 284 // ruleScopeSetUp 285 286 @try { 287 NSInteger _type = T__10; 288 NSInteger _channel = ANTLRTokenChannelDefault; 289 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:10:7: ( '{' ) // ruleBlockSingleAlt 290 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:10:9: '{' // alt 291 { 292 [self matchChar:'{']; 293 /* element() */ 294 /* elements */ 295 } 296 297 // token+rule list labels 298 299 [state setType:_type]; 300 301 state.channel = _channel; 302 } 303 @finally { 304 // 305 } 306 return; 307} 308// $ANTLR end "T__10" 309 310// $ANTLR start "T__11" 311- (void) mT__11 312{ 313 // 314 // ruleScopeSetUp 315 316 @try { 317 NSInteger _type = T__11; 318 NSInteger _channel = ANTLRTokenChannelDefault; 319 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:11:7: ( '}' ) // ruleBlockSingleAlt 320 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:11:9: '}' // alt 321 { 322 [self matchChar:'}']; 323 /* element() */ 324 /* elements */ 325 } 326 327 // token+rule list labels 328 329 [state setType:_type]; 330 331 state.channel = _channel; 332 } 333 @finally { 334 // 335 } 336 return; 337} 338// $ANTLR end "T__11" 339 340// $ANTLR start "T__12" 341- (void) mT__12 342{ 343 // 344 // ruleScopeSetUp 345 346 @try { 347 NSInteger _type = T__12; 348 NSInteger _channel = ANTLRTokenChannelDefault; 349 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:12:7: ( '=' ) // ruleBlockSingleAlt 350 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:12:9: '=' // alt 351 { 352 [self matchChar:'=']; 353 /* element() */ 354 /* elements */ 355 } 356 357 // token+rule list labels 358 359 [state setType:_type]; 360 361 state.channel = _channel; 362 } 363 @finally { 364 // 365 } 366 return; 367} 368// $ANTLR end "T__12" 369 370// $ANTLR start "T__13" 371- (void) mT__13 372{ 373 // 374 // ruleScopeSetUp 375 376 @try { 377 NSInteger _type = T__13; 378 NSInteger _channel = ANTLRTokenChannelDefault; 379 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:13:7: ( ';' ) // ruleBlockSingleAlt 380 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:13:9: ';' // alt 381 { 382 [self matchChar:';']; 383 /* element() */ 384 /* elements */ 385 } 386 387 // token+rule list labels 388 389 [state setType:_type]; 390 391 state.channel = _channel; 392 } 393 @finally { 394 // 395 } 396 return; 397} 398// $ANTLR end "T__13" 399 400// $ANTLR start "T__14" 401- (void) mT__14 402{ 403 // 404 // ruleScopeSetUp 405 406 @try { 407 NSInteger _type = T__14; 408 NSInteger _channel = ANTLRTokenChannelDefault; 409 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:14:7: ( 'int' ) // ruleBlockSingleAlt 410 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:14:9: 'int' // alt 411 { 412 [self matchString:@"int"]; 413 /* element() */ 414 /* elements */ 415 } 416 417 // token+rule list labels 418 419 [state setType:_type]; 420 421 state.channel = _channel; 422 } 423 @finally { 424 // 425 } 426 return; 427} 428// $ANTLR end "T__14" 429 430// $ANTLR start "ID" 431- (void) mID 432{ 433 // 434 // ruleScopeSetUp 435 436 @try { 437 NSInteger _type = ID; 438 NSInteger _channel = ANTLRTokenChannelDefault; 439 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:66:5: ( ( 'a' .. 'z' )+ ) // ruleBlockSingleAlt 440 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:66:9: ( 'a' .. 'z' )+ // alt 441 { 442 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:66:9: ( 'a' .. 'z' )+ // positiveClosureBlock 443 NSInteger cnt1=0; 444 do { 445 NSInteger alt1=2; 446 NSInteger LA1_0 = [input LA:1]; 447 if ( ((LA1_0>='a' && LA1_0<='z')) ) { 448 alt1=1; 449 } 450 451 452 switch (alt1) { 453 case 1 : ; 454 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:66:10: 'a' .. 'z' // alt 455 { 456 [self matchRangeFromChar:'a' to:'z']; /* element() */ 457 /* elements */ 458 } 459 break; 460 461 default : 462 if ( cnt1 >= 1 ) 463 goto loop1; 464 ANTLREarlyExitException *eee = [ANTLREarlyExitException exceptionWithStream:input decisionNumber:1]; 465 @throw eee; 466 } 467 cnt1++; 468 } while (YES); 469 loop1: ; 470 /* element() */ 471 /* elements */ 472 } 473 474 // token+rule list labels 475 476 [state setType:_type]; 477 478 state.channel = _channel; 479 } 480 @finally { 481 // 482 } 483 return; 484} 485// $ANTLR end "ID" 486 487// $ANTLR start "INT" 488- (void) mINT 489{ 490 // 491 // ruleScopeSetUp 492 493 @try { 494 NSInteger _type = INT; 495 NSInteger _channel = ANTLRTokenChannelDefault; 496 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:69:5: ( ( '0' .. '9' )+ ) // ruleBlockSingleAlt 497 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:69:9: ( '0' .. '9' )+ // alt 498 { 499 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:69:9: ( '0' .. '9' )+ // positiveClosureBlock 500 NSInteger cnt2=0; 501 do { 502 NSInteger alt2=2; 503 NSInteger LA2_0 = [input LA:1]; 504 if ( ((LA2_0>='0' && LA2_0<='9')) ) { 505 alt2=1; 506 } 507 508 509 switch (alt2) { 510 case 1 : ; 511 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:69:10: '0' .. '9' // alt 512 { 513 [self matchRangeFromChar:'0' to:'9']; /* element() */ 514 /* elements */ 515 } 516 break; 517 518 default : 519 if ( cnt2 >= 1 ) 520 goto loop2; 521 ANTLREarlyExitException *eee = [ANTLREarlyExitException exceptionWithStream:input decisionNumber:2]; 522 @throw eee; 523 } 524 cnt2++; 525 } while (YES); 526 loop2: ; 527 /* element() */ 528 /* elements */ 529 } 530 531 // token+rule list labels 532 533 [state setType:_type]; 534 535 state.channel = _channel; 536 } 537 @finally { 538 // 539 } 540 return; 541} 542// $ANTLR end "INT" 543 544// $ANTLR start "WS" 545- (void) mWS 546{ 547 // 548 // ruleScopeSetUp 549 550 @try { 551 NSInteger _type = WS; 552 NSInteger _channel = ANTLRTokenChannelDefault; 553 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:72:5: ( ( ' ' | '\\n' | '\\r' )+ ) // ruleBlockSingleAlt 554 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:72:9: ( ' ' | '\\n' | '\\r' )+ // alt 555 { 556 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:72:9: ( ' ' | '\\n' | '\\r' )+ // positiveClosureBlock 557 NSInteger cnt3=0; 558 do { 559 NSInteger alt3=2; 560 NSInteger LA3_0 = [input LA:1]; 561 if ( (LA3_0=='\n'||LA3_0=='\r'||LA3_0==' ') ) { 562 alt3=1; 563 } 564 565 566 switch (alt3) { 567 case 1 : ; 568 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g: // alt 569 { 570 if ([input LA:1] == '\n'||[input LA:1] == '\r'||[input LA:1] == ' ') { 571 [input consume]; 572 573 } else { 574 ANTLRMismatchedSetException *mse = [ANTLRMismatchedSetException exceptionWithSet:nil stream:input]; 575 [self recover:mse]; 576 @throw mse;} 577 /* element() */ 578 /* elements */ 579 } 580 break; 581 582 default : 583 if ( cnt3 >= 1 ) 584 goto loop3; 585 ANTLREarlyExitException *eee = [ANTLREarlyExitException exceptionWithStream:input decisionNumber:3]; 586 @throw eee; 587 } 588 cnt3++; 589 } while (YES); 590 loop3: ; 591 /* element() */ 592 state.channel=99; /* element() */ 593 /* elements */ 594 } 595 596 // token+rule list labels 597 598 [state setType:_type]; 599 600 state.channel = _channel; 601 } 602 @finally { 603 // 604 } 605 return; 606} 607// $ANTLR end "WS" 608 609- (void) mTokens 610{ 611 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:8: ( T__7 | T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | ID | INT | WS ) //ruleblock 612 NSInteger alt4=11; 613 alt4 = [dfa4 predict:input]; 614 switch (alt4) { 615 case 1 : ; 616 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:10: T__7 // alt 617 { 618 [self mT__7]; 619 /* element() */ 620 /* elements */ 621 } 622 break; 623 case 2 : ; 624 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:15: T__8 // alt 625 { 626 [self mT__8]; 627 /* element() */ 628 /* elements */ 629 } 630 break; 631 case 3 : ; 632 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:20: T__9 // alt 633 { 634 [self mT__9]; 635 /* element() */ 636 /* elements */ 637 } 638 break; 639 case 4 : ; 640 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:25: T__10 // alt 641 { 642 [self mT__10]; 643 /* element() */ 644 /* elements */ 645 } 646 break; 647 case 5 : ; 648 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:31: T__11 // alt 649 { 650 [self mT__11]; 651 /* element() */ 652 /* elements */ 653 } 654 break; 655 case 6 : ; 656 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:37: T__12 // alt 657 { 658 [self mT__12]; 659 /* element() */ 660 /* elements */ 661 } 662 break; 663 case 7 : ; 664 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:43: T__13 // alt 665 { 666 [self mT__13]; 667 /* element() */ 668 /* elements */ 669 } 670 break; 671 case 8 : ; 672 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:49: T__14 // alt 673 { 674 [self mT__14]; 675 /* element() */ 676 /* elements */ 677 } 678 break; 679 case 9 : ; 680 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:55: ID // alt 681 { 682 [self mID]; 683 /* element() */ 684 /* elements */ 685 } 686 break; 687 case 10 : ; 688 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:58: INT // alt 689 { 690 [self mINT]; 691 /* element() */ 692 /* elements */ 693 } 694 break; 695 case 11 : ; 696 // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:62: WS // alt 697 { 698 [self mWS]; 699 /* element() */ 700 /* elements */ 701 } 702 break; 703 704 } 705 706} 707 708@end // end of SymbolTableLexer implementation // line 397 709 710/* End of code 711 * ============================================================================= 712 */ 713