Bruno BELANYI
a9ec312792
Still debating whether modules should be highlighted as namespaces or as function calls.
22 lines
261 B
Plaintext
22 lines
261 B
Plaintext
foo {}
|
|
// <- module
|
|
|
|
foo ()
|
|
// <- module
|
|
|
|
foo {
|
|
// <- module
|
|
field: 12,
|
|
// <- variable.member
|
|
another_field: 27,
|
|
// <- variable.member
|
|
}
|
|
|
|
foo (
|
|
// <- module
|
|
field = 42,
|
|
// <- variable.member
|
|
done = false,
|
|
// <- variable.member
|
|
)
|