forked from javacc/javacc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NfaStateTest.java
676 lines (642 loc) · 22.3 KB
/
NfaStateTest.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
package org.javacc.parser.test;
import java.io.PrintWriter;
import java.io.StringWriter;
import org.javacc.JavaCCTestCase;
import org.javacc.parser.CodeGenerator;
import org.javacc.parser.JavaCCGlobals;
import org.javacc.parser.JavaCCParser;
import org.javacc.parser.LexGen;
import org.javacc.parser.Main;
import org.javacc.parser.NfaState;
import org.javacc.parser.Options;
import org.javacc.parser.Semanticize;
/**
* A sea anchor, to ensure that code is not inadvertently broken.
*
* @author timp
* @since 16 Mar 2007
*
*/
public class NfaStateTest extends JavaCCTestCase {
String parserInput = getJJInputDirectory() + "JavaCC.jj";
/**
* @param name
*/
public NfaStateTest(String name) {
super(name);
}
/**
* {@inheritDoc}
* @see junit.framework.TestCase#setUp()
*/
protected void setUp() throws Exception {
super.setUp();
Options.init();
Main.reInitAll();
}
/**
* {@inheritDoc}
* @see junit.framework.TestCase#tearDown()
*/
protected void tearDown() throws Exception {
super.tearDown();
}
protected void setupState() throws Exception {
JavaCCParser parser = new JavaCCParser(new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(parserInput), Options.getGrammarEncoding())));
parser.javacc_input();
JavaCCGlobals.fileName = JavaCCGlobals.origFileName = parserInput;
JavaCCGlobals.jjtreeGenerated = JavaCCGlobals.isGeneratedBy("JJTree", parserInput);
JavaCCGlobals.toolNames = JavaCCGlobals.getToolNames(parserInput);
Semanticize.start();
new LexGen().start();
}
/**
* Test method for {@link org.javacc.parser.NfaState#ReInit()}.
*/
public void testReInit() {
}
/**
* Test method for {@link org.javacc.parser.NfaState#HasTransitions()}.
*/
public void testHasTransitions() {
}
/**
* Test method for {@link org.javacc.parser.NfaState#ComputeClosures()}.
*/
public void testComputeClosures() {
}
/**
* Test method for {@link org.javacc.parser.NfaState#CanStartNfaUsingAscii(char)}.
*/
public void testCanStartNfaUsingAscii() {
}
/**
* Test method for {@link org.javacc.parser.NfaState#getFirstValidPos(java.lang.String, int, int)}.
*/
public void testGetFirstValidPos() {
}
/**
* Test method for {@link org.javacc.parser.NfaState#MoveFrom(char, java.util.Vector)}.
*/
public void testMoveFrom() {
}
/**
* Test method for {@link org.javacc.parser.NfaState#MoveFromSet(char, java.util.Vector, java.util.Vector)}.
*/
public void testMoveFromSet() {
}
/**
* Test method for {@link org.javacc.parser.NfaState#
* moveFromSetForRegEx(char, org.javacc.parser.NfaState[],
* org.javacc.parser.NfaState[], int)}.
*/
public void testMoveFromSetForRegEx() {
}
/**
* Test method for {@link org.javacc.parser.NfaState#
* GenerateInitMoves(java.io.PrintWriter)}.
*/
public void testGenerateInitMoves() {
}
/**
* Test method for {@link org.javacc.parser.NfaState#
* DumpStateSets(java.io.PrintWriter)}.
*/
public void testDumpStateSets() {
CodeGenerator cg = new CodeGenerator();
NfaState.DumpStateSets(cg);
String result = cg.getGeneratedCode().replaceAll("\r", "");
assertEquals("static final int[] jjnextStates = {\n};\n\n" , result);
}
/**
* Test method for {@link org.javacc.parser.NfaState#
* DumpStateSets(java.io.PrintWriter)}.
*/
public void testDumpStateSetsInitialised() throws Exception {
CodeGenerator cg = new CodeGenerator();
setupState();
NfaState.DumpStateSets(cg);
assertEquals("static final int[] jjnextStates = {\n" +
" 34, 35, 12, 38, 39, 42, 43, 23, 24, 26, 14, 16, 49, 51, 6, 52, \n" +
" 59, 8, 9, 12, 23, 24, 28, 26, 34, 35, 12, 44, 45, 12, 53, 54, \n" +
" 60, 61, 62, 10, 11, 17, 18, 20, 25, 27, 29, 36, 37, 40, 41, 46, \n" +
" 47, 55, 56, 57, 58, 63, 64, \n" +
"};\n" ,
cg.getGeneratedCode().replaceAll("\r", ""));
}
/**
* Test method for {@link org.javacc.parser.NfaState#
* DumpCharAndRangeMoves(java.io.PrintWriter)}.
*/
public void testDumpCharAndRangeMoves() throws Exception {
CodeGenerator cg = new CodeGenerator();
NfaState.DumpCharAndRangeMoves(cg);
String result = cg.getGeneratedCode().replaceAll("\r", "");
assertEquals(
" int i2 = (curChar & 0xff) >> 6;\n" +
" long l2 = 1L << (curChar & 077);\n" +
" do\n" +
" {\n" +
" switch(jjstateSet[--i])\n" +
" {\n" +
" default : break;\n" +
" }\n" +
" } while(i != startsAt);\n\n"
, result);
}
/**
* Test method for {@link org.javacc.parser.NfaState#
* DumpCharAndRangeMoves(java.io.PrintWriter)}.
*/
public void testDumpCharAndRangeMovesInitialised() throws Exception {
CodeGenerator cg = new CodeGenerator();
setupState();
NfaState.DumpCharAndRangeMoves(cg);
assertEquals(
" int hiByte = (int)(curChar >> 8);\n" +
" int i1 = hiByte >> 6;\n" +
" long l1 = 1L << (hiByte & 077);\n" +
" int i2 = (curChar & 0xff) >> 6;\n" +
" long l2 = 1L << (curChar & 077);\n" +
" do\n" +
" {\n" +
" switch(jjstateSet[--i])\n" +
" {\n" +
" default : break;\n" +
" }\n" +
" } while(i != startsAt);\n"
,cg.getGeneratedCode().replaceAll("\r", ""));
}
/**
* Test method for {@link org.javacc.parser.NfaState#
* DumpNonAsciiMoveMethods(java.io.PrintWriter)}.
*/
public void testDumpNonAsciiMoveMethods() {
CodeGenerator cg = new CodeGenerator();
NfaState.DumpNonAsciiMoveMethods(cg);
String result = cg.getGeneratedCode();
assertEquals("", result);
}
/**
* Test method for {@link org.javacc.parser.NfaState#
* DumpNonAsciiMoveMethods(java.io.PrintWriter)}.
*/
public void testDumpNonAsciiMoveMethodsInitialised() throws Exception {
CodeGenerator cg = new CodeGenerator();
setupState();
NfaState.DumpNonAsciiMoveMethods(cg);
assertEquals("private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)\n" +
"{\n" +
" switch(hiByte)\n" +
" {\n" +
" case 0:\n" +
" return ((jjbitVec2[i2] & l2) != 0L);\n" +
" default :\n" +
" if ((jjbitVec0[i1] & l1) != 0L)\n" +
" return true;\n" +
" return false;\n" +
" }\n" +
"}\n" +
"private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)\n" +
"{\n" +
" switch(hiByte)\n" +
" {\n" +
" case 0:\n" +
" return ((jjbitVec4[i2] & l2) != 0L);\n" +
" case 2:\n" +
" return ((jjbitVec5[i2] & l2) != 0L);\n" +
" case 3:\n" +
" return ((jjbitVec6[i2] & l2) != 0L);\n" +
" case 4:\n" +
" return ((jjbitVec7[i2] & l2) != 0L);\n" +
" case 5:\n" +
" return ((jjbitVec8[i2] & l2) != 0L);\n" +
" case 6:\n" +
" return ((jjbitVec9[i2] & l2) != 0L);\n" +
" case 7:\n" +
" return ((jjbitVec10[i2] & l2) != 0L);\n" +
" case 9:\n" +
" return ((jjbitVec11[i2] & l2) != 0L);\n" +
" case 10:\n" +
" return ((jjbitVec12[i2] & l2) != 0L);\n" +
" case 11:\n" +
" return ((jjbitVec13[i2] & l2) != 0L);\n" +
" case 12:\n" +
" return ((jjbitVec14[i2] & l2) != 0L);\n" +
" case 13:\n" +
" return ((jjbitVec15[i2] & l2) != 0L);\n" +
" case 14:\n" +
" return ((jjbitVec16[i2] & l2) != 0L);\n" +
" case 15:\n" +
" return ((jjbitVec17[i2] & l2) != 0L);\n" +
" case 16:\n" +
" return ((jjbitVec18[i2] & l2) != 0L);\n" +
" case 17:\n" +
" return ((jjbitVec19[i2] & l2) != 0L);\n" +
" case 18:\n" +
" return ((jjbitVec20[i2] & l2) != 0L);\n" +
" case 19:\n" +
" return ((jjbitVec21[i2] & l2) != 0L);\n" +
" case 20:\n" +
" return ((jjbitVec0[i2] & l2) != 0L);\n" +
" case 22:\n" +
" return ((jjbitVec22[i2] & l2) != 0L);\n" +
" case 23:\n" +
" return ((jjbitVec23[i2] & l2) != 0L);\n" +
" case 24:\n" +
" return ((jjbitVec24[i2] & l2) != 0L);\n" +
" case 30:\n" +
" return ((jjbitVec25[i2] & l2) != 0L);\n" +
" case 31:\n" +
" return ((jjbitVec26[i2] & l2) != 0L);\n" +
" case 32:\n" +
" return ((jjbitVec27[i2] & l2) != 0L);\n" +
" case 33:\n" +
" return ((jjbitVec28[i2] & l2) != 0L);\n" +
" case 48:\n" +
" return ((jjbitVec29[i2] & l2) != 0L);\n" +
" case 49:\n" +
" return ((jjbitVec30[i2] & l2) != 0L);\n" +
" case 77:\n" +
" return ((jjbitVec31[i2] & l2) != 0L);\n" +
" case 159:\n" +
" return ((jjbitVec32[i2] & l2) != 0L);\n" +
" case 164:\n" +
" return ((jjbitVec33[i2] & l2) != 0L);\n" +
" case 215:\n" +
" return ((jjbitVec34[i2] & l2) != 0L);\n" +
" case 250:\n" +
" return ((jjbitVec35[i2] & l2) != 0L);\n" +
" case 251:\n" +
" return ((jjbitVec36[i2] & l2) != 0L);\n" +
" case 253:\n" +
" return ((jjbitVec37[i2] & l2) != 0L);\n" +
" case 254:\n" +
" return ((jjbitVec38[i2] & l2) != 0L);\n" +
" case 255:\n" +
" return ((jjbitVec39[i2] & l2) != 0L);\n" +
" default :\n" +
" if ((jjbitVec3[i1] & l1) != 0L)\n" +
" return true;\n" +
" return false;\n" +
" }\n" +
"}\n" +
"private static final boolean jjCanMove_2(int hiByte, int i1, int i2, long l1, long l2)\n" +
"{\n" +
" switch(hiByte)\n" +
" {\n" +
" case 0:\n" +
" return ((jjbitVec40[i2] & l2) != 0L);\n" +
" case 2:\n" +
" return ((jjbitVec5[i2] & l2) != 0L);\n" +
" case 3:\n" +
" return ((jjbitVec41[i2] & l2) != 0L);\n" +
" case 4:\n" +
" return ((jjbitVec42[i2] & l2) != 0L);\n" +
" case 5:\n" +
" return ((jjbitVec43[i2] & l2) != 0L);\n" +
" case 6:\n" +
" return ((jjbitVec44[i2] & l2) != 0L);\n" +
" case 7:\n" +
" return ((jjbitVec45[i2] & l2) != 0L);\n" +
" case 9:\n" +
" return ((jjbitVec46[i2] & l2) != 0L);\n" +
" case 10:\n" +
" return ((jjbitVec47[i2] & l2) != 0L);\n" +
" case 11:\n" +
" return ((jjbitVec48[i2] & l2) != 0L);\n" +
" case 12:\n" +
" return ((jjbitVec49[i2] & l2) != 0L);\n" +
" case 13:\n" +
" return ((jjbitVec50[i2] & l2) != 0L);\n" +
" case 14:\n" +
" return ((jjbitVec51[i2] & l2) != 0L);\n" +
" case 15:\n" +
" return ((jjbitVec52[i2] & l2) != 0L);\n" +
" case 16:\n" +
" return ((jjbitVec53[i2] & l2) != 0L);\n" +
" case 17:\n" +
" return ((jjbitVec19[i2] & l2) != 0L);\n" +
" case 18:\n" +
" return ((jjbitVec20[i2] & l2) != 0L);\n" +
" case 19:\n" +
" return ((jjbitVec54[i2] & l2) != 0L);\n" +
" case 20:\n" +
" return ((jjbitVec0[i2] & l2) != 0L);\n" +
" case 22:\n" +
" return ((jjbitVec22[i2] & l2) != 0L);\n" +
" case 23:\n" +
" return ((jjbitVec55[i2] & l2) != 0L);\n" +
" case 24:\n" +
" return ((jjbitVec56[i2] & l2) != 0L);\n" +
" case 30:\n" +
" return ((jjbitVec25[i2] & l2) != 0L);\n" +
" case 31:\n" +
" return ((jjbitVec26[i2] & l2) != 0L);\n" +
" case 32:\n" +
" return ((jjbitVec57[i2] & l2) != 0L);\n" +
" case 33:\n" +
" return ((jjbitVec28[i2] & l2) != 0L);\n" +
" case 48:\n" +
" return ((jjbitVec58[i2] & l2) != 0L);\n" +
" case 49:\n" +
" return ((jjbitVec30[i2] & l2) != 0L);\n" +
" case 77:\n" +
" return ((jjbitVec31[i2] & l2) != 0L);\n" +
" case 159:\n" +
" return ((jjbitVec32[i2] & l2) != 0L);\n" +
" case 164:\n" +
" return ((jjbitVec33[i2] & l2) != 0L);\n" +
" case 215:\n" +
" return ((jjbitVec34[i2] & l2) != 0L);\n" +
" case 250:\n" +
" return ((jjbitVec35[i2] & l2) != 0L);\n" +
" case 251:\n" +
" return ((jjbitVec59[i2] & l2) != 0L);\n" +
" case 253:\n" +
" return ((jjbitVec37[i2] & l2) != 0L);\n" +
" case 254:\n" +
" return ((jjbitVec60[i2] & l2) != 0L);\n" +
" case 255:\n" +
" return ((jjbitVec61[i2] & l2) != 0L);\n" +
" default :\n" +
" if ((jjbitVec3[i1] & l1) != 0L)\n" +
" return true;\n" +
" return false;\n" +
" }\n" +
"}\n", cg.getGeneratedCode().replaceAll("\r", ""));
}
/**
* Test method for {@link org.javacc.parser.NfaState#DumpMoveNfa(java.io.PrintWriter)}.
*/
public void testDumpMoveNfa() {
CodeGenerator cg = new CodeGenerator();
try {
NfaState.DumpMoveNfa(cg);
fail("Should have bombed");
} catch (ArrayIndexOutOfBoundsException e) {
e = null;
}
String result = cg.getGeneratedCode();
assertEquals("", result);
/*
assertEquals("static private final void jjCheckNAdd(int state)\n" +
"{\n" +
" if (jjrounds[state] != jjround)\n" +
" {\n" +
" jjstateSet[jjnewStateCnt++] = state;\n" +
" jjrounds[state] = jjround;\n" +
" }\n" +
"}\n" +
"static private final void jjAddStates(int start, int end)\n" +
"{\n" +
" do {\n" +
" jjstateSet[jjnewStateCnt++] = jjnextStates[start];\n" +
" } while (start++ != end);\n" +
"}\n" +
"static private final void jjCheckNAddTwoStates(int state1, int state2)\n" +
"{\n" +
" jjCheckNAdd(state1);\n" +
" jjCheckNAdd(state2);\n" +
"}\n" +
"static private final void jjCheckNAddStates(int start, int end)\n" +
"{\n" +
" do {\n" +
" jjCheckNAdd(jjnextStates[start]);\n" +
" } while (start++ != end);\n" +
"}\n" +
"static private final void jjCheckNAddStates(int start)\n" +
"{\n" +
" jjCheckNAdd(jjnextStates[start]);\n" +
" jjCheckNAdd(jjnextStates[start + 1]);\n" +
"}\n" +
"", cg.getGeneratedCode());
*/
}
/**
* Test method for {@link org.javacc.parser.NfaState#DumpMoveNfa(java.io.PrintWriter)}.
*/
public void testDumpMoveNfaInitialised() throws Exception {
CodeGenerator cg = new CodeGenerator();
setupState();
NfaState.DumpMoveNfa(cg);
assertEquals("private int jjMoveNfa_3(int startState, int curPos)\n" +
"{\n" +
" return curPos;\n" +
"}\n", cg.getGeneratedCode().replaceAll("\r", ""));
}
/**
* Test method for {@link org.javacc.parser.NfaState#
* DumpStatesForState(java.io.PrintWriter)}.
*/
public void testDumpStatesForState() throws Exception {
CodeGenerator cg = new CodeGenerator();
NfaState.DumpStatesForState(cg);
String result = cg.getGeneratedCode().replaceAll("\r", "");
assertEquals("protected static final int[][][] statesForState = null;\n" , result);
}
/**
* Test method for {@link org.javacc.parser.NfaState#
* DumpStatesForState(java.io.PrintWriter)}.
*/
public void testDumpStatesForStateInitialised() throws Exception {
CodeGenerator cg = new CodeGenerator();
setupState();
NfaState.DumpStatesForState(cg);
String result = cg.getGeneratedCode().replaceAll("\r", "");
assertEquals("protected static final int[][][] statesForState = {\n" +
" {\n" +
" { 0 },\n" +
" { 1 },\n" +
" { 2 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 5 },\n" +
" { 6 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 8 },\n" +
" { 9 },\n" +
" { 10 },\n" +
" { 11 },\n" +
" { 12 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 14 },\n" +
" { 15 },\n" +
" { 16 },\n" +
" { 17 },\n" +
" { 18 },\n" +
" { 19 },\n" +
" { 20 },\n" +
" { 21 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 23 },\n" +
" { 24 },\n" +
" { 25 },\n" +
" { 26 },\n" +
" { 27 },\n" +
" { 28 },\n" +
" { 29 },\n" +
" { 30 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 32 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 34 },\n" +
" { 35 },\n" +
" { 36 },\n" +
" { 37 },\n" +
" { 38 },\n" +
" { 39 },\n" +
" { 40 },\n" +
" { 41 },\n" +
" { 42 },\n" +
" { 43 },\n" +
" { 44 },\n" +
" { 45 },\n" +
" { 46 },\n" +
" { 47 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 49 },\n" +
" { 50 },\n" +
" { 51 },\n" +
" { 52 },\n" +
" { 53 },\n" +
" { 54 },\n" +
" { 55 },\n" +
" { 56 },\n" +
" { 57 },\n" +
" { 58 },\n" +
" { 59 },\n" +
" { 60 },\n" +
" { 61 },\n" +
" { 62 },\n" +
" { 63 },\n" +
" { 64 },\n" +
" },\n" +
" null,\n" +
" {\n" +
" { 0, 2, },\n" +
" { 1 },\n" +
" { 0, 2, },\n" +
" },\n" +
" null,\n" +
" null,\n" +
"\n" +
"};\n\n",result
);
}
/**
* Test method for {@link org.javacc.parser.NfaState#DumpStatesForKind(java.io.PrintWriter)}.
*/
public void testDumpStatesForKind() {
CodeGenerator cg = new CodeGenerator();
NfaState.DumpStatesForKind(cg);
String result = cg.getGeneratedCode().replaceAll("\r", "");
assertEquals("protected static final int[][][] statesForState = null;\n" +
"protected static final int[][] kindForState = null;\n" , result);
}
/**
* Test method for {@link org.javacc.parser.NfaState#DumpStatesForKind(java.io.PrintWriter)}.
*/
public void testDumpStatesForKindInitialised() throws Exception {
CodeGenerator cg = new CodeGenerator();
setupState();
NfaState.DumpStatesForKind(cg);
String result = cg.getGeneratedCode().replaceAll("\r", "");
assertEquals("protected static final int[][][] statesForState = {\n" +
" {\n" +
" { 0 },\n" +
" { 1 },\n" +
" { 2 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 5 },\n" +
" { 6 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 8 },\n" +
" { 9 },\n" +
" { 10 },\n" +
" { 11 },\n" +
" { 12 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 14 },\n" +
" { 15 },\n" +
" { 16 },\n" +
" { 17 },\n" +
" { 18 },\n" +
" { 19 },\n" +
" { 20 },\n" +
" { 21 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 23 },\n" +
" { 24 },\n" +
" { 25 },\n" +
" { 26 },\n" +
" { 27 },\n" +
" { 28 },\n" +
" { 29 },\n" +
" { 30 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 32 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 34 },\n" +
" { 35 },\n" +
" { 36 },\n" +
" { 37 },\n" +
" { 38 },\n" +
" { 39 },\n" +
" { 40 },\n" +
" { 41 },\n" +
" { 42 },\n" +
" { 43 },\n" +
" { 44 },\n" +
" { 45 },\n" +
" { 46 },\n" +
" { 47 },\n" +
" { 3, 4, 7, 13, 22, 31, 33, 48, },\n" +
" { 49 },\n" +
" { 50 },\n" +
" { 51 },\n" +
" { 52 },\n" +
" { 53 },\n" +
" { 54 },\n" +
" { 55 },\n" +
" { 56 },\n" +
" { 57 },\n" +
" { 58 },\n" +
" { 59 },\n" +
" { 60 },\n" +
" { 61 },\n" +
" { 62 },\n" +
" { 63 },\n" +
" { 64 },\n" +
" },\n" +
" null,\n" +
" {\n" +
" { 0, 2, },\n" +
" { 1 },\n" +
" { 0, 2, },\n" +
" },\n" +
" null,\n" +
" null,\n" +
"\n" +
"};\n" +
"protected static final int[][] kindForState = {\n" +
"{ 20, 20, 20, 20, 80, 80, 80, 84, 84, 84, 84, 84, 84, 89,\n" +
" 89, 89, 89, 89, 89, 89, 89, 89, 90, 90, 90, 90, 90, 90, 90,\n" +
" 90, 90, 140, 140, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, 84,\n" +
" 84, 84, 84, 84, 84, 80, 80, 80, 84, 84, 84, 84, 84, 84, 84,\n" +
" 84, 84, 84, 84, 84, 84},\n" +
"null\n" +
",\n" +
"{ 23, 23, 23},\n" +
"null\n,\n" +
"null\n\n" +
"};\n\n", result
);
}
/**
* Test method for {@link org.javacc.parser.NfaState#reInit()}.
*/
public void testReInit1() {
}
}