Interface SleighPcodeUseropDefinition.BuilderStage2

All Known Subinterfaces:
SleighPcodeUseropDefinition.BuilderStage1
All Known Implementing Classes:
AbstractSleighPcodeUseropDefinition.Builder
Enclosing interface:
SleighPcodeUseropDefinition<T>

public static interface SleighPcodeUseropDefinition.BuilderStage2
Stage two of the builder, where parameters can no longer be added
  • Method Details

    • body

      Add Sleigh source to the body
      Parameters:
      additionalBody - the additional source
      Returns:
      the builder
    • overload

      Start a new definition for a different signature
      Returns:
      the builder
    • build

      Build the actual definition

      NOTE: Compilation of the sleigh source is delayed until the first invocation, since the compiler must know about the varnodes used as parameters. TODO: There may be some way to template it at the p-code level instead of the Sleigh source level.

      Type Parameters:
      T - no particular type, except to match the executor
      Returns:
      the definition