lass definition
Class definition is accomplished by sending a message to a super class or the NameSpace class. The following code was generated by Cincom Smalltalk IDE which defines a class Node. Most Smalltalk IDEs can generate code templates for class definitions, you don’t need to remember the exactly syntax of the message.
Smalltalk.MyTree defineClass: #Node
superclass: #{Core.Object}
indexedType: #none
private: false
instanceVariableNames: 'value left right height '
classInstanceVariableNames: ''
imports: ''
category: 'BinaryTree'