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

Method functionName

parser.go:548–555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

546}
547
548func (p *parser) functionName() (e exprDesc, isMethod bool) {
549 for e = p.singleVariable(); p.t == '.'; e = p.fieldSelector(e) {
550 }
551 if p.t == ':' {
552 e, isMethod = p.fieldSelector(e), true
553 }
554 return
555}
556
557func (p *parser) functionStatement(line int) {
558 p.next()

Callers 1

functionStatementMethod · 0.95

Calls 2

singleVariableMethod · 0.95
fieldSelectorMethod · 0.95

Tested by

no test coverage detected