Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/yuin/gopher-lua
/ DoString
Method
DoString
auxlib.go:405–412 ·
view source on GitHub ↗
(source string)
Source
from the content-addressed store, hash-verified
403
}
404
405
func
(ls *LState) DoString(source string) error {
406
if
fn, err := ls.LoadString(source); err != nil {
407
return
err
408
}
else
{
409
ls.Push(fn)
410
return
ls.PCall(0, MultRet, nil)
411
}
412
}
413
414
/* }}} */
415
Callers
13
TestTableLenType
Function · 0.80
errorIfScriptFail
Function · 0.80
errorIfScriptNotFail
Function · 0.80
TestContextTimeout
Function · 0.80
TestContextCancel
Function · 0.80
TestContextWithCroutine
Function · 0.80
TestOsWrite
Function · 0.80
TestLocalVarFree
Function · 0.80
TestMergingLoadNilBug2
Function · 0.80
TestMergingLoadNilBug
Function · 0.80
TestChannelSelect1
Function · 0.80
mainAux
Function · 0.80
Calls
3
LoadString
Method · 0.95
Push
Method · 0.95
PCall
Method · 0.95
Tested by
11
TestTableLenType
Function · 0.64
errorIfScriptFail
Function · 0.64
errorIfScriptNotFail
Function · 0.64
TestContextTimeout
Function · 0.64
TestContextCancel
Function · 0.64
TestContextWithCroutine
Function · 0.64
TestOsWrite
Function · 0.64
TestLocalVarFree
Function · 0.64
TestMergingLoadNilBug2
Function · 0.64
TestMergingLoadNilBug
Function · 0.64
TestChannelSelect1
Function · 0.64