()
| 546 | } |
| 547 | |
| 548 | func (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 | |
| 557 | func (p *parser) functionStatement(line int) { |
| 558 | p.next() |
no test coverage detected