eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'UndefinedVariable':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: UndefinedVariable


Inheritance:

   Object
   |
   +--UndefinedVariable

Package:
stx:libcomp
Category:
System-Compiler-Support
Version:
rev: 1.28 date: 2021/01/20 10:29:54
user: cg
file: UndefinedVariable.st directory: libcomp
module: stx stc-classLibrary: libcomp

Description:


node for parse-trees, representing undefined variables
This is a helper class for the compiler.

This class exists solely for the error message when accessing undefined
variables - instead of returning nil,  the compiler returns an instance
of this class,  which will not understand ANY message.
The error message will then be 'UndefinedVariable ...' 
instead of 'UndefineObject ...', which is somewhat more informative.

copyright

COPYRIGHT (c) 1993 by Claus Gittinger All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

instance creation
o  name: aString


Instance protocol:

accessing
o  name
return the value of the instance variable 'name' (automatically generated)

catching messages
o  class

o  methods

o  methodsFor

o  methodsFor: arg

o  methodsFor: aCategory stamp: time
This was added to allow squeak code to be filedIn.

o  privateMethodsFor: arg

o  protectedMethodsFor: arg

o  publicMethodsFor: arg

o  subclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s

o  subclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s category: cat

o  subclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s classInstanceVariableNames: ci

o  variableByteSubclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s category: cat
Modified (format): / 26-12-2020 / 13:36:35 / exept MBP

o  variableSubclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s category: cat
Modified (format): / 26-12-2020 / 13:36:42 / exept MBP

o  variableWordSubclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s category: cat
Modified (format): / 26-12-2020 / 13:36:45 / exept MBP

error reporting
o  methodError

o  subclassingError

file skipping
o  fileInFrom: aStream notifying: someOne passChunk: passChunk
this is sent, if you continue after a warning about
methods for undefined class.
It simply skips chunks and sends a warning to the Transcript.

printing & storing
o  printOn: aStream
print myself on aStream

Usage example(s):

     self new printOn:Transcript

private-accessing
o  setName: aString



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 04:38:49 GMT