Extensions returns the set of extensions present in the source.
()
| 431 | |
| 432 | // Extensions returns the set of extensions present in the source. |
| 433 | func (s *SourceInfo) Extensions() []Extension { |
| 434 | var extensions []Extension |
| 435 | if s == nil { |
| 436 | return extensions |
| 437 | } |
| 438 | return s.extensions |
| 439 | } |
| 440 | |
| 441 | // HasExtension returns whether the source info contains the extension which satisfies the minimum version requirement. |
| 442 | // |
no outgoing calls