Scope
MMO\client\scs · 1 symbol · generated 30 Sep 2026
Scope
Scope.php:15A chain of compile-time variables (@let).
- Namespace
MMO\client\scs
Index
| parent | ||
| variables | ||
| all() | ||
| child() | ||
| define($name, $value) | Declare a variable in this scope, shadowing any parent one. | |
| get($name) | ||
| has($name) | ||
| parent() | ||
| set($name, $value) | Assign to the scope that declares $name, or to this one when nothing declares it. | |
| __construct($parent) |
Properties2
parent
variables
- Type
- array
Methods8
all()
Scope.php:47| returns | array | every variable visible from this scope, the closest one winning |
child()
Scope.php:21| returns | static |
define($name, $value)
Scope.php:34Declare a variable in this scope, shadowing any parent one.
get($name)
Scope.php:29has($name)
Scope.php:25parent()
Scope.php:23set($name, $value)
Scope.php:39Assign to the scope that declares $name, or to this one when nothing declares it.