def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(new_file.parts_parser(True)), new_file.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.CLEANUP.section_name))
def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(run.parts_parser(instruction_name)), run.TheInstructionDocumentation(instruction_name, run.NON_ASSERT_PHASE_SINGLE_LINE_DESCRIPTION, outcome=run.NON_ASSERT_PHASE_OUTCOME))
def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(cd_utils.parts_parser(is_after_act_phase=True)), cd_utils.TheInstructionDocumentation(instruction_name, is_after_act_phase=True, is_in_assert_phase=False))
def setup(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(copy.parts_parser(True)), copy.TheInstructionDocumentation(instruction_name, True))
def instruction_from_parts_parser(self, parts_parser: InstructionPartsParser) -> InstructionParser: return instruction_from_parts.Parser(parts_parser)
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(instruction_name: str) -> SingleInstructionSetup: return SingleInstructionSetup( instruction_from_parts.Parser(parse.PARTS_PARSER), doc.TheInstructionDocumentation(instruction_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))