Skip to main content

Module methods

Module methods 

Source
Expand description

Default implementations for Gullet methods.

Structs§

NumContinuation

Enums§

CSOrActiveChar
Either a CSName or an active character

Functions§

expand_until_endgroup
Default implementation for Gullet::expand_until_endgroup.
false_loop
What to do on a false conditional - skips Tokens until the next \else (if allowelse is true) or \fi If skipelse is false, precisely one \else is skipped as well (this happens in \ifcase when the appropriate case is already done, so the corresponding \else should be skipped).
read_arguments
processes the parameter signature params of a Macro by reading the relevant arguments; storing them in args
read_chars
Default implementation for Gullet::read_chars.
read_dim
Default implementation for Gullet::read_dim.
read_dim_byte
reads a dimension literal starting with b.
read_dim_command
reads a dimension from some TeXCommand that should correspond to a dimension value (e.g. \dimen or \hsize). If the command is a skip, the base value is taken. If the command is an integer, it looks for an appropriate unit.
read_int
default implementation for Gullet::read_int
read_int_byte
reads an integer literal starting with b.
read_int_command
reads an integer from some TeXCommand that should correspond to an integer value (e.g. \count or \lastpenalty).
read_keyword
Default implementation for Gullet::read_keyword.
read_keywords
Default implementation for Gullet::read_keywords.
read_maybe_braced_string
Default implementation for Gullet::read_maybe_braced_string.
read_mudim
Default implementation for Gullet::read_mudim.
read_muskip
Default implementation for Gullet::read_muskip.
read_muskip_byte
reads a muskip or mudim literal starting with b.
read_muskip_command
reads a muskip or mudim value from some TeXCommand that should correspond to a muskip value (e.g. \muskip or \lastskip).
read_numeric
Takes care of the boilerplate for reading a number/dimension/skip. Expands Tokens until an unexpandable Token is encountered; skips = if skip_eq is true, returns true in the first component if an odd number of --characters is encountered before the first digit, returns in the second component either the ASCII value of the fist simple Token encountered, or the relevant TeXCommand in the case of a control sequence. Spaces are skipped.
read_skip
Default implementation for Gullet::read_skip.
read_skip_byte
reads a skip literal starting with b.
read_skip_command
reads a skip from some TeXCommand that should correspond to a skip value (e.g. \skip or \lastskip). If the command only yields an integer or dimension, the remaining components of the skip are read.
read_string
Default implementation for Gullet::read_string.