MCPcopy Create free account

hub / github.com/Shopify/go-lua / functions

Functions673 in github.com/Shopify/go-lua

↓ 8 callersMethodJump
()
code.go:369
↓ 8 callersFunctionLoadFile
(l *State, fileName, mode string)
auxiliary.go:484
↓ 8 callersFunctionNewLibrary
(l *State, functions []RegistryFunction)
auxiliary.go:457
↓ 8 callersFunctionOpenLibraries
OpenLibraries opens all standard libraries. Alternatively, the host program can open them individually by using Require to call BaseOpen (for the basi
libs.go:31
↓ 8 callersMethodRemove
Remove the element at the given valid index, shifting down the elements above index to fill the gap. This function cannot be called with a pseudo-inde
lua.go:579
↓ 8 callersMethodcheckStack
(n int)
stack.go:449
↓ 8 callersMethodexpression
()
parser.go:281
↓ 8 callersMethodscan
()
scanner.go:412
↓ 8 callersMethodsetCallStatus
(flag callStatus)
stack.go:140
↓ 8 callersFunctiontoFile
(l *State)
io.go:21
↓ 8 callersMethodwrite
(data interface{})
dump.go:16
↓ 7 callersMethodPushGoFunction
PushGoFunction pushes a Function implemented in Go onto the stack. http://www.lua.org/manual/5.2/manual.html#lua_pushcfunction
lua.go:1485
↓ 7 callersFunctionStack
Stack gets information about the interpreter runtime stack. It returns a Frame identifying the activation record of the function executing at a given
debug.go:193
↓ 7 callersFunctionUpValueIndex
UpValueIndex returns the pseudo-index that represents the i-th upvalue of the running function. http://www.lua.org/manual/5.2/manual.html#lua_upvalue
lua.go:1385
↓ 7 callersMethodatInt
(k int)
tables.go:53
↓ 7 callersMethodsetArg
(pos, size uint, arg int)
instructions.go:139
↓ 7 callersMethodsetTableAt
(t value, key value, val value)
vm.go:44
↓ 7 callersFunctiontrim
(x uint)
bit32.go:9
↓ 7 callersMethodwriteByte
(b byte)
dump.go:35
↓ 6 callersMethodAdjustLocalVariables
(n int)
code.go:148
↓ 6 callersFunctionArgumentError
ArgumentError raises an error with a standard message that includes extraMessage as a comment. This function never returns. It is an idiom to use it
auxiliary.go:118
↓ 6 callersMethodCreateTable
CreateTable creates a new empty table and pushes it onto the stack. arrayCount is a hint for how many elements the table will have as a sequence; reco
lua.go:1039
↓ 6 callersFunctionInfo
Info gets information about a specific function or function invocation. To get information about a function invocation, the parameter where must be a
debug.go:313
↓ 6 callersMethodIsString
IsString verifies that the value at index is a string, or a number (which is always convertible to a string). http://www.lua.org/manual/5.2/manual.ht
lua.go:692
↓ 6 callersFunctionLengthEx
(l *State, index int)
auxiliary.go:548
↓ 6 callersMethodLoad
Load loads a Lua chunk, without running it. If there are no errors, it pushes the compiled chunk as a Lua function on top of the stack. Otherwise, it
lua.go:425
↓ 6 callersMethodSetGlobal
SetGlobal pops a value from the stack and sets it as the new value of global name. http://www.lua.org/manual/5.2/manual.html#lua_setglobal
lua.go:1082
↓ 6 callersFunctionTypeNameOf
(l *State, index int)
auxiliary.go:379
↓ 6 callersMethodax
()
instructions.go:155
↓ 6 callersMethodbx
()
instructions.go:154
↓ 6 callersMethodcheckLimit
(val, limit int, what string)
parser.go:30
↓ 6 callersFunctionfield
(l *State, key string, def int)
os.go:11
↓ 6 callersMethodhook
(event, line int)
stack.go:419
↓ 6 callersMethodisCallStatus
(flag callStatus)
stack.go:142
↓ 6 callersFunctionisDecimal
(c rune)
scanner.go:85
↓ 6 callersFunctionisNewLine
(c rune)
scanner.go:84
↓ 6 callersMethodsetA
(arg int)
instructions.go:158
↓ 6 callersMethodtagMethodByObject
(o value, event tm)
tag_methods.go:70
↓ 6 callersMethodthrow
(errorCode error)
stack.go:388
↓ 6 callersMethodtypeError
(v value, operation string)
debug.go:54
↓ 6 callersMethodupValueCount
()
stack.go:22
↓ 5 callersMethodAbsIndex
AbsIndex converts the acceptable index index to an absolute index (that is, one that does not depend on the stack top). http://www.lua.org/manual/5.2
lua.go:541
↓ 5 callersMethodFixLine
(line int)
code.go:959
↓ 5 callersMethodInsert
Insert moves the top element into the given valid index, shifting up the elements above this index to open space. This function cannot be called with
lua.go:591
↓ 5 callersMethodLabel
()
code.go:411
↓ 5 callersMethodLocalVariable
(i int)
code.go:143
↓ 5 callersMethodPushFString
PushFString pushes onto the stack a formatted string and returns that string. It is similar to fmt.Sprintf, but has some differences: the conversion
lua.go:899
↓ 5 callersMethodSetMetaTable
SetMetaTable pops a table from the stack and sets it as the new metatable for the value at index. http://www.lua.org/manual/5.2/manual.html#lua_setme
lua.go:1150
↓ 5 callersFunctionSubTable
(l *State, index int, name string)
auxiliary.go:421
↓ 5 callersMethodaddConstant
(k, v value)
code.go:530
↓ 5 callersMethodassert
(cond bool)
scanner.go:80
↓ 5 callersFunctionbMode
(m opCode)
instructions.go:222
↓ 5 callersFunctionchunkID
(source string)
debug.go:20
↓ 5 callersFunctionexpectDeepEqual
(t *testing.T, x, y interface{}, m string)
parser_test.go:94
↓ 5 callersFunctionexpectErrorFromUndump
(expected error, data interface{}, t *testing.T)
undump_test.go:91
↓ 5 callersMethodexpressionList
()
parser.go:53
↓ 5 callersMethodfastTagMethod
(table *table, event tm)
tables.go:32
↓ 5 callersMethodhasJumps
()
code.go:295
↓ 5 callersMethodincrementLineNumber
()
scanner.go:112
↓ 5 callersFunctionnewTable
()
tables.go:15
↓ 5 callersMethodpreCall
(function int, resultCount int)
stack.go:268
↓ 5 callersMethodprototype
(ci *callInfo)
debug.go:13
↓ 5 callersMethodputAtInt
(k int, v value)
tables.go:89
↓ 5 callersMethodreadByte
()
undump.go:52
↓ 5 callersFunctionrelativePosition
(pos, length int)
string.go:11
↓ 5 callersMethodsetB
(arg int)
instructions.go:159
↓ 5 callersMethodstatementList
()
parser.go:296
↓ 5 callersFunctiontagError
(l *State, argCount int, tag Type)
auxiliary.go:180
↓ 5 callersFunctiontoStream
(l *State)
io.go:19
↓ 5 callersMethodundump
(in io.Reader, name string)
undump.go:306
↓ 5 callersMethodvalueToType
(v value)
lua.go:633
↓ 4 callersMethodAdjustAssignment
(variableCount, expressionCount int, e exprDesc)
code.go:1000
↓ 4 callersMethodCheckStack
CheckStack ensures that there are at least size free stack slots in the stack. This call will not panic(), unlike the other Check*() functions. http:
lua.go:615
↓ 4 callersMethodEncodeString
(s string)
code.go:351
↓ 4 callersMethodIsNone
IsNone verifies that the value at index is not valid. http://www.lua.org/manual/5.2/manual.html#lua_isnone
lua.go:1521
↓ 4 callersFunctionMetaField
MetaField pushes onto the stack the field event from the metatable of the object at index. If the object does not have a metatable, or if the metatabl
auxiliary.go:82
↓ 4 callersMethodMetaTable
MetaTable pushes onto the stack the metatable of the value at index. If the value at index does not have a metatable, the function returns false and
lua.go:1048
↓ 4 callersMethodPatchClose
(list, level int)
code.go:498
↓ 4 callersMethodPatchList
(list, target int)
code.go:489
↓ 4 callersMethodPushGlobalTable
PushGlobalTable pushes the global environment onto the stack. http://www.lua.org/manual/5.2/manual.html#lua_pushglobaltable
lua.go:1531
↓ 4 callersMethodPushGoClosure
PushGoClosure pushes a new Go closure onto the stack. When a Go function is created, it is possible to associate some values with it, thus creating a
lua.go:959
↓ 4 callersMethodPushUserData
PushUserData is similar to PushLightUserData, but pushes a full userdata onto the stack.
lua.go:1463
↓ 4 callersMethodRawGet
RawGet is similar to GetTable, but does a raw access (without metamethods). http://www.lua.org/manual/5.2/manual.html#lua_rawget
lua.go:1005
↓ 4 callersFunctionSetFunctions
(l *State, functions []RegistryFunction, upValueCount uint8)
auxiliary.go:381
↓ 4 callersMethodToInteger
ToInteger converts the Lua value at index into a signed integer. The Lua value must be a number, or a string convertible to a number. If the number i
lua.go:769
↓ 4 callersMethodToNumber
ToNumber converts the Lua value at index to the Go type for a Lua number (float64). The Lua value must be a number or a string convertible to a number
lua.go:1402
↓ 4 callersMethodaddOrInsertHash
(k, v value)
tables.go:82
↓ 4 callersMethodblock
()
parser.go:442
↓ 4 callersMethodblockFollow
(withUntil bool)
parser.go:286
↓ 4 callersFunctioncMode
(m opCode)
instructions.go:223
↓ 4 callersMethodcallTagMethod
(f, p1, p2 value)
tag_methods.go:86
↓ 4 callersMethodconcat
(total int)
vm.go:172
↓ 4 callersMethodencodeABx
(op opCode, a, bx int)
code.go:328
↓ 4 callersMethodencodeArithmetic
(op opCode, e1, e2 exprDesc, line int)
code.go:863
↓ 4 callersMethodencodeAsBx
(op opCode, a, sbx int)
code.go:335
↓ 4 callersFunctionendianness
()
undump.go:283
↓ 4 callersMethodequalObjects
(t1, t2 value)
vm.go:99
↓ 4 callersMethodhasMultipleReturns
()
code.go:298
↓ 4 callersFunctionintFromFloat8
(x float8)
types.go:220
↓ 4 callersFunctionisConstant
(x int)
instructions.go:126
← previousnext →101–200 of 673, ranked by callers