Tokens
A token in a programming language is the smallest significant sequence of characters. In the lsFusion language tokens are keywords, simple IDs, literals and special character sequences.
Tokens are usually separated by delimiters (spaces, line breaks, tabs), but separators can be omitted in cases where ambiguity does not occur.
Examples
Token type | Example |
---|---|
Keyword | CLASS FORM DATA IF INTEGER |
Simple ID | System base Object incomeDocument |
Literal | 5 1.25 'Text String' #FF00FF 1982_07_13 |
Special character | : -> != (+) ### |