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.26 date: 2013/04/11 08:47:43
user: stefan
file: UndefinedVariable.st directory: libcomp
module: stx stc-classLibrary: libcomp
Author:
Claus Gittinger

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.


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

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

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

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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 18 Aug 2022 14:02:55 GMT