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

Method enterLevel

parser.go:48–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46func (p *parser) singleVariable() exprDesc { return p.function.SingleVariable(p.checkName()) }
47func (p *parser) leaveLevel() { p.l.nestedGoCallCount-- }
48func (p *parser) enterLevel() {
49 p.l.nestedGoCallCount++
50 p.checkLimit(p.l.nestedGoCallCount, maxCallCount, "Go levels")
51}
52
53func (p *parser) expressionList() (e exprDesc, n int) {
54 for n, e = 1, p.expression(); p.testNext(','); n, e = n+1, p.expression() {

Callers 2

subExpressionMethod · 0.95
statementMethod · 0.95

Calls 1

checkLimitMethod · 0.95

Tested by

no test coverage detected