Files
VOREStation/code/modules/scripting/Interpreter/Scope.dm
Kashargul 1def015bad end of file Fix (#17308)
* end of file Fix

* fix those lints too
2025-03-10 16:15:35 -04:00

17 lines
367 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()
.=..()