newAssignment

fun newAssignment(    variableUse: A_Phrase,     expression: A_Phrase,     tokens: A_Tuple,     isInline: Boolean): A_Phrase

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

variableUse

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.

isInline

true to create an inline assignment, false otherwise.