()
| 53 | } |
| 54 | |
| 55 | func (a *Arg) String() string { |
| 56 | if a == nil { |
| 57 | return "" |
| 58 | } |
| 59 | switch a.Type { |
| 60 | case TString: |
| 61 | return "'" + a.text + "'" |
| 62 | case TTime: |
| 63 | return "TIME " + a.text |
| 64 | case TDate: |
| 65 | return "DATE " + a.text |
| 66 | default: |
| 67 | return a.text |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | // Number returns the value of the argument text as a number, or a NaN if the |
| 72 | // text does not encode a valid number value. |
nothing calls this directly
no outgoing calls
no test coverage detected