@staticmethod
def _freeze_raw_node_io_map(node, source_name, line_number,
    type_translation_dict={'RawBlock': 'CodeBlock', 'RawInline': 'Code'}):
    """
        Same as `_freeze_raw_node()`, but also store trace info.
        """
    node['t'] = type_translation_dict[node['t']]
    raw_format, raw_content = node['c']
    node['c'] = [['', ['codebraid--temp'], [['format', raw_format], [
        'trace', '{0}:{1}'.format(source_name, line_number)]]], raw_content]
