| @@ 166-170 (lines=5) @@ | ||
| 163 | */ |
|
| 164 | public function getTokenDefinitions(): iterable |
|
| 165 | { |
|
| 166 | foreach ($this->tokens as $id => $pcre) { |
|
| 167 | $name = $this->map[$id]; |
|
| 168 | ||
| 169 | yield new TokenDefinition($name, $pcre, ! \in_array($name, $this->skipped, true)); |
|
| 170 | } |
|
| 171 | } |
|
| 172 | } |
|
| 173 | ||
| @@ 80-82 (lines=3) @@ | ||
| 77 | */ |
|
| 78 | public function getTokenDefinitions(): iterable |
|
| 79 | { |
|
| 80 | foreach ($this->tokens as $name => $pcre) { |
|
| 81 | yield new TokenDefinition($name, $pcre, ! \in_array($name, $this->skipped, true)); |
|
| 82 | } |
|
| 83 | } |
|
| 84 | } |
|
| 85 | ||