executePass
fun executePass(cls: KClass<out Pass<out Node>>, ctx: TranslationContext, result: TranslationResult, executedFrontends: Collection<LanguageFrontend<*, *>>)
Creates a new Pass (based on cls) and executes it sequentially on all target nodes of result.
Depending on the type of pass, this will either execute the pass directly on the overall result (in case of a TranslationUnitPass) or loop through each component or through each translation unit. The individual loop elements become the "target" of the execution of consumeTarget.