Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | protected function getParser() |
||
12 | { |
||
13 | return new Parser( |
||
14 | new Lexer( |
||
15 | new ArrayKeywords(array( |
||
16 | 'en' => array( |
||
17 | 'feature' => 'Feature', |
||
18 | 'background' => 'Background', |
||
19 | 'scenario' => 'Scenario', |
||
20 | 'scenario_outline' => 'Scenario Outline|Scenario Template', |
||
21 | 'examples' => 'Examples|Scenarios', |
||
22 | 'given' => 'Given', |
||
23 | 'when' => 'When', |
||
24 | 'then' => 'Then', |
||
25 | 'and' => 'And', |
||
26 | 'but' => 'But' |
||
27 | ) |
||
28 | )) |
||
29 | ) |
||
30 | ); |
||
31 | } |
||
32 | |||
65 |