References¶
References are used to refer to a declaration, such as a class or a placeholder. The syntax is simply the name of the declaration, as shown in the next snippet where we first declare a placeholder called one
and then refer to it when computing the value for the placeholder called two
:
In order to refer to global declarations in other packages, we first need to import them.