Beispiel #1
0
def setup(instruction_name: str) -> SingleInstructionSetup:
    return SingleInstructionSetup(
        instruction_from_parts.Parser(new_file.parts_parser(True)),
        new_file.TheInstructionDocumentation(instruction_name))
Beispiel #2
0
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))
Beispiel #3
0
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))
Beispiel #4
0
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))
Beispiel #5
0
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)
Beispiel #7
0
def setup(instruction_name: str) -> SingleInstructionSetup:
    return SingleInstructionSetup(
        instruction_from_parts.Parser(new_dir_utils.PARTS_PARSER),
        new_dir_utils.TheInstructionDocumentation(instruction_name))
Beispiel #8
0
def setup(instruction_name: str) -> SingleInstructionSetup:
    return SingleInstructionSetup(
        instruction_from_parts.Parser(parse.PARTS_PARSER),
        doc.TheInstructionDocumentation(instruction_name))
Beispiel #9
0
def setup(instruction_name: str) -> SingleInstructionSetup:
    return SingleInstructionSetup(
        instruction_from_parts.Parser(parse.parts_parser(phase_is_after_act=True)),
        doc.TheInstructionDocumentation(instruction_name))