SyntaxVersion returns the syntax version associated with the text expression.
()
| 290 | |
| 291 | // SyntaxVersion returns the syntax version associated with the text expression. |
| 292 | func (s *SourceInfo) SyntaxVersion() string { |
| 293 | if s == nil { |
| 294 | return "" |
| 295 | } |
| 296 | return s.syntax |
| 297 | } |
| 298 | |
| 299 | // Description provides information about where the expression came from. |
| 300 | func (s *SourceInfo) Description() string { |
no outgoing calls