VariablePool | context-menu

### Type parameters

- #### T

### Hierarchy

- VariablePool

## Index

### Properties

- pool

### Methods

- insert
- lookup
- remove

## Properties

### Private pool

pool: object

- Defined in variable_pool.ts:31

#### Type declaration

- ##### [name: string]: Variable<T>

## Methods

### insert

- insert(variable: Variable<T>): void

- - Defined in variable_pool.ts:37

  Inserts a new variable into the pool.

  #### Parameters

  - ##### variable: Variable<T>

    The new variable.

  #### Returns void

### lookup

- lookup(name: string): Variable<T>

- - Defined in variable_pool.ts:47

  Lookup a variable in the pool. Returns undefined if the variable does not exist.

  #### Parameters

  - ##### name: string

    The name of the variable.

  #### Returns Variable<T>

  The variable if it is in the pool.

### remove

- remove(name: string): void

- - Defined in variable_pool.ts:55

  Removes the variable from the pool.

  #### Parameters

  - ##### name: string

    The name of the variable.

  #### Returns void

Generated using TypeDoc