Skip to main content
Version: 5 (Next)

Tokens

A token in a programming language is the smallest significant sequence of characters. In the lsFusion language tokens are keywords, 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
IDSystem base Object incomeDocument
Literal5 1.25 'Text String' #FF00FF 1982_07_13
Special character: -> != (+) ###