Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallFrame ¶
type CallFrame struct { Idx int `json:",omitempty"` Fn Ptr `json:",omitempty"` //*LFunction Parent Ptr `json:",omitempty"` //*callFrame Pc int `json:",omitempty"` Base int `json:",omitempty"` LocalBase int `json:",omitempty"` ReturnBase int `json:",omitempty"` NArgs int `json:",omitempty"` NRet int `json:",omitempty"` TailCall int `json:",omitempty"` }
type CallFrameStack ¶
type Data ¶
type Data struct { G *Global `json:",omitempty"` //for consistency States map[Ptr]*State `json:",omitempty"` Tables map[Ptr]*Table `json:",omitempty"` UserData map[Ptr]*UserData `json:",omitempty"` CallFrames map[Ptr]*CallFrame `json:",omitempty"` CallFrameStacks map[Ptr]*CallFrameStack `json:",omitempty"` Registries map[Ptr]*Registry `json:",omitempty"` Functions map[Ptr]*Function `json:",omitempty"` FunctionProtos map[Ptr]*FunctionProto `json:",omitempty"` DbgLocalInfos map[Ptr]*DbgLocalInfo `json:",omitempty"` Upvalues map[Ptr]*Upvalue `json:",omitempty"` }
type DbgLocalInfo ¶
type FunctionProto ¶
type FunctionProto struct { SourceName string `json:",omitempty"` LineDefined int `json:",omitempty"` LastLineDefined int `json:",omitempty"` NumUpvalues uint8 `json:",omitempty"` NumParameters uint8 `json:",omitempty"` IsVarArg uint8 `json:",omitempty"` NumUsedRegisters uint8 `json:",omitempty"` Code []uint32 `json:",omitempty"` Constants []Value `json:",omitempty"` //[]LValue FunctionPrototypes []Ptr `json:",omitempty"` //[]*FunctionProto DbgSourcePositions []int `json:",omitempty"` DbgLocals []Ptr `json:",omitempty"` // TODO: []*DbgLocalInfo DbgCalls []DbgCall `json:",omitempty"` DbgUpvalues []string `json:",omitempty"` StringConstants []string `json:",omitempty"` }
type GFunction ¶
type GFunction struct { Name string `json:",omitempty"` Bound json.RawMessage `json:",omitempty"` }
type State ¶
type State struct { G Ptr `json:",omitempty"` //*Global Parent Ptr `json:",omitempty"` //*LState Env Ptr `json:",omitempty"` //*LTable //Panic //func(*LState) Dead bool `json:",omitempty"` Options Options `json:",omitempty"` Stop int32 `json:",omitempty"` Reg Ptr `json:",omitempty"` Stack Ptr `json:",omitempty"` //*callFrameStack CurrentFrame Ptr `json:",omitempty"` //*callFrame Wrapped bool `json:",omitempty"` UVCache Ptr `json:",omitempty"` //*Upvalue HasErrorFunc bool `json:",omitempty"` }
Click to show internal directories.
Click to hide internal directories.