SyntaxVersion returns the syntax version associated with the text expression.
()
| 282 | |
| 283 | // SyntaxVersion returns the syntax version associated with the text expression. |
| 284 | func (s *SourceInfo) SyntaxVersion() string { |
| 285 | if s == nil { |
| 286 | return "" |
| 287 | } |
| 288 | return s.syntax |
| 289 | } |
| 290 | |
| 291 | // Description provides information about where the expression came from. |
| 292 | func (s *SourceInfo) Description() string { |
no outgoing calls