String returns the LLVM syntax representation of the constant expression as a type-value pair.
()
| 128 | // String returns the LLVM syntax representation of the constant expression as a |
| 129 | // type-value pair. |
| 130 | func (e *ExprSub) String() string { |
| 131 | return fmt.Sprintf("%s %s", e.Type(), e.Ident()) |
| 132 | } |
| 133 | |
| 134 | // Type returns the type of the constant expression. |
| 135 | func (e *ExprSub) Type() types.Type { |