Code output collects printed code. The printed code can be () serialized then.

Hierarchy

  • EsOutput

Implements

Constructors

Methods

  • Prints indented code records.

    Always places each record on a new line, and prepends it with indentation symbols. Even for line output.

    Parameters

    • print: ((out) => void)

      A function that receives an indented output to print the records to.

        • (out): void
        • Parameters

          Returns void

    • indent: string = ' '

      Indentation symbols. Two spaces by default.

    Returns EsOutput

    this instance.

  • Iterates over printed lines of code.

    Returns AsyncIterableIterator<string>

    Asynchronous iterable iterator over all printed lines.

Generated using TypeDoc