TinML Syntax Notation
The following notation is used in the syntax descriptions in the TinML Reference:
Syntax Element | Description | Example |
---|---|---|
Keyword |
UPPERCASE words identify keywords. Keywords in TinML are actually case-insensitive. In the syntax descriptions and examples, keywords are written in uppercase for clarity. |
|
Object Identifier |
An element identifier is indicated by angle brackets and the term “identifier”. Object identifiers are case-insensitive. They must begin with a letter and may only consist of letters, numbers, underscore characters (_), dollar symbols ($), and hash characters (#), and must not contain spaces. |
<technology identifier> |
Object Name |
An element name is indicated by angle brackets and the term “name”. Object names are restricted by the same rules as object identifiers. However, if enclosed in quotation marks, object names are case-sensitive and may also contain spaces and the following characters: ßäüöÄÜÖ!§$%&/()={}[]\+*-_#.:;,<>|?@" If a quotation mark is to be used within an object name, the quotation mark must be specified twice. |
<business area name> |
Data Type |
A data type element is indicated by angle brackets and the term “data type”. Data types are case-insensitive. They must begin with a letter and may only consist of letters, numbers, and underscore characters (_). If data type identifiers are enclosed in square brackets [], they can also contain spaces. |
<source data type> |
Expression |
An expression contains business attributes, SQL functions and SQL operators and is indicated by the term “expression”. Expressions in TinML must be enclosed in curly brackets {}. |
<filter expression> |
String | A string is enclosed in quotation marks. | ";" |
Optional Element | An optional element is enclosed in square brackets. | [DEFINE] BUSINESS AREA |
Repeated Element | A repeated element is enclosed in curly brackets. | [{"," <business alias name>"."<business attribute name>}]
|
Optional Components | Round brackets with a leading plus sign indicate a list of optional components from which at least one component must be specified. | +([ADD <object name>] [REMOVE <object name>]) |