| @@ 181-186 (lines=6) @@ | ||
| 178 | $not="NOT "; |
|
| 179 | case '~=': |
|
| 180 | case '=~': |
|
| 181 | case '=~~': |
|
| 182 | if (!strlen($node["operator"])==3) { |
|
| 183 | $not.="I"; |
|
| 184 | } |
|
| 185 | $operator=$not."LIKE"; |
|
| 186 | break; |
|
| 187 | case '!/': |
|
| 188 | case '!//': |
|
| 189 | $not="!"; |
|
| @@ 191-196 (lines=6) @@ | ||
| 188 | case '!//': |
|
| 189 | $not="!"; |
|
| 190 | case '=/': |
|
| 191 | case '=//': |
|
| 192 | $operator=$not."~"; |
|
| 193 | if (strlen($node["operator"])==3) { |
|
| 194 | $operator.="*"; |
|
| 195 | } |
|
| 196 | break; |
|
| 197 | } |
|
| 198 | if ($node["left"]["id"]!=="implements") { |
|
| 199 | $left=$this->compile_tree($node["left"]); |
|