Home Manual Reference Source

Function

Static Public Summary
public

ArrayNode(degree: *, value: *)

public

ObjectNode(value: *)

public

SimpleTrie(root: *)

public

* enumerate(root: *)

public

erasePath(current: *, key: *): boolean

public

getClosestAncestor(ancestor: *, key: *): undefined[]

public

getReference(current: *, key: *): *

public

has(root: *, key: *)

public

makeNonExistingPath(current: *, key: *): *

public

makePath(current: *, key: *): *

public

readPath(root: *, key: *): *

public

writePath(root: *, key: *, value: *): *

Static Public

public ArrayNode(degree: *, value: *) source

Params:

NameTypeAttributeDescription
degree *
value *
  • optional
  • default: undefined

public ObjectNode(value: *) source

Params:

NameTypeAttributeDescription
value *
  • optional
  • default: undefined

public SimpleTrie(root: *) source

Params:

NameTypeAttributeDescription
root *

public * enumerate(root: *) source

Params:

NameTypeAttributeDescription
root *

public erasePath(current: *, key: *): boolean source

Params:

NameTypeAttributeDescription
current *
key *

Return:

boolean

public getClosestAncestor(ancestor: *, key: *): undefined[] source

import {getClosestAncestor} from '@trie-data-structure/uncompressed-trie/src/core.js'

Params:

NameTypeAttributeDescription
ancestor *
key *

Return:

undefined[]

public getReference(current: *, key: *): * source

Params:

NameTypeAttributeDescription
current *
key *

Return:

*

public has(root: *, key: *) source

Params:

NameTypeAttributeDescription
root *
key *

public makeNonExistingPath(current: *, key: *): * source

import {makeNonExistingPath} from '@trie-data-structure/uncompressed-trie/src/core.js'

Params:

NameTypeAttributeDescription
current *
key *

Return:

*

public makePath(current: *, key: *): * source

Params:

NameTypeAttributeDescription
current *
key *

Return:

*

public readPath(root: *, key: *): * source

Params:

NameTypeAttributeDescription
root *
key *

Return:

*

public writePath(root: *, key: *, value: *): * source

Params:

NameTypeAttributeDescription
root *
key *
value *

Return:

*