def _add_replace_pair(self, name, value, quote):
key = '<STR_LIT:@>' + name + '<STR_LIT:@>'<EOL>key = key.lower()<EOL>class_name = value.__class__.__name__<EOL>if class_name in ['<STR_LIT:int>', '<STR_LIT:float>']:<EOL><INDENT>value = str(value)<EOL><DEDENT>elif class_name in ['<STR_LIT:bool>']:<EOL><INDENT>value = '<STR_LIT:1>' if value else '<STR_LIT:0>'<EOL><DEDENT>elif class_name in ['<STR_LIT:str>']:<EOL><INDENT>if quote:<EOL><INDENT>value = "<STR_LIT:'>" + value + "<STR_LIT:'>"<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self._io.log_verbose("<STR_LIT>".format(name, class_name))<EOL><DEDENT>self._replace_pairs[key] = value<EOL>
Adds a replace part to the map of replace pairs.

:param name: The name of the replace pair.
:param value: The value of value of the replace pair.