system/src/sc/lang/sql/SQLFileModel.java
public String toLanguageString() {
      if (parseNode == null) {
         Object genRes = SQLLanguage.INSTANCE.generate(this, false);
         if (genRes instanceof IParseNode)
            parseNode = (IParseNode) genRes;
         else
            System.out.println("Generation error for sql model: " + toModelString());
      }
      return super.toLanguageString();
   }
/** TODO: we should have a way to figure out the parselet for a top-level semantic node class to make this unnecessary */
we should have a way to figure out the parselet for a top-level semantic node class to make this unnecessary
we should have a way to figure out the parselet for a top - level semantic node class to make this unnecessary
public String toLanguageString() {
      if (parseNode == null) {
         Object genRes = SQLLanguage.INSTANCE.generate(this, false);
         if (genRes instanceof IParseNode)
            parseNode = (IParseNode) genRes;
         else
            System.out.println("Generation error for sql model: " + toModelString());
      }
      return super.toLanguageString();
   }
public String toLanguageString ( ) { if ( parseNode == null ) { Object genRes = SQLLanguage . INSTANCE . generate ( this , false ) ; if ( genRes instanceof IParseNode ) parseNode = ( IParseNode ) genRes ; else System . out . println ( "Generation error for sql model: " + toModelString ( ) ) ; } return super . toLanguageString ( ) ; }
TODO: we should have a way to figure out the parselet for a top-level semantic node class to make this unnecessary
TODO : we should have a way to figure out the parselet for a top - level semantic node class to make this unnecessary