Syntactic sugar to instantiate an `Expr::Text` for testing.
(value: S, line: usize, col: usize)
| 2064 | |
| 2065 | /// Syntactic sugar to instantiate an `Expr::Text` for testing. |
| 2066 | fn expr_text<S: Into<String>>(value: S, line: usize, col: usize) -> Expr { |
| 2067 | Expr::Text(TextSpan { value: value.into(), pos: LineCol { line, col } }) |
| 2068 | } |
| 2069 | |
| 2070 | /// Syntactic sugar to instantiate an `Expr::Symbol` for testing. |
| 2071 | fn expr_symbol(vref: VarRef, line: usize, col: usize) -> Expr { |
no outgoing calls