powerstats/docs/breathe-3.2.0/breathe/renderer/rst/doxygen/domain.py
def _create_target(self, name, type_, id_):
        """Creates a target node and registers it with the appropriate domain
        object list in a style which matches Sphinx's behaviour for the domain
        directives like cpp:function"""

        # Check if we've already got this id
        in_cache, project = self.helper.check_cache(id_)
        if in_cache:
            print("Warning: Ignoring duplicate domain reference '%s'. "
                  "First found in project '%s'" % (id_, project.reference()))
            return []

        self.helper.cache(id_, self.project_info)

        # Create target node. This is required for LaTeX output as target nodes are converted to the
        # appropriate \phantomsection & \label for in document LaTeX links
        target = self.target_handler.create_target(id_)

        # Register object with the sphinx objects registry
        self.document.settings.env.domaindata['cpp']['objects'].setdefault(
            name, (self.document.settings.env.docname, type_, id_))

        return target
Creates a target node and registers it with the appropriate domain
        object list in a style which matches Sphinx's behaviour for the domain
        directives like cpp:function
Creates a target node and registers it with the appropriate domain
object list in a style which matches Sphinx's behaviour for the domain
directives like cpp:function
Creates a target node and registers it with the appropriate domain object list in a style which matches Sphinx ' s behaviour for the domain directives like cpp : function
def _create_target(self, name, type_, id_):
        in_cache, project = self.helper.check_cache(id_)
        if in_cache:
            print("Warning: Ignoring duplicate domain reference '%s'. "
                  "First found in project '%s'" % (id_, project.reference()))
            return []
        self.helper.cache(id_, self.project_info)
        target = self.target_handler.create_target(id_)
        self.document.settings.env.domaindata['cpp']['objects'].setdefault(
            name, (self.document.settings.env.docname, type_, id_))
        return target
def _create_target ( self , name , type_ , id_ ) : in_cache , project = self . helper . check_cache ( id_ ) if in_cache : print ( "Warning: Ignoring duplicate domain reference '%s'. " "First found in project '%s'" % ( id_ , project . reference ( ) ) ) return [ ] self . helper . cache ( id_ , self . project_info ) target = self . target_handler . create_target ( id_ ) self . document . settings . env . domaindata [ 'cpp' ] [ 'objects' ] . setdefault ( name , ( self . document . settings . env . docname , type_ , id_ ) ) return target
Creates a target node and registers it with the appropriate domain
object list in a style which matches Sphinx's behaviour for the domain
directives like cpp:function
Creates a target node and registers it with the appropriate domain object list in a style which matches Sphinx ' s behaviour for the domain directives like cpp : function
"""Creates a target node and registers it with the appropriate domain
        object list in a style which matches Sphinx's behaviour for the domain
        directives like cpp:function""" # Check if we've already got this id # Create target node. This is required for LaTeX output as target nodes are converted to the # appropriate \phantomsection & \label for in document LaTeX links # Register object with the sphinx objects registry
self
name
type_
id_