…::=_;

Definitions:

literal phrase⇒token, expression phrase⇒any
Source: /avail/Avail/Foundation/Bootstrap/Origin
Categories: Avail Syntax, Variables
Construct and answer a local constant definition from the supplied identifier and expression.

If this macro is evaluated in the module scope, then the compiler will automatically convert the result into an equivalent module constant declaration prior to code generation.

Position Name Type Description
Parameters
1 constNamePhrase literal phrase⇒token A literal phrase that answers the token corresponding to the identifier of the defined constant.
2 constValuePhrase expression phrase⇒any An expression phrase that answers the value to which the defined constant is permanently bound.
Returns local constant phrase