MCPcopy 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
17func (p *parser) checkCondition(c bool, message string) {
18 if !c {
19 p.syntaxError(message)
20 }
21}
22
23func (p *parser) checkName() string {
24 p.check(tkName)

Callers 3

simpleExpressionMethod · 0.95
assignmentMethod · 0.95
expressionStatementMethod · 0.95

Calls 1

syntaxErrorMethod · 0.80

Tested by

no test coverage detected