/// <summary>
 /// Creates a new <see cref="ControlFlowNodeAdorner{TInstruction}"/> with
 /// the specified <see cref="IInstructionFormatter{TInstruction}"/>.
 /// </summary>
 /// <param name="formatter">The <see cref="IInstructionFormatter{TInstruction}"/> to format instructions with.</param>
 public ControlFlowNodeAdorner(IInstructionFormatter <TInstruction> formatter) =>
Beispiel #2
0
 internal override string Format(IInstructionFormatter <TInstruction> instructionFormatter) =>
 $"{instructionFormatter.Format(Instruction)}({string.Join(", ", Arguments)})";
Beispiel #3
0
 internal override string Format(IInstructionFormatter <TInstruction> instructionFormatter) => ToString();
Beispiel #4
0
 /// <summary>
 /// Creates a new instance of <see cref="StatementFormatter{TInstruction}"/> with the specified
 /// <see cref="IInstructionFormatter{TInstruction}"/>
 /// </summary>
 /// <param name="instructionFormatter">The <see cref="IInstructionFormatter{TInstruction}"/> used to
 /// format <see cref="InstructionExpression{TInstruction}"/>s with</param>
 public StatementFormatter(IInstructionFormatter <TInstruction> instructionFormatter) =>
Beispiel #5
0
 internal abstract string Format(IInstructionFormatter <TInstruction> instructionFormatter);