Interface GenericAssemblerBuilder<RP extends AssemblyResolvedPatterns,A extends GenericAssembler<RP>>

All Known Subinterfaces:
AssemblerBuilder
All Known Implementing Classes:
AbstractSleighAssemblerBuilder, SleighAssemblerBuilder

public interface GenericAssemblerBuilder<RP extends AssemblyResolvedPatterns,A extends GenericAssembler<RP>>
  • Method Details

    • getLanguageID

      LanguageID getLanguageID()
      Get the ID of the language for which this instance builds an assembler
      Returns:
      the language ID
    • getLanguage

      Language getLanguage()
      Get the language for which this instance builds an assembler
      Returns:
      the language
    • getAssembler

      A getAssembler(AssemblySelector selector)
      Build an assembler with the given selector callback
      Parameters:
      selector - the selector callback
      Returns:
      the built assembler
    • getAssembler

      A getAssembler(AssemblySelector selector, Program program)
      Build an assembler with the given selector callback and program binding
      Parameters:
      selector - the selector callback
      program - the bound program
      Returns:
      the built assembler