pub fn apply_locale(
program: &Program,
locale: &LocaleData,
base: &[Vec<LineEntry>],
mode: LocaleMode,
) -> Result<Vec<Vec<LineEntry>>, RuntimeError>Expand description
Apply a locale overlay to a set of base line tables.
Returns a new set of line tables with locale content replacing matching
scopes. The Program is used only for structural metadata (scope IDs,
checksum) — it is not mutated.