|
From: <fra...@us...> - 2009-07-29 07:32:48
|
Revision: 1789
http://javapathfinder.svn.sourceforge.net/javapathfinder/?rev=1789&view=rev
Author: frankrimlinger
Date: 2009-07-29 07:32:40 +0000 (Wed, 29 Jul 2009)
Log Message:
-----------
Forgot to add comments for 1788
Added <className> type and assigned this type to the already existing ClassNameSym. Hardcoded all immutability assignments to avoid boot timing problems. Created ImmutableSym class to handle a lot of symbols that just wanted immutability. Henceforth, if you want to be immutable, just create a new class and designate it to be immutable. Reworked the "empty string" as the singleton class EmptyString extending StringSym. This finally clears up a very ugly hack involving the Marker class, and allows for transparent use of the empty string in the code base. Made all the type assignments of the Sym class static because these are so heavily used. This ugliness could be avoided by subclassing, which also would mesh with the idea that immutability is a class level concept. Ported the fourchar action names per rev 1787.
TODO: type assignment rules and fourchar port in rulebase.
Revision Links:
--------------
http://javapathfinder.svn.sourceforge.net/javapathfinder/?rev=1787&view=rev
Modified Paths:
--------------
branches/mango/Mango/Mango/src/mango/control/action/control/DebugRewriterAction.java
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|