Lexical Analysis - Identifier Token

About

A token that has a name is called an identifier.

Example:

Example:

Consider the following programming expression:

sum = 3 + 2;

Tokenized in the following table:

Token
Lexeme Lexeme type
sum Identifier
= Assignment operator
3 Integer literal
+ Addition operator
2 Integer literal
; End of statement

Documentation / Reference


Powered by ComboStrap