Skip to content

[I] MutableSymbolTable

Extends

  • SymbolTable

Properties

PropertyModifierTypeDescriptionInherited from
duplicatesreadonlyReadonlyMap<Sym, ReadonlySet<Sym>>DuplicateSymbolTable.duplicates
sizereadonlynumber-SymbolTable.size

Methods

[iterator]()

iterator: MapIterator<[string, Sym]>

Returns an iterable of entries in the map.

Returns

MapIterator<[string, Sym]>

Inherited from

SymbolTable.[iterator]


entries()

entries(): MapIterator<[string, Sym]>

Returns an iterable of key, value pairs for every entry in the map.

Returns

MapIterator<[string, Sym]>

Inherited from

SymbolTable.entries


forEach()

forEach(callbackfn, thisArg?): void

Parameters

ParameterType
callbackfn(value, key, map) => void
thisArg?any

Returns

void

Inherited from

SymbolTable.forEach


get()

get(key): undefined | Sym

Parameters

ParameterType
keystring

Returns

undefined | Sym

Inherited from

SymbolTable.get


has()

has(key): boolean

Parameters

ParameterType
keystring

Returns

boolean

Inherited from

SymbolTable.has


include()

include(source, parentSym?): void

Put the symbols in the source table into this table.

Parameters

ParameterTypeDescription
sourceSymbolTabletable to copy
parentSym?SymParent symbol that the source symbol should update to.

Returns

void


keys()

keys(): MapIterator<string>

Returns an iterable of keys in the map

Returns

MapIterator<string>

Inherited from

SymbolTable.keys


set()

set(key, value): void

Parameters

ParameterType
keystring
valueSym

Returns

void


values()

values(): MapIterator<Sym>

Returns an iterable of values in the map

Returns

MapIterator<Sym>

Inherited from

SymbolTable.values