token
token — A unit of information.
Synopsis
token ::= × ⏵
- Zero or more of:
- text
replaceable- Graphic inlines ⏵
- Indexing inlines ⏵
- Linking inlines ⏵
- Ubiquitous inlines ⏵
Attributes
Common attributes and common linking attributes.
No additional attributes.
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.
Attributes
Common attributes and common linking attributes.
- any attribute
Any attribute in any other explicit namespace
Parents
56 elements contain token. × ⏵
Children
29 elements occur in token. × ⏵
See Also
Examples
1 |<article xmlns='http://docbook.org/ns/docbook'>|<title>Example token</title>||<para>In parsing, line ends are turned into the <token>CRLF</token>, all other5 |whitespace becomes <token>WHITESP</token>.|</para>||</article>
In parsing, line ends are turned into the CRLF, all other
whitespace becomes WHITESP.