Bruno BELANYI
f6e1266493
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Their semantic is closer to a function call (like i.e: Bazel rules) rather than a module/namespace. Similarly for their properties, which are more like parameters than members.
22 lines
301 B
Plaintext
22 lines
301 B
Plaintext
foo {}
|
|
// <- function.call
|
|
|
|
foo ()
|
|
// <- function.call
|
|
|
|
foo {
|
|
// <- function.call
|
|
field: 12,
|
|
// <- variable.parameter
|
|
another_field: 27,
|
|
// <- variable.parameter
|
|
}
|
|
|
|
foo (
|
|
// <- function.call
|
|
field = 42,
|
|
// <- variable.parameter
|
|
done = false,
|
|
// <- variable.parameter
|
|
)
|