MCPcopy Index your code
hub / github.com/yuin/gopher-lua / LState

Struct LState

value.go:179–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179type 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
200func (ls *LState) String() string { return fmt.Sprintf("thread: %p", ls) }
201func (ls *LState) Type() LValueType { return LTThread }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected