system/src/sc/lang/js/JSRuntimeProcessor.java
boolean appendJSType(BodyTypeDeclaration td, StringBuilder result, GenFileLineIndex lineIndex) {
      td = ensureTransformedResult(td);
      if (td == null) {
         System.err.println("*** No transformed result in appendJSType: ");
         td = ensureTransformedResult(td);
         return false;
      }
      if (!processedTypes.contains(td.getFullTypeName()) && !hasJSLibFiles(td)) {
         if (td.getJavaModel() == null) {
            System.err.println("*** Error null java model for JS type");
            return false;
         }
         td.getJavaModel().disableTypeErrors = true;
         appendJSTypeTemplate(td, result, lineIndex);
         //appendInnerJSTypes(td, result);
         return true;
      }
      return false;
   }
/** Makes sure the type has been transformed and converts it to JS */
Makes sure the type has been transformed and converts it to JS
Makes sure the type has been transformed and converts it to JS
boolean appendJSType(BodyTypeDeclaration td, StringBuilder result, GenFileLineIndex lineIndex) {
      td = ensureTransformedResult(td);
      if (td == null) {
         System.err.println("*** No transformed result in appendJSType: ");
         td = ensureTransformedResult(td);
         return false;
      }
      if (!processedTypes.contains(td.getFullTypeName()) && !hasJSLibFiles(td)) {
         if (td.getJavaModel() == null) {
            System.err.println("*** Error null java model for JS type");
            return false;
         }
         td.getJavaModel().disableTypeErrors = true;
         appendJSTypeTemplate(td, result, lineIndex);
         return true;
      }
      return false;
   }
boolean appendJSType ( BodyTypeDeclaration td , StringBuilder result , GenFileLineIndex lineIndex ) { td = ensureTransformedResult ( td ) ; if ( td == null ) { System . err . println ( "*** No transformed result in appendJSType: " ) ; td = ensureTransformedResult ( td ) ; return false ; } if ( ! processedTypes . contains ( td . getFullTypeName ( ) ) && ! hasJSLibFiles ( td ) ) { if ( td . getJavaModel ( ) == null ) { System . err . println ( "*** Error null java model for JS type" ) ; return false ; } td . getJavaModel ( ) . disableTypeErrors = true ; appendJSTypeTemplate ( td , result , lineIndex ) ; return true ; } return false ; }
Makes sure the type has been transformed and converts it to JS
Makes sure the type has been transformed and converts it to JS
//appendInnerJSTypes(td, result);