Interface IStorageEntryGenerator

All Known Implementing Classes:
CallingConvention.ArgLocationGenerator, CallingConvention.RetLocationGenerator

public interface IStorageEntryGenerator
A generator of routine I/O entries to determine where a routine's inputs or outputs go. The generators are provided by calling convention objects.
  • Method Details

    • next

      Generate the next entry for the provided type layout.
      Parameters:
      ti - a type layout object
      Returns:
      the slot, or null if the calling convention cannot provide one for this type layout at the current position
    • getCurrentEntries

      List<StorageEntry> getCurrentEntries()
      Retrieve all the currently generated entries.
      Returns:
    • reset

      void reset()
      Reset this generator for re-use.