next up previous
Next: The Book class; paths; instance links
Up: The WOM language
Previous: The class element; detached instances

Attribute declarations

As demonstrated in the example of Section 2.12.1, a source file can contain <Attribute> elements. These declare a new attribute, directing the compiler to generate a pair of set and get methods for it.



Jocelyn Ireson-Paine
Fri May 30 14:03:06 BST 1997