Expand description
Common abstractions that are useful at various stages of Core processing
Modules§
- arena
- An arena for interning strings (global, mutable, single thread only)
- cleaners
- color
- def_
parser - dimension
- error
- float
- font
- glue
- ligature
- local_
assignments - Perl-style local assignments (dynamic scope)
- locator
- mathchar
- model
- mudimension
- muglue
- number
- numeric_
ops - object
- pair
- relaxng
- Native Rust port of LaTeXML’s
LaTeXML::Common::Model::RelaxNG. - store
- xml
Structs§
Enums§
Functions§
- native_
dispatcher - Lift a native (compiled-in) binding dispatcher — one with no source file
to name — into a
ResolvingBindingDispatcher: a successful load reportsNonesource, so the caller announces it by its module-proxy name. Pairs with the runtimerhai_dispatchtier, which reports the real.rhaipath.
Type Aliases§
- Binding
Dispatcher - A compiled-binding dispatcher: given a request name, either declines
(
None, so the next resolution tier is tried) or reports the load outcome (Some(Ok(()))/Some(Err(_))). It resolves compiled-in bindings, which have no source file, so it carries no path — the load note announces such a binding by its module-proxy name (<name>_sty.rs). - Binding
Source - The on-disk source a binding was loaded from, when it has one:
Some(path)for a runtime file binding (e.g. a.rhaiscript),Nonefor a compiled-in binding. Threaded through the resolving dispatcher’s result so the “(Loading …)” note can name the real path (#560) — rather than a State side-channel. - Label
Mapping Hook - Perl: LABEL_MAPPING_HOOK => sub { ($label, $ctr, $norefnum) => ($refnum, $id) } Returns (optional refnum string, optional id string)
- Resolving
Binding Dispatcher - The resolving binding dispatcher installed as the single, ordered
resolution chain (see
converter::install_binding_dispatch). Unlike a bareBindingDispatcher, a successful load reports theBindingSourceit loaded from, so a file binding announces its real path and a compiled one its proxy name.