Package ghidra.app.plugin.assembler

# Interface AssemblerBuilder

All Known Implementing Classes:
  `SleighAssemblerBuilder`

public interface AssemblerBuilder
An interface to build an assembler for a given language

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Assembler`
  `getAssembler(AssemblySelector selector)`
  Build an assembler with the given selector callback
  `Assembler`
  `getAssembler(AssemblySelector selector, Program program)`
  Build an assembler with the given selector callback and program binding
  `Language`
  `getLanguage()`
  Get the language for which this instance builds an assembler
  `LanguageID`
  `getLanguageID()`
  Get the ID of the language for which this instance builds an assembler

- ## 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

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

  - ### getAssembler

    Assembler 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