|
|
Sponsor |
Nice/src/bossa/syntax call.nice,1.9,1.10 constructor.nice,1.5,1.6 defaultMe: msg#00041lang.nice.cvs
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6384/F:/nice/src/bossa/syntax Modified Files: call.nice constructor.nice defaultMethod.nice javaclass.nice monotype.nice typeIdent.nice Log Message: Removed dead code. Index: typeIdent.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/typeIdent.nice,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** typeIdent.nice 12 Jan 2005 22:06:54 -0000 1.3 --- typeIdent.nice 13 Jan 2005 23:56:06 -0000 1.4 *************** *** 129,144 **** } - - public Monotype createTypeIdent(LocatedString name) - { - return new TypeIdent(name: name); - } - /* - public mlsub.typing.Interface[?] resolveToItf(TypeMap scope, ?List<TypeIdent> idents) - { - if (idents==null || idents.size()==0) - return null; - - return idents.mapToArray(TypeIdent ti => ti.resolveToItf(scope)); - } - */ \ No newline at end of file --- 129,130 ---- Index: monotype.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/monotype.nice,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** monotype.nice 12 Jan 2005 22:06:53 -0000 1.8 --- monotype.nice 13 Jan 2005 23:56:06 -0000 1.9 *************** *** 76,82 **** /** called instead of toString if parenthesis are unnecessary */ public String toStringExtern() = this.toString(); - - /** don't print type parameters */ - public String toStringBase() = this.toString(); } --- 76,79 ---- Index: javaclass.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/javaclass.nice,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** javaclass.nice 20 Dec 2004 20:25:53 -0000 1.4 --- javaclass.nice 13 Jan 2005 23:56:06 -0000 1.5 *************** *** 81,104 **** } - - /** - * Returns a java type constructor with the given name - * and the given java type. - * <p> - * Usefull for primitive types. - */ - TypeConstructor makeJavaClass(bossa.modules.Compilation compilation, String name, - gnu.bytecode.Type javaType) - { - ?TypeConstructor tc = compilation.javaTypeConstructors.get(javaType); - if(tc!=null) - return tc; - - // we put the new JTC in the hashtable in the constructor - // and not after it returned, to avoid infinite loop - // if the code of the constructor does a lookup. - return createJavaType(compilation, name, javaType); - } - /** * @return null, except if javaName already had an --- 81,84 ---- Index: call.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/call.nice,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** call.nice 13 Jan 2005 16:47:34 -0000 1.9 --- call.nice 13 Jan 2005 23:56:06 -0000 1.10 *************** *** 254,266 **** } - public Expression createCallExp(Expression function, - Expression param1, Expression param2, - Expression param3) - { - let res = new CallExp(function:function, arguments:new Arguments(arguments: [new Argument(value: param1), new Argument(value: param2), new Argument(value: param3)])); - res.setLocation(function.location()); - return res; - } - public Expression createCallExp(Expression func, Arguments args, boolean infix, boolean hasBrackets) { --- 254,257 ---- Index: defaultMethod.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/defaultMethod.nice,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** defaultMethod.nice 3 Jan 2005 01:24:28 -0000 1.6 --- defaultMethod.nice 13 Jan 2005 23:56:06 -0000 1.7 *************** *** 85,93 **** } - void typedResolve() - { - notNull(declaration).typedResolve(); - } - void innerTypecheck() { --- 85,88 ---- Index: constructor.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/constructor.nice,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** constructor.nice 4 Jan 2005 21:20:39 -0000 1.5 --- constructor.nice 13 Jan 2005 23:56:06 -0000 1.6 *************** *** 14,19 **** import bossa.util.*; - //import mlsub.typing.Constraint; - //import mlsub.typing.Monotype; /** --- 14,17 ---- ------------------------------------------------------- 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> |
|---|---|---|
| Previous by Date: | Nice/src/nice/tools/compiler/console listener.nice,1.4,1.5 main.nice,1.9,1.10, Arjan Boeijink |
|---|---|
| Next by Date: | Nice NEWS,1.57,1.58, Arjan Boeijink |
| Previous by Thread: | Nice/src/nice/tools/compiler/console listener.nice,1.4,1.5 main.nice,1.9,1.10, Arjan Boeijink |
| Next by Thread: | Nice NEWS,1.57,1.58, Arjan Boeijink |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|