Interface IFormattingContextFactory<InsnType extends IInstruction>

Type Parameters:
InsnType -

public interface IFormattingContextFactory<InsnType extends IInstruction>
Customize instruction rendering via the generation of formatting-context objects.
  • Method Details

    • createFormattingContext

      Object createFormattingContext(InsnType insn)
      Generate a context object provided to instruction.format(obj).
      Parameters:
      insn - the instruction to be formatted
      Returns:
      a context object