Copy implements the interface StatementGenerator.
()
| 84 | |
| 85 | // Copy implements the interface StatementGenerator. |
| 86 | func (t *TextGen) Copy() StatementGenerator { |
| 87 | if t == nil { |
| 88 | return nil |
| 89 | } |
| 90 | return Text(string(*t)) |
| 91 | } |
| 92 | |
| 93 | // String implements the interface StatementGenerator. |
| 94 | func (t *TextGen) String() string { |