Type returns the type.
()
| 449 | |
| 450 | // Type returns the type. |
| 451 | func (e *ParenExpr) Type() Type { |
| 452 | if e.ExprType != UnknownType { |
| 453 | return e.ExprType |
| 454 | } |
| 455 | return e.Expr.Type() |
| 456 | } |
| 457 | |
| 458 | // String returns a string representation of the parenthesized expression. |
| 459 | func (e *ParenExpr) String() string { |