| 177 | } |
| 178 | |
| 179 | type LState struct { |
| 180 | G *Global |
| 181 | Parent *LState |
| 182 | Env *LTable |
| 183 | Panic func(*LState) |
| 184 | Dead bool |
| 185 | Options Options |
| 186 | |
| 187 | stop int32 |
| 188 | reg *registry |
| 189 | stack callFrameStack |
| 190 | alloc *allocator |
| 191 | currentFrame *callFrame |
| 192 | wrapped bool |
| 193 | uvcache *Upvalue |
| 194 | hasErrorFunc bool |
| 195 | mainLoop func(*LState, *callFrame) |
| 196 | ctx context.Context |
| 197 | ctxCancelFn context.CancelFunc |
| 198 | } |
| 199 | |
| 200 | func (ls *LState) String() string { return fmt.Sprintf("thread: %p", ls) } |
| 201 | func (ls *LState) Type() LValueType { return LTThread } |
nothing calls this directly
no outgoing calls
no test coverage detected