yogstation/code/modules/scripting/Interpreter/Interpreter.dm
RETURNING | Indicates that the current function is returning a value. |
---|---|
BREAKING | Indicates that the current loop is being terminated. |
CONTINUING | Indicates that the rest of the current iteration of a loop is being skipped. |
RESET_STATUS | Indicates that we are entering a new function and the allowed_status var should be cleared |
MAX_STATEMENTS | Maximum amount of statements that can be called in one execution. this is to prevent massive crashes and exploitation |
MAX_ITERATIONS | Max number of uninterrupted loops possible |
MAX_RECURSION | <ax recursions without returning anything (or completing the code block) |
/datum/n_Interpreter | n_Interpreter Procedures allowing for interaction with the script that is being run by the interpreter object. |
Define Details
BREAKING
Indicates that the current loop is being terminated.
CONTINUING
Indicates that the rest of the current iteration of a loop is being skipped.
MAX_ITERATIONS
Max number of uninterrupted loops possible
MAX_RECURSION
<ax recursions without returning anything (or completing the code block)
MAX_STATEMENTS
Maximum amount of statements that can be called in one execution. this is to prevent massive crashes and exploitation
RESET_STATUS
Indicates that we are entering a new function and the allowed_status var should be cleared
RETURNING
Indicates that the current function is returning a value.