MCPcopy Create free account

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

Functions673 in github.com/Shopify/go-lua

↓ 2 callersFunctionupValueHelper
(f func(*State, int, int) (string, bool), returnValueCount int)
debug.go:393
↓ 2 callersFunctionwrite
(l *State, f *os.File, argIndex int)
io.go:92
↓ 2 callersMethodwritePC
(p pc)
dump.go:26
↓ 1 callersFunctionAtPanic
AtPanic sets a new panic function and returns the old one.
lua.go:628
↓ 1 callersFunctionCallMeta
CallMeta calls a metamethod. If the object at index has a metatable and this metatable has a field event, this function calls this field passing the
auxiliary.go:103
↓ 1 callersMethodCheckConflict
(t *assignmentTarget, e exprDesc)
code.go:976
↓ 1 callersFunctionCheckOption
(l *State, index int, def string, list []string)
auxiliary.go:405
↓ 1 callersMethodCheckRepeatedLabel
(name string)
code.go:203
↓ 1 callersMethodCheckStack
(n int)
code.go:547
↓ 1 callersFunctionCheckUserData
CheckUserData checks whether the function argument at index is a userdata of the type name (see NewMetaTable) and returns the userdata (see ToUserData
auxiliary.go:285
↓ 1 callersMethodCloseConstructor
(pc, tableRegister, pending, arrayCount, hashCount int, e exprDesc)
code.go:1100
↓ 1 callersMethodCloseForBody
(prep, base, line, n int, isNumeric bool)
code.go:1129
↓ 1 callersMethodCloseFunction
()
code.go:120
↓ 1 callersMethodCloseMainFunction
()
code.go:1149
↓ 1 callersMethodCompare
Compare compares two values. http://www.lua.org/manual/5.2/manual.html#lua_compare
lua.go:745
↓ 1 callersMethodContext
Context is called by a continuation function to retrieve the status of the thread and context information. When called in the origin function, it will
lua.go:323
↓ 1 callersFunctionDebugHook
DebugHook returns the current hook function.
debug.go:177
↓ 1 callersFunctionDebugHookCount
DebugHookCount returns the current hook count.
debug.go:183
↓ 1 callersFunctionDebugHookMask
DebugHookMask returns the current hook mask.
debug.go:180
↓ 1 callersMethodFlushFieldToConstructor
(tableRegister, freeRegisterCount int, k exprDesc, v func() exprDesc)
code.go:1084
↓ 1 callersMethodFlushToConstructor
(tableRegister, pending, arrayCount int, e exprDesc)
code.go:1091
↓ 1 callersMethodInfix
(op int, e exprDesc)
code.go:900
↓ 1 callersMethodIsBoolean
IsBoolean verifies that the value at index is a boolean. http://www.lua.org/manual/5.2/manual.html#lua_isboolean
lua.go:1511
↓ 1 callersMethodIsThread
IsThread verifies that the value at index is a thread. http://www.lua.org/manual/5.2/manual.html#lua_isthread
lua.go:1516
↓ 1 callersMethodJumpTo
(target int)
code.go:376
↓ 1 callersMethodLength
Length of the value at index; it is equivalent to the # operator in Lua. The result is pushed on the stack. http://www.lua.org/manual/5.2/manual.html
lua.go:1469
↓ 1 callersMethodLess
(i, j int)
table.go:26
↓ 1 callersFunctionNewLibraryTable
(l *State, functions []RegistryFunction)
auxiliary.go:455
↓ 1 callersFunctionNewMetaTable
NewMetaTable returns false if the registry already has the key name. Otherwise, creates a new table to be used as a metatable for userdata, adds it to
auxiliary.go:249
↓ 1 callersMethodOpenConstructor
()
code.go:1078
↓ 1 callersMethodOpenForBody
(base, n int, isNumeric bool)
code.go:1117
↓ 1 callersMethodOpenFunction
(line int)
code.go:114
↓ 1 callersMethodOpenMainFunction
()
code.go:1144
↓ 1 callersMethodPostfix
(op int, e1, e2 exprDesc, line int)
code.go:929
↓ 1 callersMethodPrefix
(op int, e exprDesc, line int)
code.go:884
↓ 1 callersMethodPushLightUserData
PushLightUserData pushes a light user data onto the stack. Userdata represents Go values in Lua. A light userdata is an interface{}. Its equality matc
lua.go:1459
↓ 1 callersMethodRawLength
RawLength returns the length of the value at index. For strings, this is the length. For tables, this is the result of the # operator with no metame
lua.go:813
↓ 1 callersMethodRegister
Register sets the Go function f as the new value of global name. If name was already defined, it is overwritten. http://www.lua.org/manual/5.2/manual
lua.go:1222
↓ 1 callersFunctionRequire
Require calls function f with string name as an argument and sets the call result in package.loaded[name], as if that function had been called through
auxiliary.go:441
↓ 1 callersMethodReturn
(e exprDesc, resultCount int)
code.go:380
↓ 1 callersMethodSelf
(e, key exprDesc)
code.go:757
↓ 1 callersFunctionSetMetaTableNamed
(l *State, name string)
auxiliary.go:264
↓ 1 callersMethodSetTable
SetTable does the equivalent of table[key]=v, where table is the value at index, v is the value at the top of the stack and key is the value just belo
lua.go:1098
↓ 1 callersFunctionSetUpValue
SetUpValue sets the value of a closure's upvalue. It assigns the value at the top of the stack to the upvalue and returns its name. It also pops a va
lua.go:1278
↓ 1 callersMethodSetUserValue
SetUserValue pops a table or nil from the stack and sets it as the new value associated to the userdata at index. http://www.lua.org/manual/5.2/manua
lua.go:1134
↓ 1 callersMethodSingleVariable
(name string)
code.go:1068
↓ 1 callersMethodToThread
ToThread converts the value at index to a Lua thread (a State). This value must be a thread, otherwise the return value will be nil. http://www.lua.o
lua.go:854
↓ 1 callersMethodToUnsigned
ToUnsigned converts the Lua value at index to a Go uint. The Lua value must be a number or a string convertible to a number. If the number is not an
lua.go:787
↓ 1 callersFunctionUpValueId
UpValueId returns a unique identifier for the upvalue numbered n from the closure at index f. Parameters f and n are as in UpValue (but n cannot be gr
lua.go:1303
↓ 1 callersFunctionUpValueJoin
UpValueJoin makes the n1-th upvalue of the Lua closure at index f1 refer to the n2-th upvalue of the Lua closure at index f2.
lua.go:1315
↓ 1 callersMethodUserValue
UserValue pushes onto the stack the Lua value associated with the userdata at index. This value must be a table or nil. http://www.lua.org/manual/5.
lua.go:1069
↓ 1 callersFunctionabs
(i int)
code.go:254
↓ 1 callersMethodadjustVarArgs
(p *prototype, argCount int)
stack.go:329
↓ 1 callersMethodadvanceAndSave
(c rune)
scanner.go:136
↓ 1 callersFunctionapiCheckStackSpace
(l *State, n int)
lua.go:1388
↓ 1 callersMethodapiIncrementTop
()
lua.go:290
↓ 1 callersMethodarithError
(v1, v2 value)
debug.go:96
↓ 1 callersFunctionarrayIndex
(k value)
tables.go:215
↓ 1 callersMethodassertEqual
(a, b interface{})
code.go:300
↓ 1 callersMethodassignment
(t *assignmentTarget, variableCount int)
parser.go:319
↓ 1 callersFunctionbinaryOp
(op rune)
parser.go:212
↓ 1 callersMethodbooleanConstant
(b bool)
code.go:574
↓ 1 callersMethodbreakLabel
()
code.go:291
↓ 1 callersMethodcallHook
(ci *callInfo)
stack.go:318
↓ 1 callersMethodcallTagMethodV
(f, p1, p2, p3 value)
tag_methods.go:94
↓ 1 callersMethodcheckHeader
()
undump.go:290
↓ 1 callersFunctioncheckLoad
(l *State, loaded bool, fileName string)
load.go:41
↓ 1 callersFunctionclose
(l *State)
io.go:84
↓ 1 callersMethodcollectValidLines
(f closure)
debug.go:274
↓ 1 callersFunctioncomparePrototypes
(t *testing.T, a, b *prototype)
parser_test.go:110
↓ 1 callersMethodconcatError
(v1, v2 value)
debug.go:103
↓ 1 callersFunctioncountLevels
(l *State)
auxiliary.go:28
↓ 1 callersFunctioncreateABx
(op opCode, a, bx int)
instructions.go:172
↓ 1 callersFunctioncreateAx
(op opCode, a int)
instructions.go:178
↓ 1 callersFunctioncreateSearchersTable
(l *State)
load.go:71
↓ 1 callersFunctiondebugValue
(v value)
types.go:14
↓ 1 callersMethoddischargeJumpPC
()
code.go:483
↓ 1 callersMethoddropLastInstruction
()
code.go:314
↓ 1 callersMethoddump
(p *prototype, w io.Writer)
dump.go:148
↓ 1 callersMethoddumpHeader
()
dump.go:144
↓ 1 callersMethodencodeNot
(e exprDesc)
code.go:818
↓ 1 callersMethodexecute
()
vm.go:930
↓ 1 callersMethodexecuteFunctionTable
()
vm.go:932
↓ 1 callersMethodexpressionStatement
()
parser.go:586
↓ 1 callersFunctionfindField
(l *State, objectIndex, level int)
auxiliary.go:142
↓ 1 callersFunctionfindFile
(l *State, name, field, dirSep string)
load.go:32
↓ 1 callersFunctionfindHelper
(l *State, isFind bool)
string.go:20
↓ 1 callersFunctionfindLoader
(l *State, name string)
load.go:11
↓ 1 callersMethodfindUpValue
(level int)
stack.go:215
↓ 1 callersFunctionfoldConstants
(op opCode, e1, e2 exprDesc)
code.go:853
↓ 1 callersMethodforList
(name string)
parser.go:369
↓ 1 callersMethodforNumeric
(name string, line int)
parser.go:349
↓ 1 callersMethodforStatement
(line int)
parser.go:386
↓ 1 callersFunctionformatHelper
(l *State, fs string, argCount int)
string.go:71
↓ 1 callersFunctionfunctionInfo
(p Debug, f closure)
debug.go:206
↓ 1 callersFunctionfunctionName
(l *State, d Debug)
auxiliary.go:11
↓ 1 callersMethodfunctionName
(ci *callInfo)
debug.go:228
↓ 1 callersMethodfunctionName
()
parser.go:548
↓ 1 callersMethodfunctionStatement
(line int)
parser.go:557
↓ 1 callersMethodifStatement
(line int)
parser.go:430
← previousnext →401–500 of 673, ranked by callers