Expand description
Runtime configuration options and default flags for EITE processing.
Functions§
- get_
enabled_ variants_ for_ format - Get enabled variants for a format/direction. Splits the setting “variants” value (space-delimited).
- get_
exec_ option - Get execution option (JS getExecOption) – returns empty string if not present.
- get_
exec_ options - Get full execution options array (kv flattened array form).
- get_
export_ settings - Internal: get current export settings string for a format id.
- get_
format_ export_ setting - Get a single export setting (empty string if not set).
- get_
format_ export_ settings - Entire export settings (kv array form).
- get_
format_ import_ setting - Get a single import setting (empty string if not set).
- get_
format_ import_ settings - Entire import settings (kv array form).
- get_
import_ settings - Internal: get current import settings string for a format id.
- get_
preferred_ code_ language_ for_ format - Preferred code language for a format/direction. Defaults to
env_code_languageand scans for variants of the form “pl_<lang>”. Returns just the<lang>portion if found. - get_
preferred_ language_ for_ format - Preferred language (variant) for a format/direction. Defaults to
the environment language (
state.env_language) and scans the variant list for entries beginning with “lang_”. - get_
setting_ for_ format - Return the value string for a single setting key, or “” if not present.
- get_
settings_ for_ format - Returns a flat array of key/value pairs for a format’s settings (direction “in” for import or anything else for export).
- has_
import_ setting - Check whether a named key exists in format (import/export) settings. (JS implIn equivalent for import direction).
- pop_
export_ settings - Pop (restore) last deferred export settings for the given format id.
- pop_
format_ export_ setting - Restore an export setting.
- pop_
format_ import_ setting - Restore an import setting to provided previous value.
- pop_
import_ settings - Pop (restore) last deferred import settings for the given format id.
- push_
export_ settings - Push (defer) current export settings for given format id, then replace.
- push_
format_ export_ setting - Temporarily set an export setting; returns previous value.
- push_
format_ import_ setting - Temporarily set an import setting; returns previous value (empty string if unset).
- push_
import_ settings - Push (defer) current import settings for given format id onto a shared stack, then replace with the provided new setting string.
- set_
exec_ option - Set an execution option.
- set_
format_ export_ setting - Set a single export setting (adds if missing).
- set_
format_ export_ settings - Replace entire export settings (kv array form).
- set_
format_ import_ setting - Set a single import setting (adds if missing).
- set_
format_ import_ settings - Replace entire import settings (kv array form).
- setting_
array_ to_ string - Converts an even-length key/value array to a settings string in the format “k1:v1,k2:v2,”. Returns an error if the key is not a valid StageL identifier. This deliberately doesn’t match the JS version, which appears to have had a bug that caused it to format the string as “k1,v1:k2,v2:”.
- setting_
string_ to_ array - Parse a format’s setting string into a flat key/value
Vec<String>.