* @param dataCons the source element corresponding to the new scope.
* @param caseAndLambdaBoundLocalFunctionIdentifierGenerator the identifier generator for case-bound and lambda-bound variables.
* @return the new scope.
*/
SymbolTable newScope(final SymbolTable parent, final Expr.Case.Alt.UnpackDataCons dataCons, final LocalFunctionIdentifierGenerator caseAndLambdaBoundLocalFunctionIdentifierGenerator) {
final ArgBindings argBindings = dataCons.getArgBindings();
if (argBindings instanceof ArgBindings.Matching) {
final BindingsMap<IdentifierInfo.Local> bindings = BindingsMap.make();
for (final FieldPattern fieldPattern : ((ArgBindings.Matching)argBindings).getFieldPatterns()) {