Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/go-lua
/ functions
Functions
673 in github.com/Shopify/go-lua
⨍
Functions
673
◇
Types & classes
50
↓ 2 callers
Method
IsGoFunction
IsGoFunction verifies that the value at index is a Go function. http://www.lua.org/manual/5.2/manual.html#lua_iscfunction
lua.go:672
↓ 2 callers
Method
Len
()
table.go:14
↓ 2 callers
Function
LoadBuffer
(l *State, b, name, mode string)
auxiliary.go:527
↓ 2 callers
Method
MakeGoto
(name string, line, pc int)
code.go:169
↓ 2 callers
Method
MakeLabel
(name string, line int)
code.go:174
↓ 2 callers
Method
NewTable
NewTable creates a new empty table and pushes it onto the stack. It is equivalent to l.CreateTable(0, 0). http://www.lua.org/manual/5.2/manual.html#l
lua.go:1480
↓ 2 callers
Function
OptNumber
(l *State, index int, def float64)
auxiliary.go:342
↓ 2 callers
Method
RawSet
RawSet is similar to SetTable, but does a raw assignment (without metamethods). http://www.lua.org/manual/5.2/manual.html#lua_rawset
lua.go:1108
↓ 2 callers
Method
Read
(b []byte)
base.go:90
↓ 2 callers
Method
SetReturn
(e exprDesc)
code.go:587
↓ 2 callers
Function
TestUserData
(l *State, index int, name string)
auxiliary.go:269
↓ 2 callers
Function
ToStringMeta
ToStringMeta converts any Lua value at the given index to a Go string in a reasonable format. The resulting string is pushed onto the stack and also r
auxiliary.go:223
↓ 2 callers
Function
Traceback
Traceback creates and pushes a traceback of the stack l1. If message is not nil it is appended at the beginning of the traceback. The level parameter
auxiliary.go:48
↓ 2 callers
Function
Where
Where pushes onto the stack a string identifying the current position of the control at level in the call stack. Typically this string has the followi
auxiliary.go:190
↓ 2 callers
Method
adjustResults
(resultCount int)
lua.go:284
↓ 2 callers
Function
andHelper
(l *State)
bit32.go:48
↓ 2 callers
Method
atString
(k string)
tables.go:17
↓ 2 callers
Function
benchmarkSort
(b *testing.B, program string)
vm_test.go:119
↓ 2 callers
Function
cached
(p *prototype, upValues []*upValue, base int)
stack.go:237
↓ 2 callers
Method
callGo
(f value, function int, resultCount int)
stack.go:251
↓ 2 callers
Method
checkResults
(argCount, resultCount int)
lua.go:310
↓ 2 callers
Method
closeGoto
(i int, l label)
code.go:179
↓ 2 callers
Function
closeHelper
(l *State)
io.go:77
↓ 2 callers
Function
compareClosures
(t *testing.T, a, b *luaClosure)
parser_test.go:105
↓ 2 callers
Method
condition
()
parser.go:476
↓ 2 callers
Method
constructor
()
parser.go:82
↓ 2 callers
Function
createABC
(op opCode, a, b, c int)
instructions.go:165
↓ 2 callers
Method
currentLine
(ci *callInfo)
debug.go:16
↓ 2 callers
Method
dischargeToAnyRegister
(e exprDesc)
code.go:642
↓ 2 callers
Method
dischargeToRegister
(e exprDesc, r int)
code.go:616
↓ 2 callers
Method
dumpFunction
(p *prototype)
dump.go:131
↓ 2 callers
Method
encodeComparison
(op opCode, cond int, e1, e2 exprDesc)
code.go:918
↓ 2 callers
Method
encodeExtraArg
(a int)
code.go:337
↓ 2 callers
Method
encodeLabel
(a, b, jump int)
code.go:650
↓ 2 callers
Method
enterLevel
()
parser.go:48
↓ 2 callers
Method
equalTagMethod
(mt1, mt2 *table, event tm)
vm.go:88
↓ 2 callers
Method
errorExpected
(t rune)
scanner.go:82
↓ 2 callers
Method
errorMessage
()
debug.go:121
↓ 2 callers
Method
field
(tableRegister, a, h, pending int, e exprDesc)
parser.go:60
↓ 2 callers
Function
fieldArguments
(l *State, fieldIndex int)
bit32.go:53
↓ 2 callers
Method
findLabel
(i int)
code.go:189
↓ 2 callers
Function
flags
(m string)
io.go:175
↓ 2 callers
Function
float8FromInt
Converts an integer to a "floating point byte", represented as (eeeeexxx), where the real value is (1xxx) * 2^(eeeee - 1) if eeeee != 0 and (xxx) othe
types.go:209
↓ 2 callers
Method
forBody
(base, line, n int, isNumeric bool)
parser.go:341
↓ 2 callers
Function
forceOpen
(l *State, name, mode string)
io.go:50
↓ 2 callers
Method
functionArguments
(f exprDesc, line int)
parser.go:100
↓ 2 callers
Method
gotoStatement
(pc int)
parser.go:484
↓ 2 callers
Method
growStack
(n int)
stack.go:469
↓ 2 callers
Method
index
()
parser.go:312
↓ 2 callers
Method
invertJump
(pc int)
code.go:769
↓ 2 callers
Function
ioFileHelper
(name, mode string)
io.go:61
↓ 2 callers
Method
isInStackAt
(level int)
stack.go:78
↓ 2 callers
Function
isPseudoIndex
(i int)
lua.go:1386
↓ 2 callers
Method
jumpOnCondition
(e exprDesc, cond int)
code.go:775
↓ 2 callers
Method
leaveLevel
()
parser.go:47
↓ 2 callers
Method
length
()
tables.go:196
↓ 2 callers
Function
loadHelper
(l *State, s error, e int)
base.go:69
↓ 2 callers
Method
loadNil
(from, n int)
code.go:355
↓ 2 callers
Method
localName
(index int, pc pc)
types.go:195
↓ 2 callers
Method
makeUpValue
(name string, e exprDesc)
code.go:1020
↓ 2 callers
Function
mask
(n uint)
bit32.go:10
↓ 2 callers
Function
max
(a, b int)
code.go:261
↓ 2 callers
Method
metaTable
(o value)
lua.go:256
↓ 2 callers
Method
move
(dest int, src value)
lua.go:598
↓ 2 callers
Method
needValue
(list int)
code.go:442
↓ 2 callers
Method
newClosure
(p *prototype, upValues []*upValue, base int)
stack.go:224
↓ 2 callers
Function
newStream
(l *State, f *os.File, close Function)
io.go:30
↓ 2 callers
Function
not
(b int)
code.go:275
↓ 2 callers
Function
numberToString
(f float64)
types.go:298
↓ 2 callers
Method
orderError
(left, right value)
debug.go:88
↓ 2 callers
Function
pairs
(method string, isZero bool, iter Function)
base.go:21
↓ 2 callers
Method
parse
(r io.ByteReader, name string)
parser.go:655
↓ 2 callers
Method
patchTestRegister
(node, register int)
code.go:452
↓ 2 callers
Method
pop
()
stack.go:10
↓ 2 callers
Method
protect
(f func())
stack.go:405
↓ 2 callers
Function
pushGlobalFunctionName
(l *State, f Frame)
auxiliary.go:163
↓ 2 callers
Method
put
(l *State, k, v value)
tables.go:118
↓ 2 callers
Method
readFunction
()
undump.go:211
↓ 2 callers
Method
readHexNumber
(x float64)
scanner.go:215
↓ 2 callers
Method
readMultiLine
(comment bool, sep int)
scanner.go:167
↓ 2 callers
Method
readNumber
()
scanner.go:235
↓ 2 callers
Method
readPC
()
undump.go:47
↓ 2 callers
Method
reallocStack
(newSize int)
stack.go:455
↓ 2 callers
Function
reduce
(f func(float64, float64) float64)
math.go:24
↓ 2 callers
Method
removeValues
(list int)
code.go:463
↓ 2 callers
Method
resetHookCount
()
debug.go:12
↓ 2 callers
Function
rotate
(l *State, i int)
bit32.go:31
↓ 2 callers
Function
searchPath
(l *State, name, path, sep, dirSep string)
load.go:89
↓ 2 callers
Method
setIndexToValue
(index int, v value)
lua.go:518
↓ 2 callers
Method
setReturns
(e exprDesc, resultCount int)
code.go:577
↓ 2 callers
Method
singleVariable
()
parser.go:46
↓ 2 callers
Function
singleVariableHelper
(f *function, name string, base bool)
code.go:1026
↓ 2 callers
Method
skipEmptyStatements
()
parser.go:493
↓ 2 callers
Function
stack
(s []value)
types.go:55
↓ 2 callers
Function
testStringHelper
(t *testing.T, s string, trace bool)
vm_test.go:27
↓ 2 callers
Function
testTMode
(m opCode)
instructions.go:225
↓ 2 callers
Method
testThenBlock
(escapes int)
parser.go:401
↓ 2 callers
Function
toString
(r value)
types.go:302
↓ 2 callers
Function
typeError
(l *State, argCount int, typeName string)
auxiliary.go:176
↓ 2 callers
Method
unreachable
()
code.go:292
← previous
next →
301–400 of 673, ranked by callers