Changes between Initial Version and Version 1 of NotationExplaination


Ignore:
Timestamp:
2017-09-11 13:18:42 (8 years ago)
Author:
archibald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NotationExplaination

    v1 v1  
     1= Explaination of Notation = 
     2This is the TDX language ... 
     3So, you've probably got here by looking at a definition of a sub part of the TDX description. 
     4 
     5in short ... 
     6 
     7*SINGLETON <singletonName>* declares a singleton (both class and instance definition), below which are listed the attributes that the singleton are constructed from eg. 
     8 
     9{{{ 
     10SINGLETON system 
     11    int aSolitaryInteger := 3                      // static integer 
     12    ubyte$ aSolitaryString := "system name"        // static string 
     13    classUnderScrutiny{} setOfObjectsUnderScrutiny // set/list of object instances of classUnderScrutiny 
     14}}} 
     15 
     16*CLASS <className>* declares a class (though not any instances), below which are listed the attributes that instances of the class are constructed from eg. 
     17 
     18{{{ 
     19OBJECT classUnderScrutiny ( ubyte$ nameOfInstance ) 
     20    int sizeOfName = nameOfInstance->length        // two fields, one is a part of the constructor 
     21}}}