Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new StringInput(string: string, id: undefined | string, offset: number, line: number, column: number, settings: InputSettings, index: number, part: boolean): StringInput
  • Parameters

    • string: string
    • id: undefined | string
    • offset: number
    • line: number
    • column: number
    • settings: InputSettings
    • index: number
    • part: boolean

    Returns StringInput

Properties

Readonly column

column: number

Readonly id

id: undefined | string

Readonly index

index: number

Readonly line

line: number

Readonly offset

offset: number

Readonly part

part: boolean

Readonly settings

settings: InputSettings

Readonly string

string: string

Accessors

mark

  • Returns Mark

Methods

asPart

  • asPart(part: boolean): Input
  • Parameters

    • part: boolean

    Returns Input

clone

  • Returns Input

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

    • Optional mark: Mark

    Returns Input

step

  • Returns Input

trap

  • trap(): Error
  • Returns Error

withId

  • withId(id: undefined | string): Input
  • Parameters

    • id: undefined | string

    Returns Input

withMark

  • Parameters

    Returns Input

withSettings

Static create

  • create(string: string): Input
  • Parameters

    • string: string

    Returns Input

Static done

  • Returns Input

Static empty

  • Returns Input

Static error

  • error(error: Error): Input
  • Parameters

    • error: Error

    Returns Input

Generated using TypeDoc