class Ikra::Translator::InputTranslationResult

Attributes

command_translation_result[R]
override_block_parameters[R]

Change (override) parameters of the block (to actually pass different parameters). This does not affect type inference.

parameters[R]

Parameter names and types of the block (for type inference)

pre_execution[R]

Code to be executed before the actual execution of the block begins (but inside the block function)

Public Class Methods

new( pre_execution: "", parameters:, override_block_parameters: nil, command_translation_result:) click to toggle source
# File lib/translator/input_translator.rb, line 130
def initialize(
    pre_execution: "", 
    parameters:, 
    override_block_parameters: nil, 
    command_translation_result:)

    @pre_execution = pre_execution
    @parameters = parameters
    @override_block_parameters = override_block_parameters
    @command_translation_result = command_translation_result
end