Back: Symbol-testing functionality
Up: Class reference
Forward: SymLink class-instance creation
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

6.135 SymLink

Defined in namespace Smalltalk
Category: Language-Implementation
I am used to implement the Smalltalk symbol table. My instances are links that contain symbols, and the symbol table basically a hash table that points to chains of my instances.

6.135.1 SymLink class: instance creation  (class)
6.135.2 SymLink: accessing  (instance)
6.135.3 SymLink: iteration  (instance)
6.135.4 SymLink: printing  (instance)


6.135.1 SymLink class: instance creation

symbol: aSymbol nextLink: aSymLink
Answer a new SymLink, which refers to aSymbol and points to aSymLink as the next SymLink in the chain.


6.135.2 SymLink: accessing

symbol
Answer the Symbol that the receiver refers to in the symbol table.

symbol: aSymbol
Set the Symbol that the receiver refers to in the symbol table.


6.135.3 SymLink: iteration

do: aBlock
Evaluate aBlock for each symbol in the list


6.135.4 SymLink: printing

printOn: aStream
Print a representation of the receiver on aStream.




This document was generated on May, 12 2002 using texi2html