PageRenderTime 47ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/projects/antlr-3.4/runtime/ObjC/Framework/examples/scopes/output1/SymbolTableLexer.m

https://gitlab.com/essere.lab.public/qualitas.class-corpus
Objective C | 712 lines | 408 code | 93 blank | 211 comment | 25 complexity | 7354c9091e8c9542d44d7f3d64f805d6 MD5 | raw file
  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. // $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
  40. /* -----------------------------------------
  41. * Include the ANTLR3 generated header file.
  42. */
  43. #import "SymbolTableLexer.h"
  44. /* ----------------------------------------- */
  45. /* ============================================================================= */
  46. /* =============================================================================
  47. * Start of recognizer
  48. */
  49. #pragma mark Cyclic DFA implementation start DFA4
  50. @implementation DFA4
  51. const static NSInteger dfa4_eot[21] =
  52. {-1,9,-1,-1,-1,-1,-1,-1,9,-1,-1,-1,9,9,9,17,9,-1,9,20,-1};
  53. const static NSInteger dfa4_eof[21] =
  54. {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1};
  55. const static unichar dfa4_min[21] =
  56. {10,101,0,0,0,0,0,0,110,0,0,0,116,116,104,97,111,0,100,97,0};
  57. const static unichar dfa4_max[21] =
  58. {125,101,0,0,0,0,0,0,110,0,0,0,116,116,104,122,111,0,100,122,0};
  59. const static NSInteger dfa4_accept[21] =
  60. {-1,-1,2,3,4,5,6,7,-1,9,10,11,-1,-1,-1,-1,-1,8,-1,-1,1};
  61. const static NSInteger dfa4_special[21] =
  62. {-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1};
  63. const static NSInteger dfa4_transition[] = {};
  64. const static NSInteger dfa4_transition0[] = {11, -1, -1, 11, -1, -1, -1,
  65. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 11, -1, -1,
  66. -1, -1, -1, -1, -1, 2, 3, -1, -1, -1, -1, -1, -1, 10, 10, 10, 10, 10, 10,
  67. 10, 10, 10, 10, -1, 7, -1, 6, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  68. -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
  69. -1, -1, -1, -1, -1, -1, 9, 9, 9, 9, 9, 9, 9, 9, 8, 9, 9, 9, 1, 9, 9, 9,
  70. 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 4, -1, 5};
  71. const static NSInteger dfa4_transition1[] = {19};
  72. const static NSInteger dfa4_transition2[] = {16};
  73. const static NSInteger dfa4_transition3[] = {18};
  74. const static NSInteger dfa4_transition4[] = {13};
  75. const static NSInteger dfa4_transition5[] = {15};
  76. const static NSInteger dfa4_transition6[] = {12};
  77. const static NSInteger dfa4_transition7[] = {14};
  78. const static NSInteger dfa4_transition8[] = {9, 9, 9, 9, 9, 9, 9, 9, 9,
  79. 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9};
  80. + () newDFA4WithRecognizer:(ANTLRBaseRecognizer *)aRecognizer
  81. {
  82. return [[[DFA4 alloc] initWithRecognizer:aRecognizer] retain];
  83. }
  84. - (id) initWithRecognizer:(ANTLRBaseRecognizer *) theRecognizer
  85. {
  86. if ((self = [super initWithRecognizer:theRecognizer]) != nil) {
  87. decisionNumber = 4;
  88. eot = dfa4_eot;
  89. eof = dfa4_eof;
  90. min = dfa4_min;
  91. max = dfa4_max;
  92. accept = dfa4_accept;
  93. special = dfa4_special;
  94. if (!(transition = calloc(21, sizeof(void*)))) {
  95. [self release];
  96. return nil;
  97. }
  98. len = 21;
  99. transition[0] = dfa4_transition0;
  100. transition[1] = dfa4_transition6;
  101. transition[2] = dfa4_transition;
  102. transition[3] = dfa4_transition;
  103. transition[4] = dfa4_transition;
  104. transition[5] = dfa4_transition;
  105. transition[6] = dfa4_transition;
  106. transition[7] = dfa4_transition;
  107. transition[8] = dfa4_transition4;
  108. transition[9] = dfa4_transition;
  109. transition[10] = dfa4_transition;
  110. transition[11] = dfa4_transition;
  111. transition[12] = dfa4_transition7;
  112. transition[13] = dfa4_transition5;
  113. transition[14] = dfa4_transition2;
  114. transition[15] = dfa4_transition8;
  115. transition[16] = dfa4_transition3;
  116. transition[17] = dfa4_transition;
  117. transition[18] = dfa4_transition1;
  118. transition[19] = dfa4_transition8;
  119. transition[20] = dfa4_transition;
  120. }
  121. return self;
  122. }
  123. - (void) dealloc
  124. {
  125. free(transition);
  126. [super dealloc];
  127. }
  128. - (NSString *) description
  129. {
  130. return @"1:1: Tokens : ( T__7 | T__8 | T__9 | T__10 | T__11 | T__12 | T__13 | T__14 | ID | INT | WS );";
  131. }
  132. @end
  133. #pragma mark Cyclic DFA implementation end DFA4
  134. /** As per Terence: No returns for lexer rules!
  135. #pragma mark Rule return scopes start
  136. #pragma mark Rule return scopes end
  137. */
  138. @implementation SymbolTableLexer // line 330
  139. + (void) initialize
  140. {
  141. [ANTLRBaseRecognizer setGrammarFileName:@"/usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g"];
  142. }
  143. + (NSString *) tokenNameForType:(NSInteger)aTokenType
  144. {
  145. return [[self getTokenNames] objectAtIndex:aTokenType];
  146. }
  147. + (SymbolTableLexer *)newSymbolTableLexer:(id<ANTLRCharStream>)anInput
  148. {
  149. return [[SymbolTableLexer alloc] initWithCharStream:anInput];
  150. }
  151. - (id) initWithCharStream:(id<ANTLRCharStream>)anInput
  152. {
  153. if ((self = [super initWithCharStream:anInput State:[ANTLRRecognizerSharedState newANTLRRecognizerSharedStateWithRuleLen:12+1]]) != nil) {
  154. dfa4 = [DFA4 newDFA4WithRecognizer:self];
  155. }
  156. return self;
  157. }
  158. - (void) dealloc
  159. {
  160. [dfa4 release];
  161. [super dealloc];
  162. }
  163. // Start of actions.lexer.methods
  164. // start methods()
  165. // Start of Rules
  166. // $ANTLR start "T__7"
  167. - (void) mT__7
  168. {
  169. //
  170. // ruleScopeSetUp
  171. @try {
  172. NSInteger _type = T__7;
  173. NSInteger _channel = ANTLRTokenChannelDefault;
  174. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:7:6: ( 'method' ) // ruleBlockSingleAlt
  175. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:7:8: 'method' // alt
  176. {
  177. [self matchString:@"method"];
  178. /* element() */
  179. /* elements */
  180. }
  181. // token+rule list labels
  182. [state setType:_type];
  183. state.channel = _channel;
  184. }
  185. @finally {
  186. //
  187. }
  188. return;
  189. }
  190. // $ANTLR end "T__7"
  191. // $ANTLR start "T__8"
  192. - (void) mT__8
  193. {
  194. //
  195. // ruleScopeSetUp
  196. @try {
  197. NSInteger _type = T__8;
  198. NSInteger _channel = ANTLRTokenChannelDefault;
  199. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:8:6: ( '(' ) // ruleBlockSingleAlt
  200. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:8:8: '(' // alt
  201. {
  202. [self matchChar:'('];
  203. /* element() */
  204. /* elements */
  205. }
  206. // token+rule list labels
  207. [state setType:_type];
  208. state.channel = _channel;
  209. }
  210. @finally {
  211. //
  212. }
  213. return;
  214. }
  215. // $ANTLR end "T__8"
  216. // $ANTLR start "T__9"
  217. - (void) mT__9
  218. {
  219. //
  220. // ruleScopeSetUp
  221. @try {
  222. NSInteger _type = T__9;
  223. NSInteger _channel = ANTLRTokenChannelDefault;
  224. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:9:6: ( ')' ) // ruleBlockSingleAlt
  225. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:9:8: ')' // alt
  226. {
  227. [self matchChar:')'];
  228. /* element() */
  229. /* elements */
  230. }
  231. // token+rule list labels
  232. [state setType:_type];
  233. state.channel = _channel;
  234. }
  235. @finally {
  236. //
  237. }
  238. return;
  239. }
  240. // $ANTLR end "T__9"
  241. // $ANTLR start "T__10"
  242. - (void) mT__10
  243. {
  244. //
  245. // ruleScopeSetUp
  246. @try {
  247. NSInteger _type = T__10;
  248. NSInteger _channel = ANTLRTokenChannelDefault;
  249. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:10:7: ( '{' ) // ruleBlockSingleAlt
  250. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:10:9: '{' // alt
  251. {
  252. [self matchChar:'{'];
  253. /* element() */
  254. /* elements */
  255. }
  256. // token+rule list labels
  257. [state setType:_type];
  258. state.channel = _channel;
  259. }
  260. @finally {
  261. //
  262. }
  263. return;
  264. }
  265. // $ANTLR end "T__10"
  266. // $ANTLR start "T__11"
  267. - (void) mT__11
  268. {
  269. //
  270. // ruleScopeSetUp
  271. @try {
  272. NSInteger _type = T__11;
  273. NSInteger _channel = ANTLRTokenChannelDefault;
  274. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:11:7: ( '}' ) // ruleBlockSingleAlt
  275. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:11:9: '}' // alt
  276. {
  277. [self matchChar:'}'];
  278. /* element() */
  279. /* elements */
  280. }
  281. // token+rule list labels
  282. [state setType:_type];
  283. state.channel = _channel;
  284. }
  285. @finally {
  286. //
  287. }
  288. return;
  289. }
  290. // $ANTLR end "T__11"
  291. // $ANTLR start "T__12"
  292. - (void) mT__12
  293. {
  294. //
  295. // ruleScopeSetUp
  296. @try {
  297. NSInteger _type = T__12;
  298. NSInteger _channel = ANTLRTokenChannelDefault;
  299. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:12:7: ( '=' ) // ruleBlockSingleAlt
  300. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:12:9: '=' // alt
  301. {
  302. [self matchChar:'='];
  303. /* element() */
  304. /* elements */
  305. }
  306. // token+rule list labels
  307. [state setType:_type];
  308. state.channel = _channel;
  309. }
  310. @finally {
  311. //
  312. }
  313. return;
  314. }
  315. // $ANTLR end "T__12"
  316. // $ANTLR start "T__13"
  317. - (void) mT__13
  318. {
  319. //
  320. // ruleScopeSetUp
  321. @try {
  322. NSInteger _type = T__13;
  323. NSInteger _channel = ANTLRTokenChannelDefault;
  324. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:13:7: ( ';' ) // ruleBlockSingleAlt
  325. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:13:9: ';' // alt
  326. {
  327. [self matchChar:';'];
  328. /* element() */
  329. /* elements */
  330. }
  331. // token+rule list labels
  332. [state setType:_type];
  333. state.channel = _channel;
  334. }
  335. @finally {
  336. //
  337. }
  338. return;
  339. }
  340. // $ANTLR end "T__13"
  341. // $ANTLR start "T__14"
  342. - (void) mT__14
  343. {
  344. //
  345. // ruleScopeSetUp
  346. @try {
  347. NSInteger _type = T__14;
  348. NSInteger _channel = ANTLRTokenChannelDefault;
  349. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:14:7: ( 'int' ) // ruleBlockSingleAlt
  350. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:14:9: 'int' // alt
  351. {
  352. [self matchString:@"int"];
  353. /* element() */
  354. /* elements */
  355. }
  356. // token+rule list labels
  357. [state setType:_type];
  358. state.channel = _channel;
  359. }
  360. @finally {
  361. //
  362. }
  363. return;
  364. }
  365. // $ANTLR end "T__14"
  366. // $ANTLR start "ID"
  367. - (void) mID
  368. {
  369. //
  370. // ruleScopeSetUp
  371. @try {
  372. NSInteger _type = ID;
  373. NSInteger _channel = ANTLRTokenChannelDefault;
  374. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:66:5: ( ( 'a' .. 'z' )+ ) // ruleBlockSingleAlt
  375. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:66:9: ( 'a' .. 'z' )+ // alt
  376. {
  377. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:66:9: ( 'a' .. 'z' )+ // positiveClosureBlock
  378. NSInteger cnt1=0;
  379. do {
  380. NSInteger alt1=2;
  381. NSInteger LA1_0 = [input LA:1];
  382. if ( ((LA1_0>='a' && LA1_0<='z')) ) {
  383. alt1=1;
  384. }
  385. switch (alt1) {
  386. case 1 : ;
  387. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:66:10: 'a' .. 'z' // alt
  388. {
  389. [self matchRangeFromChar:'a' to:'z']; /* element() */
  390. /* elements */
  391. }
  392. break;
  393. default :
  394. if ( cnt1 >= 1 )
  395. goto loop1;
  396. ANTLREarlyExitException *eee = [ANTLREarlyExitException exceptionWithStream:input decisionNumber:1];
  397. @throw eee;
  398. }
  399. cnt1++;
  400. } while (YES);
  401. loop1: ;
  402. /* element() */
  403. /* elements */
  404. }
  405. // token+rule list labels
  406. [state setType:_type];
  407. state.channel = _channel;
  408. }
  409. @finally {
  410. //
  411. }
  412. return;
  413. }
  414. // $ANTLR end "ID"
  415. // $ANTLR start "INT"
  416. - (void) mINT
  417. {
  418. //
  419. // ruleScopeSetUp
  420. @try {
  421. NSInteger _type = INT;
  422. NSInteger _channel = ANTLRTokenChannelDefault;
  423. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:69:5: ( ( '0' .. '9' )+ ) // ruleBlockSingleAlt
  424. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:69:9: ( '0' .. '9' )+ // alt
  425. {
  426. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:69:9: ( '0' .. '9' )+ // positiveClosureBlock
  427. NSInteger cnt2=0;
  428. do {
  429. NSInteger alt2=2;
  430. NSInteger LA2_0 = [input LA:1];
  431. if ( ((LA2_0>='0' && LA2_0<='9')) ) {
  432. alt2=1;
  433. }
  434. switch (alt2) {
  435. case 1 : ;
  436. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:69:10: '0' .. '9' // alt
  437. {
  438. [self matchRangeFromChar:'0' to:'9']; /* element() */
  439. /* elements */
  440. }
  441. break;
  442. default :
  443. if ( cnt2 >= 1 )
  444. goto loop2;
  445. ANTLREarlyExitException *eee = [ANTLREarlyExitException exceptionWithStream:input decisionNumber:2];
  446. @throw eee;
  447. }
  448. cnt2++;
  449. } while (YES);
  450. loop2: ;
  451. /* element() */
  452. /* elements */
  453. }
  454. // token+rule list labels
  455. [state setType:_type];
  456. state.channel = _channel;
  457. }
  458. @finally {
  459. //
  460. }
  461. return;
  462. }
  463. // $ANTLR end "INT"
  464. // $ANTLR start "WS"
  465. - (void) mWS
  466. {
  467. //
  468. // ruleScopeSetUp
  469. @try {
  470. NSInteger _type = WS;
  471. NSInteger _channel = ANTLRTokenChannelDefault;
  472. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:72:5: ( ( ' ' | '\\n' | '\\r' )+ ) // ruleBlockSingleAlt
  473. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:72:9: ( ' ' | '\\n' | '\\r' )+ // alt
  474. {
  475. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:72:9: ( ' ' | '\\n' | '\\r' )+ // positiveClosureBlock
  476. NSInteger cnt3=0;
  477. do {
  478. NSInteger alt3=2;
  479. NSInteger LA3_0 = [input LA:1];
  480. if ( (LA3_0=='\n'||LA3_0=='\r'||LA3_0==' ') ) {
  481. alt3=1;
  482. }
  483. switch (alt3) {
  484. case 1 : ;
  485. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g: // alt
  486. {
  487. if ([input LA:1] == '\n'||[input LA:1] == '\r'||[input LA:1] == ' ') {
  488. [input consume];
  489. } else {
  490. ANTLRMismatchedSetException *mse = [ANTLRMismatchedSetException exceptionWithSet:nil stream:input];
  491. [self recover:mse];
  492. @throw mse;}
  493. /* element() */
  494. /* elements */
  495. }
  496. break;
  497. default :
  498. if ( cnt3 >= 1 )
  499. goto loop3;
  500. ANTLREarlyExitException *eee = [ANTLREarlyExitException exceptionWithStream:input decisionNumber:3];
  501. @throw eee;
  502. }
  503. cnt3++;
  504. } while (YES);
  505. loop3: ;
  506. /* element() */
  507. state.channel=99; /* element() */
  508. /* elements */
  509. }
  510. // token+rule list labels
  511. [state setType:_type];
  512. state.channel = _channel;
  513. }
  514. @finally {
  515. //
  516. }
  517. return;
  518. }
  519. // $ANTLR end "WS"
  520. - (void) mTokens
  521. {
  522. // /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
  523. NSInteger alt4=11;
  524. alt4 = [dfa4 predict:input];
  525. switch (alt4) {
  526. case 1 : ;
  527. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:10: T__7 // alt
  528. {
  529. [self mT__7];
  530. /* element() */
  531. /* elements */
  532. }
  533. break;
  534. case 2 : ;
  535. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:15: T__8 // alt
  536. {
  537. [self mT__8];
  538. /* element() */
  539. /* elements */
  540. }
  541. break;
  542. case 3 : ;
  543. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:20: T__9 // alt
  544. {
  545. [self mT__9];
  546. /* element() */
  547. /* elements */
  548. }
  549. break;
  550. case 4 : ;
  551. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:25: T__10 // alt
  552. {
  553. [self mT__10];
  554. /* element() */
  555. /* elements */
  556. }
  557. break;
  558. case 5 : ;
  559. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:31: T__11 // alt
  560. {
  561. [self mT__11];
  562. /* element() */
  563. /* elements */
  564. }
  565. break;
  566. case 6 : ;
  567. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:37: T__12 // alt
  568. {
  569. [self mT__12];
  570. /* element() */
  571. /* elements */
  572. }
  573. break;
  574. case 7 : ;
  575. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:43: T__13 // alt
  576. {
  577. [self mT__13];
  578. /* element() */
  579. /* elements */
  580. }
  581. break;
  582. case 8 : ;
  583. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:49: T__14 // alt
  584. {
  585. [self mT__14];
  586. /* element() */
  587. /* elements */
  588. }
  589. break;
  590. case 9 : ;
  591. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:55: ID // alt
  592. {
  593. [self mID];
  594. /* element() */
  595. /* elements */
  596. }
  597. break;
  598. case 10 : ;
  599. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:58: INT // alt
  600. {
  601. [self mINT];
  602. /* element() */
  603. /* elements */
  604. }
  605. break;
  606. case 11 : ;
  607. // /usr/local/ANTLR3-ObjC2.0-Runtime/Framework/examples/scopes/SymbolTable.g:1:62: WS // alt
  608. {
  609. [self mWS];
  610. /* element() */
  611. /* elements */
  612. }
  613. break;
  614. }
  615. }
  616. @end // end of SymbolTableLexer implementation // line 397
  617. /* End of code
  618. * =============================================================================
  619. */