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
↓ 1 callers
Method
initializeStack
()
stack.go:440
↓ 1 callers
Function
isHexadecimal
(c rune)
scanner.go:211
↓ 1 callers
Method
isInStackAbove
(level int)
stack.go:85
↓ 1 callers
Function
isReserved
(s string)
scanner.go:392
↓ 1 callers
Method
isVariable
()
code.go:297
↓ 1 callers
Method
labelStatement
(label string, line int)
parser.go:499
↓ 1 callers
Method
lastLoad
(reg int, lastPC pc)
types.go:113
↓ 1 callers
Method
localFunction
()
parser.go:564
↓ 1 callers
Method
localStatement
()
parser.go:570
↓ 1 callers
Method
lookAhead
()
scanner.go:516
↓ 1 callers
Method
mainFunction
()
parser.go:647
↓ 1 callers
Function
mask0
creates a mask with 'n' 0 bits at position 'p'
instructions.go:134
↓ 1 callers
Function
maskToString
(mask byte)
debug.go:442
↓ 1 callers
Method
maybeResizeArray
(key int)
tables.go:60
↓ 1 callers
Function
min
(a, b int)
code.go:268
↓ 1 callers
Method
moveGotosOut
(b block)
code.go:221
↓ 1 callers
Method
newUpValue
()
stack.go:61
↓ 1 callers
Method
newUpValueAt
(level int)
stack.go:97
↓ 1 callers
Method
next
()
scanner.go:506
↓ 1 callers
Method
nilConstant
()
code.go:575
↓ 1 callers
Function
noEnv
(l *State)
load.go:107
↓ 1 callers
Function
pairAsNumbers
(p1, p2 value)
types.go:312
↓ 1 callers
Method
parameterList
()
parser.go:510
↓ 1 callers
Method
parseNumber
(s string)
types.go:252
↓ 1 callers
Method
primaryExpression
()
parser.go:133
↓ 1 callers
Function
protectedParser
(l *State, r io.Reader, name, chunkMode string)
parser.go:673
↓ 1 callers
Function
protectedTestParser
(l *State, t *testing.T, source string)
parser_test.go:67
↓ 1 callers
Method
pushGoFrame
(function, resultCount int)
stack.go:188
↓ 1 callers
Method
pushLuaFrame
(function, base, resultCount int, p *prototype)
stack.go:165
↓ 1 callers
Method
readBool
()
undump.go:57
↓ 1 callers
Method
readCode
()
undump.go:87
↓ 1 callers
Method
readConstants
()
undump.go:167
↓ 1 callers
Method
readDebug
(p *prototype)
undump.go:144
↓ 1 callers
Method
readDecimalEscape
()
scanner.go:336
↓ 1 callers
Method
readHexEscape
()
scanner.go:318
↓ 1 callers
Method
readLineInfo
()
undump.go:134
↓ 1 callers
Method
readLocalVariables
()
undump.go:114
↓ 1 callers
Method
readNumber
()
undump.go:37
↓ 1 callers
Method
readPrototypes
()
undump.go:197
↓ 1 callers
Method
readString
()
scanner.go:348
↓ 1 callers
Method
readUpValues
()
undump.go:97
↓ 1 callers
Function
readable
(filename string)
load.go:81
↓ 1 callers
Function
readerOn
(data interface{}, t *testing.T)
undump_test.go:99
↓ 1 callers
Method
removeLocalVariables
(level int)
code.go:154
↓ 1 callers
Method
repeatStatement
(line int)
parser.go:460
↓ 1 callers
Method
reservedOrName
()
scanner.go:401
↓ 1 callers
Method
returnStatement
()
parser.go:595
↓ 1 callers
Function
scanFormat
(l *State, fs string)
string.go:43
↓ 1 callers
Method
setErrorObject
(err error, oldTop int)
lua.go:1227
↓ 1 callers
Method
setOpCode
(op opCode)
instructions.go:138
↓ 1 callers
Function
setPath
(l *State, field, env, def string)
load.go:114
↓ 1 callers
Method
setSBx
(arg int)
instructions.go:163
↓ 1 callers
Method
simpleExpression
()
parser.go:169
↓ 1 callers
Function
skipComment
(r *bufio.Reader)
auxiliary.go:462
↓ 1 callers
Method
stringConstant
(s string)
code.go:573
↓ 1 callers
Function
stringToMask
(s string, maskCount bool)
debug.go:455
↓ 1 callers
Method
subExpression
(limit int)
parser.go:258
↓ 1 callers
Method
tagMethod
(event tm, name string)
tag_methods.go:61
↓ 1 callers
Function
testAMode
(m opCode)
instructions.go:224
↓ 1 callers
Function
testScanner
(t *testing.T, n int, source string, tokens []token)
scanner_test.go:45
↓ 1 callers
Method
tryPut
OPT: tryPut is an optimized variant of the at/put pair used by setTableAt to avoid hashing the key twice.
tables.go:148
↓ 1 callers
Function
unaryOp
(op rune)
parser.go:200
↓ 1 callers
Method
unboundSearch
(j int)
tables.go:175
↓ 1 callers
Method
undefinedGotoError
(g label)
code.go:135
↓ 1 callers
Method
upValueCount
()
stack.go:57
↓ 1 callers
Method
value
()
stack.go:63
↓ 1 callers
Method
whileStatement
(line int)
parser.go:448
↓ 1 callers
Method
writeCode
(p *prototype)
dump.go:30
↓ 1 callers
Method
writeConstants
(p *prototype)
dump.go:51
↓ 1 callers
Method
writeDebug
(p *prototype)
dump.go:118
↓ 1 callers
Method
writeLocalVariables
(p *prototype)
dump.go:108
↓ 1 callers
Method
writeNumber
(f float64)
dump.go:47
↓ 1 callers
Method
writePrototypes
(p *prototype)
dump.go:71
↓ 1 callers
Method
writeUpvalues
(p *prototype)
dump.go:79
Method
Arith
Arith performs an arithmetic operation over the two values (or one, in case of negation) at the top of the stack, with the value at the top being the
lua.go:715
Function
BenchmarkFibonnaci
(b *testing.B)
vm_test.go:142
Function
BenchmarkSort
(b *testing.B)
vm_test.go:137
Function
BenchmarkSort2
(b *testing.B)
vm_test.go:138
Function
Bit32Open
Bit32Open opens the bit32 library. Usually passed to Require.
bit32.go:104
Function
DebugOpen
DebugOpen opens the debug library. Usually passed to Require.
debug.go:577
Function
DoFile
DoFile loads and runs the given file.
auxiliary.go:576
Function
DoString
DoString loads and runs the given string.
auxiliary.go:584
Method
Error
()
lua.go:34
Function
Example
()
package_test.go:13
Function
ExampleFunction
This example receives a variable number of numerical arguments and returns their average and sum.
doc_test.go:8
Function
IOOpen
IOOpen opens the io library. Usually passed to Require.
io.go:310
Method
IsLightUserData
IsLightUserData verifies that the value at index is a light userdata. http://www.lua.org/manual/5.2/manual.html#lua_islightuserdata
lua.go:1501
Method
IsNumber
IsNumber verifies that the value at index is a number. http://www.lua.org/manual/5.2/manual.html#lua_isnumber
lua.go:683
Method
IsUserData
IsUserData verifies that the value at index is a userdata. http://www.lua.org/manual/5.2/manual.html#lua_isuserdata
lua.go:703
Function
MathOpen
MathOpen opens the math library. Usually passed to Require.
math.go:112
Function
NewStateEx
NewStateEx creates a new Lua state. It calls NewState and then sets a panic function that prints an error message to the standard error output in case
auxiliary.go:536
Function
OSOpen
OSOpen opens the os library. Usually passed to Require.
os.go:144
Function
OptUnsigned
(l *State, index int, def uint)
auxiliary.go:372
Function
PackageOpen
PackageOpen opens the package library. Usually passed to Require.
load.go:152
Method
RawGetValue
RawGetValue pushes onto the stack value table[p] where table is the value at index on the stack, and p is a light userdata. The access is raw, as it
lua.go:1025
Method
String
()
instructions.go:180
Method
String
()
scanner_test.go:58
Function
StringOpen
StringOpen opens the string library. Usually passed to Require.
string.go:237
Method
Swap
(i, j int)
table.go:16
Method
Table
Table pushes onto the stack the value table[top], where table is the value at index, and top is the value at the top of the stack. This function pops
lua.go:1420
← previous
next →
501–600 of 673, ranked by callers