pickle-jar 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +4 -0
- package/.eslintrc +12 -0
- package/.idea/modules.xml +8 -0
- package/.idea/pickle-jar.iml +12 -0
- package/.idea/vcs.xml +6 -0
- package/LICENSE +21 -0
- package/Makefile +43 -0
- package/README.md +155 -0
- package/gen/GherkinLexer.interp +82 -0
- package/gen/GherkinLexer.java +313 -0
- package/gen/GherkinLexer.tokens +22 -0
- package/grammar.sh +7 -0
- package/jest.config.js +12 -0
- package/nodemon.json +6 -0
- package/package.json +30 -0
- package/src/feature-file-visitor.ts +154 -0
- package/src/get-call-sites.ts +7 -0
- package/src/grammar/GherkinLexer.g4 +29 -0
- package/src/grammar/GherkinLexer.interp +82 -0
- package/src/grammar/GherkinLexer.tokens +22 -0
- package/src/grammar/GherkinLexer.ts +245 -0
- package/src/grammar/GherkinParser.g4 +45 -0
- package/src/grammar/GherkinParser.interp +73 -0
- package/src/grammar/GherkinParser.tokens +22 -0
- package/src/grammar/GherkinParser.ts +1728 -0
- package/src/grammar/GherkinParserVisitor.ts +176 -0
- package/src/grammar/tsconfig.json +9 -0
- package/src/index.ts +3 -0
- package/src/step-definition.ts +6 -0
- package/src/step.ts +1 -0
- package/src/test-runner.ts +34 -0
- package/test/features/ScenarioOutlines.feature +15 -0
- package/test/features/Scenarios.feature +41 -0
- package/test/runner.ts +90 -0
- package/tsconfig.json +47 -0
- package/tsconfig.spec.json +14 -0
- package/typedoc.json +8 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
token literal names:
|
|
2
|
+
null
|
|
3
|
+
null
|
|
4
|
+
null
|
|
5
|
+
null
|
|
6
|
+
null
|
|
7
|
+
null
|
|
8
|
+
null
|
|
9
|
+
null
|
|
10
|
+
null
|
|
11
|
+
null
|
|
12
|
+
null
|
|
13
|
+
null
|
|
14
|
+
null
|
|
15
|
+
'|'
|
|
16
|
+
null
|
|
17
|
+
null
|
|
18
|
+
null
|
|
19
|
+
null
|
|
20
|
+
null
|
|
21
|
+
null
|
|
22
|
+
null
|
|
23
|
+
null
|
|
24
|
+
|
|
25
|
+
token symbolic names:
|
|
26
|
+
null
|
|
27
|
+
FEATURE
|
|
28
|
+
SCENARIO
|
|
29
|
+
SCENARIO_OUTLINE
|
|
30
|
+
GIVEN
|
|
31
|
+
AND_GIVEN
|
|
32
|
+
WHEN
|
|
33
|
+
AND_WHEN
|
|
34
|
+
THEN
|
|
35
|
+
AND
|
|
36
|
+
BUT
|
|
37
|
+
EXAMPLES
|
|
38
|
+
BACKGROUND
|
|
39
|
+
PIPE
|
|
40
|
+
TAG
|
|
41
|
+
COMMENT
|
|
42
|
+
TEXT_CHARACTER
|
|
43
|
+
WS
|
|
44
|
+
WSS
|
|
45
|
+
DOC_STRING_QUOT
|
|
46
|
+
DOC_STRING_TEXT
|
|
47
|
+
DOC_STRING_WS
|
|
48
|
+
|
|
49
|
+
rule names:
|
|
50
|
+
FEATURE
|
|
51
|
+
SCENARIO
|
|
52
|
+
SCENARIO_OUTLINE
|
|
53
|
+
GIVEN
|
|
54
|
+
AND_GIVEN
|
|
55
|
+
WHEN
|
|
56
|
+
AND_WHEN
|
|
57
|
+
THEN
|
|
58
|
+
AND
|
|
59
|
+
BUT
|
|
60
|
+
EXAMPLES
|
|
61
|
+
BACKGROUND
|
|
62
|
+
PIPE
|
|
63
|
+
TAG
|
|
64
|
+
COMMENT
|
|
65
|
+
TEXT_CHARACTER
|
|
66
|
+
WS
|
|
67
|
+
WSS
|
|
68
|
+
DOC_STRING_QUOT
|
|
69
|
+
DOC_STRING_TEXT
|
|
70
|
+
DOC_STRING_WS
|
|
71
|
+
DOC_STRING_QUOT_2
|
|
72
|
+
|
|
73
|
+
channel names:
|
|
74
|
+
DEFAULT_TOKEN_CHANNEL
|
|
75
|
+
HIDDEN
|
|
76
|
+
|
|
77
|
+
mode names:
|
|
78
|
+
DEFAULT_MODE
|
|
79
|
+
DOC_STRING_MODE
|
|
80
|
+
|
|
81
|
+
atn:
|
|
82
|
+
[3, 51485, 51898, 1421, 44986, 20307, 1543, 60043, 49729, 2, 23, 303, 8, 1, 8, 1, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 5, 2, 64, 10, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 83, 10, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 5, 4, 118, 10, 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 130, 10, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 5, 6, 150, 10, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 5, 7, 160, 10, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 5, 8, 178, 10, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 5, 9, 188, 10, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 5, 10, 196, 10, 10, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 5, 11, 204, 10, 11, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 5, 12, 223, 10, 12, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 5, 13, 246, 10, 13, 3, 14, 3, 14, 3, 15, 3, 15, 6, 15, 252, 10, 15, 13, 15, 14, 15, 253, 3, 16, 3, 16, 7, 16, 258, 10, 16, 12, 16, 14, 16, 261, 11, 16, 3, 16, 3, 16, 3, 17, 3, 17, 3, 18, 6, 18, 268, 10, 18, 13, 18, 14, 18, 269, 3, 18, 3, 18, 3, 19, 6, 19, 275, 10, 19, 13, 19, 14, 19, 276, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 6, 21, 288, 10, 21, 13, 21, 14, 21, 289, 3, 22, 6, 22, 293, 10, 22, 13, 22, 14, 22, 294, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 2, 2, 2, 24, 4, 2, 3, 6, 2, 4, 8, 2, 5, 10, 2, 6, 12, 2, 7, 14, 2, 8, 16, 2, 9, 18, 2, 10, 20, 2, 11, 22, 2, 12, 24, 2, 13, 26, 2, 14, 28, 2, 15, 30, 2, 16, 32, 2, 17, 34, 2, 18, 36, 2, 19, 38, 2, 20, 40, 2, 21, 42, 2, 22, 44, 2, 23, 46, 2, 2, 4, 2, 3, 7, 6, 2, 50, 59, 67, 92, 97, 97, 99, 124, 4, 2, 12, 12, 15, 15, 5, 2, 12, 12, 15, 15, 36, 36, 5, 2, 11, 12, 15, 15, 34, 34, 3, 2, 36, 36, 2, 319, 2, 4, 3, 2, 2, 2, 2, 6, 3, 2, 2, 2, 2, 8, 3, 2, 2, 2, 2, 10, 3, 2, 2, 2, 2, 12, 3, 2, 2, 2, 2, 14, 3, 2, 2, 2, 2, 16, 3, 2, 2, 2, 2, 18, 3, 2, 2, 2, 2, 20, 3, 2, 2, 2, 2, 22, 3, 2, 2, 2, 2, 24, 3, 2, 2, 2, 2, 26, 3, 2, 2, 2, 2, 28, 3, 2, 2, 2, 2, 30, 3, 2, 2, 2, 2, 32, 3, 2, 2, 2, 2, 34, 3, 2, 2, 2, 2, 36, 3, 2, 2, 2, 2, 38, 3, 2, 2, 2, 2, 40, 3, 2, 2, 2, 3, 42, 3, 2, 2, 2, 3, 44, 3, 2, 2, 2, 3, 46, 3, 2, 2, 2, 4, 63, 3, 2, 2, 2, 6, 82, 3, 2, 2, 2, 8, 117, 3, 2, 2, 2, 10, 129, 3, 2, 2, 2, 12, 149, 3, 2, 2, 2, 14, 159, 3, 2, 2, 2, 16, 177, 3, 2, 2, 2, 18, 187, 3, 2, 2, 2, 20, 195, 3, 2, 2, 2, 22, 203, 3, 2, 2, 2, 24, 222, 3, 2, 2, 2, 26, 245, 3, 2, 2, 2, 28, 247, 3, 2, 2, 2, 30, 249, 3, 2, 2, 2, 32, 255, 3, 2, 2, 2, 34, 264, 3, 2, 2, 2, 36, 267, 3, 2, 2, 2, 38, 274, 3, 2, 2, 2, 40, 280, 3, 2, 2, 2, 42, 287, 3, 2, 2, 2, 44, 292, 3, 2, 2, 2, 46, 296, 3, 2, 2, 2, 48, 49, 7, 72, 2, 2, 49, 50, 7, 103, 2, 2, 50, 51, 7, 99, 2, 2, 51, 52, 7, 118, 2, 2, 52, 53, 7, 119, 2, 2, 53, 54, 7, 116, 2, 2, 54, 55, 7, 103, 2, 2, 55, 64, 7, 60, 2, 2, 56, 57, 7, 72, 2, 2, 57, 58, 7, 71, 2, 2, 58, 59, 7, 67, 2, 2, 59, 60, 7, 86, 2, 2, 60, 61, 7, 87, 2, 2, 61, 62, 7, 84, 2, 2, 62, 64, 7, 71, 2, 2, 63, 48, 3, 2, 2, 2, 63, 56, 3, 2, 2, 2, 64, 5, 3, 2, 2, 2, 65, 66, 7, 85, 2, 2, 66, 67, 7, 101, 2, 2, 67, 68, 7, 103, 2, 2, 68, 69, 7, 112, 2, 2, 69, 70, 7, 99, 2, 2, 70, 71, 7, 116, 2, 2, 71, 72, 7, 107, 2, 2, 72, 73, 7, 113, 2, 2, 73, 83, 7, 60, 2, 2, 74, 75, 7, 85, 2, 2, 75, 76, 7, 69, 2, 2, 76, 77, 7, 71, 2, 2, 77, 78, 7, 80, 2, 2, 78, 79, 7, 67, 2, 2, 79, 80, 7, 84, 2, 2, 80, 81, 7, 75, 2, 2, 81, 83, 7, 81, 2, 2, 82, 65, 3, 2, 2, 2, 82, 74, 3, 2, 2, 2, 83, 7, 3, 2, 2, 2, 84, 85, 7, 85, 2, 2, 85, 86, 7, 101, 2, 2, 86, 87, 7, 103, 2, 2, 87, 88, 7, 112, 2, 2, 88, 89, 7, 99, 2, 2, 89, 90, 7, 116, 2, 2, 90, 91, 7, 107, 2, 2, 91, 92, 7, 113, 2, 2, 92, 93, 7, 34, 2, 2, 93, 94, 7, 81, 2, 2, 94, 95, 7, 119, 2, 2, 95, 96, 7, 118, 2, 2, 96, 97, 7, 110, 2, 2, 97, 98, 7, 107, 2, 2, 98, 99, 7, 112, 2, 2, 99, 100, 7, 103, 2, 2, 100, 118, 7, 60, 2, 2, 101, 102, 7, 85, 2, 2, 102, 103, 7, 69, 2, 2, 103, 104, 7, 71, 2, 2, 104, 105, 7, 80, 2, 2, 105, 106, 7, 67, 2, 2, 106, 107, 7, 84, 2, 2, 107, 108, 7, 75, 2, 2, 108, 109, 7, 81, 2, 2, 109, 110, 7, 97, 2, 2, 110, 111, 7, 81, 2, 2, 111, 112, 7, 87, 2, 2, 112, 113, 7, 86, 2, 2, 113, 114, 7, 78, 2, 2, 114, 115, 7, 75, 2, 2, 115, 116, 7, 80, 2, 2, 116, 118, 7, 71, 2, 2, 117, 84, 3, 2, 2, 2, 117, 101, 3, 2, 2, 2, 118, 9, 3, 2, 2, 2, 119, 120, 7, 73, 2, 2, 120, 121, 7, 107, 2, 2, 121, 122, 7, 120, 2, 2, 122, 123, 7, 103, 2, 2, 123, 130, 7, 112, 2, 2, 124, 125, 7, 73, 2, 2, 125, 126, 7, 75, 2, 2, 126, 127, 7, 88, 2, 2, 127, 128, 7, 71, 2, 2, 128, 130, 7, 80, 2, 2, 129, 119, 3, 2, 2, 2, 129, 124, 3, 2, 2, 2, 130, 11, 3, 2, 2, 2, 131, 132, 7, 67, 2, 2, 132, 133, 7, 112, 2, 2, 133, 134, 7, 102, 2, 2, 134, 135, 7, 34, 2, 2, 135, 136, 7, 105, 2, 2, 136, 137, 7, 107, 2, 2, 137, 138, 7, 120, 2, 2, 138, 139, 7, 103, 2, 2, 139, 150, 7, 112, 2, 2, 140, 141, 7, 67, 2, 2, 141, 142, 7, 80, 2, 2, 142, 143, 7, 70, 2, 2, 143, 144, 7, 97, 2, 2, 144, 145, 7, 73, 2, 2, 145, 146, 7, 75, 2, 2, 146, 147, 7, 88, 2, 2, 147, 148, 7, 71, 2, 2, 148, 150, 7, 80, 2, 2, 149, 131, 3, 2, 2, 2, 149, 140, 3, 2, 2, 2, 150, 13, 3, 2, 2, 2, 151, 152, 7, 89, 2, 2, 152, 153, 7, 106, 2, 2, 153, 154, 7, 103, 2, 2, 154, 160, 7, 112, 2, 2, 155, 156, 7, 89, 2, 2, 156, 157, 7, 74, 2, 2, 157, 158, 7, 71, 2, 2, 158, 160, 7, 80, 2, 2, 159, 151, 3, 2, 2, 2, 159, 155, 3, 2, 2, 2, 160, 15, 3, 2, 2, 2, 161, 162, 7, 67, 2, 2, 162, 163, 7, 112, 2, 2, 163, 164, 7, 102, 2, 2, 164, 165, 7, 34, 2, 2, 165, 166, 7, 121, 2, 2, 166, 167, 7, 106, 2, 2, 167, 168, 7, 103, 2, 2, 168, 178, 7, 112, 2, 2, 169, 170, 7, 67, 2, 2, 170, 171, 7, 80, 2, 2, 171, 172, 7, 70, 2, 2, 172, 173, 7, 97, 2, 2, 173, 174, 7, 89, 2, 2, 174, 175, 7, 74, 2, 2, 175, 176, 7, 71, 2, 2, 176, 178, 7, 80, 2, 2, 177, 161, 3, 2, 2, 2, 177, 169, 3, 2, 2, 2, 178, 17, 3, 2, 2, 2, 179, 180, 7, 86, 2, 2, 180, 181, 7, 106, 2, 2, 181, 182, 7, 103, 2, 2, 182, 188, 7, 112, 2, 2, 183, 184, 7, 86, 2, 2, 184, 185, 7, 74, 2, 2, 185, 186, 7, 71, 2, 2, 186, 188, 7, 80, 2, 2, 187, 179, 3, 2, 2, 2, 187, 183, 3, 2, 2, 2, 188, 19, 3, 2, 2, 2, 189, 190, 7, 67, 2, 2, 190, 191, 7, 112, 2, 2, 191, 196, 7, 102, 2, 2, 192, 193, 7, 67, 2, 2, 193, 194, 7, 80, 2, 2, 194, 196, 7, 70, 2, 2, 195, 189, 3, 2, 2, 2, 195, 192, 3, 2, 2, 2, 196, 21, 3, 2, 2, 2, 197, 198, 7, 68, 2, 2, 198, 199, 7, 119, 2, 2, 199, 204, 7, 118, 2, 2, 200, 201, 7, 68, 2, 2, 201, 202, 7, 87, 2, 2, 202, 204, 7, 86, 2, 2, 203, 197, 3, 2, 2, 2, 203, 200, 3, 2, 2, 2, 204, 23, 3, 2, 2, 2, 205, 206, 7, 71, 2, 2, 206, 207, 7, 122, 2, 2, 207, 208, 7, 99, 2, 2, 208, 209, 7, 111, 2, 2, 209, 210, 7, 114, 2, 2, 210, 211, 7, 110, 2, 2, 211, 212, 7, 103, 2, 2, 212, 213, 7, 117, 2, 2, 213, 223, 7, 60, 2, 2, 214, 215, 7, 71, 2, 2, 215, 216, 7, 90, 2, 2, 216, 217, 7, 67, 2, 2, 217, 218, 7, 79, 2, 2, 218, 219, 7, 82, 2, 2, 219, 220, 7, 78, 2, 2, 220, 221, 7, 71, 2, 2, 221, 223, 7, 85, 2, 2, 222, 205, 3, 2, 2, 2, 222, 214, 3, 2, 2, 2, 223, 25, 3, 2, 2, 2, 224, 225, 7, 68, 2, 2, 225, 226, 7, 99, 2, 2, 226, 227, 7, 101, 2, 2, 227, 228, 7, 109, 2, 2, 228, 229, 7, 105, 2, 2, 229, 230, 7, 116, 2, 2, 230, 231, 7, 113, 2, 2, 231, 232, 7, 119, 2, 2, 232, 233, 7, 112, 2, 2, 233, 234, 7, 102, 2, 2, 234, 246, 7, 60, 2, 2, 235, 236, 7, 68, 2, 2, 236, 237, 7, 67, 2, 2, 237, 238, 7, 69, 2, 2, 238, 239, 7, 77, 2, 2, 239, 240, 7, 73, 2, 2, 240, 241, 7, 84, 2, 2, 241, 242, 7, 81, 2, 2, 242, 243, 7, 87, 2, 2, 243, 244, 7, 80, 2, 2, 244, 246, 7, 70, 2, 2, 245, 224, 3, 2, 2, 2, 245, 235, 3, 2, 2, 2, 246, 27, 3, 2, 2, 2, 247, 248, 7, 126, 2, 2, 248, 29, 3, 2, 2, 2, 249, 251, 7, 66, 2, 2, 250, 252, 9, 2, 2, 2, 251, 250, 3, 2, 2, 2, 252, 253, 3, 2, 2, 2, 253, 251, 3, 2, 2, 2, 253, 254, 3, 2, 2, 2, 254, 31, 3, 2, 2, 2, 255, 259, 7, 37, 2, 2, 256, 258, 10, 3, 2, 2, 257, 256, 3, 2, 2, 2, 258, 261, 3, 2, 2, 2, 259, 257, 3, 2, 2, 2, 259, 260, 3, 2, 2, 2, 260, 262, 3, 2, 2, 2, 261, 259, 3, 2, 2, 2, 262, 263, 8, 16, 2, 2, 263, 33, 3, 2, 2, 2, 264, 265, 10, 4, 2, 2, 265, 35, 3, 2, 2, 2, 266, 268, 9, 3, 2, 2, 267, 266, 3, 2, 2, 2, 268, 269, 3, 2, 2, 2, 269, 267, 3, 2, 2, 2, 269, 270, 3, 2, 2, 2, 270, 271, 3, 2, 2, 2, 271, 272, 8, 18, 2, 2, 272, 37, 3, 2, 2, 2, 273, 275, 9, 5, 2, 2, 274, 273, 3, 2, 2, 2, 275, 276, 3, 2, 2, 2, 276, 274, 3, 2, 2, 2, 276, 277, 3, 2, 2, 2, 277, 278, 3, 2, 2, 2, 278, 279, 8, 19, 2, 2, 279, 39, 3, 2, 2, 2, 280, 281, 7, 36, 2, 2, 281, 282, 7, 36, 2, 2, 282, 283, 7, 36, 2, 2, 283, 284, 3, 2, 2, 2, 284, 285, 8, 20, 3, 2, 285, 41, 3, 2, 2, 2, 286, 288, 10, 6, 2, 2, 287, 286, 3, 2, 2, 2, 288, 289, 3, 2, 2, 2, 289, 287, 3, 2, 2, 2, 289, 290, 3, 2, 2, 2, 290, 43, 3, 2, 2, 2, 291, 293, 9, 5, 2, 2, 292, 291, 3, 2, 2, 2, 293, 294, 3, 2, 2, 2, 294, 292, 3, 2, 2, 2, 294, 295, 3, 2, 2, 2, 295, 45, 3, 2, 2, 2, 296, 297, 7, 36, 2, 2, 297, 298, 7, 36, 2, 2, 298, 299, 7, 36, 2, 2, 299, 300, 3, 2, 2, 2, 300, 301, 8, 23, 4, 2, 301, 302, 8, 23, 5, 2, 302, 47, 3, 2, 2, 2, 22, 2, 3, 63, 82, 117, 129, 149, 159, 177, 187, 195, 203, 222, 245, 253, 259, 269, 276, 289, 294, 6, 8, 2, 2, 7, 3, 2, 9, 21, 2, 6, 2, 2]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
FEATURE=1
|
|
2
|
+
SCENARIO=2
|
|
3
|
+
SCENARIO_OUTLINE=3
|
|
4
|
+
GIVEN=4
|
|
5
|
+
AND_GIVEN=5
|
|
6
|
+
WHEN=6
|
|
7
|
+
AND_WHEN=7
|
|
8
|
+
THEN=8
|
|
9
|
+
AND=9
|
|
10
|
+
BUT=10
|
|
11
|
+
EXAMPLES=11
|
|
12
|
+
BACKGROUND=12
|
|
13
|
+
PIPE=13
|
|
14
|
+
TAG=14
|
|
15
|
+
COMMENT=15
|
|
16
|
+
TEXT_CHARACTER=16
|
|
17
|
+
WS=17
|
|
18
|
+
WSS=18
|
|
19
|
+
DOC_STRING_QUOT=19
|
|
20
|
+
DOC_STRING_TEXT=20
|
|
21
|
+
DOC_STRING_WS=21
|
|
22
|
+
'|'=13
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// Generated from ./src/grammar/GherkinLexer.g4 by ANTLR 4.9.0-SNAPSHOT
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
import { ATN } from "antlr4ts/atn/ATN";
|
|
6
|
+
import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer";
|
|
7
|
+
import { CharStream } from "antlr4ts/CharStream";
|
|
8
|
+
import { Lexer } from "antlr4ts/Lexer";
|
|
9
|
+
import { LexerATNSimulator } from "antlr4ts/atn/LexerATNSimulator";
|
|
10
|
+
import { NotNull } from "antlr4ts/Decorators";
|
|
11
|
+
import { Override } from "antlr4ts/Decorators";
|
|
12
|
+
import { RuleContext } from "antlr4ts/RuleContext";
|
|
13
|
+
import { Vocabulary } from "antlr4ts/Vocabulary";
|
|
14
|
+
import { VocabularyImpl } from "antlr4ts/VocabularyImpl";
|
|
15
|
+
|
|
16
|
+
import * as Utils from "antlr4ts/misc/Utils";
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export class GherkinLexer extends Lexer {
|
|
20
|
+
public static readonly FEATURE = 1;
|
|
21
|
+
public static readonly SCENARIO = 2;
|
|
22
|
+
public static readonly SCENARIO_OUTLINE = 3;
|
|
23
|
+
public static readonly GIVEN = 4;
|
|
24
|
+
public static readonly AND_GIVEN = 5;
|
|
25
|
+
public static readonly WHEN = 6;
|
|
26
|
+
public static readonly AND_WHEN = 7;
|
|
27
|
+
public static readonly THEN = 8;
|
|
28
|
+
public static readonly AND = 9;
|
|
29
|
+
public static readonly BUT = 10;
|
|
30
|
+
public static readonly EXAMPLES = 11;
|
|
31
|
+
public static readonly BACKGROUND = 12;
|
|
32
|
+
public static readonly PIPE = 13;
|
|
33
|
+
public static readonly TAG = 14;
|
|
34
|
+
public static readonly COMMENT = 15;
|
|
35
|
+
public static readonly TEXT_CHARACTER = 16;
|
|
36
|
+
public static readonly WS = 17;
|
|
37
|
+
public static readonly WSS = 18;
|
|
38
|
+
public static readonly DOC_STRING_QUOT = 19;
|
|
39
|
+
public static readonly DOC_STRING_TEXT = 20;
|
|
40
|
+
public static readonly DOC_STRING_WS = 21;
|
|
41
|
+
public static readonly DOC_STRING_MODE = 1;
|
|
42
|
+
|
|
43
|
+
// tslint:disable:no-trailing-whitespace
|
|
44
|
+
public static readonly channelNames: string[] = [
|
|
45
|
+
"DEFAULT_TOKEN_CHANNEL", "HIDDEN",
|
|
46
|
+
];
|
|
47
|
+
|
|
48
|
+
// tslint:disable:no-trailing-whitespace
|
|
49
|
+
public static readonly modeNames: string[] = [
|
|
50
|
+
"DEFAULT_MODE", "DOC_STRING_MODE",
|
|
51
|
+
];
|
|
52
|
+
|
|
53
|
+
public static readonly ruleNames: string[] = [
|
|
54
|
+
"FEATURE", "SCENARIO", "SCENARIO_OUTLINE", "GIVEN", "AND_GIVEN", "WHEN",
|
|
55
|
+
"AND_WHEN", "THEN", "AND", "BUT", "EXAMPLES", "BACKGROUND", "PIPE", "TAG",
|
|
56
|
+
"COMMENT", "TEXT_CHARACTER", "WS", "WSS", "DOC_STRING_QUOT", "DOC_STRING_TEXT",
|
|
57
|
+
"DOC_STRING_WS", "DOC_STRING_QUOT_2",
|
|
58
|
+
];
|
|
59
|
+
|
|
60
|
+
private static readonly _LITERAL_NAMES: Array<string | undefined> = [
|
|
61
|
+
undefined, undefined, undefined, undefined, undefined, undefined, undefined,
|
|
62
|
+
undefined, undefined, undefined, undefined, undefined, undefined, "'|'",
|
|
63
|
+
];
|
|
64
|
+
private static readonly _SYMBOLIC_NAMES: Array<string | undefined> = [
|
|
65
|
+
undefined, "FEATURE", "SCENARIO", "SCENARIO_OUTLINE", "GIVEN", "AND_GIVEN",
|
|
66
|
+
"WHEN", "AND_WHEN", "THEN", "AND", "BUT", "EXAMPLES", "BACKGROUND", "PIPE",
|
|
67
|
+
"TAG", "COMMENT", "TEXT_CHARACTER", "WS", "WSS", "DOC_STRING_QUOT", "DOC_STRING_TEXT",
|
|
68
|
+
"DOC_STRING_WS",
|
|
69
|
+
];
|
|
70
|
+
public static readonly VOCABULARY: Vocabulary = new VocabularyImpl(GherkinLexer._LITERAL_NAMES, GherkinLexer._SYMBOLIC_NAMES, []);
|
|
71
|
+
|
|
72
|
+
// @Override
|
|
73
|
+
// @NotNull
|
|
74
|
+
public get vocabulary(): Vocabulary {
|
|
75
|
+
return GherkinLexer.VOCABULARY;
|
|
76
|
+
}
|
|
77
|
+
// tslint:enable:no-trailing-whitespace
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
constructor(input: CharStream) {
|
|
81
|
+
super(input);
|
|
82
|
+
this._interp = new LexerATNSimulator(GherkinLexer._ATN, this);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// @Override
|
|
86
|
+
public get grammarFileName(): string { return "GherkinLexer.g4"; }
|
|
87
|
+
|
|
88
|
+
// @Override
|
|
89
|
+
public get ruleNames(): string[] { return GherkinLexer.ruleNames; }
|
|
90
|
+
|
|
91
|
+
// @Override
|
|
92
|
+
public get serializedATN(): string { return GherkinLexer._serializedATN; }
|
|
93
|
+
|
|
94
|
+
// @Override
|
|
95
|
+
public get channelNames(): string[] { return GherkinLexer.channelNames; }
|
|
96
|
+
|
|
97
|
+
// @Override
|
|
98
|
+
public get modeNames(): string[] { return GherkinLexer.modeNames; }
|
|
99
|
+
|
|
100
|
+
public static readonly _serializedATN: string =
|
|
101
|
+
"\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02\x17\u012F\b\x01" +
|
|
102
|
+
"\b\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06" +
|
|
103
|
+
"\t\x06\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f" +
|
|
104
|
+
"\x04\r\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04" +
|
|
105
|
+
"\x12\t\x12\x04\x13\t\x13\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04" +
|
|
106
|
+
"\x17\t\x17\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03" +
|
|
107
|
+
"\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x05\x02@" +
|
|
108
|
+
"\n\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03" +
|
|
109
|
+
"\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03" +
|
|
110
|
+
"\x05\x03S\n\x03\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04" +
|
|
111
|
+
"\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04" +
|
|
112
|
+
"\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04" +
|
|
113
|
+
"\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x05\x04" +
|
|
114
|
+
"v\n\x04\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05" +
|
|
115
|
+
"\x03\x05\x03\x05\x05\x05\x82\n\x05\x03\x06\x03\x06\x03\x06\x03\x06\x03" +
|
|
116
|
+
"\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03" +
|
|
117
|
+
"\x06\x03\x06\x03\x06\x03\x06\x03\x06\x05\x06\x96\n\x06\x03\x07\x03\x07" +
|
|
118
|
+
"\x03\x07\x03\x07\x03\x07\x03\x07\x03\x07\x03\x07\x05\x07\xA0\n\x07\x03" +
|
|
119
|
+
"\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03\b\x03" +
|
|
120
|
+
"\b\x03\b\x03\b\x03\b\x05\b\xB2\n\b\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t" +
|
|
121
|
+
"\x03\t\x03\t\x05\t\xBC\n\t\x03\n\x03\n\x03\n\x03\n\x03\n\x03\n\x05\n\xC4" +
|
|
122
|
+
"\n\n\x03\v\x03\v\x03\v\x03\v\x03\v\x03\v\x05\v\xCC\n\v\x03\f\x03\f\x03" +
|
|
123
|
+
"\f\x03\f\x03\f\x03\f\x03\f\x03\f\x03\f\x03\f\x03\f\x03\f\x03\f\x03\f\x03" +
|
|
124
|
+
"\f\x03\f\x03\f\x05\f\xDF\n\f\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r" +
|
|
125
|
+
"\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03\r\x03" +
|
|
126
|
+
"\r\x03\r\x03\r\x05\r\xF6\n\r\x03\x0E\x03\x0E\x03\x0F\x03\x0F\x06\x0F\xFC" +
|
|
127
|
+
"\n\x0F\r\x0F\x0E\x0F\xFD\x03\x10\x03\x10\x07\x10\u0102\n\x10\f\x10\x0E" +
|
|
128
|
+
"\x10\u0105\v\x10\x03\x10\x03\x10\x03\x11\x03\x11\x03\x12\x06\x12\u010C" +
|
|
129
|
+
"\n\x12\r\x12\x0E\x12\u010D\x03\x12\x03\x12\x03\x13\x06\x13\u0113\n\x13" +
|
|
130
|
+
"\r\x13\x0E\x13\u0114\x03\x13\x03\x13\x03\x14\x03\x14\x03\x14\x03\x14\x03" +
|
|
131
|
+
"\x14\x03\x14\x03\x15\x06\x15\u0120\n\x15\r\x15\x0E\x15\u0121\x03\x16\x06" +
|
|
132
|
+
"\x16\u0125\n\x16\r\x16\x0E\x16\u0126\x03\x17\x03\x17\x03\x17\x03\x17\x03" +
|
|
133
|
+
"\x17\x03\x17\x03\x17\x02\x02\x02\x18\x04\x02\x03\x06\x02\x04\b\x02\x05" +
|
|
134
|
+
"\n\x02\x06\f\x02\x07\x0E\x02\b\x10\x02\t\x12\x02\n\x14\x02\v\x16\x02\f" +
|
|
135
|
+
"\x18\x02\r\x1A\x02\x0E\x1C\x02\x0F\x1E\x02\x10 \x02\x11\"\x02\x12$\x02" +
|
|
136
|
+
"\x13&\x02\x14(\x02\x15*\x02\x16,\x02\x17.\x02\x02\x04\x02\x03\x07\x06" +
|
|
137
|
+
"\x022;C\\aac|\x04\x02\f\f\x0F\x0F\x05\x02\f\f\x0F\x0F$$\x05\x02\v\f\x0F" +
|
|
138
|
+
"\x0F\"\"\x03\x02$$\x02\u013F\x02\x04\x03\x02\x02\x02\x02\x06\x03\x02\x02" +
|
|
139
|
+
"\x02\x02\b\x03\x02\x02\x02\x02\n\x03\x02\x02\x02\x02\f\x03\x02\x02\x02" +
|
|
140
|
+
"\x02\x0E\x03\x02\x02\x02\x02\x10\x03\x02\x02\x02\x02\x12\x03\x02\x02\x02" +
|
|
141
|
+
"\x02\x14\x03\x02\x02\x02\x02\x16\x03\x02\x02\x02\x02\x18\x03\x02\x02\x02" +
|
|
142
|
+
"\x02\x1A\x03\x02\x02\x02\x02\x1C\x03\x02\x02\x02\x02\x1E\x03\x02\x02\x02" +
|
|
143
|
+
"\x02 \x03\x02\x02\x02\x02\"\x03\x02\x02\x02\x02$\x03\x02\x02\x02\x02&" +
|
|
144
|
+
"\x03\x02\x02\x02\x02(\x03\x02\x02\x02\x03*\x03\x02\x02\x02\x03,\x03\x02" +
|
|
145
|
+
"\x02\x02\x03.\x03\x02\x02\x02\x04?\x03\x02\x02\x02\x06R\x03\x02\x02\x02" +
|
|
146
|
+
"\bu\x03\x02\x02\x02\n\x81\x03\x02\x02\x02\f\x95\x03\x02\x02\x02\x0E\x9F" +
|
|
147
|
+
"\x03\x02\x02\x02\x10\xB1\x03\x02\x02\x02\x12\xBB\x03\x02\x02\x02\x14\xC3" +
|
|
148
|
+
"\x03\x02\x02\x02\x16\xCB\x03\x02\x02\x02\x18\xDE\x03\x02\x02\x02\x1A\xF5" +
|
|
149
|
+
"\x03\x02\x02\x02\x1C\xF7\x03\x02\x02\x02\x1E\xF9\x03\x02\x02\x02 \xFF" +
|
|
150
|
+
"\x03\x02\x02\x02\"\u0108\x03\x02\x02\x02$\u010B\x03\x02\x02\x02&\u0112" +
|
|
151
|
+
"\x03\x02\x02\x02(\u0118\x03\x02\x02\x02*\u011F\x03\x02\x02\x02,\u0124" +
|
|
152
|
+
"\x03\x02\x02\x02.\u0128\x03\x02\x02\x0201\x07H\x02\x0212\x07g\x02\x02" +
|
|
153
|
+
"23\x07c\x02\x0234\x07v\x02\x0245\x07w\x02\x0256\x07t\x02\x0267\x07g\x02" +
|
|
154
|
+
"\x027@\x07<\x02\x0289\x07H\x02\x029:\x07G\x02\x02:;\x07C\x02\x02;<\x07" +
|
|
155
|
+
"V\x02\x02<=\x07W\x02\x02=>\x07T\x02\x02>@\x07G\x02\x02?0\x03\x02\x02\x02" +
|
|
156
|
+
"?8\x03\x02\x02\x02@\x05\x03\x02\x02\x02AB\x07U\x02\x02BC\x07e\x02\x02" +
|
|
157
|
+
"CD\x07g\x02\x02DE\x07p\x02\x02EF\x07c\x02\x02FG\x07t\x02\x02GH\x07k\x02" +
|
|
158
|
+
"\x02HI\x07q\x02\x02IS\x07<\x02\x02JK\x07U\x02\x02KL\x07E\x02\x02LM\x07" +
|
|
159
|
+
"G\x02\x02MN\x07P\x02\x02NO\x07C\x02\x02OP\x07T\x02\x02PQ\x07K\x02\x02" +
|
|
160
|
+
"QS\x07Q\x02\x02RA\x03\x02\x02\x02RJ\x03\x02\x02\x02S\x07\x03\x02\x02\x02" +
|
|
161
|
+
"TU\x07U\x02\x02UV\x07e\x02\x02VW\x07g\x02\x02WX\x07p\x02\x02XY\x07c\x02" +
|
|
162
|
+
"\x02YZ\x07t\x02\x02Z[\x07k\x02\x02[\\\x07q\x02\x02\\]\x07\"\x02\x02]^" +
|
|
163
|
+
"\x07Q\x02\x02^_\x07w\x02\x02_`\x07v\x02\x02`a\x07n\x02\x02ab\x07k\x02" +
|
|
164
|
+
"\x02bc\x07p\x02\x02cd\x07g\x02\x02dv\x07<\x02\x02ef\x07U\x02\x02fg\x07" +
|
|
165
|
+
"E\x02\x02gh\x07G\x02\x02hi\x07P\x02\x02ij\x07C\x02\x02jk\x07T\x02\x02" +
|
|
166
|
+
"kl\x07K\x02\x02lm\x07Q\x02\x02mn\x07a\x02\x02no\x07Q\x02\x02op\x07W\x02" +
|
|
167
|
+
"\x02pq\x07V\x02\x02qr\x07N\x02\x02rs\x07K\x02\x02st\x07P\x02\x02tv\x07" +
|
|
168
|
+
"G\x02\x02uT\x03\x02\x02\x02ue\x03\x02\x02\x02v\t\x03\x02\x02\x02wx\x07" +
|
|
169
|
+
"I\x02\x02xy\x07k\x02\x02yz\x07x\x02\x02z{\x07g\x02\x02{\x82\x07p\x02\x02" +
|
|
170
|
+
"|}\x07I\x02\x02}~\x07K\x02\x02~\x7F\x07X\x02\x02\x7F\x80\x07G\x02\x02" +
|
|
171
|
+
"\x80\x82\x07P\x02\x02\x81w\x03\x02\x02\x02\x81|\x03\x02\x02\x02\x82\v" +
|
|
172
|
+
"\x03\x02\x02\x02\x83\x84\x07C\x02\x02\x84\x85\x07p\x02\x02\x85\x86\x07" +
|
|
173
|
+
"f\x02\x02\x86\x87\x07\"\x02\x02\x87\x88\x07i\x02\x02\x88\x89\x07k\x02" +
|
|
174
|
+
"\x02\x89\x8A\x07x\x02\x02\x8A\x8B\x07g\x02\x02\x8B\x96\x07p\x02\x02\x8C" +
|
|
175
|
+
"\x8D\x07C\x02\x02\x8D\x8E\x07P\x02\x02\x8E\x8F\x07F\x02\x02\x8F\x90\x07" +
|
|
176
|
+
"a\x02\x02\x90\x91\x07I\x02\x02\x91\x92\x07K\x02\x02\x92\x93\x07X\x02\x02" +
|
|
177
|
+
"\x93\x94\x07G\x02\x02\x94\x96\x07P\x02\x02\x95\x83\x03\x02\x02\x02\x95" +
|
|
178
|
+
"\x8C\x03\x02\x02\x02\x96\r\x03\x02\x02\x02\x97\x98\x07Y\x02\x02\x98\x99" +
|
|
179
|
+
"\x07j\x02\x02\x99\x9A\x07g\x02\x02\x9A\xA0\x07p\x02\x02\x9B\x9C\x07Y\x02" +
|
|
180
|
+
"\x02\x9C\x9D\x07J\x02\x02\x9D\x9E\x07G\x02\x02\x9E\xA0\x07P\x02\x02\x9F" +
|
|
181
|
+
"\x97\x03\x02\x02\x02\x9F\x9B\x03\x02\x02\x02\xA0\x0F\x03\x02\x02\x02\xA1" +
|
|
182
|
+
"\xA2\x07C\x02\x02\xA2\xA3\x07p\x02\x02\xA3\xA4\x07f\x02\x02\xA4\xA5\x07" +
|
|
183
|
+
"\"\x02\x02\xA5\xA6\x07y\x02\x02\xA6\xA7\x07j\x02\x02\xA7\xA8\x07g\x02" +
|
|
184
|
+
"\x02\xA8\xB2\x07p\x02\x02\xA9\xAA\x07C\x02\x02\xAA\xAB\x07P\x02\x02\xAB" +
|
|
185
|
+
"\xAC\x07F\x02\x02\xAC\xAD\x07a\x02\x02\xAD\xAE\x07Y\x02\x02\xAE\xAF\x07" +
|
|
186
|
+
"J\x02\x02\xAF\xB0\x07G\x02\x02\xB0\xB2\x07P\x02\x02\xB1\xA1\x03\x02\x02" +
|
|
187
|
+
"\x02\xB1\xA9\x03\x02\x02\x02\xB2\x11\x03\x02\x02\x02\xB3\xB4\x07V\x02" +
|
|
188
|
+
"\x02\xB4\xB5\x07j\x02\x02\xB5\xB6\x07g\x02\x02\xB6\xBC\x07p\x02\x02\xB7" +
|
|
189
|
+
"\xB8\x07V\x02\x02\xB8\xB9\x07J\x02\x02\xB9\xBA\x07G\x02\x02\xBA\xBC\x07" +
|
|
190
|
+
"P\x02\x02\xBB\xB3\x03\x02\x02\x02\xBB\xB7\x03\x02\x02\x02\xBC\x13\x03" +
|
|
191
|
+
"\x02\x02\x02\xBD\xBE\x07C\x02\x02\xBE\xBF\x07p\x02\x02\xBF\xC4\x07f\x02" +
|
|
192
|
+
"\x02\xC0\xC1\x07C\x02\x02\xC1\xC2\x07P\x02\x02\xC2\xC4\x07F\x02\x02\xC3" +
|
|
193
|
+
"\xBD\x03\x02\x02\x02\xC3\xC0\x03\x02\x02\x02\xC4\x15\x03\x02\x02\x02\xC5" +
|
|
194
|
+
"\xC6\x07D\x02\x02\xC6\xC7\x07w\x02\x02\xC7\xCC\x07v\x02\x02\xC8\xC9\x07" +
|
|
195
|
+
"D\x02\x02\xC9\xCA\x07W\x02\x02\xCA\xCC\x07V\x02\x02\xCB\xC5\x03\x02\x02" +
|
|
196
|
+
"\x02\xCB\xC8\x03\x02\x02\x02\xCC\x17\x03\x02\x02\x02\xCD\xCE\x07G\x02" +
|
|
197
|
+
"\x02\xCE\xCF\x07z\x02\x02\xCF\xD0\x07c\x02\x02\xD0\xD1\x07o\x02\x02\xD1" +
|
|
198
|
+
"\xD2\x07r\x02\x02\xD2\xD3\x07n\x02\x02\xD3\xD4\x07g\x02\x02\xD4\xD5\x07" +
|
|
199
|
+
"u\x02\x02\xD5\xDF\x07<\x02\x02\xD6\xD7\x07G\x02\x02\xD7\xD8\x07Z\x02\x02" +
|
|
200
|
+
"\xD8\xD9\x07C\x02\x02\xD9\xDA\x07O\x02\x02\xDA\xDB\x07R\x02\x02\xDB\xDC" +
|
|
201
|
+
"\x07N\x02\x02\xDC\xDD\x07G\x02\x02\xDD\xDF\x07U\x02\x02\xDE\xCD\x03\x02" +
|
|
202
|
+
"\x02\x02\xDE\xD6\x03\x02\x02\x02\xDF\x19\x03\x02\x02\x02\xE0\xE1\x07D" +
|
|
203
|
+
"\x02\x02\xE1\xE2\x07c\x02\x02\xE2\xE3\x07e\x02\x02\xE3\xE4\x07m\x02\x02" +
|
|
204
|
+
"\xE4\xE5\x07i\x02\x02\xE5\xE6\x07t\x02\x02\xE6\xE7\x07q\x02\x02\xE7\xE8" +
|
|
205
|
+
"\x07w\x02\x02\xE8\xE9\x07p\x02\x02\xE9\xEA\x07f\x02\x02\xEA\xF6\x07<\x02" +
|
|
206
|
+
"\x02\xEB\xEC\x07D\x02\x02\xEC\xED\x07C\x02\x02\xED\xEE\x07E\x02\x02\xEE" +
|
|
207
|
+
"\xEF\x07M\x02\x02\xEF\xF0\x07I\x02\x02\xF0\xF1\x07T\x02\x02\xF1\xF2\x07" +
|
|
208
|
+
"Q\x02\x02\xF2\xF3\x07W\x02\x02\xF3\xF4\x07P\x02\x02\xF4\xF6\x07F\x02\x02" +
|
|
209
|
+
"\xF5\xE0\x03\x02\x02\x02\xF5\xEB\x03\x02\x02\x02\xF6\x1B\x03\x02\x02\x02" +
|
|
210
|
+
"\xF7\xF8\x07~\x02\x02\xF8\x1D\x03\x02\x02\x02\xF9\xFB\x07B\x02\x02\xFA" +
|
|
211
|
+
"\xFC\t\x02\x02\x02\xFB\xFA\x03\x02\x02\x02\xFC\xFD\x03\x02\x02\x02\xFD" +
|
|
212
|
+
"\xFB\x03\x02\x02\x02\xFD\xFE\x03\x02\x02\x02\xFE\x1F\x03\x02\x02\x02\xFF" +
|
|
213
|
+
"\u0103\x07%\x02\x02\u0100\u0102\n\x03\x02\x02\u0101\u0100\x03\x02\x02" +
|
|
214
|
+
"\x02\u0102\u0105\x03\x02\x02\x02\u0103\u0101\x03\x02\x02\x02\u0103\u0104" +
|
|
215
|
+
"\x03\x02\x02\x02\u0104\u0106\x03\x02\x02\x02\u0105\u0103\x03\x02\x02\x02" +
|
|
216
|
+
"\u0106\u0107\b\x10\x02\x02\u0107!\x03\x02\x02\x02\u0108\u0109\n\x04\x02" +
|
|
217
|
+
"\x02\u0109#\x03\x02\x02\x02\u010A\u010C\t\x03\x02\x02\u010B\u010A\x03" +
|
|
218
|
+
"\x02\x02\x02\u010C\u010D\x03\x02\x02\x02\u010D\u010B\x03\x02\x02\x02\u010D" +
|
|
219
|
+
"\u010E\x03\x02\x02\x02\u010E\u010F\x03\x02\x02\x02\u010F\u0110\b\x12\x02" +
|
|
220
|
+
"\x02\u0110%\x03\x02\x02\x02\u0111\u0113\t\x05\x02\x02\u0112\u0111\x03" +
|
|
221
|
+
"\x02\x02\x02\u0113\u0114\x03\x02\x02\x02\u0114\u0112\x03\x02\x02\x02\u0114" +
|
|
222
|
+
"\u0115\x03\x02\x02\x02\u0115\u0116\x03\x02\x02\x02\u0116\u0117\b\x13\x02" +
|
|
223
|
+
"\x02\u0117\'\x03\x02\x02\x02\u0118\u0119\x07$\x02\x02\u0119\u011A\x07" +
|
|
224
|
+
"$\x02\x02\u011A\u011B\x07$\x02\x02\u011B\u011C\x03\x02\x02\x02\u011C\u011D" +
|
|
225
|
+
"\b\x14\x03\x02\u011D)\x03\x02\x02\x02\u011E\u0120\n\x06\x02\x02\u011F" +
|
|
226
|
+
"\u011E\x03\x02\x02\x02\u0120\u0121\x03\x02\x02\x02\u0121\u011F\x03\x02" +
|
|
227
|
+
"\x02\x02\u0121\u0122\x03\x02\x02\x02\u0122+\x03\x02\x02\x02\u0123\u0125" +
|
|
228
|
+
"\t\x05\x02\x02\u0124\u0123\x03\x02\x02\x02\u0125\u0126\x03\x02\x02\x02" +
|
|
229
|
+
"\u0126\u0124\x03\x02\x02\x02\u0126\u0127\x03\x02\x02\x02\u0127-\x03\x02" +
|
|
230
|
+
"\x02\x02\u0128\u0129\x07$\x02\x02\u0129\u012A\x07$\x02\x02\u012A\u012B" +
|
|
231
|
+
"\x07$\x02\x02\u012B\u012C\x03\x02\x02\x02\u012C\u012D\b\x17\x04\x02\u012D" +
|
|
232
|
+
"\u012E\b\x17\x05\x02\u012E/\x03\x02\x02\x02\x16\x02\x03?Ru\x81\x95\x9F" +
|
|
233
|
+
"\xB1\xBB\xC3\xCB\xDE\xF5\xFD\u0103\u010D\u0114\u0121\u0126\x06\b\x02\x02" +
|
|
234
|
+
"\x07\x03\x02\t\x15\x02\x06\x02\x02";
|
|
235
|
+
public static __ATN: ATN;
|
|
236
|
+
public static get _ATN(): ATN {
|
|
237
|
+
if (!GherkinLexer.__ATN) {
|
|
238
|
+
GherkinLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(GherkinLexer._serializedATN));
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
return GherkinLexer.__ATN;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
}
|
|
245
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
parser grammar GherkinParser;
|
|
2
|
+
|
|
3
|
+
options {
|
|
4
|
+
tokenVocab=GherkinLexer;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
featureFile: feature*;
|
|
8
|
+
|
|
9
|
+
feature: FEATURE contentText (background)? (scenario | scenarioOutline)*;
|
|
10
|
+
|
|
11
|
+
background: BACKGROUND contentText step;
|
|
12
|
+
|
|
13
|
+
scenario: SCENARIO contentText step (tags)?;
|
|
14
|
+
|
|
15
|
+
scenarioOutline: SCENARIO_OUTLINE contentText step examplesBlock (tags)?;
|
|
16
|
+
|
|
17
|
+
examplesBlock: EXAMPLES tableHeader tableRow+;
|
|
18
|
+
|
|
19
|
+
tableHeader: tableRow;
|
|
20
|
+
|
|
21
|
+
tableRow: PIPE cell+ (PIPE cell+)* PIPE;
|
|
22
|
+
|
|
23
|
+
cell: contentText;
|
|
24
|
+
|
|
25
|
+
step: givenStep andGivenStep* whenStep andWhenStep* thenStep andStep* butStep*;
|
|
26
|
+
|
|
27
|
+
givenStep: GIVEN contentText (tags)? docString?;
|
|
28
|
+
|
|
29
|
+
andGivenStep: AND_GIVEN contentText (tags)? docString?;
|
|
30
|
+
|
|
31
|
+
whenStep: WHEN contentText (tags)? docString?;
|
|
32
|
+
|
|
33
|
+
andWhenStep: AND_WHEN contentText (tags)? docString?;
|
|
34
|
+
|
|
35
|
+
thenStep: THEN contentText (tags)? docString?;
|
|
36
|
+
|
|
37
|
+
andStep: AND contentText (tags)? docString?;
|
|
38
|
+
|
|
39
|
+
butStep: BUT contentText (tags)? docString?;
|
|
40
|
+
|
|
41
|
+
docString: DOC_STRING_QUOT DOC_STRING_TEXT? DOC_STRING_QUOT;
|
|
42
|
+
|
|
43
|
+
tags: TAG+;
|
|
44
|
+
|
|
45
|
+
contentText: TEXT_CHARACTER+;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
token literal names:
|
|
2
|
+
null
|
|
3
|
+
null
|
|
4
|
+
null
|
|
5
|
+
null
|
|
6
|
+
null
|
|
7
|
+
null
|
|
8
|
+
null
|
|
9
|
+
null
|
|
10
|
+
null
|
|
11
|
+
null
|
|
12
|
+
null
|
|
13
|
+
null
|
|
14
|
+
null
|
|
15
|
+
'|'
|
|
16
|
+
null
|
|
17
|
+
null
|
|
18
|
+
null
|
|
19
|
+
null
|
|
20
|
+
null
|
|
21
|
+
null
|
|
22
|
+
null
|
|
23
|
+
null
|
|
24
|
+
|
|
25
|
+
token symbolic names:
|
|
26
|
+
null
|
|
27
|
+
FEATURE
|
|
28
|
+
SCENARIO
|
|
29
|
+
SCENARIO_OUTLINE
|
|
30
|
+
GIVEN
|
|
31
|
+
AND_GIVEN
|
|
32
|
+
WHEN
|
|
33
|
+
AND_WHEN
|
|
34
|
+
THEN
|
|
35
|
+
AND
|
|
36
|
+
BUT
|
|
37
|
+
EXAMPLES
|
|
38
|
+
BACKGROUND
|
|
39
|
+
PIPE
|
|
40
|
+
TAG
|
|
41
|
+
COMMENT
|
|
42
|
+
TEXT_CHARACTER
|
|
43
|
+
WS
|
|
44
|
+
WSS
|
|
45
|
+
DOC_STRING_QUOT
|
|
46
|
+
DOC_STRING_TEXT
|
|
47
|
+
DOC_STRING_WS
|
|
48
|
+
|
|
49
|
+
rule names:
|
|
50
|
+
featureFile
|
|
51
|
+
feature
|
|
52
|
+
background
|
|
53
|
+
scenario
|
|
54
|
+
scenarioOutline
|
|
55
|
+
examplesBlock
|
|
56
|
+
tableHeader
|
|
57
|
+
tableRow
|
|
58
|
+
cell
|
|
59
|
+
step
|
|
60
|
+
givenStep
|
|
61
|
+
andGivenStep
|
|
62
|
+
whenStep
|
|
63
|
+
andWhenStep
|
|
64
|
+
thenStep
|
|
65
|
+
andStep
|
|
66
|
+
butStep
|
|
67
|
+
docString
|
|
68
|
+
tags
|
|
69
|
+
contentText
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
atn:
|
|
73
|
+
[3, 51485, 51898, 1421, 44986, 20307, 1543, 60043, 49729, 3, 23, 207, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 3, 2, 7, 2, 44, 10, 2, 12, 2, 14, 2, 47, 11, 2, 3, 3, 3, 3, 3, 3, 5, 3, 52, 10, 3, 3, 3, 3, 3, 7, 3, 56, 10, 3, 12, 3, 14, 3, 59, 11, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 69, 10, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 5, 6, 76, 10, 6, 3, 7, 3, 7, 3, 7, 6, 7, 81, 10, 7, 13, 7, 14, 7, 82, 3, 8, 3, 8, 3, 9, 3, 9, 6, 9, 89, 10, 9, 13, 9, 14, 9, 90, 3, 9, 3, 9, 6, 9, 95, 10, 9, 13, 9, 14, 9, 96, 7, 9, 99, 10, 9, 12, 9, 14, 9, 102, 11, 9, 3, 9, 3, 9, 3, 10, 3, 10, 3, 11, 3, 11, 7, 11, 110, 10, 11, 12, 11, 14, 11, 113, 11, 11, 3, 11, 3, 11, 7, 11, 117, 10, 11, 12, 11, 14, 11, 120, 11, 11, 3, 11, 3, 11, 7, 11, 124, 10, 11, 12, 11, 14, 11, 127, 11, 11, 3, 11, 7, 11, 130, 10, 11, 12, 11, 14, 11, 133, 11, 11, 3, 12, 3, 12, 3, 12, 5, 12, 138, 10, 12, 3, 12, 5, 12, 141, 10, 12, 3, 13, 3, 13, 3, 13, 5, 13, 146, 10, 13, 3, 13, 5, 13, 149, 10, 13, 3, 14, 3, 14, 3, 14, 5, 14, 154, 10, 14, 3, 14, 5, 14, 157, 10, 14, 3, 15, 3, 15, 3, 15, 5, 15, 162, 10, 15, 3, 15, 5, 15, 165, 10, 15, 3, 16, 3, 16, 3, 16, 5, 16, 170, 10, 16, 3, 16, 5, 16, 173, 10, 16, 3, 17, 3, 17, 3, 17, 5, 17, 178, 10, 17, 3, 17, 5, 17, 181, 10, 17, 3, 18, 3, 18, 3, 18, 5, 18, 186, 10, 18, 3, 18, 5, 18, 189, 10, 18, 3, 19, 3, 19, 5, 19, 193, 10, 19, 3, 19, 3, 19, 3, 20, 6, 20, 198, 10, 20, 13, 20, 14, 20, 199, 3, 21, 6, 21, 203, 10, 21, 13, 21, 14, 21, 204, 3, 21, 2, 2, 2, 22, 2, 2, 4, 2, 6, 2, 8, 2, 10, 2, 12, 2, 14, 2, 16, 2, 18, 2, 20, 2, 22, 2, 24, 2, 26, 2, 28, 2, 30, 2, 32, 2, 34, 2, 36, 2, 38, 2, 40, 2, 2, 2, 2, 217, 2, 45, 3, 2, 2, 2, 4, 48, 3, 2, 2, 2, 6, 60, 3, 2, 2, 2, 8, 64, 3, 2, 2, 2, 10, 70, 3, 2, 2, 2, 12, 77, 3, 2, 2, 2, 14, 84, 3, 2, 2, 2, 16, 86, 3, 2, 2, 2, 18, 105, 3, 2, 2, 2, 20, 107, 3, 2, 2, 2, 22, 134, 3, 2, 2, 2, 24, 142, 3, 2, 2, 2, 26, 150, 3, 2, 2, 2, 28, 158, 3, 2, 2, 2, 30, 166, 3, 2, 2, 2, 32, 174, 3, 2, 2, 2, 34, 182, 3, 2, 2, 2, 36, 190, 3, 2, 2, 2, 38, 197, 3, 2, 2, 2, 40, 202, 3, 2, 2, 2, 42, 44, 5, 4, 3, 2, 43, 42, 3, 2, 2, 2, 44, 47, 3, 2, 2, 2, 45, 43, 3, 2, 2, 2, 45, 46, 3, 2, 2, 2, 46, 3, 3, 2, 2, 2, 47, 45, 3, 2, 2, 2, 48, 49, 7, 3, 2, 2, 49, 51, 5, 40, 21, 2, 50, 52, 5, 6, 4, 2, 51, 50, 3, 2, 2, 2, 51, 52, 3, 2, 2, 2, 52, 57, 3, 2, 2, 2, 53, 56, 5, 8, 5, 2, 54, 56, 5, 10, 6, 2, 55, 53, 3, 2, 2, 2, 55, 54, 3, 2, 2, 2, 56, 59, 3, 2, 2, 2, 57, 55, 3, 2, 2, 2, 57, 58, 3, 2, 2, 2, 58, 5, 3, 2, 2, 2, 59, 57, 3, 2, 2, 2, 60, 61, 7, 14, 2, 2, 61, 62, 5, 40, 21, 2, 62, 63, 5, 20, 11, 2, 63, 7, 3, 2, 2, 2, 64, 65, 7, 4, 2, 2, 65, 66, 5, 40, 21, 2, 66, 68, 5, 20, 11, 2, 67, 69, 5, 38, 20, 2, 68, 67, 3, 2, 2, 2, 68, 69, 3, 2, 2, 2, 69, 9, 3, 2, 2, 2, 70, 71, 7, 5, 2, 2, 71, 72, 5, 40, 21, 2, 72, 73, 5, 20, 11, 2, 73, 75, 5, 12, 7, 2, 74, 76, 5, 38, 20, 2, 75, 74, 3, 2, 2, 2, 75, 76, 3, 2, 2, 2, 76, 11, 3, 2, 2, 2, 77, 78, 7, 13, 2, 2, 78, 80, 5, 14, 8, 2, 79, 81, 5, 16, 9, 2, 80, 79, 3, 2, 2, 2, 81, 82, 3, 2, 2, 2, 82, 80, 3, 2, 2, 2, 82, 83, 3, 2, 2, 2, 83, 13, 3, 2, 2, 2, 84, 85, 5, 16, 9, 2, 85, 15, 3, 2, 2, 2, 86, 88, 7, 15, 2, 2, 87, 89, 5, 18, 10, 2, 88, 87, 3, 2, 2, 2, 89, 90, 3, 2, 2, 2, 90, 88, 3, 2, 2, 2, 90, 91, 3, 2, 2, 2, 91, 100, 3, 2, 2, 2, 92, 94, 7, 15, 2, 2, 93, 95, 5, 18, 10, 2, 94, 93, 3, 2, 2, 2, 95, 96, 3, 2, 2, 2, 96, 94, 3, 2, 2, 2, 96, 97, 3, 2, 2, 2, 97, 99, 3, 2, 2, 2, 98, 92, 3, 2, 2, 2, 99, 102, 3, 2, 2, 2, 100, 98, 3, 2, 2, 2, 100, 101, 3, 2, 2, 2, 101, 103, 3, 2, 2, 2, 102, 100, 3, 2, 2, 2, 103, 104, 7, 15, 2, 2, 104, 17, 3, 2, 2, 2, 105, 106, 5, 40, 21, 2, 106, 19, 3, 2, 2, 2, 107, 111, 5, 22, 12, 2, 108, 110, 5, 24, 13, 2, 109, 108, 3, 2, 2, 2, 110, 113, 3, 2, 2, 2, 111, 109, 3, 2, 2, 2, 111, 112, 3, 2, 2, 2, 112, 114, 3, 2, 2, 2, 113, 111, 3, 2, 2, 2, 114, 118, 5, 26, 14, 2, 115, 117, 5, 28, 15, 2, 116, 115, 3, 2, 2, 2, 117, 120, 3, 2, 2, 2, 118, 116, 3, 2, 2, 2, 118, 119, 3, 2, 2, 2, 119, 121, 3, 2, 2, 2, 120, 118, 3, 2, 2, 2, 121, 125, 5, 30, 16, 2, 122, 124, 5, 32, 17, 2, 123, 122, 3, 2, 2, 2, 124, 127, 3, 2, 2, 2, 125, 123, 3, 2, 2, 2, 125, 126, 3, 2, 2, 2, 126, 131, 3, 2, 2, 2, 127, 125, 3, 2, 2, 2, 128, 130, 5, 34, 18, 2, 129, 128, 3, 2, 2, 2, 130, 133, 3, 2, 2, 2, 131, 129, 3, 2, 2, 2, 131, 132, 3, 2, 2, 2, 132, 21, 3, 2, 2, 2, 133, 131, 3, 2, 2, 2, 134, 135, 7, 6, 2, 2, 135, 137, 5, 40, 21, 2, 136, 138, 5, 38, 20, 2, 137, 136, 3, 2, 2, 2, 137, 138, 3, 2, 2, 2, 138, 140, 3, 2, 2, 2, 139, 141, 5, 36, 19, 2, 140, 139, 3, 2, 2, 2, 140, 141, 3, 2, 2, 2, 141, 23, 3, 2, 2, 2, 142, 143, 7, 7, 2, 2, 143, 145, 5, 40, 21, 2, 144, 146, 5, 38, 20, 2, 145, 144, 3, 2, 2, 2, 145, 146, 3, 2, 2, 2, 146, 148, 3, 2, 2, 2, 147, 149, 5, 36, 19, 2, 148, 147, 3, 2, 2, 2, 148, 149, 3, 2, 2, 2, 149, 25, 3, 2, 2, 2, 150, 151, 7, 8, 2, 2, 151, 153, 5, 40, 21, 2, 152, 154, 5, 38, 20, 2, 153, 152, 3, 2, 2, 2, 153, 154, 3, 2, 2, 2, 154, 156, 3, 2, 2, 2, 155, 157, 5, 36, 19, 2, 156, 155, 3, 2, 2, 2, 156, 157, 3, 2, 2, 2, 157, 27, 3, 2, 2, 2, 158, 159, 7, 9, 2, 2, 159, 161, 5, 40, 21, 2, 160, 162, 5, 38, 20, 2, 161, 160, 3, 2, 2, 2, 161, 162, 3, 2, 2, 2, 162, 164, 3, 2, 2, 2, 163, 165, 5, 36, 19, 2, 164, 163, 3, 2, 2, 2, 164, 165, 3, 2, 2, 2, 165, 29, 3, 2, 2, 2, 166, 167, 7, 10, 2, 2, 167, 169, 5, 40, 21, 2, 168, 170, 5, 38, 20, 2, 169, 168, 3, 2, 2, 2, 169, 170, 3, 2, 2, 2, 170, 172, 3, 2, 2, 2, 171, 173, 5, 36, 19, 2, 172, 171, 3, 2, 2, 2, 172, 173, 3, 2, 2, 2, 173, 31, 3, 2, 2, 2, 174, 175, 7, 11, 2, 2, 175, 177, 5, 40, 21, 2, 176, 178, 5, 38, 20, 2, 177, 176, 3, 2, 2, 2, 177, 178, 3, 2, 2, 2, 178, 180, 3, 2, 2, 2, 179, 181, 5, 36, 19, 2, 180, 179, 3, 2, 2, 2, 180, 181, 3, 2, 2, 2, 181, 33, 3, 2, 2, 2, 182, 183, 7, 12, 2, 2, 183, 185, 5, 40, 21, 2, 184, 186, 5, 38, 20, 2, 185, 184, 3, 2, 2, 2, 185, 186, 3, 2, 2, 2, 186, 188, 3, 2, 2, 2, 187, 189, 5, 36, 19, 2, 188, 187, 3, 2, 2, 2, 188, 189, 3, 2, 2, 2, 189, 35, 3, 2, 2, 2, 190, 192, 7, 21, 2, 2, 191, 193, 7, 22, 2, 2, 192, 191, 3, 2, 2, 2, 192, 193, 3, 2, 2, 2, 193, 194, 3, 2, 2, 2, 194, 195, 7, 21, 2, 2, 195, 37, 3, 2, 2, 2, 196, 198, 7, 16, 2, 2, 197, 196, 3, 2, 2, 2, 198, 199, 3, 2, 2, 2, 199, 197, 3, 2, 2, 2, 199, 200, 3, 2, 2, 2, 200, 39, 3, 2, 2, 2, 201, 203, 7, 18, 2, 2, 202, 201, 3, 2, 2, 2, 203, 204, 3, 2, 2, 2, 204, 202, 3, 2, 2, 2, 204, 205, 3, 2, 2, 2, 205, 41, 3, 2, 2, 2, 33, 45, 51, 55, 57, 68, 75, 82, 90, 96, 100, 111, 118, 125, 131, 137, 140, 145, 148, 153, 156, 161, 164, 169, 172, 177, 180, 185, 188, 192, 199, 204]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
FEATURE=1
|
|
2
|
+
SCENARIO=2
|
|
3
|
+
SCENARIO_OUTLINE=3
|
|
4
|
+
GIVEN=4
|
|
5
|
+
AND_GIVEN=5
|
|
6
|
+
WHEN=6
|
|
7
|
+
AND_WHEN=7
|
|
8
|
+
THEN=8
|
|
9
|
+
AND=9
|
|
10
|
+
BUT=10
|
|
11
|
+
EXAMPLES=11
|
|
12
|
+
BACKGROUND=12
|
|
13
|
+
PIPE=13
|
|
14
|
+
TAG=14
|
|
15
|
+
COMMENT=15
|
|
16
|
+
TEXT_CHARACTER=16
|
|
17
|
+
WS=17
|
|
18
|
+
WSS=18
|
|
19
|
+
DOC_STRING_QUOT=19
|
|
20
|
+
DOC_STRING_TEXT=20
|
|
21
|
+
DOC_STRING_WS=21
|
|
22
|
+
'|'=13
|