docstr: Created to be used by inheritance.
docstr_tok: ["Created","to","be","used","by","inheritance","."]
code: def infer_function_execution(self, function_execution):
      """
      Created to be used by inheritance.
      """
      is_coroutine = self.tree_node.parent.type == "async_stmt"
      is_generator = bool(
          get_yield_exprs(self.evaluator, self.tree_node)
      )
  
      if is_coroutine:
          if is_generator:
              if self.evaluator.environment.version_info < (3, 6):
                  return NO_CONTEXTS
              return ContextSet(
                  asynchronous.AsyncGenerator(
                      self.evaluator, function_execution
                  )
              )
          else:
              if self.evaluator.environment.version_info < (3, 5):
                  return NO_CONTEXTS
              return ContextSet(
                  asynchronous.Coroutine(
                      self.evaluator, function_execution
                  )
              )
      else:
          if is_generator:
              return ContextSet(
                  iterable.Generator(self.evaluator, function_execution)
              )
          else:
              return function_execution.get_return_values()
  
imports: from parso.python import tree
  from jedi._compatibility import use_metaclass
  from jedi import debug
  from jedi.evaluate.cache import evaluator_method_cache, CachedMetaClass
  from jedi.evaluate import compiled
  from jedi.evaluate import recursion
  from jedi.evaluate import docstrings
  from jedi.evaluate import pep0484
  from jedi.evaluate import flow_analysis
  from jedi.evaluate import helpers
  from jedi.evaluate.arguments import AnonymousArguments
  from jedi.evaluate.filters import ParserTreeFilter, FunctionExecutionFilter, ContextName, AbstractNameDefinition, ParamName
  from jedi.evaluate.base_context import ContextualizedNode, NO_CONTEXTS, ContextSet, TreeContext
  from jedi.evaluate.lazy_context import LazyKnownContexts, LazyKnownContext, LazyTreeContext
  from jedi.evaluate.context import iterable
  from jedi.evaluate.context import asynchronous
  from jedi import parser_utils
  from jedi.evaluate.parser_cache import get_yield_exprs
label_desc: Use image node_id 6 for calling the AbstractFunction obj's underlying member method code with example usage: obj.infer_function_execution(function_execution) and returns: ContextSet, ContextSet, ContextSet, function_execution, NO_CONTEXTS, NO_CONTEXTS