newSuperCastNode

fun newSuperCastNode(expression: A_Phrase, superUnionType: A_Type): A_Phrase

Create a new super cast phrase from the given phrase and type with which to perform a method lookup.

Return

The resulting super cast phrase.

Parameters

expression

The base expression.

superUnionType

The type to combine via a type union with the type of the actual runtime value produced by the expression, in order to look up the method.