JSDoc: Class: VariablePool

# Class: VariablePool

## VariablePool

#### new VariablePool()

Source:
  - variable_pool.js, line 29

### Methods

#### insert(variable)

Inserts a new variable into the pool.

##### Parameters:

Name | Type | Description
--- | --- | ---
`variable` | Variable.<T> | The new variable.

Source:
  - variable_pool.js, line 36

#### lookup(name) → (nullable) {Variable.<T>}

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

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | string | The name of the variable.

Source:
  - variable_pool.js, line 45

##### Returns:

The variable if it is in the pool.

Type
  Variable.<T>

#### remove(name)

Removes the variable from the pool.

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | name | The name of the variable.

Source:
  - variable_pool.js, line 52