(stream)
| 207 | |
| 208 | // `identifier` |
| 209 | function hookIdentifier(stream) { |
| 210 | // MySQL/MariaDB identifiers |
| 211 | // ref: http://dev.mysql.com/doc/refman/5.6/en/identifier-qualifiers.html |
| 212 | var ch; |
| 213 | while ((ch = stream.next()) != null) { |
| 214 | if (ch == "`" && !stream.eat("`")) return "variable-2"; |
| 215 | } |
| 216 | stream.backUp(stream.current().length - 1); |
| 217 | return stream.eatWhile(/\w/) ? "variable-2" : null; |
| 218 | } |
| 219 | |
| 220 | // variable token |
| 221 | function hookVar(stream) { |
nothing calls this directly
no outgoing calls
no test coverage detected