newSendNode

fun newSendNode(    consumedTokens: A_Tuple,     consumedTokenIndices: A_Tuple,     bundle: A_Bundle,     argsListNode: A_Phrase,     returnType: A_Type): A_Phrase

Create a new send phrase from the specified A_Bundle, list phrase of argument expressions, and return type. Also capture a tuple of tokens, which are all fixed tokens of the send (the fixed tokens are the tokens occurring in the source which match parts of the actual text of the message name).

Return

A new send phrase.

Parameters

consumedTokens

The list of all tokens collected for this send phrase. This includes only the static tokens that occur literally within the method name itself.

consumedTokenIndices

The indices of the consumedTokens collected for this send phrase. These are the one-based indices of the message parts within the split bundle name.

bundle

The method bundle for which this represents an invocation.

argsListNode

A list phrase of argument expressions.

returnType

The target method's expected return type.