case Production

Definition

case : case exp : stm_list

Purpose

A case represents the actions for the given value exp.

Semantics

The exp must be constant and free of side-effects.