code: def _get_forward_reference_node(context, string):
      try:
          new_node = context.evaluator.grammar.parse(
              force_unicode(string),
              start_symbol="eval_input",
              error_recovery=False,
          )
      except ParserSyntaxError:
          debug.warning("Annotation not parsed: %s" % string)
          return None
      else:
          module = context.tree_node.get_root_node()
          parser_utils.move(new_node, module.end_pos[0])
          new_node.parent = context.tree_node
          return new_node
  
imports: import os
  import re
  from parso import ParserSyntaxError, parse, split_lines
  from parso.python import tree
  from jedi._compatibility import unicode, force_unicode
  from jedi.evaluate.cache import evaluator_method_cache
  from jedi.evaluate import compiled
  from jedi.evaluate.base_context import NO_CONTEXTS, ContextSet
  from jedi.evaluate.lazy_context import LazyTreeContext
  from jedi.evaluate.context import ModuleContext
  from jedi.evaluate.helpers import is_string
  from jedi import debug
  from jedi import parser_utils
label_desc: Use image node_id 4 for calling a global function with example usage: _get_forward_reference_node(context, string) and returns: new_node, None