pickle-jar 1.2.0 → 1.3.1

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,22 +81,29 @@ 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;
105
+ NEWLINE(): TerminalNode[];
106
+ NEWLINE(i: number): TerminalNode;
96
107
  background(): BackgroundContext | undefined;
97
108
  scenario(): ScenarioContext[];
98
109
  scenario(i: number): ScenarioContext;
@@ -104,34 +115,36 @@ export declare class FeatureContext extends ParserRuleContext {
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,14 @@ 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[];
175
+ NEWLINE(i: number): TerminalNode;
159
176
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
160
177
  get ruleIndex(): number;
161
178
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
162
179
  }
163
180
  export declare class CellContext extends ParserRuleContext {
164
- contentText(): ContentTextContext;
181
+ contentText(): ContentTextContext | undefined;
165
182
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
166
183
  get ruleIndex(): number;
167
184
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
@@ -184,8 +201,10 @@ export declare class StepContext extends ParserRuleContext {
184
201
  }
185
202
  export declare class GivenStepContext extends ParserRuleContext {
186
203
  GIVEN(): TerminalNode;
187
- contentText(): ContentTextContext;
204
+ multilineText(): MultilineTextContext;
188
205
  tags(): TagsContext | undefined;
206
+ NEWLINE(): TerminalNode[];
207
+ NEWLINE(i: number): TerminalNode;
189
208
  docString(): DocStringContext | undefined;
190
209
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
191
210
  get ruleIndex(): number;
@@ -193,8 +212,10 @@ export declare class GivenStepContext extends ParserRuleContext {
193
212
  }
194
213
  export declare class AndGivenStepContext extends ParserRuleContext {
195
214
  AND_GIVEN(): TerminalNode;
196
- contentText(): ContentTextContext;
215
+ multilineText(): MultilineTextContext;
197
216
  tags(): TagsContext | undefined;
217
+ NEWLINE(): TerminalNode[];
218
+ NEWLINE(i: number): TerminalNode;
198
219
  docString(): DocStringContext | undefined;
199
220
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
200
221
  get ruleIndex(): number;
@@ -202,8 +223,10 @@ export declare class AndGivenStepContext extends ParserRuleContext {
202
223
  }
203
224
  export declare class WhenStepContext extends ParserRuleContext {
204
225
  WHEN(): TerminalNode;
205
- contentText(): ContentTextContext;
226
+ multilineText(): MultilineTextContext;
206
227
  tags(): TagsContext | undefined;
228
+ NEWLINE(): TerminalNode[];
229
+ NEWLINE(i: number): TerminalNode;
207
230
  docString(): DocStringContext | undefined;
208
231
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
209
232
  get ruleIndex(): number;
@@ -211,8 +234,10 @@ export declare class WhenStepContext extends ParserRuleContext {
211
234
  }
212
235
  export declare class AndWhenStepContext extends ParserRuleContext {
213
236
  AND_WHEN(): TerminalNode;
214
- contentText(): ContentTextContext;
237
+ multilineText(): MultilineTextContext;
215
238
  tags(): TagsContext | undefined;
239
+ NEWLINE(): TerminalNode[];
240
+ NEWLINE(i: number): TerminalNode;
216
241
  docString(): DocStringContext | undefined;
217
242
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
218
243
  get ruleIndex(): number;
@@ -220,8 +245,10 @@ export declare class AndWhenStepContext extends ParserRuleContext {
220
245
  }
221
246
  export declare class ThenStepContext extends ParserRuleContext {
222
247
  THEN(): TerminalNode;
223
- contentText(): ContentTextContext;
224
- tags(): TagsContext | undefined;
248
+ multilineText(): MultilineTextContext;
249
+ thenTags(): ThenTagsContext | undefined;
250
+ NEWLINE(): TerminalNode[];
251
+ NEWLINE(i: number): TerminalNode;
225
252
  docString(): DocStringContext | undefined;
226
253
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
227
254
  get ruleIndex(): number;
@@ -229,8 +256,10 @@ export declare class ThenStepContext extends ParserRuleContext {
229
256
  }
230
257
  export declare class AndStepContext extends ParserRuleContext {
231
258
  AND(): TerminalNode;
232
- contentText(): ContentTextContext;
233
- tags(): TagsContext | undefined;
259
+ multilineText(): MultilineTextContext;
260
+ thenTags(): ThenTagsContext | undefined;
261
+ NEWLINE(): TerminalNode[];
262
+ NEWLINE(i: number): TerminalNode;
234
263
  docString(): DocStringContext | undefined;
235
264
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
236
265
  get ruleIndex(): number;
@@ -238,8 +267,10 @@ export declare class AndStepContext extends ParserRuleContext {
238
267
  }
239
268
  export declare class ButStepContext extends ParserRuleContext {
240
269
  BUT(): TerminalNode;
241
- contentText(): ContentTextContext;
242
- tags(): TagsContext | undefined;
270
+ multilineText(): MultilineTextContext;
271
+ thenTags(): ThenTagsContext | undefined;
272
+ NEWLINE(): TerminalNode[];
273
+ NEWLINE(i: number): TerminalNode;
243
274
  docString(): DocStringContext | undefined;
244
275
  constructor(parent: ParserRuleContext | undefined, invokingState: number);
245
276
  get ruleIndex(): number;
@@ -252,6 +283,8 @@ export declare class DocStringContext extends ParserRuleContext {
252
283
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
253
284
  }
254
285
  export declare class TagsContext extends ParserRuleContext {
286
+ NEWLINE(): TerminalNode[];
287
+ NEWLINE(i: number): TerminalNode;
255
288
  ONLY_TAG(): TerminalNode[];
256
289
  ONLY_TAG(i: number): TerminalNode;
257
290
  SKIP_TAG(): TerminalNode[];
@@ -262,6 +295,23 @@ export declare class TagsContext extends ParserRuleContext {
262
295
  get ruleIndex(): number;
263
296
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
264
297
  }
298
+ export declare class ThenTagsContext extends ParserRuleContext {
299
+ NEWLINE(): TerminalNode[];
300
+ NEWLINE(i: number): TerminalNode;
301
+ ONLY_TAG(): TerminalNode[];
302
+ ONLY_TAG(i: number): TerminalNode;
303
+ SKIP_TAG(): TerminalNode[];
304
+ SKIP_TAG(i: number): TerminalNode;
305
+ FAIL_TAG(): TerminalNode[];
306
+ FAIL_TAG(i: number): TerminalNode;
307
+ TODO_TAG(): TerminalNode[];
308
+ TODO_TAG(i: number): TerminalNode;
309
+ TAG(): TerminalNode[];
310
+ TAG(i: number): TerminalNode;
311
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
312
+ get ruleIndex(): number;
313
+ accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
314
+ }
265
315
  export declare class ContentTextContext extends ParserRuleContext {
266
316
  TEXT_CHARACTER(): TerminalNode[];
267
317
  TEXT_CHARACTER(i: number): TerminalNode;
@@ -269,3 +319,12 @@ export declare class ContentTextContext extends ParserRuleContext {
269
319
  get ruleIndex(): number;
270
320
  accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
271
321
  }
322
+ export declare class MultilineTextContext extends ParserRuleContext {
323
+ TEXT_CHARACTER(): TerminalNode[];
324
+ TEXT_CHARACTER(i: number): TerminalNode;
325
+ NEWLINE(): TerminalNode[];
326
+ NEWLINE(i: number): TerminalNode;
327
+ constructor(parent: ParserRuleContext | undefined, invokingState: number);
328
+ get ruleIndex(): number;
329
+ accept<Result>(visitor: GherkinParserVisitor<Result>): Result;
330
+ }