Class TypeSection.Builder

java.lang.Object
com.dylibso.chicory.wasm.types.TypeSection.Builder
Enclosing class:
TypeSection

public static final class TypeSection.Builder extends Object
  • Method Details

    • addFunctionType

      public TypeSection.Builder addFunctionType(FunctionType functionType)
      Add a function type definition to this section.
      Parameters:
      functionType - the function type to add to this section (must not be null)
      Returns:
      the Builder
    • build

      public TypeSection build()