Local Struct Reference
Local variable reference. More...
Data Fields | |
KrkToken | name |
Token that provided the name for this variable. | |
ssize_t | depth |
Stack depth, or -1 if uninitialized. | |
char | isCaptured |
Flag indicating if the variable is captured by a closure. | |
Detailed Description
Local variable reference.
Tracks the names and scope depth of local variables. Locals are mapped to stack locations by their index in the compiler's locals array.
Definition at line 137 of file compiler.c.
The documentation for this struct was generated from the following file:
- src/compiler.c