new Module Variable
fun newModuleVariable(token: A_Token, literalVariable: A_BasicObject, typeExpression: A_Phrase, initializationExpression: A_Phrase): A_Phrase
Construct a new declaration of a DeclarationKind.MODULE_VARIABLE with or without an initialization expression.
Return
The new module variable declaration.
Parameters
token
The token that is the defining occurrence of the name of the module variable being declared.
literal Variable
The actual variable to be used as a module variable.
type Expression
The expression that produced the type for the entity being declared, or nil if there was no such expression.
initialization Expression
The expression (or nil) used to initialize this module variable.