Module xl.core

Interface VoidToCharGenerator

All Known Implementing Classes:
CharList, CharSynth

public interface VoidToCharGenerator
Instances of VoidToCharGenerator represent generator functions which take voids as input and yield sequences of values of type char. Such instances are created by lambda expressions of the XL programming language, e.g., VoidToCharGenerator f = void => char* some generator expression;.
Author:
Ole Kniemeyer
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Generates the sequence of values.
  • Method Details

    • evaluateChar

      void evaluateChar(CharConsumer cons)
      Generates the sequence of values.
      Parameters:
      cons - each value is yielded to this consumer