Skip to main content

build_rule_set

Function build_rule_set 

Source
pub fn build_rule_set(track_exit_code: bool) -> TranslationRuleSet
Expand description

Builds the Shell -> JavaScript rule set.

track_exit_code emits exitCode = ... for each command, which is only needed when the script reads $?.