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

Function test_if_uniline_allowed_array_assignment

core/src/parser.rs:4085–4095  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4083
4084 #[test]
4085 fn test_if_uniline_allowed_array_assignment() {
4086 do_if_uniline_allowed_test(
4087 "a(3) = 5",
4088 Statement::ArrayAssignment(ArrayAssignmentSpan {
4089 vref: VarRef::new("a", None),
4090 vref_pos: lc(1, 11),
4091 subscripts: vec![expr_integer(3, 1, 13)],
4092 expr: expr_integer(5, 1, 18),
4093 }),
4094 );
4095 }
4096
4097 #[test]
4098 fn test_if_uniline_allowed_builtin_call() {

Callers

nothing calls this directly

Calls 3

lcFunction · 0.85
expr_integerFunction · 0.85

Tested by

no test coverage detected