String returns the LLVM syntax representation of the constant as a type-value pair.
()
| 32 | // String returns the LLVM syntax representation of the constant as a type-value |
| 33 | // pair. |
| 34 | func (c *Struct) String() string { |
| 35 | return fmt.Sprintf("%s %s", c.Type(), c.Ident()) |
| 36 | } |
| 37 | |
| 38 | // Type returns the type of the constant. |
| 39 | func (c *Struct) Type() types.Type { |