s |
focus search bar ( enter to select, ▲ / ▼ to change selection) |
g e |
go to examples |
g m |
go to modules |
g o |
go to overview |
g r |
go to reference |
h |
toggle this help ( esc also exits) |
@
Notes are declared with an at-sign (@
) after a declaration. 1 Notes can be declared before or after a procedure or struct block.
my_const :: 3; @note
my_procedure :: () @note {}
my_procedure :: () {} @note // trailing declaration supported too
my_struct :: struct @note {}
my_struct :: struct {} @note // trailing declaration supported too
The note operator signals the compiler to add a string to the notes array of the declared type.
Notes aren’t just for struct members. They can go on any declarations.
“Demo: Run-Time (and Compile-Time) Type Information” YouTube, uploaded by Jonathan Blow, Feb 11, 2015, https://youtu.be/JoNkttD_MUs?t=3538 ⮌
jailang
2019 pixeldroid
https://github.com/pixeldroid/jailang |
programming pages theme v0.5.21 (https://github.com/pixeldroid/programming-pages) |
s |
focus search bar ( enter to select, ▲ / ▼ to change selection) |
g e |
go to examples |
g m |
go to modules |
g o |
go to overview |
g r |
go to reference |
h |
toggle this help ( esc also exits) |