token

token — A unit of information.

Synopsis

token ::= [-]

Description

A token identifies a unit of information. Usually, “tokens” are the result of some processing pass that has performed lexical analysis and divided a data set into the smallest units of information used for subsequent processing.

Exactly what constitutes a token varies by context.

Processing expectations

Formatted inline.

Children [+]

This element contains 29 elements.

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example token</title>

<para>In parsing, line ends are turned into the <token>CRLF</token>, all other
whitespace becomes <token>WHITESP</token>.
</para>

</article>

In parsing, line ends are turned into the CRLF, all other whitespace becomes WHITESP.

Last revised by Norman Walsh on 6 Jun 2011 (git hash: 6ffcc7640bbc5f852a318e452c9f210f03292cb9)