docs: function inline(morph, env, scope, path, params, hash, visitor) {
      if (handleRedirect(morph, env, scope, path, params, hash, null, null, visitor)) {
        return;
      }
  
      var value = undefined,
          hasValue = undefined;
      if (morph.linkedResult) {
        value = env.hooks.getValue(morph.linkedResult);
        hasValue = true;
      } else {
        var options = optionsFor(null, null, env, scope, morph);
  
        var helper = env.hooks.lookupHelper(env, scope, path);
        var result = env.hooks.invokeHelper(morph, env, scope, visitor, params, hash, helper, options.templates, thisFor(options.templates));
  
        if (result && result.link) {
          morph.linkedResult = result.value;
          _htmlbarsUtilMorphUtils.linkParams(env, scope, morph, '@content-helper', [morph.linkedResult], null);
        }
  
        if (result && 'value' in result) {
          value = env.hooks.getValue(result.value);
          hasValue = true;
        }
      }
  
      if (hasValue) {
        if (morph.lastValue !== value) {
          morph.setContent(value);
        }
        morph.lastValue = value;
      }
    }