Implement native paragraph token naming and execution contexts

This commit is contained in:
gloamxun committed 2026-11-21 01:49:10 +08:00
1 parent 862801ee5f
commit 13ab32247d
12 files changed
+118 -24

No files matched your search

@@ -113,6 +113,7 @@ pub enum Parameter {
Tabskip,
Pdfprotrudechars,
Pdfadjustspacing,
Partokencontext,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
pub enum ParameterValue {
@@ -229,6 +230,7 @@ impl Parameter {
Self::Tabskip,
Self::Pdfprotrudechars,
Self::Pdfadjustspacing,
Self::Partokencontext,
];
pub fn name(self) -> String {
format!("{self:?}").to_ascii_lowercase()