* @brief Records a consumed code character (or final character of a word) in the track. */
| 359 | * @brief Records a consumed code character (or final character of a word) in the track. |
| 360 | */ |
| 361 | static void markCode(TokenTrack& tk, QChar c, bool isWord) |
| 362 | { |
| 363 | if (tk.firstCodeChar.isNull()) |
| 364 | tk.firstCodeChar = c; |
| 365 | |
| 366 | tk.lastCodeChar = c; |
| 367 | tk.lastTokenIsWord = isWord; |
| 368 | tk.sawCode = true; |
| 369 | } |
| 370 | |
| 371 | /** |
| 372 | * @brief Consumes a Lua identifier, applying block open/close keyword deltas; returns next index. |
no outgoing calls
no test coverage detected