NumberLiteral represents a numeric literal.
| 300 | |
| 301 | // NumberLiteral represents a numeric literal. |
| 302 | type NumberLiteral struct { |
| 303 | Val float64 |
| 304 | Int int |
| 305 | Expr string |
| 306 | ExprType Type |
| 307 | } |
| 308 | |
| 309 | // Type returns the type. |
| 310 | func (l *NumberLiteral) Type() Type { |
nothing calls this directly
no outgoing calls
no test coverage detected