Tokens

Topaz source code tokens

The fundamental lexical building blocks of source code are called tokens. They are the words of the language, formed by combining characters in accordance with the programming language's rules. Tokens fall into five categories:

Comments

Constants

Constants

Integer constants

Constants

Float constants

Constants

Character constants

Constants

Simple string constants

Constants

Enhanced string constants

Constants

Boolean constants

Reserved words

Reserved words

Keywords

Reserved words

Hint directives

Identifiers