def IsCppString(line):
line = line.replace(r'<STR_LIT:\\>', '<STR_LIT>')  <EOL>return ((line.count('<STR_LIT:">') - line.count(r'<STR_LIT>') - line.count("<STR_LIT>")) & <NUM_LIT:1>) == <NUM_LIT:1><EOL>
Does line terminate so, that the next symbol is in string constant.

    This function does not consider single-line nor multi-line comments.

    Args:
      line: is a partial line of code starting from the 0..n.

    Returns:
      True, if next character appended to 'line' is inside a
      string constant.