pickle-jar 1.1.0 → 1.3.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.
@@ -22,12 +22,14 @@ export declare class GherkinParser extends Parser {
22
22
  static readonly PIPE = 13;
23
23
  static readonly ONLY_TAG = 14;
24
24
  static readonly SKIP_TAG = 15;
25
- static readonly TAG = 16;
26
- static readonly COMMENT = 17;
27
- static readonly TEXT_CHARACTER = 18;
28
- static readonly WS = 19;
29
- static readonly WSS = 20;
30
- static readonly DOC_STRING = 21;
25
+ static readonly TODO_TAG = 16;
26
+ static readonly FAIL_TAG = 17;
27
+ static readonly TAG = 18;
28
+ static readonly COMMENT = 19;
29
+ static readonly TEXT_CHARACTER = 20;
30
+ static readonly NEWLINE = 21;
31
+ static readonly WSS = 22;
32
+ static readonly DOC_STRING = 23;
31
33
  static readonly RULE_featureFile = 0;
32
34
  static readonly RULE_feature = 1;
33
35
  static readonly RULE_background = 2;
@@ -47,7 +49,9 @@ export declare class GherkinParser extends Parser {
47
49
  static readonly RULE_butStep = 16;
48
50
  static readonly RULE_docString = 17;
49
51
  static readonly RULE_tags = 18;
50
- static readonly RULE_contentText = 19;
52
+ static readonly RULE_thenTags = 19;
53
+ static readonly RULE_contentText = 20;
54
+ static readonly RULE_multilineText = 21;
51
55
  static readonly ruleNames: string[];
52
56
  private static readonly _LITERAL_NAMES;
53
57
  private static readonly _SYMBOLIC_NAMES;
@@ -77,60 +81,70 @@ export declare class GherkinParser extends Parser {
77
81
  butStep(): ButStepContext;
78
82
  docString(): DocStringContext;
79
83
  tags(): TagsContext;
84
+ thenTags(): ThenTagsContext;
80
85
  contentText(): ContentTextContext;
86
+ multilineText(): MultilineTextContext;
81
87
  static readonly _serializedATN: string;
82
88
  static __ATN: ATN;
83
89
  static get _ATN(): ATN;
84
90
  }
85
91
  export declare class FeatureFileContext extends ParserRuleContext {
92
+ EOF(): TerminalNode;
86
93
  feature(): FeatureContext[];
87
94
  feature(i: number): FeatureContext;
95
+ NEWLINE(): TerminalNode[];
96
+ NEWLINE(i: number): TerminalNode;
88
97
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
89
98
  get ruleIndex(): number;
90
99
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
91
100
  }
92
101
  export declare class FeatureContext extends ParserRuleContext {
93
102
  FEATURE(): TerminalNode;
94
- contentText(): ContentTextContext;
103
+ multilineText(): MultilineTextContext;
104
+ tags(): TagsContext | undefined;
95
105
  background(): BackgroundContext | undefined;
96
106
  scenario(): ScenarioContext[];
97
107
  scenario(i: number): ScenarioContext;
98
108
  scenarioOutline(): ScenarioOutlineContext[];
99
109
  scenarioOutline(i: number): ScenarioOutlineContext;
110
+ NEWLINE(): TerminalNode[];
111
+ NEWLINE(i: number): TerminalNode;
100
112
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
101
113
  get ruleIndex(): number;
102
114
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
103
115
  }
104
116
  export declare class BackgroundContext extends ParserRuleContext {
105
117
  BACKGROUND(): TerminalNode;
106
- contentText(): ContentTextContext;
118
+ multilineText(): MultilineTextContext;
107
119
  givenStep(): GivenStepContext;
108
120
  tags(): TagsContext | undefined;
121
+ NEWLINE(): TerminalNode[];
122
+ NEWLINE(i: number): TerminalNode;
109
123
  andGivenStep(): AndGivenStepContext[];
110
124
  andGivenStep(i: number): AndGivenStepContext;
111
- scenario(): ScenarioContext[];
112
- scenario(i: number): ScenarioContext;
113
- scenarioOutline(): ScenarioOutlineContext[];
114
- scenarioOutline(i: number): ScenarioOutlineContext;
115
125
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
116
126
  get ruleIndex(): number;
117
127
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
118
128
  }
119
129
  export declare class ScenarioContext extends ParserRuleContext {
120
130
  SCENARIO(): TerminalNode;
121
- contentText(): ContentTextContext;
131
+ multilineText(): MultilineTextContext;
122
132
  step(): StepContext;
123
133
  tags(): TagsContext | undefined;
134
+ NEWLINE(): TerminalNode[];
135
+ NEWLINE(i: number): TerminalNode;
124
136
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
125
137
  get ruleIndex(): number;
126
138
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
127
139
  }
128
140
  export declare class ScenarioOutlineContext extends ParserRuleContext {
129
141
  SCENARIO_OUTLINE(): TerminalNode;
130
- contentText(): ContentTextContext;
142
+ multilineText(): MultilineTextContext;
131
143
  step(): StepContext;
132
144
  examplesBlock(): ExamplesBlockContext;
133
145
  tags(): TagsContext | undefined;
146
+ NEWLINE(): TerminalNode[];
147
+ NEWLINE(i: number): TerminalNode;
134
148
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
135
149
  get ruleIndex(): number;
136
150
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
@@ -138,6 +152,8 @@ export declare class ScenarioOutlineContext extends ParserRuleContext {
138
152
  export declare class ExamplesBlockContext extends ParserRuleContext {
139
153
  EXAMPLES(): TerminalNode;
140
154
  tableHeader(): TableHeaderContext;
155
+ NEWLINE(): TerminalNode[];
156
+ NEWLINE(i: number): TerminalNode;
141
157
  tableRow(): TableRowContext[];
142
158
  tableRow(i: number): TableRowContext;
143
159
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -155,12 +171,13 @@ export declare class TableRowContext extends ParserRuleContext {
155
171
  PIPE(i: number): TerminalNode;
156
172
  cell(): CellContext[];
157
173
  cell(i: number): CellContext;
174
+ NEWLINE(): TerminalNode;
158
175
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
159
176
  get ruleIndex(): number;
160
177
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
161
178
  }
162
179
  export declare class CellContext extends ParserRuleContext {
163
- contentText(): ContentTextContext;
180
+ contentText(): ContentTextContext | undefined;
164
181
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
165
182
  get ruleIndex(): number;
166
183
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
@@ -183,8 +200,10 @@ export declare class StepContext extends ParserRuleContext {
183
200
  }
184
201
  export declare class GivenStepContext extends ParserRuleContext {
185
202
  GIVEN(): TerminalNode;
186
- contentText(): ContentTextContext;
203
+ multilineText(): MultilineTextContext;
187
204
  tags(): TagsContext | undefined;
205
+ NEWLINE(): TerminalNode[];
206
+ NEWLINE(i: number): TerminalNode;
188
207
  docString(): DocStringContext | undefined;
189
208
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
190
209
  get ruleIndex(): number;
@@ -192,8 +211,10 @@ export declare class GivenStepContext extends ParserRuleContext {
192
211
  }
193
212
  export declare class AndGivenStepContext extends ParserRuleContext {
194
213
  AND_GIVEN(): TerminalNode;
195
- contentText(): ContentTextContext;
214
+ multilineText(): MultilineTextContext;
196
215
  tags(): TagsContext | undefined;
216
+ NEWLINE(): TerminalNode[];
217
+ NEWLINE(i: number): TerminalNode;
197
218
  docString(): DocStringContext | undefined;
198
219
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
199
220
  get ruleIndex(): number;
@@ -201,8 +222,10 @@ export declare class AndGivenStepContext extends ParserRuleContext {
201
222
  }
202
223
  export declare class WhenStepContext extends ParserRuleContext {
203
224
  WHEN(): TerminalNode;
204
- contentText(): ContentTextContext;
225
+ multilineText(): MultilineTextContext;
205
226
  tags(): TagsContext | undefined;
227
+ NEWLINE(): TerminalNode[];
228
+ NEWLINE(i: number): TerminalNode;
206
229
  docString(): DocStringContext | undefined;
207
230
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
208
231
  get ruleIndex(): number;
@@ -210,8 +233,10 @@ export declare class WhenStepContext extends ParserRuleContext {
210
233
  }
211
234
  export declare class AndWhenStepContext extends ParserRuleContext {
212
235
  AND_WHEN(): TerminalNode;
213
- contentText(): ContentTextContext;
236
+ multilineText(): MultilineTextContext;
214
237
  tags(): TagsContext | undefined;
238
+ NEWLINE(): TerminalNode[];
239
+ NEWLINE(i: number): TerminalNode;
215
240
  docString(): DocStringContext | undefined;
216
241
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
217
242
  get ruleIndex(): number;
@@ -219,8 +244,10 @@ export declare class AndWhenStepContext extends ParserRuleContext {
219
244
  }
220
245
  export declare class ThenStepContext extends ParserRuleContext {
221
246
  THEN(): TerminalNode;
222
- contentText(): ContentTextContext;
223
- tags(): TagsContext | undefined;
247
+ multilineText(): MultilineTextContext;
248
+ thenTags(): ThenTagsContext | undefined;
249
+ NEWLINE(): TerminalNode[];
250
+ NEWLINE(i: number): TerminalNode;
224
251
  docString(): DocStringContext | undefined;
225
252
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
226
253
  get ruleIndex(): number;
@@ -228,8 +255,10 @@ export declare class ThenStepContext extends ParserRuleContext {
228
255
  }
229
256
  export declare class AndStepContext extends ParserRuleContext {
230
257
  AND(): TerminalNode;
231
- contentText(): ContentTextContext;
232
- tags(): TagsContext | undefined;
258
+ multilineText(): MultilineTextContext;
259
+ thenTags(): ThenTagsContext | undefined;
260
+ NEWLINE(): TerminalNode[];
261
+ NEWLINE(i: number): TerminalNode;
233
262
  docString(): DocStringContext | undefined;
234
263
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
235
264
  get ruleIndex(): number;
@@ -237,8 +266,10 @@ export declare class AndStepContext extends ParserRuleContext {
237
266
  }
238
267
  export declare class ButStepContext extends ParserRuleContext {
239
268
  BUT(): TerminalNode;
240
- contentText(): ContentTextContext;
241
- tags(): TagsContext | undefined;
269
+ multilineText(): MultilineTextContext;
270
+ thenTags(): ThenTagsContext | undefined;
271
+ NEWLINE(): TerminalNode[];
272
+ NEWLINE(i: number): TerminalNode;
242
273
  docString(): DocStringContext | undefined;
243
274
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
244
275
  get ruleIndex(): number;
@@ -251,10 +282,29 @@ export declare class DocStringContext extends ParserRuleContext {
251
282
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
252
283
  }
253
284
  export declare class TagsContext extends ParserRuleContext {
285
+ NEWLINE(): TerminalNode[];
286
+ NEWLINE(i: number): TerminalNode;
287
+ ONLY_TAG(): TerminalNode[];
288
+ ONLY_TAG(i: number): TerminalNode;
289
+ SKIP_TAG(): TerminalNode[];
290
+ SKIP_TAG(i: number): TerminalNode;
291
+ TAG(): TerminalNode[];
292
+ TAG(i: number): TerminalNode;
293
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
294
+ get ruleIndex(): number;
295
+ accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
296
+ }
297
+ export declare class ThenTagsContext extends ParserRuleContext {
298
+ NEWLINE(): TerminalNode[];
299
+ NEWLINE(i: number): TerminalNode;
254
300
  ONLY_TAG(): TerminalNode[];
255
301
  ONLY_TAG(i: number): TerminalNode;
256
302
  SKIP_TAG(): TerminalNode[];
257
303
  SKIP_TAG(i: number): TerminalNode;
304
+ FAIL_TAG(): TerminalNode[];
305
+ FAIL_TAG(i: number): TerminalNode;
306
+ TODO_TAG(): TerminalNode[];
307
+ TODO_TAG(i: number): TerminalNode;
258
308
  TAG(): TerminalNode[];
259
309
  TAG(i: number): TerminalNode;
260
310
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -268,3 +318,12 @@ export declare class ContentTextContext extends ParserRuleContext {
268
318
  get ruleIndex(): number;
269
319
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
270
320
  }
321
+ export declare class MultilineTextContext extends ParserRuleContext {
322
+ TEXT_CHARACTER(): TerminalNode[];
323
+ TEXT_CHARACTER(i: number): TerminalNode;
324
+ NEWLINE(): TerminalNode[];
325
+ NEWLINE(i: number): TerminalNode;
326
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
327
+ get ruleIndex(): number;
328
+ accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
329
+ }