Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OutputBufferError

Hierarchy

Index

Constructors

constructor

Properties

Readonly error

error: Error

Readonly settings

settings: OutputSettings

Accessors

capacity

  • get capacity(): number
  • Returns number

index

  • get index(): number
  • Returns number

limit

  • get limit(): number
  • Returns number

remaining

  • get remaining(): number
  • Returns number

Methods

asPart

  • Parameters

    • part: boolean

    Returns OutputBuffer<never>

bind

  • bind(): never
  • Returns never

clone

  • Returns OutputBuffer<never>

debug

  • Parameters

    • object: unknown

    Returns OutputBuffer<never>

display

  • Parameters

    • object: unknown

    Returns OutputBuffer<never>

flush

  • Returns OutputBuffer<never>

get

  • get(index: number): number
  • Parameters

    • index: number

    Returns number

has

  • has(index: number): boolean
  • Parameters

    • index: number

    Returns boolean

isCont

  • isCont(): boolean
  • Returns boolean

isDone

  • isDone(): boolean
  • Returns boolean

isError

  • isError(): boolean
  • Returns boolean

isFull

  • isFull(): boolean
  • Returns boolean

isPart

  • isPart(): boolean
  • Returns boolean

push

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

    • Rest ...tokens: number[]

    Returns void

set

  • set(index: number, token: number): void
  • Parameters

    • index: number
    • token: number

    Returns void

step

  • Parameters

    • Optional offset: number

    Returns OutputBuffer<never>

trap

  • trap(): Error
  • Returns Error

withIndex

  • Parameters

    • index: number

    Returns OutputBuffer<never>

withLimit

  • Parameters

    • limit: number

    Returns OutputBuffer<never>

withSettings

write

  • Parameters

    • token: number

    Returns OutputBuffer<never>

  • Parameters

    • string: string

    Returns OutputBuffer<never>

writeln

  • Parameters

    • Optional string: string

    Returns OutputBuffer<never>

Static done

  • Returns OutputBuffer<never>

Static error

  • Parameters

    • error: Error

    Returns OutputBuffer<never>

Static full

  • Returns OutputBuffer<never>

Generated using TypeDoc