Skip to main content
Version: 5.x

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 typeExample
KeywordCLASS FORM DATA IF INTEGER
Simple IDSystem base Object incomeDocument
Literal5 1.25 'Text String' #FF00FF 1982_07_13
Special character: -> != (+) ###