mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-13 03:32:39 +00:00
* Linter diagnostics + bans non-var relative pathing * Enable DreamChecker Annotations * make it executable * update hashFiles * oops * tries to fix it... again * trying again * path * repath * fix perms * fixes weird capitalisation issue
16 lines
381 B
Plaintext
16 lines
381 B
Plaintext
/*
|
|
Class: scope
|
|
A runtime instance of a block. Used internally by the interpreter.
|
|
*/
|
|
/scope/
|
|
var/scope/parent = null
|
|
var/node/BlockDefinition/block
|
|
var/list/functions
|
|
var/list/variables
|
|
|
|
/scope/New(node/BlockDefinition/B, scope/parent)
|
|
src.block = B
|
|
src.parent = parent
|
|
src.variables = B.initial_variables.Copy()
|
|
src.functions = B.functions.Copy()
|
|
.=..() |