Examples returns a list of string examples for the overload.
()
| 670 | |
| 671 | // Examples returns a list of string examples for the overload. |
| 672 | func (o *OverloadDecl) Examples() []string { |
| 673 | var emptySet []string |
| 674 | if o == nil || len(o.doc) == 0 { |
| 675 | return emptySet |
| 676 | } |
| 677 | return common.ParseDescriptions(o.doc) |
| 678 | } |
| 679 | |
| 680 | // ID mirrors the overload signature and provides a unique id which may be referenced within the type-checker |
| 681 | // and interpreter to optimize performance. |
no test coverage detected