pickle-jar 1.2.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,61 +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;
95
104
  tags(): TagsContext | undefined;
96
105
  background(): BackgroundContext | undefined;
97
106
  scenario(): ScenarioContext[];
98
107
  scenario(i: number): ScenarioContext;
99
108
  scenarioOutline(): ScenarioOutlineContext[];
100
109
  scenarioOutline(i: number): ScenarioOutlineContext;
110
+ NEWLINE(): TerminalNode[];
111
+ NEWLINE(i: number): TerminalNode;
101
112
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
102
113
  get ruleIndex(): number;
103
114
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
104
115
  }
105
116
  export declare class BackgroundContext extends ParserRuleContext {
106
117
  BACKGROUND(): TerminalNode;
107
- contentText(): ContentTextContext;
118
+ multilineText(): MultilineTextContext;
108
119
  givenStep(): GivenStepContext;
109
120
  tags(): TagsContext | undefined;
121
+ NEWLINE(): TerminalNode[];
122
+ NEWLINE(i: number): TerminalNode;
110
123
  andGivenStep(): AndGivenStepContext[];
111
124
  andGivenStep(i: number): AndGivenStepContext;
112
- scenario(): ScenarioContext[];
113
- scenario(i: number): ScenarioContext;
114
- scenarioOutline(): ScenarioOutlineContext[];
115
- scenarioOutline(i: number): ScenarioOutlineContext;
116
125
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
117
126
  get ruleIndex(): number;
118
127
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
119
128
  }
120
129
  export declare class ScenarioContext extends ParserRuleContext {
121
130
  SCENARIO(): TerminalNode;
122
- contentText(): ContentTextContext;
131
+ multilineText(): MultilineTextContext;
123
132
  step(): StepContext;
124
133
  tags(): TagsContext | undefined;
134
+ NEWLINE(): TerminalNode[];
135
+ NEWLINE(i: number): TerminalNode;
125
136
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
126
137
  get ruleIndex(): number;
127
138
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
128
139
  }
