Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Output<T>

Type parameters

  • T = unknown

Hierarchy

Implements

Index

Constructors

constructor

  • Type parameters

    • T = unknown

    Returns Output<T>

Properties

Readonly Abstract settings

settings: OutputSettings

Methods

Abstract asPart

  • asPart(part: boolean): Output<T>
  • Parameters

    • part: boolean

    Returns Output<T>

Abstract bind

  • bind(): T
  • Returns T

clone

  • Returns Output<T>

debug

  • debug(object: unknown): Output<T>
  • Parameters

    • object: unknown

    Returns Output<T>

display

  • display(object: unknown): Output<T>
  • Parameters

    • object: unknown

    Returns Output<T>

flush

  • Returns Output<T>

Abstract isCont

  • isCont(): boolean
  • Returns boolean

Abstract isDone

  • isDone(): boolean
  • Returns boolean

Abstract isError

  • isError(): boolean
  • Returns boolean

Abstract isFull

  • isFull(): boolean
  • Returns boolean

Abstract isPart

  • isPart(): boolean
  • Returns boolean

push

  • push(...tokens: number[]): void
  • Parameters

    • Rest ...tokens: number[]

    Returns void

trap

  • trap(): Error
  • Returns Error

Abstract withSettings

  • Parameters

    Returns Output<T>

Abstract write

  • write(token: number): Output<T>
  • write(string: string): Output<T>
  • Parameters

    • token: number

    Returns Output<T>

  • Parameters

    • string: string

    Returns Output<T>

writeln

  • writeln(string?: string): Output<T>
  • Parameters

    • Optional string: string

    Returns Output<T>

Static done

  • Returns Output<never>

Static error

  • error(error: Error): Output<never>
  • Parameters

    • error: Error

    Returns Output<never>

Static full

  • Returns Output<never>

Generated using TypeDoc