Lexical Analysis - Identifier Token

Compiler

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





Discover More
Card Puncher Data Processing
Language - (Variable | Field)

Variables in a computer language are used to store data information. A variable is a piece of storage containing a value. Variables created by declarations are identified: by a name, such as x, ...
Card Puncher Data Processing
Language - Scope of an identifier (Variable, Package, Lexical)

Scope determines where and how identifiers (variable, function, class) are stored. See also, same as : A scope can be nested inside another scope. If one scope is nested inside another, code inside...
Compiler
Language - Symbol table

A symbol table is a used by a compiler or interpreter, where each identifier (a.k.a. symbol with a name) in a program's source code is associated with information relating to its declaration or appearance...
Compiler
Lexical Analysis - (Token|Lexical unit|Lexeme|Symbol|Word)

A token is symbols of the vocabulary of the language. Each token is a single atomic unit of the language. The token syntax is typically a regular language, so a finite state automaton constructed from...
Data System Architecture
Logical Data Modeling - Global Identifier (Fully Qualified Name, Canonical Form)

A global identifier identify uniquely a primary element (entity or relationship) in the global scope It's also generally known as: the fully qualified id the fully qualified name the canonical...



Share this page:
Follow us:
Task Runner