///////////////////////////////////////////////////////////////////////////
| 168 | |
| 169 | //////////////////////////////////////////////////////////////////////////////// |
| 170 | bool Lexer::isDoubleCharOperator(int c0, int c1, int c2) { |
| 171 | return (c0 == '=' && c1 == '=') || (c0 == '!' && c1 == '=') || (c0 == '<' && c1 == '=') || |
| 172 | (c0 == '>' && c1 == '=') || (c0 == 'o' && c1 == 'r' && isBoundary(c1, c2)) || |
| 173 | (c0 == '|' && c1 == '|') || (c0 == '&' && c1 == '&') || (c0 == '!' && c1 == '~'); |
| 174 | } |
| 175 | |
| 176 | //////////////////////////////////////////////////////////////////////////////// |
| 177 | bool Lexer::isTripleCharOperator(int c0, int c1, int c2, int c3) { |
nothing calls this directly
no outgoing calls
no test coverage detected