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

Method checkNext

parser.go:40–43  ·  view source on GitHub ↗
(t rune)

Source from the content-addressed store, hash-verified

38}
39
40func (p *parser) checkNext(t rune) {
41 p.check(t)
42 p.next()
43}
44
45func (p *parser) checkNameAsExpression() exprDesc { return p.function.EncodeString(p.checkName()) }
46func (p *parser) singleVariable() exprDesc { return p.function.SingleVariable(p.checkName()) }

Callers 11

fieldMethod · 0.95
constructorMethod · 0.95
indexMethod · 0.95
assignmentMethod · 0.95
forBodyMethod · 0.95
forNumericMethod · 0.95
forListMethod · 0.95
testThenBlockMethod · 0.95
whileStatementMethod · 0.95
labelStatementMethod · 0.95
bodyMethod · 0.95

Calls 2

checkMethod · 0.80
nextMethod · 0.45

Tested by

no test coverage detected