class_docstr: Utility code written in the Cython language itself.
  
  The @cname decorator can set the cname for a function, method of cdef class.
  Functions decorated with @cname('c_func_name') get the given cname.
  
  For cdef classes the rules are as follows:
      obj struct      -> <cname>_obj
      obj type ptr    -> <cname>_type
      methods         -> <class_cname>_<method_cname>
  
  For methods the cname decorator is optional, but without the decorator the
  methods will not be prototyped. See Cython.Compiler.CythonScope and
  tests/run/cythonscope.pyx for examples.
class_docstr_tok: ["Utility","code","written","in","the","Cython","language","itself",".","The","@","cname","decorator","can","set","the","cname","for","a","function",",","method","of","cdef","class",".","Functions","decorated","with","@","cname","(","'c_func_name","'",")","get","the","given","cname",".","For","cdef","classes","the","rules","are","as","follows",":","obj","struct","-",">","<","cname",">","_obj","obj","type","ptr","-",">","<","cname",">","_type","methods","-",">","<","class_cname",">","_","<","method_cname",">","For","methods","the","cname","decorator","is","optional",",","but","without","the","decorator","the","methods","will","not","be","prototyped",".","See","Cython.Compiler.CythonScope","and","tests\/run\/cythonscope.pyx","for","examples","."]
docstr: Declare all entries from the utility code in dest_scope. Code will only
  be included for used entries. If module_name is given, declare the
  type entries with that name.
docstr_tok: ["Declare","all","entries","from","the","utility","code","in","dest_scope",".","Code","will","only","be","included","for","used","entries",".","If","module_name","is","given",",","declare","the","type","entries","with","that","name","."]
code: def declare_in_scope(
      self, dest_scope, used=False, cython_scope=None, whitelist=None
  ):
      """
      Declare all entries from the utility code in dest_scope. Code will only
      be included for used entries. If module_name is given, declare the
      type entries with that name.
      """
      tree = self.get_tree(entries_only=True, cython_scope=cython_scope)
  
      entries = tree.scope.entries
      entries.pop("__name__")
      entries.pop("__file__")
      entries.pop("__builtins__")
      entries.pop("__doc__")
  
      for entry in entries.values():
          entry.utility_code_definition = self
          entry.used = used
  
      original_scope = tree.scope
      dest_scope.merge_in(
          original_scope, merge_unused=True, whitelist=whitelist
      )
      tree.scope = dest_scope
  
      for dep in self.requires:
          if dep.is_cython_utility:
              dep.declare_in_scope(
                  dest_scope, cython_scope=cython_scope
              )
  
      return original_scope
  
imports: from __future__ import absolute_import
  from .TreeFragment import parse_from_strings, StringParseContext
  from .None import Symtab
  from .None import Naming
  from .None import Code
label_desc: Use image node_id 8 for calling the CythonUtilityCode obj's underlying member method code with example usage: obj.declare_in_scope(dest_scope, used, cython_scope, whitelist) and returns: original_scope