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
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
    """
    return a.replace('\\', '\\\\').replace(';', '\\;').replace('"', '\\"')
function_tokens: def CMakeStringEscape ( a ) : return a . replace ( '\\' , '\\\\' ) . replace ( ';' , '\\;' ) . replace ( '"' , '\\"' )