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
|