MCPcopy Index your code
hub / github.com/Shopify/go-lua / condition

Method condition

parser.go:476–482  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

474}
475
476func (p *parser) condition() int {
477 e := p.expression()
478 if e.kind == kindNil {
479 e.kind = kindFalse
480 }
481 return p.function.GoIfTrue(e).f
482}
483
484func (p *parser) gotoStatement(pc int) {
485 if line := p.lineNumber; p.testNext(tkGoto) {

Callers 2

whileStatementMethod · 0.95
repeatStatementMethod · 0.95

Calls 2

expressionMethod · 0.95
GoIfTrueMethod · 0.80

Tested by

no test coverage detected