User Tools

Site Tools


token

In general, a token is an object that represents something else, such as another object (either physical or virtual), or an abstract concept as, for example, a gift is sometimes referred to as a token of the giver's esteem for the recipient. In computers, there are a number of types of tokens. A programming token is the foundational component of source code, also called variable, though perhaps, incorrectly. In reality, characters are categorized as one of five classes of tokens that describe their functions (constants, identifiers, operators, reserved words, and separators) in accordance with the rules of the programming language.

token.txt · Last modified: 2006/10/15 09:35 (external edit)