logo       

Nice/src/bossa/modules Package.java,1.133,1.134: msg#00045

Subject: Nice/src/bossa/modules Package.java,1.133,1.134
Update of /cvsroot/nice/Nice/src/bossa/modules
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3346/F:/nice/src/bossa/modules

Modified Files:
        Package.java 
Log Message:
Converted the last piece of NiceClass.

Index: Package.java
===================================================================
RCS file: /cvsroot/nice/Nice/src/bossa/modules/Package.java,v
retrieving revision 1.133
retrieving revision 1.134
diff -C2 -d -r1.133 -r1.134
*** Package.java        31 Dec 2004 20:23:31 -0000      1.133
--- Package.java        14 Jan 2005 11:12:08 -0000      1.134
***************
*** 608,617 ****
    static final String packageClassName = "fun";
  
!   public ClassExp getClassExp(NiceClass def)
    {
      if (compiling())
!       return def.createClassExp();
      
!     String name = def.getName().toString();
      ClassType classe = source.readClass(name);
      if (classe == null)
--- 608,617 ----
    static final String packageClassName = "fun";
  
!   public ClassExp getClassExp(Object def)
    {
      if (compiling())
!       return bossa.syntax.dispatch.NiceClass_createClassExp(def);
      
!     String name = bossa.syntax.dispatch.NiceClass_getName(def).toString();
      ClassType classe = source.readClass(name);
      if (classe == null)
***************
*** 625,629 ****
  
    /** Load methods compiled in a class (custom constructors for now). */
!   private void importMethods(NiceClass def, ClassType classe)
    {
      for(Method method = classe.getMethods();
--- 625,629 ----
  
    /** Load methods compiled in a class (custom constructors for now). */
!   private void importMethods(Object def, ClassType classe)
    {
      for(Method method = classe.getMethods();
***************
*** 631,635 ****
        method = method.getNext())
        {
!         Definition d = def.importMethod(method);
          if (d != null)
            definitions.add(d);
--- 631,635 ----
        method = method.getNext())
        {
!         Definition d = bossa.syntax.dispatch.NiceClass_importMethod(def, 
method);
          if (d != null)
            definitions.add(d);



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe