parameters: (env, node, node_builder_type)
return_statement: return node_factory(node_with_ixes)
docstring: Gets the node passed in node with the correct ixes applied
      for the given builder type.
docstring_summary: Gets the node passed in node with the correct ixes applied
      for the given builder type.
docstring_tokens: Gets the node passed in node with the correct ixes applied for the given builder type .
function: def _get_node_with_ixes(env, node, node_builder_type):
      """
      Gets the node passed in node with the correct ixes applied
      for the given builder type.
      """
  
      if not node:
          return node
  
      node_builder = env["BUILDERS"][node_builder_type]
      node_factory = node_builder.target_factory or env.File
  
      # Cache the 'ixes' in a function scope global so we don't need
      # to run SCons performance intensive 'subst' each time
      cache_key = (id(env), node_builder_type)
      try:
          prefix, suffix = _get_node_with_ixes.node_type_ixes[cache_key]
      except KeyError:
          prefix = node_builder.get_prefix(env)
          suffix = node_builder.get_suffix(env)
  
          # TODO(SERVER-50681): Find a way to do this that doesn't hard
          # code these extensions. See the code review for SERVER-27507
          # for additional discussion.
          if suffix == ".dll":
              suffix = ".lib"
  
          _get_node_with_ixes.node_type_ixes[cache_key] = (prefix, suffix)
  
      node_with_ixes = SCons.Util.adjustixes(node, prefix, suffix)
      return node_factory(node_with_ixes)
function_tokens: def _get_node_with_ixes ( env , node , node_builder_type ) : if not node : return node node_builder = env [ "BUILDERS" ] [ node_builder_type ] node_factory = node_builder . target_factory or env . File # Cache the 'ixes' in a function scope global so we don't need # to run SCons performance intensive 'subst' each time cache_key = ( id ( env ) , node_builder_type ) try : prefix , suffix = _get_node_with_ixes . node_type_ixes [ cache_key ] except KeyError : prefix = node_builder . get_prefix ( env ) suffix = node_builder . get_suffix ( env ) # TODO(SERVER-50681): Find a way to do this that doesn't hard # code these extensions. See the code review for SERVER-27507 # for additional discussion. if suffix == ".dll" : suffix = ".lib" _get_node_with_ixes . node_type_ixes [ cache_key ] = ( prefix , suffix ) node_with_ixes = SCons . Util . adjustixes ( node , prefix , suffix ) return node_factory ( node_with_ixes )