|
Class: UndefinedVariable
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
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.
copyrightCOPYRIGHT (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.
instance creation
-
name: aString
-
accessing
-
name
-
return the value of the instance variable 'name' (automatically generated)
catching messages
-
class
-
-
methods
-
-
methodsFor
-
-
methodsFor: arg
-
-
methodsFor: aCategory stamp: time
-
This was added to allow squeak code to be filedIn.
-
privateMethodsFor: arg
-
-
protectedMethodsFor: arg
-
-
publicMethodsFor: arg
-
-
subclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s
-
-
subclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s category: cat
-
-
subclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s classInstanceVariableNames: ci
-
-
variableByteSubclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s category: cat
-
Modified (format): / 26-12-2020 / 13:36:35 / exept MBP
-
variableSubclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s category: cat
-
Modified (format): / 26-12-2020 / 13:36:42 / exept MBP
-
variableWordSubclass: t instanceVariableNames: f classVariableNames: d poolDictionaries: s category: cat
-
Modified (format): / 26-12-2020 / 13:36:45 / exept MBP
error reporting
-
methodError
-
-
subclassingError
-
file skipping
-
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
-
printOn: aStream
-
print myself on aStream
Usage example(s):
self new printOn:Transcript
|
private-accessing
-
setName: aString
-
|