code: function checkEscapedString(i) {
    const start = i;
    let l;
  
    if (i >= tokensLength) return 0;
  
    if (tokens[i].type === TokenType.Tilde && (l = checkString(i + 1)))
      return i + l - start;
    else return 0;
  }
docs: Check if token is part of an escaped string (e.g. `~"ms:something"`).
  @param {Number} i Token's index number
  @returns {Number} Length of the string (including `~` and quotes)