[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]()
Returns an iterable of entries in the map.
Returns
MapIterator
<[string
, Sym
]>
Inherited from
SymbolTable.[iterator]
entries()
Returns an iterable of key, value pairs for every entry in the map.
Returns
MapIterator
<[string
, Sym
]>
Inherited from
SymbolTable.entries
forEach()
Parameters
Parameter | Type |
---|---|
callbackfn | (value , key , map ) => void |
thisArg ? | any |
Returns
void
Inherited from
SymbolTable.forEach
get()
Parameters
Parameter | Type |
---|---|
key | string |
Returns
undefined
| Sym
Inherited from
SymbolTable.get
has()
Parameters
Parameter | Type |
---|---|
key | string |
Returns
boolean
Inherited from
SymbolTable.has
include()
Put 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()
Returns an iterable of keys in the map
Returns
MapIterator
<string
>
Inherited from
SymbolTable.keys
set()
Parameters
Parameter | Type |
---|---|
key | string |
value | Sym |
Returns
void
values()
Returns an iterable of values in the map
Returns
MapIterator
<Sym
>
Inherited from
SymbolTable.values