|
Enzo
|
A daslang runtime context that also carries our evaluation world. More...
#include <DasContext.h>
Public Member Functions | |
| DasContext (uint32_t stackSize) | |
Public Attributes | |
| const ExpressionContext * | expressionContext = nullptr |
A daslang runtime context that also carries our evaluation world.
daslang hands every native function the context it is running in, so hanging the ExpressionContext here is how prm() and friends reach back into the app without a global. The pointer is set for the span of one evaluation and restored after, since evaluations nest.