code: def parse_pxd_stage_factory(context, scope, module_name):
      def parse(source_desc):
          tree = context.parse(
              source_desc, scope, pxd=True, full_module_name=module_name
          )
          tree.scope = scope
          tree.is_pxd = True
          return tree
  
      return parse
  
imports: from __future__ import absolute_import
  import itertools
  from time import time
  from .None import Errors
  from .None import DebugFlags
  from .None import Options
  from .Errors import CompileError, InternalError, AbortError
  from .None import Naming
label_desc: Use image node_id 4 for calling a global function with example usage: parse_pxd_stage_factory(context, scope, module_name) and returns: parse, tree