new Assignment
fun newAssignment( variableUse: A_Phrase, expression: A_Phrase, tokens: A_Tuple, isInline: Boolean): A_Phrase
Content copied to clipboard
Create a new assignment phrase using the given variable use and expression. Also indicate whether the assignment is inline (produces a value) or not (must be a statement).
Return
The new assignment phrase.
Parameters
variable Use
A use of the variable into which to assign.
expression
The expression whose value should be assigned to the variable.
tokens
The tuple of tokens that formed this assignment.
is Inline
true to create an inline assignment, false otherwise.