@staticmethod
def _freeze_raw_node(node, source_name, line_number, type_translation_dict=
    {'RawBlock': 'CodeBlock', 'RawInline': 'Code'}):
    """
        Convert a raw node into a special code node.  This prevents the raw
        node from being prematurely interpreted/discarded during intermediate
        AST transformations.
        """
    node['t'] = type_translation_dict[node['t']]
    raw_format, raw_content = node['c']
    node['c'] = [['', ['codebraid--temp'], [['format', raw_format]]],
        raw_content]
