def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(new_file.parts_parser(True)), new_file.TheInstructionDocumentation(instruction_name))
def instr_setup(instruction: Instruction) -> SingleInstructionSetup: return SingleInstructionSetup( parser=ParserThatGives(instruction), documentation=instruction_documentation('instruction name'), )
def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( parser.Parser(), doc.TheInstructionDocumentation(instruction_name))
def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser( shell_common.parts_parser(instruction_name)), shell_common.DescriptionForNonAssertPhaseInstruction( instruction_name, phase_identifier.BEFORE_ASSERT.section_name))
def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(sys_cmd_common.parts_parser(instruction_name)), sys_cmd_common.DescriptionForNonAssertPhaseInstruction(instruction_name, phase_identifier.SETUP.section_name))
def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(parse.parts_parser(phase_is_after_act=True)), doc.TheInstructionDocumentation(instruction_name))
def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup(Parser(), actor_utils.InstructionDocumentation(instruction_name))
def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(new_dir_utils.PARTS_PARSER), new_dir_utils.TheInstructionDocumentation(instruction_name))
def _setup_hard_error_conf_phase_instruction( instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( _ParserOfConfPhaseInstructionThatCausesHardError(), instruction_documentation.instruction_documentation(instruction_name), )
def _setup_for_actor_that_parses_references( instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( _SetActorThatParsesReferences(), instruction_documentation.instruction_documentation(instruction_name), )