Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InputBufferDone

Hierarchy

Index

Constructors

constructor

Properties

Readonly id

id: undefined | string

Readonly mark

mark: Mark

Readonly settings

settings: InputSettings

Accessors

capacity

  • get capacity(): number
  • Returns number

column

  • get column(): number
  • Returns number

index

  • get index(): number
  • Returns number

limit

  • get limit(): number
  • Returns number

line

  • get line(): number
  • Returns number

offset

  • get offset(): number
  • Returns number

remaining

  • get remaining(): number
  • Returns number

Methods

asPart

  • Parameters

    • part: boolean

    Returns InputBuffer

clone

  • Returns InputBuffer

get

  • get(index: number): number
  • Parameters

    • index: number

    Returns number

has

  • has(index: number): boolean
  • Parameters

    • index: number

    Returns boolean

head

  • head(): number
  • Returns number

isCont

  • isCont(): boolean
  • Returns boolean

isDone

  • isDone(): boolean
  • Returns boolean

isEmpty

  • isEmpty(): boolean
  • Returns boolean

isError

  • isError(): boolean
  • Returns boolean

isPart

  • isPart(): boolean
  • Returns boolean

seek

  • Parameters

    Returns InputBuffer

set

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

    • index: number
    • token: number

    Returns void

step

  • Parameters

    • Optional offset: number

    Returns InputBuffer

trap

  • trap(): Error
  • Returns Error

withId

  • Parameters

    • id: undefined | string

    Returns InputBuffer

withIndex

  • Parameters

    • index: number

    Returns InputBuffer

withLimit

  • Parameters

    • limit: number

    Returns InputBuffer

withMark

withSettings

Static done

  • Returns InputBuffer

Static empty

  • Returns InputBuffer

Static error

  • Parameters

    • error: Error

    Returns InputBuffer

Generated using TypeDoc