Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UnicodeTrieBuilder

Index

Constructors

constructor

Properties

Private _data

_data: Uint32Array

Private _dataCapacity

_dataCapacity: number

Private _dataLength

_dataLength: number

Private _dataNullOffset

_dataNullOffset: number

Private _errorValue

_errorValue: number

Private _firstFreeBlock

_firstFreeBlock: number

Private _highStart

_highStart: number

Private _index1

_index1: Int32Array

Private _index2

_index2: Int32Array

Private _index2Length

_index2Length: number

Private _index2NullOffset

_index2NullOffset: number

Private _initialValue

_initialValue: number

Private _isCompacted

_isCompacted: boolean

Private _map

_map: Int32Array

Methods

Private _allocDataBlock

  • _allocDataBlock(copyBlock: number): number

Private _allocIndex2Block

  • _allocIndex2Block(): number

Private _compact

  • _compact(): void

Private _compactData

  • _compactData(): void

Private _compactIndex2

  • _compactIndex2(): void

Private _fillBlock

  • _fillBlock(block: number, start: number, limit: number, value: number, initialValue: number, overwrite: boolean): void
  • Parameters

    • block: number
    • start: number
    • limit: number
    • value: number
    • initialValue: number
    • overwrite: boolean

    Returns void

Private _findHighStart

  • _findHighStart(highValue: number): number

Private _findSameDataBlock

  • _findSameDataBlock(dataLength: number, otherBlock: number, blockLength: number): number

Private _findSameIndex2Block

  • _findSameIndex2Block(index2Length: number, otherBlock: number): number

Private _getDataBlock

  • _getDataBlock(codePoint: number, forLSCP: boolean): number

Private _getIndex2Block

  • _getIndex2Block(codePoint: number, forLSCP: boolean): number

Private _isInNullBlock

  • _isInNullBlock(codePoint: number, forLSCP: boolean): boolean

Private _isWritableBlock

  • _isWritableBlock(block: number): boolean

Private _releaseDataBlock

  • _releaseDataBlock(block: number): void

Private _setIndex2Entry

  • _setIndex2Entry(i2: number, block: number): void

Private _writeBlock

  • _writeBlock(block: number, value: number): void

freeze

get

  • get(c: number, fromLSCP?: boolean): number

set

  • set(codePoint: number, value: number): this

setRange

  • setRange(start: number, end: number, value: number, overwrite?: boolean): this
  • Parameters

    • start: number
    • end: number
    • value: number
    • Default value overwrite: boolean = true

    Returns this

tobuffer

  • tobuffer(): Buffer

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc