parameters: (a)
return_statement: return a.replace("\\", "\\\\").replace(";", "\\;").replace('"', '\\"')
docstring: Escapes the string 'a' for use inside a CMake string.
  
    This means escaping
    '\' otherwise it may be seen as modifying the next character
    '"' otherwise it will end the string
    ';' otherwise the string becomes a list
  
    The following do not need to be escaped
    '#' when the lexer is in string state, this does not start a comment
  
    The following are yet unknown
    '$' generator variables (like ${obj}) must not be escaped,
        but text $ should be escaped
        what is wanted is to know which $ come from generator variables
docstring_summary: Escapes the string 'a' for use inside a CMake string.
docstring_tokens: Escapes the string a for use inside a CMake string .
function: def CMakeStringEscape(a):
      """Escapes the string 'a' for use inside a CMake string.
  
    This means escaping
    '\' otherwise it may be seen as modifying the next character
    '"' otherwise it will end the string
    ';' otherwise the string becomes a list
  
    The following do not need to be escaped
    '#' when the lexer is in string state, this does not start a comment
  
    The following are yet unknown
    '$' generator variables (like ${obj}) must not be escaped,
        but text $ should be escaped
        what is wanted is to know which $ come from generator variables
    """
      return a.replace("\\", "\\\\").replace(";", "\\;").replace('"', '\\"')
function_tokens: def CMakeStringEscape ( a ) : return a . replace ( "\\" , "\\\\" ) . replace ( ";" , "\\;" ) . replace ( '"' , '\\"' )