[I] MutableSymbolTable
Extends
SymbolTable
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
duplicates | readonly | ReadonlyMap<Sym, ReadonlySet<Sym>> | Duplicate | SymbolTable.duplicates |
size | readonly | number | - | 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?): voidParameters
| Parameter | Type |
|---|---|
callbackfn | (value, key, map) => void |
thisArg? | any |
Returns
void
Inherited from
SymbolTable.forEach
get()
get(key): undefined | SymParameters
| Parameter | Type |
|---|---|
key | string |
Returns
undefined | Sym
Inherited from
SymbolTable.get
has()
has(key): booleanParameters
| Parameter | Type |
|---|---|
key | string |
Returns
boolean
Inherited from
SymbolTable.has
include()
include(source, parentSym?): voidPut the symbols in the source table into this table.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | SymbolTable | table to copy |
parentSym? | Sym | Parent 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): voidParameters
| Parameter | Type |
|---|---|
key | string |
value | Sym |
Returns
void
values()
values(): MapIterator<Sym>Returns an iterable of values in the map
Returns
MapIterator<Sym>
Inherited from
SymbolTable.values