Type returns the type of the constant expression.
()
| 415 | |
| 416 | // Type returns the type of the constant expression. |
| 417 | func (e *ExprFDiv) Type() types.Type { |
| 418 | // Cache type if not present. |
| 419 | if e.Typ == nil { |
| 420 | e.Typ = e.X.Type() |
| 421 | } |
| 422 | return e.Typ |
| 423 | } |
| 424 | |
| 425 | // Ident returns the identifier associated with the constant expression. |
| 426 | func (e *ExprFDiv) Ident() string { |