Constructor
new Scope(globalCtx, localCtx, symbolParser)
Parameters:
| Name |
Type |
Description |
globalCtx |
Object
|
|
localCtx |
Object
|
|
symbolParser |
SymbolParser
|
|
- Source:
Methods
resolve(path) → {*|null}
resolve turns a path string into a value stored in either localCtx or globalCtx
Parameters:
| Name |
Type |
Description |
path |
|
|
- Source:
Returns:
-
Type
-
*
|
null
set(dest, key, value) → {Scope}
set puts a value into localCtx.
This value will be available to the current parsing stack only.
Parameters:
| Name |
Type |
Description |
dest |
|
The directive to store this value (eg : $request, $resource) |
key |
|
The key name of this value |
value |
|
The value |
- Source:
Returns:
-
Type
-
Scope