def evaluateTagReference(node, sphinxContext):
    try:
        return sphinxContext.tags[node.name]
    except __HOLE__:
        raise SphinxException(node, 
                              "sphinx:tagName", 
                              _("unassigned tag name %(name)s"),
                              name=node.name )
dataset/ETHPy150Open Arelle/Arelle/arelle/plugin/sphinx/SphinxEvaluator.py/evaluateTagReference