Constructor
new Scope(parent, isFunction)
Parameters:
| Name | Type | Description |
|---|---|---|
parent |
Scope | null | The enclosing scope. |
isFunction |
boolean | Whether this is a function scope. |
- Source:
Members
names :Set:.<string:>
Type:
- Source:
Methods
has(name) → {boolean}
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | The name to test. |
- Source:
Returns:
Whether this scope or any enclosing one declares it.
- Type
- boolean