system/src/sc/lang/AbstractInterpreter.java
public void print() {
      JavaModel model = getModel();
      if (model.types != null && model.types.size() > 0)
         System.out.println(getModel().toLanguageString());
      else {
         if (model.packageDef != null)
            System.out.println(model.packageDef.toLanguageString());
         if (model.imports != null && model.imports.size() > 0)
            System.out.println(model.imports.toLanguageString());
      }
   }
/** Prints out the definition of the current type or model  */
Prints out the definition of the current type or model
Prints out the definition of the current type or model
public void print() {
      JavaModel model = getModel();
      if (model.types != null && model.types.size() > 0)
         System.out.println(getModel().toLanguageString());
      else {
         if (model.packageDef != null)
            System.out.println(model.packageDef.toLanguageString());
         if (model.imports != null && model.imports.size() > 0)
            System.out.println(model.imports.toLanguageString());
      }
   }
public void print ( ) { JavaModel model = getModel ( ) ; if ( model . types != null && model . types . size ( ) > 0 ) System . out . println ( getModel ( ) . toLanguageString ( ) ) ; else { if ( model . packageDef != null ) System . out . println ( model . packageDef . toLanguageString ( ) ) ; if ( model . imports != null && model . imports . size ( ) > 0 ) System . out . println ( model . imports . toLanguageString ( ) ) ; } }
Prints out the definition of the current type or model
Prints out the definition of the current type or model