Examples returns a list of string examples for the overload.
()
| 660 | |
| 661 | // Examples returns a list of string examples for the overload. |
| 662 | func (o *OverloadDecl) Examples() []string { |
| 663 | var emptySet []string |
| 664 | if o == nil || len(o.doc) == 0 { |
| 665 | return emptySet |
| 666 | } |
| 667 | return common.ParseDescriptions(o.doc) |
| 668 | } |
| 669 | |
| 670 | // ID mirrors the overload signature and provides a unique id which may be referenced within the type-checker |
| 671 | // and interpreter to optimize performance. |
no test coverage detected