Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Shopify/go-lua
/ checkCondition
Method
checkCondition
parser.go:17–21 ·
view source on GitHub ↗
(c bool, message string)
Source
from the content-addressed store, hash-verified
15
}
16
17
func
(p *parser) checkCondition(c bool, message string) {
18
if
!c {
19
p.syntaxError(message)
20
}
21
}
22
23
func
(p *parser) checkName() string {
24
p.check(tkName)
Callers
3
simpleExpression
Method · 0.95
assignment
Method · 0.95
expressionStatement
Method · 0.95
Calls
1
syntaxError
Method · 0.80
Tested by
no test coverage detected