Node createYield(JSType jsType, Node value) {
    Node result = IR.yield(value);
    if (isAddingTypes()) {
      result.setJSType(checkNotNull(jsType));
    }
    return result;
  }
Node createYield ( JSType jsType , Node value ) { Node result = IR . yield ( value ) ; if ( isAddingTypes ( ) ) { result . setJSType ( checkNotNull ( jsType ) ) ; } return result ; }
Returns a new {@code yield} expression.

@param jsType Type we expect to get back after the yield
@param value value to yield