tree-sitter-bp/test/highlight/select.bp

16 lines
288 B
Plaintext
Raw Normal View History

2024-04-08 23:13:23 +02:00
foo = select(soong_config_variable("my_namespace", "my_var"), {
// ^ keyword.conditional
"foo": unset,
default: "bar",
})
// It can still be used as a normal variable name
select = 42
// <- variable
// Or module property
foo {
select: 42,
// <- variable.parameter
2024-04-08 23:13:23 +02:00
}