eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'EOFObject':

Home

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

Class: EOFObject


Inheritance:

   Object
   |
   +--EOFObject

Package:
stx:libbasic
Category:
Kernel-Objects
Version:
rev: 1.1 date: 2018/12/20 16:01:02
user: cg
file: EOFObject.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

Description:


there is only one instance of this class: EOF,
representing an EOF token.

This is mainly present for stream-pipe processing,
and may be used to signal the end of a stream.

Smalltalk code does not normally use it.


Class protocol:

class initialization
o  initialize
(comment from inherited method)
called only once - initialize signals

instance creation
o  basicNew
EOFObject basicNew
EOFObject new


Instance protocol:

printing & storing
o  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
o  isEOF
EOF isEOF



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Tue, 16 Apr 2024 14:46:44 GMT