newModuleConstant

fun newModuleConstant(    token: A_Token,     literalVariable: A_BasicObject,     initializationExpression: A_Phrase): A_Phrase

Construct a new declaration of a DeclarationKind.MODULE_CONSTANT.

Return

The new module constant declaration.

Parameters

token

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

literalVariable

An actual variable that the new module constant uses to hold its value.

initializationExpression

The expression used to initialize this module constant.