|
Class: VoidObject
Object
|
+--VoidObject
- Package:
- stx:libbasic
- Category:
- Kernel-Objects
- Version:
- rev:
1.6
date: 2021/09/27 06:55:19
- user: cg
- file: VoidObject.st directory: libbasic
- module: stx stc-classLibrary: libbasic
there is only one instance of this class: Void,
representing a void value.
This is mainly present for Scheme-like read-eval-print loops,
in which methods may return void to prevent it from being printed.
It may also be useful to represent void values as returned from calls
to external functions (C-void functions) or from remote procedure calls.
Smalltalk code does not normally use it.
copyrightCOPYRIGHT (c) 2016 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 initialization
-
initialize
-
for JavaScript code
instance creation
-
new
-
VoidObject basicNew
VoidObject new
printing & storing
-
printOn: aStream
-
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.
The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.
queries
-
isVoid
-
Void isVoid
|