Skip to content

fontlabapp.features.identity_tools.feature_authoring.suffix_substitution · declarations 001

Back to fontlabapp.features.identity_tools.feature_authoring.suffix_substitution

ACTION module-attribute

ACTION

KEY module-attribute

KEY

SUBTITLE module-attribute

SUBTITLE

TITLE module-attribute

TITLE

append_code

append_code(old: str, tag: str, pairs: list[tuple[str, str]]) -> str

Insert before a complete feature's closing tag, preserving existing source.

run

run(package: Any, layout: Any, tag: str, old: str, new: str, *, expected_blocks: dict, references: list[str]) -> dict

Append via the shared exact-source writer; retain the original run arguments.

layout is retained for compatibility, but writes never use the unsafe raw feature setter. The full preview snapshot binds prefix and unrelated blocks.