# -*- coding: utf-8 -*-
"""
Translate docutils node revision formatting.
each revision start will processed with visit() and finished with depart()
"""

from docutils.nodes import Node
from sphinxpapyrus.docxbuilder.translator import DocxTranslator

node_name = "revision"


def visit(visitor: DocxTranslator, node: Node):
    """Start processing revision node"""
    assert isinstance(visitor, DocxTranslator)
    assert isinstance(node, Node)


def depart(visitor: DocxTranslator, node: Node):
    """Finish processing revision node"""
    assert isinstance(visitor, DocxTranslator)
    assert isinstance(node, Node)

# -*- coding: utf-8 -*-
"""
Translate docutils node revision formatting.
each revision start will processed with visit() and finished with depart()
"""

from docutils.nodes import Node
from sphinxpapyrus.docxbuilder.translator import DocxTranslator

node_name = "revision"


def visit(visitor: DocxTranslator, node: Node):
    """Start processing revision node"""
    assert isinstance(visitor, DocxTranslator)
    assert isinstance(node, Node)


def depart(visitor: DocxTranslator, node: Node):
    """Finish processing revision node"""
    assert isinstance(visitor, DocxTranslator)
    assert isinstance(node, Node)

# -*- coding: utf-8 -*- Translate docutils node revision formatting. each revision start will processed with visit() and finished with depart() Start processing revision node Finish processing revision node