MCPcopy Create free account
hub / github.com/endbasic/endbasic / make_bare_builtin_call

Function make_bare_builtin_call

core/src/parser.rs:3658–3664  ·  view source on GitHub ↗

Helper to instantiate a trivial `Statement::BuiltinCall` that has no arguments.

(name: &str, line: usize, col: usize)

Source from the content-addressed store, hash-verified

3656
3657 /// Helper to instantiate a trivial `Statement::BuiltinCall` that has no arguments.
3658 fn make_bare_builtin_call(name: &str, line: usize, col: usize) -> Statement {
3659 Statement::Call(CallSpan {
3660 vref: VarRef::new(name, None),
3661 vref_pos: LineCol { line, col },
3662 args: vec![],
3663 })
3664 }
3665
3666 #[test]
3667 fn test_if_with_one_statement_or_empty_lines() {

Callers 3

test_label_own_lineFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_label_own_lineFunction · 0.68