Syntactic sugar to instantiate an `Expr::Double` for testing.
(value: f64, line: usize, col: usize)
| 2054 | |
| 2055 | /// Syntactic sugar to instantiate an `Expr::Double` for testing. |
| 2056 | fn expr_double(value: f64, line: usize, col: usize) -> Expr { |
| 2057 | Expr::Double(DoubleSpan { value, pos: LineCol { line, col } }) |
| 2058 | } |
| 2059 | |
| 2060 | /// Syntactic sugar to instantiate an `Expr::Integer` for testing. |
| 2061 | fn expr_integer(value: i32, line: usize, col: usize) -> Expr { |
no outgoing calls