…:_†:=_;

Definitions:

literal phrase⇒token, literal phrase⇒any meta, expression phrase⇒any
Source: /avail/Avail/Foundation/Bootstrap/Origin
Categories: Avail Syntax, Variables
Construct and answer a local variable declaration from the supplied identifier, type, and initial value expression.

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

Position Name Type Description
Parameters
1 varNamePhrase literal phrase⇒token A literal phrase that answers the token corresponding to the identifier of the declared variable.
2 varTypePhrase literal phrase⇒any meta A literal phrase that answers the type of the declared variable.
3 valuePhrase expression phrase⇒any An expression phrase that answers the value to which the declared variable is initially bound.
Returns local variable phrase