Radical suggestions
R. A. Harmon
harmonra at webname.com
Fri Jul 16 16:31:50 UTC 1999
At 05:13 PM 7/15/99 -0400, you wrote:
[snip]
>VSE has two source code grouping mechanisms: the package and the container.
>Packages hold code and containers can hold packages and other containers.
>It is really quite nice; the tools represent the container/package metaphor
>with tree view widgets, much like Bob Arning's Hierarchical morph.
[snip]
That is something like I implemented for the SIF reader/writer program using
the composite pattern in the subclass hierarchy:
ProgramAbstractComponent
ElementDefinition
CodeDefinitionionElement
InitializerElement
ClassInitializerElement
GlobalInitializerElement
PoolValueInitializerElement
ProgramInitializerElement
MethodDefinitionElement
ObjectDefinitionElement
ClassDefinitionElement
GlobalDefinitionElement
PoolDefinitionElement
PoolValueDefinitionElement
ProgramCommentElement
ProgramComponentSet
GroupingSet
ClassAllSet
GlobalAllSet
PoolAllSet
ProgramDefinitionSet
It handles loose methods and any other loose stuff like additional pool
value, etc.
--
Richard A. Harmon "The only good zombie is a dead zombie"
harmonra at webname.com E. G. McCarthy
More information about the Squeak-dev
mailing list
|