Category: Language-Implementation
Superclass: Link
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.

Method category index

instance creation (class)
accessing (instance)
iteration (instance)
printing (instance)

instance creation (class)

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

top


accessing (instance)

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.

top


iteration (instance)

do: aBlock
Evaluate aBlock for each symbol in the list

top


printing (instance)

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

top