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

Function lc

core/src/parser.rs:2046–2048  ·  view source on GitHub ↗

Syntactic sugar to instantiate a `LineCol` for testing.

(line: usize, col: usize)

Source from the content-addressed store, hash-verified

2044
2045 /// Syntactic sugar to instantiate a `LineCol` for testing.
2046 fn lc(line: usize, col: usize) -> LineCol {
2047 LineCol { line, col }
2048 }
2049
2050 /// Syntactic sugar to instantiate an `Expr::Boolean` for testing.
2051 fn expr_boolean(value: bool, line: usize, col: usize) -> Expr {

Calls

no outgoing calls