129
140
  export declare class ScenarioOutlineContext extends ParserRuleContext {
130
141
  SCENARIO_OUTLINE(): TerminalNode;
131
- contentText(): ContentTextContext;
142
+ multilineText(): MultilineTextContext;
132
143
  step(): StepContext;
133
144
  examplesBlock(): ExamplesBlockContext;
134
145
  tags(): TagsContext | undefined;
146
+ NEWLINE(): TerminalNode[];
147
+ NEWLINE(i: number): TerminalNode;
135
148
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
136
149
  get ruleIndex(): number;
137
150
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
@@ -139,6 +152,8 @@ export declare class ScenarioOutlineContext extends ParserRuleContext {
139
152
  export declare class ExamplesBlockContext extends ParserRuleContext {
140
153
  EXAMPLES(): TerminalNode;
141
154
  tableHeader(): TableHeaderContext;
155
+ NEWLINE(): TerminalNode[];
156
+ NEWLINE(i: number): TerminalNode;
142
157
  tableRow(): TableRowContext[];
143
158
  tableRow(i: number): TableRowContext;
144
159
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
@@ -156,12 +171,13 @@ export declare class TableRowContext extends ParserRuleContext {
156
171
  PIPE(i: number): TerminalNode;
157
172
  cell(): CellContext[];
158
173
  cell(i: number): CellContext;
174
+ NEWLINE(): TerminalNode;
159
175
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
160
176
  get ruleIndex(): number;
161
177
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
162
178
  }
163
179
  export declare class CellContext extends ParserRuleContext {
164
- contentText(): ContentTextContext;
180
+ contentText(): ContentTextContext | undefined;
165
181
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
166
182
  get ruleIndex(): number;
167
183
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
@@ -184,8 +200,10 @@ export declare class StepContext extends ParserRuleContext {
184
200
  }
185
201
  export declare class GivenStepContext extends ParserRuleContext {
186
202
  GIVEN(): TerminalNode;
187
- contentText(): ContentTextContext;
203
+ multilineText(): MultilineTextContext;
188
204
  tags(): TagsContext | undefined;
205
+ NEWLINE(): TerminalNode[];
206
+ NEWLINE(i: number): TerminalNode;
189
207
  docString(): DocStringContext | undefined;
190
208
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
191
209
  get ruleIndex(): number;
@@ -193,8 +211,10 @@ export declare class GivenStepContext extends ParserRuleContext {
193
211
  }
194
212
  export declare class AndGivenStepContext extends ParserRuleContext {
195
213
  AND_GIVEN(): TerminalNode;
196
- contentText(): ContentTextContext;
214
+ multilineText(): MultilineTextContext;
197
215
  tags(): TagsContext | undefined;
216
+ NEWLINE(): TerminalNode[];
217
+ NEWLINE(i: number): TerminalNode;
198
218
  docString(): DocStringContext | undefined;
199
219
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
200
220
  get ruleIndex(): number;
@@ -202,8 +222,10 @@ export declare class AndGivenStepContext extends ParserRuleContext {
202
222
  }
203
223
  export declare class WhenStepContext extends ParserRuleContext {
204
224
  WHEN(): TerminalNode;
205
- contentText(): ContentTextContext;
225
+ multilineText(): MultilineTextContext;
206
226
  tags(): TagsContext | undefined;
227
+ NEWLINE(): TerminalNode[];
228
+ NEWLINE(i: number): TerminalNode;
207
229
  docString(): DocStringContext | undefined;
208
230
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
209
231
  get ruleIndex(): number;
@@ -211,8 +233,10 @@ export declare class WhenStepContext extends ParserRuleContext {
211
233
  }
212
234
  export declare class AndWhenStepContext extends ParserRuleContext {
213
235
  AND_WHEN(): TerminalNode;
214
- contentText(): ContentTextContext;
236
+ multilineText(): MultilineTextContext;
215
237
  tags(): TagsContext | undefined;
238
+ NEWLINE(): TerminalNode[];
239
+ NEWLINE(i: number): TerminalNode;
216
240
  docString(): DocStringContext | undefined;
217
241
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
218
242
  get ruleIndex(): number;
@@ -220,8 +244,10 @@ export declare class AndWhenStepContext extends ParserRuleContext {
220
244
  }
221
245
  export declare class ThenStepContext extends ParserRuleContext {
222
246
  THEN(): TerminalNode;
223
- contentText(): ContentTextContext;
224
- tags(): TagsContext | undefined;
247
+ multilineText(): MultilineTextContext;
248
+ thenTags(): ThenTagsContext | undefined;
249
+ NEWLINE(): TerminalNode[];
250
+ NEWLINE(i: number): TerminalNode;
225
251
  docString(): DocStringContext | undefined;
226
252
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
227
253
  get ruleIndex(): number;
@@ -229,8 +255,10 @@ export declare class ThenStepContext extends ParserRuleContext {
229
255
  }
230
256
  export declare class AndStepContext extends ParserRuleContext {
231
257
  AND(): TerminalNode;
232
- contentText(): ContentTextContext;
233
- tags(): TagsContext | undefined;
258
+ multilineText(): MultilineTextContext;
259
+ thenTags(): ThenTagsContext | undefined;
260
+ NEWLINE(): TerminalNode[];
261
+ NEWLINE(i: number): TerminalNode;
234
262
  docString(): DocStringContext | undefined;
235
263
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
236
264
  get ruleIndex(): number;
@@ -238,8 +266,10 @@ export declare class AndStepContext extends ParserRuleContext {
238
266
  }
239
267
  export declare class ButStepContext extends ParserRuleContext {
240
268
  BUT(): TerminalNode;
241
- contentText(): ContentTextContext;
242
- tags(): TagsContext | undefined;
269
+ multilineText(): MultilineTextContext;
270
+ thenTags(): ThenTagsContext | undefined;
271
+ NEWLINE(): TerminalNode[];
272
+ NEWLINE(i: number): TerminalNode;
243
273
  docString(): DocStringContext | undefined;
244
274
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
245
275
  get ruleIndex(): number;
@@ -252,6 +282,8 @@ export declare class DocStringContext extends ParserRuleContext {
252
282
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
253
283
  }
254
284
  export declare class TagsContext extends ParserRuleContext {
285
+ NEWLINE(): TerminalNode[];
286
+ NEWLINE(i: number): TerminalNode;
255
287
  ONLY_TAG(): TerminalNode[];
256
288
  ONLY_TAG(i: number): TerminalNode;
257
289
  SKIP_TAG(): TerminalNode[];
@@ -262,6 +294,23 @@ export declare class TagsContext extends ParserRuleContext {
262
294
  get ruleIndex(): number;
263
295
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
264
296
  }
297
+ export declare class ThenTagsContext extends ParserRuleContext {
298
+ NEWLINE(): TerminalNode[];
299
+ NEWLINE(i: number): TerminalNode;
300
+ ONLY_TAG(): TerminalNode[];
301
+ ONLY_TAG(i: number): TerminalNode;
302
+ SKIP_TAG(): TerminalNode[];
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;
308
+ TAG(): TerminalNode[];
309
+ TAG(i: number): TerminalNode;
310
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
311
+ get ruleIndex(): number;
312
+ accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
313
+ }
265
314
  export declare class ContentTextContext extends ParserRuleContext {
266
315
  TEXT_CHARACTER(): TerminalNode[];
267
316
  TEXT_CHARACTER(i: number): TerminalNode;
@@ -269,3 +318,12 @@ export declare class ContentTextContext extends ParserRuleContext {
269
318
  get ruleIndex(): number;
270
319
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
271
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
+ }