Skip to main content

Module commands

Module commands 

Source
Expand description

Commands - primitives, macros, etc. The B-book largely calls these “equivalents”, but we use the more standard term “command” instead.

Modules§

etex
methods
Utility methods for TeXCommands.
primitives
Methods for PrimitiveCommands and for registering new ones
tex

Structs§

Macro
A macro, e.g. the result of \def\foo#1#2{...}.
MacroSignature
A macro signature, e.g. #1#2#3 or #1t#2\foo{.
Meaning
A helper struct for displaying the \meaning of a TeXCommand; implements Display.

Enums§

ActiveConditional
A currently active conditional, e.g. \ifnum, \ifx, etc.
CharOrPrimitive
See Gullet::char_or_primitive.
CommandScope
The scope of a PrimitiveCommand::Unexpandable.
PrimitiveCommand
A primitive command defined from the outset. All of the fn methods are called with (at least) the current EngineReferences and the Token that triggered the command.
ResolvedToken
A Token that has been resolved to a TeXCommand or a character (if not a control sequence / active character).
TeXCommand
A command.