Interface LetRecGenerator

All Known Implementing Classes:
InFastFunLetRecGenerator, InSlowFunLetRecGenerator

public interface LetRecGenerator
Generates letrec.
  • Method Summary

    Modifier and Type
    Method
    Description
    letRec(LetRecItree itree, BiFunction<Itree,org.kink_lang.kink.internal.compile.javaclassir.ResultContext,List<Insn>> generate)
    Generates letrec insns.
  • Method Details

    • letRec

      List<Insn> letRec(LetRecItree itree, BiFunction<Itree,org.kink_lang.kink.internal.compile.javaclassir.ResultContext,List<Insn>> generate)
      Generates letrec insns.
      Parameters:
      itree - letrec itree.
      generate - generates insns of sub expressions.
      Returns:
      insns.