Back: Symbol-testing functionality Up: Base classes Forward: SymLink class-instance creation   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.158 SymLink

Defined in namespace Smalltalk
Superclass: Link
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.

1.158.1 SymLink class: instance creation  (class)
1.158.2 SymLink: accessing  (instance)
1.158.3 SymLink: iteration  (instance)
1.158.4 SymLink: printing  (instance)


1.158.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.


1.158.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.


1.158.3 SymLink: iteration

do: aBlock
Evaluate aBlock for each symbol in the list


1.158.4 SymLink: printing

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



Back: SymLink-iteration Up: SymLink Forward: SystemDictionary   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on July, 23 2009 using texi2html