Class InputReader<T>Abstract

Abstract Input Reader

Type Parameters

  • T

Hierarchy

  • InputReader

Implemented by

Constructors

Properties

Methods

Constructors

Properties

index: number

The current index of the input stream

Methods

  • Peek at the next character in the input stream

    Parameters

    • Optional n: number

    Returns T

  • Consume the next character in the input stream

    Parameters

    • Optional n: number

    Returns T

  • Set the index of the input stream

    Parameters

    • n: number

    Returns void

  • Check if the input stream is at the end of the file

    Returns boolean

Generated using TypeDoc