newConstant

fun newConstant(token: A_Token, initializationExpression: A_Phrase): A_Phrase

Construct a new declaration of a DeclarationKind.LOCAL_CONSTANT.

Return

The new local constant declaration.

Parameters

token

The token that is the defining occurrence of the name of the local constant being declared.

initializationExpression

An expression used to provide the value of the local constant.