MCPcopy Index your code
hub / github.com/endbasic/endbasic / expr_double

Function expr_double

core/src/parser.rs:2056–2058  ·  view source on GitHub ↗

Syntactic sugar to instantiate an `Expr::Double` for testing.

(value: f64, line: usize, col: usize)

Source from the content-addressed store, hash-verified

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 {

Callers 4

test_expr_numeric_signsFunction · 0.85
test_for_emptyFunction · 0.85

Calls

no outgoing calls

Tested by 4

test_expr_numeric_signsFunction · 0.68
test_for_emptyFunction · 0.68