Options
All
  • Public
  • Public/Protected
  • All
Menu

Window over input. Enables us to use a simple InputStream abstraction that does not need to support backtracking.

Hierarchy

  • InputStateManager

Index

Constructors

constructor

Properties

Private bufsize

bufsize: number

Private left

left: number = 0

Private stream

stream: InputStream

Private window

window: string = ""

Methods

canSatisfy

  • canSatisfy(offset: number): boolean

dropLeft

  • dropLeft(offset: number): void

exhausted

  • exhausted(): boolean

get

  • get(offset: number, n: number): string

Private right

  • right(): number

Generated using TypeDoc