primitiveInvocation

fun primitiveInvocation(primitive: Primitive, argumentSemanticValues: List<L2SemanticValue>): L2SemanticPrimitiveInvocation

Answer a semantic value representing the result of invoking a foldable primitive.

Return

The semantic value representing the primitive result.

Parameters

primitive

The Primitive that was executed.

argumentSemanticValues

L2SemanticValues that supplied the arguments to the primitive.