code: def transform_string(self, jsx, harmony=False, strip_types=False):
          
          opts = {'harmony': harmony, 'stripTypes': strip_types}
          try:
              result = self.context.call(
                  '%s.transform' % self.JSX_TRANSFORMER_JS_EXPR, jsx, opts)
          except execjs.ProgramError as e:
              raise TransformError(str(e))
          js = result['code']
          return js
docs: Transform ``jsx`` JSX string into javascript
  
          :param jsx: JSX source code
          :type jsx: basestring
          :keyword harmony: Transform ES6 code into ES3 (default: False)
          :type harmony: bool
          :keyword strip_types: Strip type declarations (default: False)
          :type harmony: bool
          :return: compiled JS code
          :rtype: str