Version 6 (modified by archibald, 8 years ago) (diff) |
---|
Table of Contents
Explaination of Notation
This is the TDX language ... So, you've probably got here by looking at a definition of a sub part of the TDX description.
in short ...
*NAMESPACE <spaceName> - <includedNameSpaces>* declares the namespace this definition is to be included eg. see namespaces
NAMESPACE $project:tdx - system:lang // creates or uses a namespace based in the current project called tdx // and includes the language system based namespace
*SINGLETON <singletonName>* declares a singleton (both class and instance definition), below which are listed the attributes that the singleton are constructed from eg. see singleton
SINGLETON system int aSolitaryInteger := 3 // static integer ubyte$ aSolitaryString := "system name" // static string classUnderScrutiny{} setOfObjectsUnderScrutiny // set/list of object instances of classUnderScrutiny
*CLASS <className>* declares a class (though not any instances), below which are listed the attributes that instances of the class are constructed from eg. see class
OBJECT classUnderScrutiny ( ubyte$ nameOfInstance ) // implies a single parameter constructor int sizeOfName = nameOfInstance->length // two fields, one is a part of the constructor