Parse switch statements.