eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'VoidObject':

Home

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

Class: VoidObject


Inheritance:

   Object
   |
   +--VoidObject

Package:
stx:libbasic
Category:
Kernel-Objects
Version:
rev: 1.4 date: 2018/03/14 18:32:38
user: stefan
file: VoidObject.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

Description:


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.


Class protocol:

class initialization
o  initialize
for JavaScript code

instance creation
o  basicNew
VoidObject basicNew
VoidObject new


Instance protocol:

printing & storing
o  printOn: aStream

queries
o  isVoid
Void isVoid



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 26 May 2022 10:36:47 GMT