| 1 | <?php |
||
| 7 | class FiqlOperatorSubLexer implements SubLexerInterface |
||
| 8 | { |
||
| 9 | private static $operatorMap = [ |
||
| 10 | '=' => 'eq', |
||
| 11 | '==' => 'eq', |
||
| 12 | |||
| 13 | '!=' => 'ne', |
||
| 14 | '<>' => 'ne', |
||
| 15 | |||
| 16 | '>' => 'gt', |
||
| 17 | '<' => 'lt', |
||
| 18 | |||
| 19 | '>=' => 'ge', |
||
| 20 | '<=' => 'le', |
||
| 21 | ]; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @inheritdoc |
||
| 25 | */ |
||
| 26 | 85 | public function getTokenAt($code, $cursor) |
|
| 39 | |||
| 40 | 11 | private function getValue($match) |
|
| 48 | } |
||
| 49 |