Smalltalk/X WebserverDocumentation of class 'Class::SimulatedClassPool': | |
Class: SimulatedClassPool (private in ClassThis class is only visible from within Class.Inheritance:Object | +--Class::SimulatedClassPool
Description:in contrast to other smalltalks, ST/X does not keep the classVariables in a dictionary; instead, classVariables are stored as special globals, with the className as prefix (colon-separated). The reason is that stc-compiled code should be allowed to access classVars in a similar fashion to globals. Whenever a classes classPool is requested (by code imported from visualworks), an instance of myself is created, which forwards at: and at:put: messages to the original class. Notice that classPools are never asked for by smalltalk/x code - especially not by the browser. However, imported code (like the refactory browser) may do so. This is an additional goody class; therefore: THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Instance protocol:accessing
Private classes:SimulatedVariableBinding |
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 16:16:02 GMT |