diff --git a/coolf/src/main/java/cool/$And$Comp_2_0.java b/coolf/src/main/java/cool/$And$Comp_2_0.java deleted file mode 100644 index 05290b7..0000000 --- a/coolf/src/main/java/cool/$And$Comp_2_0.java +++ /dev/null @@ -1,49 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class $And$Comp_2_0 extends Strategy -{ - public static $And$Comp_2_0 instance = new $And$Comp_2_0(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, Strategy k_82, Strategy l_82) - { - ITermFactory termFactory = context.getFactory(); - context.push("AndComp_2_0"); - Fail336: - { - IStrategoTerm t_192 = null; - IStrategoTerm r_192 = null; - IStrategoTerm s_192 = null; - IStrategoTerm u_192 = null; - if(term.getTermType() != IStrategoTerm.APPL || transform._consAndComp_2 != ((IStrategoAppl)term).getConstructor()) - break Fail336; - r_192 = term.getSubterm(0); - s_192 = term.getSubterm(1); - IStrategoList annos1 = term.getAnnotations(); - t_192 = annos1; - term = k_82.invoke(context, r_192); - if(term == null) - break Fail336; - u_192 = term; - term = l_82.invoke(context, s_192); - if(term == null) - break Fail336; - term = termFactory.annotateTerm(termFactory.makeAppl(transform._consAndComp_2, new IStrategoTerm[]{u_192, term}), checkListAnnos(termFactory, t_192)); - context.popOnSuccess(); - if(true) - return term; - } - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/$Not$Comp_1_0.java b/coolf/src/main/java/cool/$Not$Comp_1_0.java deleted file mode 100644 index 990e32f..0000000 --- a/coolf/src/main/java/cool/$Not$Comp_1_0.java +++ /dev/null @@ -1,42 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class $Not$Comp_1_0 extends Strategy -{ - public static $Not$Comp_1_0 instance = new $Not$Comp_1_0(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, Strategy m_82) - { - ITermFactory termFactory = context.getFactory(); - context.push("NotComp_1_0"); - Fail337: - { - IStrategoTerm x_192 = null; - IStrategoTerm w_192 = null; - if(term.getTermType() != IStrategoTerm.APPL || transform._consNotComp_1 != ((IStrategoAppl)term).getConstructor()) - break Fail337; - w_192 = term.getSubterm(0); - IStrategoList annos2 = term.getAnnotations(); - x_192 = annos2; - term = m_82.invoke(context, w_192); - if(term == null) - break Fail337; - term = termFactory.annotateTerm(termFactory.makeAppl(transform._consNotComp_1, new IStrategoTerm[]{term}), checkListAnnos(termFactory, x_192)); - context.popOnSuccess(); - if(true) - return term; - } - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/$Or$Comp_2_0.java b/coolf/src/main/java/cool/$Or$Comp_2_0.java deleted file mode 100644 index 339ae3c..0000000 --- a/coolf/src/main/java/cool/$Or$Comp_2_0.java +++ /dev/null @@ -1,49 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class $Or$Comp_2_0 extends Strategy -{ - public static $Or$Comp_2_0 instance = new $Or$Comp_2_0(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, Strategy i_82, Strategy j_82) - { - ITermFactory termFactory = context.getFactory(); - context.push("OrComp_2_0"); - Fail335: - { - IStrategoTerm o_192 = null; - IStrategoTerm m_192 = null; - IStrategoTerm n_192 = null; - IStrategoTerm p_192 = null; - if(term.getTermType() != IStrategoTerm.APPL || transform._consOrComp_2 != ((IStrategoAppl)term).getConstructor()) - break Fail335; - m_192 = term.getSubterm(0); - n_192 = term.getSubterm(1); - IStrategoList annos0 = term.getAnnotations(); - o_192 = annos0; - term = i_82.invoke(context, m_192); - if(term == null) - break Fail335; - p_192 = term; - term = j_82.invoke(context, n_192); - if(term == null) - break Fail335; - term = termFactory.annotateTerm(termFactory.makeAppl(transform._consOrComp_2, new IStrategoTerm[]{p_192, term}), checkListAnnos(termFactory, o_192)); - context.popOnSuccess(); - if(true) - return term; - } - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/CoolFrontendAspect.aj b/coolf/src/main/java/cool/CoolFrontendAspect.aj deleted file mode 100644 index 13626fb..0000000 --- a/coolf/src/main/java/cool/CoolFrontendAspect.aj +++ /dev/null @@ -1,58 +0,0 @@ -package cool; - -import java.io.File; -import java.util.Arrays; -import java.util.List; -import java.util.logging.Logger; - -import org.apache.commons.io.FileUtils; -import org.openu.awesome.frontend.FrontendAspect; -import org.spoofax.interpreter.terms.IStrategoTerm; -import org.spoofax.terms.TermFactory; -import org.strategoxt.lang.Context; - -import cool.transform_0_0; - -public privileged aspect CoolFrontendAspect extends FrontendAspect { - - private static Logger logger = Logger.getLogger(CoolFrontendAspect.class.getName()); - - @Override - protected List postfix() { - return Arrays.asList("cool"); - } - - @Override - protected File convert2java(File input) throws Exception { - String path = input.getPath(); - logger.info("input path: " + path); - Context context = transform.init(); - context.setStandAlone(true); - IStrategoTerm result = null; - IStrategoTerm pathTerm = new TermFactory().makeString(input.getAbsolutePath()); - - try { - result = transform_0_0.instance.invoke(context, pathTerm); - } - finally { - context.setStandAlone(false); - context.getIOAgent().closeAllFiles(); - } - - String outputPath = path.replaceFirst("resources", "java").replaceFirst("src", "generated").replaceFirst(".cool", ".java"); - logger.info("output path: " + outputPath); - File output = new File(outputPath); - if (output.exists()) - FileUtils.forceDelete(output); - - FileUtils.forceMkdir(output.getParentFile()); - output.createNewFile(); - FileUtils.writeStringToFile(output, aa(result.toString())); - - return output; - } - - private String aa(String input) { - return input.substring(1, input.length()-1).replaceAll("\\\\n", "\n").replaceAll("\\\\\"", ""+'"'); - } -} diff --git a/coolf/src/main/java/cool/InteropRegisterer.java b/coolf/src/main/java/cool/InteropRegisterer.java index 459ccf7..75a2103 100644 --- a/coolf/src/main/java/cool/InteropRegisterer.java +++ b/coolf/src/main/java/cool/InteropRegisterer.java @@ -27,17 +27,6 @@ private void register(org.spoofax.interpreter.core.IContext context, Context com { compiledContext.registerComponent("cool"); cool.init(compiledContext); - varScope.addSVar("aspectj_to_box_0_0_fragment_4", new InteropSDefT(aspectj_to_box_0_0_fragment_4.instance, context)); - varScope.addSVar("aspectj_to_box_0_0_fragment_3", new InteropSDefT(aspectj_to_box_0_0_fragment_3.instance, context)); - varScope.addSVar("aspectj_to_box_0_0_fragment_2", new InteropSDefT(aspectj_to_box_0_0_fragment_2.instance, context)); - varScope.addSVar("aspectj_to_box_0_0_fragment_1", new InteropSDefT(aspectj_to_box_0_0_fragment_1.instance, context)); - varScope.addSVar("aspectj_to_box_0_0_fragment_0", new InteropSDefT(aspectj_to_box_0_0_fragment_0.instance, context)); - varScope.addSVar("aspectj_to_box_0_0", new InteropSDefT(aspectj_to_box_0_0.instance, context)); - varScope.addSVar("has_leftmost_not_0_0", new InteropSDefT(has_leftmost_not_0_0.instance, context)); - varScope.addSVar("pp_aspectj_box_0_0", new InteropSDefT(pp_aspectj_box_0_0.instance, context)); - varScope.addSVar("option_to_boxes_0_0", new InteropSDefT(option_to_boxes_0_0.instance, context)); - varScope.addSVar("pp_aspectj_string_0_0", new InteropSDefT(pp_aspectj_string_0_0.instance, context)); - varScope.addSVar("fetch__class__name_0_0", new InteropSDefT(fetch__class__name_0_0.instance, context)); varScope.addSVar("fetch__full__class__name_0_0", new InteropSDefT(fetch__full__class__name_0_0.instance, context)); varScope.addSVar("pp_type_0_0", new InteropSDefT(pp_type_0_0.instance, context)); varScope.addSVar("add__externals_0_1", new InteropSDefT(add__externals_0_1.instance, context)); @@ -64,18 +53,29 @@ private void register(org.spoofax.interpreter.core.IContext context, Context com varScope.addSVar("get_expr_type_0_3", new InteropSDefT(get_expr_type_0_3.instance, context)); varScope.addSVar("type_of_0_3", new InteropSDefT(type_of_0_3.instance, context)); varScope.addSVar("fetch_0_0", new InteropSDefT(fetch_0_0.instance, context)); + varScope.addSVar("main_0_0", new InteropSDefT(main_0_0.instance, context)); + varScope.addSVar("handle_io_0_0", new InteropSDefT(handle_io_0_0.instance, context)); varScope.addSVar("transform_0_0", new InteropSDefT(transform_0_0.instance, context)); varScope.addSVar("transform_ast_0_0", new InteropSDefT(transform_ast_0_0.instance, context)); + varScope.addSVar("gen_source_location_0_0", new InteropSDefT(gen_source_location_0_0.instance, context)); + varScope.addSVar("origin_location_0_0", new InteropSDefT(origin_location_0_0.instance, context)); + varScope.addSVar("origin_file_0_0", new InteropSDefT(origin_file_0_0.instance, context)); varScope.addSVar("gen_isRunByOthers_method_0_0", new InteropSDefT(gen_is$Run$By$Others_method_0_0.instance, context)); varScope.addSVar("gen_method_state_0_1", new InteropSDefT(gen_method_state_0_1.instance, context)); varScope.addSVar("gen_method_state_name_0_1", new InteropSDefT(gen_method_state_name_0_1.instance, context)); varScope.addSVar("gen_requires_method_name_0_1", new InteropSDefT(gen_requires_method_name_0_1.instance, context)); varScope.addSVar("gen_on_entry_method_name_0_1", new InteropSDefT(gen_on_entry_method_name_0_1.instance, context)); varScope.addSVar("gen_on_exit_method_name_0_1", new InteropSDefT(gen_on_exit_method_name_0_1.instance, context)); - varScope.addSVar("make_while_statement_0_2", new InteropSDefT(make_while_statement_0_2.instance, context)); varScope.addSVar("make_while_condition_0_1", new InteropSDefT(make_while_condition_0_1.instance, context)); varScope.addSVar("gen_class_head_0_1", new InteropSDefT(gen_class_head_0_1.instance, context)); varScope.addSVar("make_requires_method_0_3", new InteropSDefT(make_requires_method_0_3.instance, context)); + varScope.addSVar("gen_source_location_ann_0_1", new InteropSDefT(gen_source_location_ann_0_1.instance, context)); + varScope.addSVar("get_location_0_0", new InteropSDefT(get_location_0_0.instance, context)); + varScope.addSVar("get_file_0_0", new InteropSDefT(get_file_0_0.instance, context)); + varScope.addSVar("get_start_line_0_0", new InteropSDefT(get_start_line_0_0.instance, context)); + varScope.addSVar("get_end_line_0_0", new InteropSDefT(get_end_line_0_0.instance, context)); + varScope.addSVar("get_column_0_0", new InteropSDefT(get_column_0_0.instance, context)); + varScope.addSVar("get_offset_0_0", new InteropSDefT(get_offset_0_0.instance, context)); varScope.addSVar("make_on_entry_method_0_4", new InteropSDefT(make_on_entry_method_0_4.instance, context)); varScope.addSVar("make_on_exit_method_0_4", new InteropSDefT(make_on_exit_method_0_4.instance, context)); varScope.addSVar("convert_0_0", new InteropSDefT(convert_0_0.instance, context)); @@ -91,27 +91,12 @@ private void register(org.spoofax.interpreter.core.IContext context, Context com varScope.addSVar("add_condition_fields_0_0", new InteropSDefT(add_condition_fields_0_0.instance, context)); varScope.addSVar("add_coordinator_fields_0_0", new InteropSDefT(add_coordinator_fields_0_0.instance, context)); varScope.addSVar("get_methods_list_0_0", new InteropSDefT(get_methods_list_0_0.instance, context)); - varScope.addSVar("main_0_0", new InteropSDefT(main_0_0.instance, context)); - varScope.addSVar("OrComp_2_0", new InteropSDefT($Or$Comp_2_0.instance, context)); - varScope.addSVar("AndComp_2_0", new InteropSDefT($And$Comp_2_0.instance, context)); - varScope.addSVar("NotComp_1_0", new InteropSDefT($Not$Comp_1_0.instance, context)); } private void registerLazy(org.spoofax.interpreter.core.IContext context, Context compiledContext, ClassLoader classLoader, org.spoofax.interpreter.core.VarScope varScope) { compiledContext.registerComponent("cool"); cool.init(compiledContext); - varScope.addSVar("aspectj_to_box_0_0_fragment_4", new InteropSDefT(classLoader, "cool.aspectj_to_box_0_0_fragment_4", context)); - varScope.addSVar("aspectj_to_box_0_0_fragment_3", new InteropSDefT(classLoader, "cool.aspectj_to_box_0_0_fragment_3", context)); - varScope.addSVar("aspectj_to_box_0_0_fragment_2", new InteropSDefT(classLoader, "cool.aspectj_to_box_0_0_fragment_2", context)); - varScope.addSVar("aspectj_to_box_0_0_fragment_1", new InteropSDefT(classLoader, "cool.aspectj_to_box_0_0_fragment_1", context)); - varScope.addSVar("aspectj_to_box_0_0_fragment_0", new InteropSDefT(classLoader, "cool.aspectj_to_box_0_0_fragment_0", context)); - varScope.addSVar("aspectj_to_box_0_0", new InteropSDefT(classLoader, "cool.aspectj_to_box_0_0", context)); - varScope.addSVar("has_leftmost_not_0_0", new InteropSDefT(classLoader, "cool.has_leftmost_not_0_0", context)); - varScope.addSVar("pp_aspectj_box_0_0", new InteropSDefT(classLoader, "cool.pp_aspectj_box_0_0", context)); - varScope.addSVar("option_to_boxes_0_0", new InteropSDefT(classLoader, "cool.option_to_boxes_0_0", context)); - varScope.addSVar("pp_aspectj_string_0_0", new InteropSDefT(classLoader, "cool.pp_aspectj_string_0_0", context)); - varScope.addSVar("fetch__class__name_0_0", new InteropSDefT(classLoader, "cool.fetch__class__name_0_0", context)); varScope.addSVar("fetch__full__class__name_0_0", new InteropSDefT(classLoader, "cool.fetch__full__class__name_0_0", context)); varScope.addSVar("pp_type_0_0", new InteropSDefT(classLoader, "cool.pp_type_0_0", context)); varScope.addSVar("add__externals_0_1", new InteropSDefT(classLoader, "cool.add__externals_0_1", context)); @@ -138,18 +123,29 @@ private void registerLazy(org.spoofax.interpreter.core.IContext context, Context varScope.addSVar("get_expr_type_0_3", new InteropSDefT(classLoader, "cool.get_expr_type_0_3", context)); varScope.addSVar("type_of_0_3", new InteropSDefT(classLoader, "cool.type_of_0_3", context)); varScope.addSVar("fetch_0_0", new InteropSDefT(classLoader, "cool.fetch_0_0", context)); + varScope.addSVar("main_0_0", new InteropSDefT(classLoader, "cool.main_0_0", context)); + varScope.addSVar("handle_io_0_0", new InteropSDefT(classLoader, "cool.handle_io_0_0", context)); varScope.addSVar("transform_0_0", new InteropSDefT(classLoader, "cool.transform_0_0", context)); varScope.addSVar("transform_ast_0_0", new InteropSDefT(classLoader, "cool.transform_ast_0_0", context)); + varScope.addSVar("gen_source_location_0_0", new InteropSDefT(classLoader, "cool.gen_source_location_0_0", context)); + varScope.addSVar("origin_location_0_0", new InteropSDefT(classLoader, "cool.origin_location_0_0", context)); + varScope.addSVar("origin_file_0_0", new InteropSDefT(classLoader, "cool.origin_file_0_0", context)); varScope.addSVar("gen_isRunByOthers_method_0_0", new InteropSDefT(classLoader, "cool.gen_is$Run$By$Others_method_0_0", context)); varScope.addSVar("gen_method_state_0_1", new InteropSDefT(classLoader, "cool.gen_method_state_0_1", context)); varScope.addSVar("gen_method_state_name_0_1", new InteropSDefT(classLoader, "cool.gen_method_state_name_0_1", context)); varScope.addSVar("gen_requires_method_name_0_1", new InteropSDefT(classLoader, "cool.gen_requires_method_name_0_1", context)); varScope.addSVar("gen_on_entry_method_name_0_1", new InteropSDefT(classLoader, "cool.gen_on_entry_method_name_0_1", context)); varScope.addSVar("gen_on_exit_method_name_0_1", new InteropSDefT(classLoader, "cool.gen_on_exit_method_name_0_1", context)); - varScope.addSVar("make_while_statement_0_2", new InteropSDefT(classLoader, "cool.make_while_statement_0_2", context)); varScope.addSVar("make_while_condition_0_1", new InteropSDefT(classLoader, "cool.make_while_condition_0_1", context)); varScope.addSVar("gen_class_head_0_1", new InteropSDefT(classLoader, "cool.gen_class_head_0_1", context)); varScope.addSVar("make_requires_method_0_3", new InteropSDefT(classLoader, "cool.make_requires_method_0_3", context)); + varScope.addSVar("gen_source_location_ann_0_1", new InteropSDefT(classLoader, "cool.gen_source_location_ann_0_1", context)); + varScope.addSVar("get_location_0_0", new InteropSDefT(classLoader, "cool.get_location_0_0", context)); + varScope.addSVar("get_file_0_0", new InteropSDefT(classLoader, "cool.get_file_0_0", context)); + varScope.addSVar("get_start_line_0_0", new InteropSDefT(classLoader, "cool.get_start_line_0_0", context)); + varScope.addSVar("get_end_line_0_0", new InteropSDefT(classLoader, "cool.get_end_line_0_0", context)); + varScope.addSVar("get_column_0_0", new InteropSDefT(classLoader, "cool.get_column_0_0", context)); + varScope.addSVar("get_offset_0_0", new InteropSDefT(classLoader, "cool.get_offset_0_0", context)); varScope.addSVar("make_on_entry_method_0_4", new InteropSDefT(classLoader, "cool.make_on_entry_method_0_4", context)); varScope.addSVar("make_on_exit_method_0_4", new InteropSDefT(classLoader, "cool.make_on_exit_method_0_4", context)); varScope.addSVar("convert_0_0", new InteropSDefT(classLoader, "cool.convert_0_0", context)); @@ -165,9 +161,5 @@ private void registerLazy(org.spoofax.interpreter.core.IContext context, Context varScope.addSVar("add_condition_fields_0_0", new InteropSDefT(classLoader, "cool.add_condition_fields_0_0", context)); varScope.addSVar("add_coordinator_fields_0_0", new InteropSDefT(classLoader, "cool.add_coordinator_fields_0_0", context)); varScope.addSVar("get_methods_list_0_0", new InteropSDefT(classLoader, "cool.get_methods_list_0_0", context)); - varScope.addSVar("main_0_0", new InteropSDefT(classLoader, "cool.main_0_0", context)); - varScope.addSVar("OrComp_2_0", new InteropSDefT(classLoader, "cool.$Or$Comp_2_0", context)); - varScope.addSVar("AndComp_2_0", new InteropSDefT(classLoader, "cool.$And$Comp_2_0", context)); - varScope.addSVar("NotComp_1_0", new InteropSDefT(classLoader, "cool.$Not$Comp_1_0", context)); } } \ No newline at end of file diff --git a/coolf/src/main/java/cool/add__externals_0_1.java b/coolf/src/main/java/cool/add__externals_0_1.java index 53f058c..bed9776 100644 --- a/coolf/src/main/java/cool/add__externals_0_1.java +++ b/coolf/src/main/java/cool/add__externals_0_1.java @@ -15,30 +15,30 @@ { public static add__externals_0_1 instance = new add__externals_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm o_24) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm p_8) { context.push("add__externals_0_1"); - Fail132: + Fail18: { - IStrategoTerm p_24 = null; - TermReference s_24 = new TermReference(); - p_24 = term; + IStrategoTerm q_8 = null; + TermReference t_8 = new TermReference(); + q_8 = term; term = new_iset_0_0.instance.invoke(context, term); if(term == null) - break Fail132; - if(s_24.value == null) - s_24.value = term; + break Fail18; + if(t_8.value == null) + t_8.value = term; else - if(s_24.value != term && !s_24.value.match(term)) - break Fail132; - term = add_external_impl_0_2.instance.invoke(context, p_24, s_24.value, o_24); + if(t_8.value != term && !t_8.value.match(term)) + break Fail18; + term = add_external_impl_0_2.instance.invoke(context, q_8, t_8.value, p_8); if(term == null) - break Fail132; - lifted4 lifted410 = new lifted4(); - lifted410.s_24 = s_24; - term = topdown_1_0.instance.invoke(context, term, lifted410); + break Fail18; + lifted0 lifted00 = new lifted0(); + lifted00.t_8 = t_8; + term = topdown_1_0.instance.invoke(context, term, lifted00); if(term == null) - break Fail132; + break Fail18; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/add__params_0_4.java b/coolf/src/main/java/cool/add__params_0_4.java index 63864b6..d710a55 100644 --- a/coolf/src/main/java/cool/add__params_0_4.java +++ b/coolf/src/main/java/cool/add__params_0_4.java @@ -15,22 +15,22 @@ { public static add__params_0_4 instance = new add__params_0_4(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm n_37, IStrategoTerm o_37, IStrategoTerm p_37, IStrategoTerm q_37) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm o_21, IStrategoTerm p_21, IStrategoTerm q_21, IStrategoTerm r_21) { context.push("add__params_0_4"); - Fail152: + Fail38: { - TermReference r_37 = new TermReference(); - lifted61 lifted611 = new lifted61(); - lifted60 lifted600 = new lifted60(); - lifted611.r_37 = r_37; - lifted600.r_37 = r_37; - term = or_2_0.instance.invoke(context, term, lifted600, lifted611); + TermReference s_21 = new TermReference(); + lifted57 lifted570 = new lifted57(); + lifted56 lifted560 = new lifted56(); + lifted570.s_21 = s_21; + lifted560.s_21 = s_21; + term = or_2_0.instance.invoke(context, term, lifted560, lifted570); if(term == null) - break Fail152; - term = add__var_0_5.instance.invoke(context, term, r_37.value, n_37, o_37, p_37, q_37); + break Fail38; + term = add__var_0_5.instance.invoke(context, term, s_21.value, o_21, p_21, q_21, r_21); if(term == null) - break Fail152; + break Fail38; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/add__var_0_5.java b/coolf/src/main/java/cool/add__var_0_5.java index 28168fa..63ea735 100644 --- a/coolf/src/main/java/cool/add__var_0_5.java +++ b/coolf/src/main/java/cool/add__var_0_5.java @@ -15,20 +15,20 @@ { public static add__var_0_5 instance = new add__var_0_5(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm u_37, IStrategoTerm v_37, IStrategoTerm w_37, IStrategoTerm x_37, IStrategoTerm y_37) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm v_21, IStrategoTerm w_21, IStrategoTerm x_21, IStrategoTerm y_21, IStrategoTerm z_21) { context.push("add__var_0_5"); - Fail153: + Fail39: { - term = hashtable_put_0_2.instance.invoke(context, x_37, u_37, y_37); + term = hashtable_put_0_2.instance.invoke(context, y_21, v_21, z_21); if(term == null) - break Fail153; - term = increament_0_2.instance.invoke(context, v_37, u_37, v_37); + break Fail39; + term = increament_0_2.instance.invoke(context, w_21, v_21, w_21); if(term == null) - break Fail153; - term = increament_0_2.instance.invoke(context, w_37, u_37, w_37); + break Fail39; + term = increament_0_2.instance.invoke(context, x_21, v_21, x_21); if(term == null) - break Fail153; + break Fail39; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/add_condition_fields_0_0.java b/coolf/src/main/java/cool/add_condition_fields_0_0.java index 9ba4d4c..3f2e8dd 100644 --- a/coolf/src/main/java/cool/add_condition_fields_0_0.java +++ b/coolf/src/main/java/cool/add_condition_fields_0_0.java @@ -18,38 +18,38 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("add_condition_fields_0_0"); - Fail327: + Fail227: { - IStrategoTerm c_80 = null; - IStrategoTerm d_80 = null; - IStrategoTerm i_80 = null; + IStrategoTerm i_52 = null; + IStrategoTerm j_52 = null; + IStrategoTerm m_52 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consConditionDec_1 != ((IStrategoAppl)term).getConstructor()) - break Fail327; - c_80 = term.getSubterm(0); - i_80 = term; - IStrategoTerm term311 = term; - Success266: + break Fail227; + i_52 = term.getSubterm(0); + m_52 = term; + IStrategoTerm term208 = term; + Success166: { - Fail328: + Fail228: { - term = map_1_0.instance.invoke(context, c_80, lifted136.instance); + term = map_1_0.instance.invoke(context, i_52, lifted134.instance); if(term == null) - break Fail328; - d_80 = term; + break Fail228; + j_52 = term; if(true) - break Success266; + break Success166; } - term = term311; - IStrategoTerm n_80 = null; - n_80 = term; - term = report_with_failure_0_1.instance.invoke(context, n_80, cool.const135); + term = term208; + IStrategoTerm o_52 = null; + o_52 = term; + term = report_with_failure_0_1.instance.invoke(context, o_52, cool.const79); if(term == null) - break Fail327; + break Fail227; } - term = i_80; - if(d_80 == null) - break Fail327; - term = d_80; + term = m_52; + if(j_52 == null) + break Fail227; + term = j_52; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/add_coordinator_fields_0_0.java b/coolf/src/main/java/cool/add_coordinator_fields_0_0.java index 27fabc2..32f9489 100644 --- a/coolf/src/main/java/cool/add_coordinator_fields_0_0.java +++ b/coolf/src/main/java/cool/add_coordinator_fields_0_0.java @@ -18,38 +18,38 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("add_coordinator_fields_0_0"); - Fail329: + Fail229: { - IStrategoTerm t_80 = null; - IStrategoTerm u_80 = null; - IStrategoTerm z_80 = null; - t_80 = term; - z_80 = term; - IStrategoTerm term312 = term; - Success267: + IStrategoTerm t_52 = null; + IStrategoTerm u_52 = null; + IStrategoTerm y_52 = null; + t_52 = term; + y_52 = term; + IStrategoTerm term209 = term; + Success167: { - Fail330: + Fail230: { - term = retain_all_1_0.instance.invoke(context, t_80, lifted137.instance); + term = retain_all_1_0.instance.invoke(context, t_52, lifted135.instance); if(term == null) - break Fail330; - u_80 = term; + break Fail230; + u_52 = term; if(true) - break Success267; + break Success167; } - term = term312; - IStrategoTerm b_81 = null; - b_81 = term; - term = report_with_failure_0_1.instance.invoke(context, b_81, cool.const137); + term = term209; + IStrategoTerm a_53 = null; + a_53 = term; + term = report_with_failure_0_1.instance.invoke(context, a_53, cool.const81); if(term == null) - break Fail329; + break Fail229; } - term = z_80; - if(u_80 == null) - break Fail329; - term = map_1_0.instance.invoke(context, u_80, lifted138.instance); + term = y_52; + if(u_52 == null) + break Fail229; + term = map_1_0.instance.invoke(context, u_52, lifted136.instance); if(term == null) - break Fail329; + break Fail229; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/add_external_impl_0_2.java b/coolf/src/main/java/cool/add_external_impl_0_2.java index fdd9565..24fe02e 100644 --- a/coolf/src/main/java/cool/add_external_impl_0_2.java +++ b/coolf/src/main/java/cool/add_external_impl_0_2.java @@ -15,53 +15,53 @@ { public static add_external_impl_0_2 instance = new add_external_impl_0_2(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm c_25, IStrategoTerm d_25) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm d_9, IStrategoTerm e_9) { context.push("add_external_impl_0_2"); - Fail133: + Fail19: { - IStrategoTerm e_25 = null; - IStrategoTerm f_25 = null; - IStrategoTerm g_25 = null; - IStrategoTerm h_25 = null; - IStrategoTerm i_25 = null; - IStrategoTerm t_25 = null; - IStrategoTerm u_25 = null; - IStrategoTerm w_25 = null; - IStrategoTerm z_25 = null; - IStrategoTerm a_26 = null; + IStrategoTerm f_9 = null; + IStrategoTerm g_9 = null; + IStrategoTerm h_9 = null; + IStrategoTerm i_9 = null; + IStrategoTerm j_9 = null; + IStrategoTerm u_9 = null; + IStrategoTerm v_9 = null; + IStrategoTerm x_9 = null; + IStrategoTerm a_10 = null; + IStrategoTerm b_10 = null; term = strip_annos_0_0.instance.invoke(context, term); if(term == null) - break Fail133; - e_25 = term; + break Fail19; + f_9 = term; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail133; - f_25 = term; + break Fail19; + g_9 = term; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail133; - h_25 = term; + break Fail19; + i_9 = term; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail133; - i_25 = term; + break Fail19; + j_9 = term; term = new_iset_0_0.instance.invoke(context, term); if(term == null) - break Fail133; - g_25 = term; - term = e_25; - w_25 = e_25; + break Fail19; + h_9 = term; + term = f_9; + x_9 = f_9; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail133; - t_25 = term; - z_25 = w_25; - u_25 = cool.constNone0; - a_26 = z_25; - term = add_external_impl_0_9.instance.invokeDynamic(context, a_26, NO_STRATEGIES, new IStrategoTerm[]{f_25, t_25, g_25, h_25, c_25, i_25, u_25, cool.constFalse0, d_25}); + break Fail19; + u_9 = term; + a_10 = x_9; + v_9 = cool.constNone0; + b_10 = a_10; + term = add_external_impl_0_9.instance.invokeDynamic(context, b_10, NO_STRATEGIES, new IStrategoTerm[]{g_9, u_9, h_9, i_9, d_9, j_9, v_9, cool.constFalse0, e_9}); if(term == null) - break Fail133; + break Fail19; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/add_external_impl_0_9.java b/coolf/src/main/java/cool/add_external_impl_0_9.java index 1fe82a0..4ef7cd2 100644 --- a/coolf/src/main/java/cool/add_external_impl_0_9.java +++ b/coolf/src/main/java/cool/add_external_impl_0_9.java @@ -15,706 +15,706 @@ { public static add_external_impl_0_9 instance = new add_external_impl_0_9(); - public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm ref_b_26, IStrategoTerm ref_c_26, IStrategoTerm ref_d_26, IStrategoTerm ref_e_26, IStrategoTerm ref_f_26, IStrategoTerm ref_g_26, IStrategoTerm ref_h_26, IStrategoTerm ref_i_26, IStrategoTerm ref_j_26) + public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm ref_c_10, IStrategoTerm ref_d_10, IStrategoTerm ref_e_10, IStrategoTerm ref_f_10, IStrategoTerm ref_g_10, IStrategoTerm ref_h_10, IStrategoTerm ref_i_10, IStrategoTerm ref_j_10, IStrategoTerm ref_k_10) { ITermFactory termFactory = context.getFactory(); - TermReference b_26 = new TermReference(ref_b_26); - TermReference c_26 = new TermReference(ref_c_26); - TermReference d_26 = new TermReference(ref_d_26); - TermReference e_26 = new TermReference(ref_e_26); - TermReference f_26 = new TermReference(ref_f_26); - TermReference g_26 = new TermReference(ref_g_26); - TermReference h_26 = new TermReference(ref_h_26); - TermReference i_26 = new TermReference(ref_i_26); - TermReference j_26 = new TermReference(ref_j_26); + TermReference c_10 = new TermReference(ref_c_10); + TermReference d_10 = new TermReference(ref_d_10); + TermReference e_10 = new TermReference(ref_e_10); + TermReference f_10 = new TermReference(ref_f_10); + TermReference g_10 = new TermReference(ref_g_10); + TermReference h_10 = new TermReference(ref_h_10); + TermReference i_10 = new TermReference(ref_i_10); + TermReference j_10 = new TermReference(ref_j_10); + TermReference k_10 = new TermReference(ref_k_10); context.push("add_external_impl_0_9"); - Fail134: + Fail20: { - IStrategoTerm k_26 = null; - TermReference l_26 = new TermReference(); - IStrategoTerm m_26 = null; - TermReference n_26 = new TermReference(); - IStrategoTerm o_26 = null; - IStrategoTerm p_26 = null; - TermReference q_26 = new TermReference(); - TermReference r_26 = new TermReference(); - TermReference s_26 = new TermReference(); - TermReference t_26 = new TermReference(); - TermReference u_26 = new TermReference(); - TermReference v_26 = new TermReference(); - TermReference w_26 = new TermReference(); - TermReference x_26 = new TermReference(); - TermReference y_26 = new TermReference(); - TermReference z_26 = new TermReference(); - TermReference a_27 = new TermReference(); - TermReference b_27 = new TermReference(); - TermReference c_27 = new TermReference(); - TermReference d_27 = new TermReference(); - TermReference e_27 = new TermReference(); - TermReference f_27 = new TermReference(); - TermReference g_27 = new TermReference(); - TermReference h_27 = new TermReference(); - TermReference i_27 = new TermReference(); - IStrategoTerm j_27 = null; - if(h_27.value == null) - h_27.value = term; + IStrategoTerm l_10 = null; + TermReference m_10 = new TermReference(); + IStrategoTerm n_10 = null; + TermReference o_10 = new TermReference(); + IStrategoTerm p_10 = null; + IStrategoTerm q_10 = null; + TermReference r_10 = new TermReference(); + TermReference s_10 = new TermReference(); + TermReference t_10 = new TermReference(); + TermReference u_10 = new TermReference(); + TermReference v_10 = new TermReference(); + TermReference w_10 = new TermReference(); + TermReference x_10 = new TermReference(); + TermReference y_10 = new TermReference(); + TermReference z_10 = new TermReference(); + TermReference a_11 = new TermReference(); + TermReference b_11 = new TermReference(); + TermReference c_11 = new TermReference(); + TermReference d_11 = new TermReference(); + TermReference e_11 = new TermReference(); + TermReference f_11 = new TermReference(); + TermReference g_11 = new TermReference(); + TermReference h_11 = new TermReference(); + TermReference i_11 = new TermReference(); + TermReference j_11 = new TermReference(); + IStrategoTerm k_11 = null; + if(i_11.value == null) + i_11.value = term; else - if(h_27.value != term && !h_27.value.match(term)) - break Fail134; - j_27 = term; - if(i_27.value == null) - i_27.value = term; + if(i_11.value != term && !i_11.value.match(term)) + break Fail20; + k_11 = term; + if(j_11.value == null) + j_11.value = term; else - if(i_27.value != term && !i_27.value.match(term)) - break Fail134; - term = j_27; - IStrategoTerm term122 = term; - Success119: + if(j_11.value != term && !j_11.value.match(term)) + break Fail20; + term = k_11; + IStrategoTerm term16 = term; + Success16: { - Fail135: + Fail21: { - IStrategoTerm k_27 = null; - k_27 = term; - if(i_27.value == null) - break Fail135; - term = i_27.value; + IStrategoTerm l_11 = null; + l_11 = term; + if(j_11.value == null) + break Fail21; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consBlock_1 != ((IStrategoAppl)term).getConstructor()) - break Fail135; - term = k_27; + break Fail21; + term = l_11; { term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail134; - if(n_26.value == null) - n_26.value = term; + break Fail20; + if(o_10.value == null) + o_10.value = term; else - if(n_26.value != term && !n_26.value.match(term)) - break Fail134; - if(h_27.value == null) - break Fail134; - term = h_27.value; - lifted6 lifted610 = new lifted6(); - lifted610.b_26 = b_26; - lifted610.c_26 = c_26; - lifted610.d_26 = d_26; - lifted610.n_26 = n_26; - lifted610.f_26 = f_26; - lifted610.g_26 = g_26; - lifted610.h_26 = h_26; - lifted610.i_26 = i_26; - lifted610.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted610); + if(o_10.value != term && !o_10.value.match(term)) + break Fail20; + if(i_11.value == null) + break Fail20; + term = i_11.value; + lifted2 lifted210 = new lifted2(); + lifted210.c_10 = c_10; + lifted210.d_10 = d_10; + lifted210.e_10 = e_10; + lifted210.o_10 = o_10; + lifted210.g_10 = g_10; + lifted210.h_10 = h_10; + lifted210.i_10 = i_10; + lifted210.j_10 = j_10; + lifted210.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted210); if(term == null) - break Fail134; - o_26 = term; - if(n_26.value == null) - break Fail134; - term = hashtable_keys_0_0.instance.invoke(context, n_26.value); + break Fail20; + p_10 = term; + if(o_10.value == null) + break Fail20; + term = hashtable_keys_0_0.instance.invoke(context, o_10.value); if(term == null) - break Fail134; - lifted7 lifted710 = new lifted7(); - lifted710.b_26 = b_26; - lifted710.n_26 = n_26; - term = map_1_0.instance.invoke(context, term, lifted710); + break Fail20; + lifted3 lifted310 = new lifted3(); + lifted310.c_10 = c_10; + lifted310.o_10 = o_10; + term = map_1_0.instance.invoke(context, term, lifted310); if(term == null) - break Fail134; - term = o_26; + break Fail20; + term = p_10; if(true) - break Success119; + break Success16; } } - term = term122; - IStrategoTerm term123 = term; - Success120: + term = term16; + IStrategoTerm term17 = term; + Success17: { - Fail136: + Fail22: { - IStrategoTerm l_27 = null; - l_27 = term; - if(i_27.value == null) - break Fail136; - term = i_27.value; + IStrategoTerm m_11 = null; + m_11 = term; + if(j_11.value == null) + break Fail22; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodDec_2 != ((IStrategoAppl)term).getConstructor()) - break Fail136; - k_26 = term.getSubterm(0); - m_26 = term.getSubterm(1); - term = l_27; + break Fail22; + l_10 = term.getSubterm(0); + n_10 = term.getSubterm(1); + term = m_11; { term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail134; - if(n_26.value == null) - n_26.value = term; + break Fail20; + if(o_10.value == null) + o_10.value = term; else - if(n_26.value != term && !n_26.value.match(term)) - break Fail134; - Success121: + if(o_10.value != term && !o_10.value.match(term)) + break Fail20; + Success18: { - Fail137: + Fail23: { - IStrategoTerm m_27 = null; - m_27 = term; - term = is__on__entry__or__on__exit__method_0_0.instance.invoke(context, k_26); + IStrategoTerm n_11 = null; + n_11 = term; + term = is__on__entry__or__on__exit__method_0_0.instance.invoke(context, l_10); if(term == null) - break Fail137; - term = m_27; + break Fail23; + term = n_11; { term = cool.constTrue0; - if(l_26.value == null) - l_26.value = term; + if(m_10.value == null) + m_10.value = term; else - if(l_26.value != term && !l_26.value.match(term)) - break Fail134; + if(m_10.value != term && !m_10.value.match(term)) + break Fail20; if(true) - break Success121; + break Success18; } } term = cool.constFalse0; - if(l_26.value == null) - l_26.value = term; + if(m_10.value == null) + m_10.value = term; else - if(l_26.value != term && !l_26.value.match(term)) - break Fail134; + if(m_10.value != term && !m_10.value.match(term)) + break Fail20; } - term = k_26; - lifted8 lifted810 = new lifted8(); - lifted810.b_26 = b_26; - lifted810.n_26 = n_26; - lifted810.c_26 = c_26; - lifted810.h_26 = h_26; - term = topdown_1_0.instance.invoke(context, term, lifted810); + term = l_10; + lifted4 lifted410 = new lifted4(); + lifted410.c_10 = c_10; + lifted410.o_10 = o_10; + lifted410.d_10 = d_10; + lifted410.i_10 = i_10; + term = topdown_1_0.instance.invoke(context, term, lifted410); if(term == null) - break Fail134; - term = m_26; - lifted10 lifted1010 = new lifted10(); - lifted1010.b_26 = b_26; - lifted1010.c_26 = c_26; - lifted1010.d_26 = d_26; - lifted1010.n_26 = n_26; - lifted1010.f_26 = f_26; - lifted1010.g_26 = g_26; - lifted1010.h_26 = h_26; - lifted1010.l_26 = l_26; - lifted1010.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted1010); + break Fail20; + term = n_10; + lifted6 lifted610 = new lifted6(); + lifted610.c_10 = c_10; + lifted610.d_10 = d_10; + lifted610.e_10 = e_10; + lifted610.o_10 = o_10; + lifted610.g_10 = g_10; + lifted610.h_10 = h_10; + lifted610.i_10 = i_10; + lifted610.m_10 = m_10; + lifted610.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted610); if(term == null) - break Fail134; - term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{k_26, term}); - o_26 = term; - if(n_26.value == null) - break Fail134; - term = hashtable_keys_0_0.instance.invoke(context, n_26.value); + break Fail20; + term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{l_10, term}); + p_10 = term; + if(o_10.value == null) + break Fail20; + term = hashtable_keys_0_0.instance.invoke(context, o_10.value); if(term == null) - break Fail134; - lifted11 lifted1110 = new lifted11(); - lifted1110.b_26 = b_26; - lifted1110.n_26 = n_26; - term = map_1_0.instance.invoke(context, term, lifted1110); + break Fail20; + lifted7 lifted710 = new lifted7(); + lifted710.c_10 = c_10; + lifted710.o_10 = o_10; + term = map_1_0.instance.invoke(context, term, lifted710); if(term == null) - break Fail134; - term = o_26; + break Fail20; + term = p_10; if(true) - break Success120; + break Success17; } } - term = term123; - IStrategoTerm term125 = term; - Success122: + term = term17; + IStrategoTerm term19 = term; + Success19: { - Fail138: + Fail24: { - IStrategoTerm n_27 = null; - n_27 = term; - if(i_27.value == null) - break Fail138; - term = or_2_0.instance.invoke(context, i_27.value, lifted12.instance, lifted13.instance); + IStrategoTerm o_11 = null; + o_11 = term; + if(j_11.value == null) + break Fail24; + term = or_2_0.instance.invoke(context, j_11.value, lifted8.instance, lifted9.instance); if(term == null) - break Fail138; - term = n_27; + break Fail24; + term = o_11; { - if(h_27.value == null) - break Fail134; - term = handle_expr_0_7.instance.invokeDynamic(context, h_27.value, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, f_26.value, d_26.value, g_26.value, h_26.value, i_26.value, j_26.value}); + if(i_11.value == null) + break Fail20; + term = handle_expr_0_7.instance.invokeDynamic(context, i_11.value, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, g_10.value, e_10.value, h_10.value, i_10.value, j_10.value, k_10.value}); if(term == null) - break Fail134; + break Fail20; if(true) - break Success122; + break Success19; } } - term = term125; - IStrategoTerm term126 = term; - Success123: + term = term19; + IStrategoTerm term20 = term; + Success20: { - Fail139: + Fail25: { - IStrategoTerm o_27 = null; - o_27 = term; - if(i_27.value == null) - break Fail139; - term = i_27.value; + IStrategoTerm p_11 = null; + p_11 = term; + if(j_11.value == null) + break Fail25; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consVarDec_1 != ((IStrategoAppl)term).getConstructor()) - break Fail139; - IStrategoTerm arg30 = term.getSubterm(0); - if(arg30.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg30).getConstructor()) - break Fail139; - p_26 = arg30.getSubterm(0); - term = o_27; + break Fail25; + IStrategoTerm arg16 = term.getSubterm(0); + if(arg16.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg16).getConstructor()) + break Fail25; + q_10 = arg16.getSubterm(0); + term = p_11; { - term = add__var_0_5.instance.invoke(context, term, p_26, b_26.value, e_26.value, c_26.value, h_26.value); + term = add__var_0_5.instance.invoke(context, term, q_10, c_10.value, f_10.value, d_10.value, i_10.value); if(term == null) - break Fail134; + break Fail20; if(true) - break Success123; + break Success20; } } - term = term126; - IStrategoTerm term127 = term; - Success124: + term = term20; + IStrategoTerm term21 = term; + Success21: { - Fail140: + Fail26: { - IStrategoTerm p_27 = null; - p_27 = term; - if(i_27.value == null) - break Fail140; - term = i_27.value; + IStrategoTerm q_11 = null; + q_11 = term; + if(j_11.value == null) + break Fail26; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consVarDec_2 != ((IStrategoAppl)term).getConstructor()) - break Fail140; - IStrategoTerm arg31 = term.getSubterm(0); - if(arg31.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg31).getConstructor()) - break Fail140; - p_26 = arg31.getSubterm(0); - if(g_27.value == null) - g_27.value = term.getSubterm(1); + break Fail26; + IStrategoTerm arg17 = term.getSubterm(0); + if(arg17.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg17).getConstructor()) + break Fail26; + q_10 = arg17.getSubterm(0); + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail140; - term = p_27; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail26; + term = q_11; { - term = add__var_0_5.instance.invoke(context, term, p_26, b_26.value, e_26.value, c_26.value, h_26.value); + term = add__var_0_5.instance.invoke(context, term, q_10, c_10.value, f_10.value, d_10.value, i_10.value); if(term == null) - break Fail134; - if(h_27.value == null) - break Fail134; - term = h_27.value; - lifted14 lifted140 = new lifted14(); - lifted140.b_26 = b_26; - lifted140.c_26 = c_26; - lifted140.d_26 = d_26; - lifted140.e_26 = e_26; - lifted140.f_26 = f_26; - lifted140.g_26 = g_26; - lifted140.h_26 = h_26; - lifted140.i_26 = i_26; - lifted140.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted140); + break Fail20; + if(i_11.value == null) + break Fail20; + term = i_11.value; + lifted10 lifted1010 = new lifted10(); + lifted1010.c_10 = c_10; + lifted1010.d_10 = d_10; + lifted1010.e_10 = e_10; + lifted1010.f_10 = f_10; + lifted1010.g_10 = g_10; + lifted1010.h_10 = h_10; + lifted1010.i_10 = i_10; + lifted1010.j_10 = j_10; + lifted1010.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted1010); if(term == null) - break Fail134; + break Fail20; if(true) - break Success124; + break Success21; } } - term = term127; - IStrategoTerm term128 = term; - Success125: + term = term21; + IStrategoTerm term22 = term; + Success22: { - Fail141: + Fail27: { - IStrategoTerm q_27 = null; - q_27 = term; - if(i_27.value == null) - break Fail141; - term = i_27.value; - lifted16 lifted160 = new lifted16(); - lifted15 lifted150 = new lifted15(); - lifted160.f_27 = f_27; - lifted160.q_26 = q_26; - lifted150.f_27 = f_27; - lifted150.q_26 = q_26; - term = or_2_0.instance.invoke(context, term, lifted150, lifted160); + IStrategoTerm r_11 = null; + r_11 = term; + if(j_11.value == null) + break Fail27; + term = j_11.value; + lifted12 lifted1210 = new lifted12(); + lifted11 lifted1110 = new lifted11(); + lifted1210.g_11 = g_11; + lifted1210.r_10 = r_10; + lifted1110.g_11 = g_11; + lifted1110.r_10 = r_10; + term = or_2_0.instance.invoke(context, term, lifted1110, lifted1210); if(term == null) - break Fail141; - term = q_27; + break Fail27; + term = r_11; { - if(h_27.value == null) - break Fail134; - term = h_27.value; - lifted17 lifted170 = new lifted17(); - lifted170.b_26 = b_26; - lifted170.c_26 = c_26; - lifted170.d_26 = d_26; - lifted170.e_26 = e_26; - lifted170.f_26 = f_26; - lifted170.g_26 = g_26; - lifted170.f_27 = f_27; - lifted170.i_26 = i_26; - lifted170.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted170); + if(i_11.value == null) + break Fail20; + term = i_11.value; + lifted13 lifted138 = new lifted13(); + lifted138.c_10 = c_10; + lifted138.d_10 = d_10; + lifted138.e_10 = e_10; + lifted138.f_10 = f_10; + lifted138.g_10 = g_10; + lifted138.h_10 = h_10; + lifted138.g_11 = g_11; + lifted138.j_10 = j_10; + lifted138.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted138); if(term == null) - break Fail134; + break Fail20; if(true) - break Success125; + break Success22; } } - term = term128; - IStrategoTerm term129 = term; - Success126: + term = term22; + IStrategoTerm term23 = term; + Success23: { - Fail142: + Fail28: { - IStrategoTerm r_27 = null; - r_27 = term; - if(i_27.value == null) - break Fail142; - term = i_27.value; - lifted19 lifted190 = new lifted19(); - lifted18 lifted180 = new lifted18(); - lifted190.x_26 = x_26; - lifted190.y_26 = y_26; - lifted180.x_26 = x_26; - lifted180.y_26 = y_26; - term = or_2_0.instance.invoke(context, term, lifted180, lifted190); + IStrategoTerm s_11 = null; + s_11 = term; + if(j_11.value == null) + break Fail28; + term = j_11.value; + lifted15 lifted150 = new lifted15(); + lifted14 lifted140 = new lifted14(); + lifted150.y_10 = y_10; + lifted150.z_10 = z_10; + lifted140.y_10 = y_10; + lifted140.z_10 = z_10; + term = or_2_0.instance.invoke(context, term, lifted140, lifted150); if(term == null) - break Fail142; - term = r_27; + break Fail28; + term = s_11; { - if(h_27.value == null) - break Fail134; - term = h_27.value; - lifted20 lifted200 = new lifted20(); - lifted200.x_26 = x_26; - lifted200.y_26 = y_26; - lifted200.b_26 = b_26; - lifted200.c_26 = c_26; - lifted200.d_26 = d_26; - lifted200.e_26 = e_26; - lifted200.f_26 = f_26; - lifted200.g_26 = g_26; - lifted200.i_26 = i_26; - lifted200.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted200); + if(i_11.value == null) + break Fail20; + term = i_11.value; + lifted16 lifted160 = new lifted16(); + lifted160.y_10 = y_10; + lifted160.z_10 = z_10; + lifted160.c_10 = c_10; + lifted160.d_10 = d_10; + lifted160.e_10 = e_10; + lifted160.f_10 = f_10; + lifted160.g_10 = g_10; + lifted160.h_10 = h_10; + lifted160.j_10 = j_10; + lifted160.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted160); if(term == null) - break Fail134; + break Fail20; if(true) - break Success126; + break Success23; } } - term = term129; - IStrategoTerm term130 = term; - Success127: + term = term23; + IStrategoTerm term24 = term; + Success24: { - Fail143: + Fail29: { - IStrategoTerm s_27 = null; - s_27 = term; - if(i_27.value == null) - break Fail143; - term = i_27.value; - lifted24 lifted240 = new lifted24(); - lifted21 lifted210 = new lifted21(); - lifted240.x_26 = x_26; - lifted240.y_26 = y_26; - lifted210.x_26 = x_26; - lifted210.y_26 = y_26; - term = or_2_0.instance.invoke(context, term, lifted210, lifted240); + IStrategoTerm t_11 = null; + t_11 = term; + if(j_11.value == null) + break Fail29; + term = j_11.value; + lifted20 lifted200 = new lifted20(); + lifted17 lifted170 = new lifted17(); + lifted200.y_10 = y_10; + lifted200.z_10 = z_10; + lifted170.y_10 = y_10; + lifted170.z_10 = z_10; + term = or_2_0.instance.invoke(context, term, lifted170, lifted200); if(term == null) - break Fail143; - term = s_27; + break Fail29; + term = t_11; { - IStrategoTerm term131 = term; - Success128: + IStrategoTerm term25 = term; + Success25: { - Fail144: + Fail30: { - IStrategoTerm t_27 = null; - t_27 = term; - if(h_26.value == null) - break Fail144; - term = termFactory.makeTuple(h_26.value, cool.constNone0); + IStrategoTerm u_11 = null; + u_11 = term; + if(i_10.value == null) + break Fail30; + term = termFactory.makeTuple(i_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail144; - term = t_27; + break Fail30; + term = u_11; { - if(h_27.value == null) - break Fail134; - term = h_27.value; - lifted25 lifted250 = new lifted25(); - lifted250.x_26 = x_26; - lifted250.y_26 = y_26; - lifted250.h_26 = h_26; - lifted250.b_26 = b_26; - lifted250.c_26 = c_26; - lifted250.d_26 = d_26; - lifted250.e_26 = e_26; - lifted250.f_26 = f_26; - lifted250.g_26 = g_26; - lifted250.i_26 = i_26; - lifted250.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted250); + if(i_11.value == null) + break Fail20; + term = i_11.value; + lifted21 lifted211 = new lifted21(); + lifted211.y_10 = y_10; + lifted211.z_10 = z_10; + lifted211.i_10 = i_10; + lifted211.c_10 = c_10; + lifted211.d_10 = d_10; + lifted211.e_10 = e_10; + lifted211.f_10 = f_10; + lifted211.g_10 = g_10; + lifted211.h_10 = h_10; + lifted211.j_10 = j_10; + lifted211.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted211); if(term == null) - break Fail134; + break Fail20; if(true) - break Success128; + break Success25; } } - term = term131; - if(h_27.value == null) - break Fail134; - term = h_27.value; - lifted26 lifted260 = new lifted26(); - lifted260.h_26 = h_26; - lifted260.b_26 = b_26; - lifted260.c_26 = c_26; - lifted260.d_26 = d_26; - lifted260.e_26 = e_26; - lifted260.f_26 = f_26; - lifted260.g_26 = g_26; - lifted260.i_26 = i_26; - lifted260.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted260); + term = term25; + if(i_11.value == null) + break Fail20; + term = i_11.value; + lifted22 lifted220 = new lifted22(); + lifted220.i_10 = i_10; + lifted220.c_10 = c_10; + lifted220.d_10 = d_10; + lifted220.e_10 = e_10; + lifted220.f_10 = f_10; + lifted220.g_10 = g_10; + lifted220.h_10 = h_10; + lifted220.j_10 = j_10; + lifted220.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted220); if(term == null) - break Fail134; + break Fail20; } if(true) - break Success127; + break Success24; } } - term = term130; - IStrategoTerm term132 = term; - Success129: + term = term24; + IStrategoTerm term26 = term; + Success26: { - Fail145: + Fail31: { - IStrategoTerm u_27 = null; - u_27 = term; - if(i_27.value == null) - break Fail145; - term = or_2_0.instance.invoke(context, i_27.value, lifted27.instance, lifted30.instance); + IStrategoTerm v_11 = null; + v_11 = term; + if(j_11.value == null) + break Fail31; + term = or_2_0.instance.invoke(context, j_11.value, lifted23.instance, lifted26.instance); if(term == null) - break Fail145; - term = u_27; + break Fail31; + term = v_11; { - if(h_27.value == null) - break Fail134; - term = h_27.value; - lifted33 lifted330 = new lifted33(); - lifted330.b_26 = b_26; - lifted330.c_26 = c_26; - lifted330.d_26 = d_26; - lifted330.e_26 = e_26; - lifted330.f_26 = f_26; - lifted330.g_26 = g_26; - lifted330.i_26 = i_26; - lifted330.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted330); + if(i_11.value == null) + break Fail20; + term = i_11.value; + lifted29 lifted290 = new lifted29(); + lifted290.c_10 = c_10; + lifted290.d_10 = d_10; + lifted290.e_10 = e_10; + lifted290.f_10 = f_10; + lifted290.g_10 = g_10; + lifted290.h_10 = h_10; + lifted290.j_10 = j_10; + lifted290.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted290); if(term == null) - break Fail134; + break Fail20; if(true) - break Success129; + break Success26; } } - term = term132; - IStrategoTerm term133 = term; - Success130: + term = term26; + IStrategoTerm term27 = term; + Success27: { - Fail146: + Fail32: { - IStrategoTerm v_27 = null; - v_27 = term; - if(i_27.value == null) - break Fail146; - term = i_27.value; - lifted41 lifted411 = new lifted41(); - lifted34 lifted340 = new lifted34(); - lifted411.x_26 = x_26; - lifted411.y_26 = y_26; - lifted340.x_26 = x_26; - lifted340.y_26 = y_26; - term = or_2_0.instance.invoke(context, term, lifted340, lifted411); + IStrategoTerm w_11 = null; + w_11 = term; + if(j_11.value == null) + break Fail32; + term = j_11.value; + lifted37 lifted370 = new lifted37(); + lifted30 lifted300 = new lifted30(); + lifted370.y_10 = y_10; + lifted370.z_10 = z_10; + lifted300.y_10 = y_10; + lifted300.z_10 = z_10; + term = or_2_0.instance.invoke(context, term, lifted300, lifted370); if(term == null) - break Fail146; - term = v_27; + break Fail32; + term = w_11; { - IStrategoTerm term134 = term; - Success131: + IStrategoTerm term28 = term; + Success28: { - Fail147: + Fail33: { - IStrategoTerm w_27 = null; - w_27 = term; - if(h_26.value == null) - break Fail147; - term = termFactory.makeTuple(h_26.value, cool.constNone0); + IStrategoTerm x_11 = null; + x_11 = term; + if(i_10.value == null) + break Fail33; + term = termFactory.makeTuple(i_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail147; - term = w_27; + break Fail33; + term = x_11; { - if(h_27.value == null) - break Fail134; - term = h_27.value; - lifted42 lifted420 = new lifted42(); - lifted420.b_26 = b_26; - lifted420.c_26 = c_26; - lifted420.d_26 = d_26; - lifted420.e_26 = e_26; - lifted420.f_26 = f_26; - lifted420.g_26 = g_26; - lifted420.i_26 = i_26; - lifted420.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted420); + if(i_11.value == null) + break Fail20; + term = i_11.value; + lifted38 lifted380 = new lifted38(); + lifted380.c_10 = c_10; + lifted380.d_10 = d_10; + lifted380.e_10 = e_10; + lifted380.f_10 = f_10; + lifted380.g_10 = g_10; + lifted380.h_10 = h_10; + lifted380.j_10 = j_10; + lifted380.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted380); if(term == null) - break Fail134; + break Fail20; if(true) - break Success131; + break Success28; } } - term = term134; - if(h_27.value == null) - break Fail134; - term = h_27.value; - lifted43 lifted430 = new lifted43(); - lifted430.h_26 = h_26; - lifted430.b_26 = b_26; - lifted430.c_26 = c_26; - lifted430.d_26 = d_26; - lifted430.e_26 = e_26; - lifted430.f_26 = f_26; - lifted430.g_26 = g_26; - lifted430.i_26 = i_26; - lifted430.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted430); + term = term28; + if(i_11.value == null) + break Fail20; + term = i_11.value; + lifted39 lifted390 = new lifted39(); + lifted390.i_10 = i_10; + lifted390.c_10 = c_10; + lifted390.d_10 = d_10; + lifted390.e_10 = e_10; + lifted390.f_10 = f_10; + lifted390.g_10 = g_10; + lifted390.h_10 = h_10; + lifted390.j_10 = j_10; + lifted390.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted390); if(term == null) - break Fail134; + break Fail20; } if(true) - break Success130; + break Success27; } } - term = term133; - IStrategoTerm term135 = term; - Success132: + term = term27; + IStrategoTerm term29 = term; + Success29: { - Fail148: + Fail34: { - IStrategoTerm x_27 = null; - x_27 = term; - if(i_27.value == null) - break Fail148; - term = i_27.value; + IStrategoTerm y_11 = null; + y_11 = term; + if(j_11.value == null) + break Fail34; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consLeftShift_2 != ((IStrategoAppl)term).getConstructor()) - break Fail148; - if(x_26.value == null) - x_26.value = term.getSubterm(0); + break Fail34; + if(y_10.value == null) + y_10.value = term.getSubterm(0); else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail148; - if(y_26.value == null) - y_26.value = term.getSubterm(1); + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail34; + if(z_10.value == null) + z_10.value = term.getSubterm(1); else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail148; - term = x_27; + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail34; + term = y_11; { - IStrategoTerm p_30 = null; - IStrategoTerm r_30 = null; - IStrategoTerm u_30 = null; - IStrategoTerm term136 = term; - Success133: + IStrategoTerm q_14 = null; + IStrategoTerm s_14 = null; + IStrategoTerm v_14 = null; + IStrategoTerm term30 = term; + Success30: { - Fail149: + Fail35: { - IStrategoTerm y_27 = null; - y_27 = term; - if(h_26.value == null) - break Fail149; - term = termFactory.makeTuple(h_26.value, cool.constNone0); + IStrategoTerm z_11 = null; + z_11 = term; + if(i_10.value == null) + break Fail35; + term = termFactory.makeTuple(i_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail149; - term = y_27; + break Fail35; + term = z_11; { - if(x_26.value == null) - break Fail134; - term = get_type_of_0_3.instance.invoke(context, x_26.value, h_26.value, b_26.value, c_26.value); + if(y_10.value == null) + break Fail20; + term = get_type_of_0_3.instance.invoke(context, y_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail134; + break Fail20; term = cast_shift_type_0_0.instance.invoke(context, term); if(term == null) - break Fail134; - if(s_26.value == null) - s_26.value = term; + break Fail20; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail134; + if(t_10.value != term && !t_10.value.match(term)) + break Fail20; if(true) - break Success133; + break Success30; } } - term = term136; - if(h_26.value == null) - break Fail134; - term = cast_shift_type_0_0.instance.invoke(context, h_26.value); + term = term30; + if(i_10.value == null) + break Fail20; + term = cast_shift_type_0_0.instance.invoke(context, i_10.value); if(term == null) - break Fail134; - if(s_26.value == null) - s_26.value = term; + break Fail20; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail134; + if(t_10.value != term && !t_10.value.match(term)) + break Fail20; } - r_30 = term; - if(x_26.value == null) - break Fail134; - term = this.invokeDynamic(context, x_26.value, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, s_26.value, i_26.value, j_26.value}); + s_14 = term; + if(y_10.value == null) + break Fail20; + term = this.invokeDynamic(context, y_10.value, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, t_10.value, j_10.value, k_10.value}); if(term == null) - break Fail134; - p_30 = term; - term = r_30; - if(y_26.value == null) - break Fail134; - u_30 = y_26.value; - term = this.invokeDynamic(context, u_30, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constLong0, i_26.value, j_26.value}); + break Fail20; + q_14 = term; + term = s_14; + if(z_10.value == null) + break Fail20; + v_14 = z_10.value; + term = this.invokeDynamic(context, v_14, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constLong0, j_10.value, k_10.value}); if(term == null) - break Fail134; - term = termFactory.makeAppl(transform._consLeftShift_2, new IStrategoTerm[]{p_30, term}); + break Fail20; + term = termFactory.makeAppl(transform._consLeftShift_2, new IStrategoTerm[]{q_14, term}); if(true) - break Success132; + break Success29; } } - term = term135; + term = term29; add_external_impl_0_9_fragment_1 add_external_impl_0_9_fragment_10 = new add_external_impl_0_9_fragment_1(); - add_external_impl_0_9_fragment_10.r_26 = r_26; - add_external_impl_0_9_fragment_10.s_26 = s_26; - add_external_impl_0_9_fragment_10.u_26 = u_26; - add_external_impl_0_9_fragment_10.t_26 = t_26; - add_external_impl_0_9_fragment_10.v_26 = v_26; - add_external_impl_0_9_fragment_10.w_26 = w_26; - add_external_impl_0_9_fragment_10.x_26 = x_26; - add_external_impl_0_9_fragment_10.y_26 = y_26; - add_external_impl_0_9_fragment_10.z_26 = z_26; - add_external_impl_0_9_fragment_10.a_27 = a_27; - add_external_impl_0_9_fragment_10.b_27 = b_27; - add_external_impl_0_9_fragment_10.c_27 = c_27; - add_external_impl_0_9_fragment_10.d_27 = d_27; - add_external_impl_0_9_fragment_10.e_27 = e_27; - add_external_impl_0_9_fragment_10.i_27 = i_27; - add_external_impl_0_9_fragment_10.g_27 = g_27; - add_external_impl_0_9_fragment_10.f_27 = f_27; - add_external_impl_0_9_fragment_10.b_26 = b_26; - add_external_impl_0_9_fragment_10.c_26 = c_26; - add_external_impl_0_9_fragment_10.d_26 = d_26; - add_external_impl_0_9_fragment_10.e_26 = e_26; - add_external_impl_0_9_fragment_10.f_26 = f_26; - add_external_impl_0_9_fragment_10.g_26 = g_26; - add_external_impl_0_9_fragment_10.h_26 = h_26; - add_external_impl_0_9_fragment_10.i_26 = i_26; - add_external_impl_0_9_fragment_10.j_26 = j_26; - add_external_impl_0_9_fragment_10.h_27 = h_27; + add_external_impl_0_9_fragment_10.s_10 = s_10; + add_external_impl_0_9_fragment_10.t_10 = t_10; + add_external_impl_0_9_fragment_10.v_10 = v_10; + add_external_impl_0_9_fragment_10.u_10 = u_10; + add_external_impl_0_9_fragment_10.w_10 = w_10; + add_external_impl_0_9_fragment_10.x_10 = x_10; + add_external_impl_0_9_fragment_10.y_10 = y_10; + add_external_impl_0_9_fragment_10.z_10 = z_10; + add_external_impl_0_9_fragment_10.a_11 = a_11; + add_external_impl_0_9_fragment_10.b_11 = b_11; + add_external_impl_0_9_fragment_10.c_11 = c_11; + add_external_impl_0_9_fragment_10.d_11 = d_11; + add_external_impl_0_9_fragment_10.e_11 = e_11; + add_external_impl_0_9_fragment_10.f_11 = f_11; + add_external_impl_0_9_fragment_10.j_11 = j_11; + add_external_impl_0_9_fragment_10.h_11 = h_11; + add_external_impl_0_9_fragment_10.g_11 = g_11; + add_external_impl_0_9_fragment_10.c_10 = c_10; + add_external_impl_0_9_fragment_10.d_10 = d_10; + add_external_impl_0_9_fragment_10.e_10 = e_10; + add_external_impl_0_9_fragment_10.f_10 = f_10; + add_external_impl_0_9_fragment_10.g_10 = g_10; + add_external_impl_0_9_fragment_10.h_10 = h_10; + add_external_impl_0_9_fragment_10.i_10 = i_10; + add_external_impl_0_9_fragment_10.j_10 = j_10; + add_external_impl_0_9_fragment_10.k_10 = k_10; + add_external_impl_0_9_fragment_10.i_11 = i_11; term = add_external_impl_0_9_fragment_10.invoke(context, term); if(term == null) - break Fail134; + break Fail20; } } } diff --git a/coolf/src/main/java/cool/add_external_impl_0_9_fragment_0.java b/coolf/src/main/java/cool/add_external_impl_0_9_fragment_0.java index 97f8a0a..b50440c 100644 --- a/coolf/src/main/java/cool/add_external_impl_0_9_fragment_0.java +++ b/coolf/src/main/java/cool/add_external_impl_0_9_fragment_0.java @@ -13,905 +13,905 @@ @SuppressWarnings("all") final class add_external_impl_0_9_fragment_0 extends Strategy { - TermReference u_26; + TermReference v_10; - TermReference t_26; + TermReference u_10; - TermReference v_26; + TermReference w_10; - TermReference w_26; + TermReference x_10; - TermReference x_26; + TermReference y_10; - TermReference y_26; + TermReference z_10; - TermReference z_26; + TermReference a_11; - TermReference a_27; + TermReference b_11; - TermReference b_27; + TermReference c_11; - TermReference c_27; + TermReference d_11; - TermReference d_27; + TermReference e_11; - TermReference e_27; + TermReference f_11; - TermReference i_27; + TermReference j_11; - TermReference g_27; + TermReference h_11; - TermReference f_27; + TermReference g_11; - TermReference b_26; + TermReference c_10; - TermReference c_26; + TermReference d_10; - TermReference d_26; + TermReference e_10; - TermReference e_26; + TermReference f_10; - TermReference f_26; + TermReference g_10; - TermReference g_26; + TermReference h_10; - TermReference h_26; + TermReference i_10; - TermReference i_26; + TermReference j_10; - TermReference j_26; + TermReference k_10; - TermReference h_27; + TermReference i_11; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { ITermFactory termFactory = context.getFactory(); - Fail446: + Fail343: { - IStrategoTerm term164 = term; - Success297: + IStrategoTerm term58 = term; + Success197: { - Fail447: + Fail344: { - IStrategoTerm a_29 = null; - a_29 = term; - if(i_27.value == null) - break Fail447; - term = i_27.value; + IStrategoTerm b_13 = null; + b_13 = term; + if(j_11.value == null) + break Fail344; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignAnd_2 != ((IStrategoAppl)term).getConstructor()) - break Fail447; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail344; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail447; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail344; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail447; - term = a_29; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail344; + term = b_13; { - IStrategoTerm b_33 = null; - IStrategoTerm c_33 = null; - IStrategoTerm e_33 = null; - if(t_26.value == null) - break Fail446; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm c_17 = null; + IStrategoTerm d_17 = null; + IStrategoTerm f_17 = null; + if(u_10.value == null) + break Fail343; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail446; - if(u_26.value == null) - u_26.value = term; + break Fail343; + if(v_10.value == null) + v_10.value = term; else - if(u_26.value != term && !u_26.value.match(term)) - break Fail446; - c_33 = term; - if(g_27.value == null) - break Fail446; - term = g_27.value; - e_33 = g_27.value; - if(u_26.value == null) - break Fail446; - term = cast_bounded_conditional_type_0_0.instance.invoke(context, u_26.value); + if(v_10.value != term && !v_10.value.match(term)) + break Fail343; + d_17 = term; + if(h_11.value == null) + break Fail343; + term = h_11.value; + f_17 = h_11.value; + if(v_10.value == null) + break Fail343; + term = cast_bounded_conditional_type_0_0.instance.invoke(context, v_10.value); if(term == null) - break Fail446; - term = add_external_impl_0_9.instance.invokeDynamic(context, e_33, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, term, i_26.value, j_26.value}); + break Fail343; + term = add_external_impl_0_9.instance.invokeDynamic(context, f_17, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, term, j_10.value, k_10.value}); if(term == null) - break Fail446; - b_33 = term; - term = c_33; - if(t_26.value == null) - break Fail446; - term = termFactory.makeAppl(transform._consAssignAnd_2, new IStrategoTerm[]{t_26.value, b_33}); + break Fail343; + c_17 = term; + term = d_17; + if(u_10.value == null) + break Fail343; + term = termFactory.makeAppl(transform._consAssignAnd_2, new IStrategoTerm[]{u_10.value, c_17}); if(true) - break Success297; + break Success197; } } - term = term164; - IStrategoTerm term165 = term; - Success298: + term = term58; + IStrategoTerm term59 = term; + Success198: { - Fail448: + Fail345: { - IStrategoTerm b_29 = null; - b_29 = term; - if(i_27.value == null) - break Fail448; - term = i_27.value; + IStrategoTerm c_13 = null; + c_13 = term; + if(j_11.value == null) + break Fail345; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignExcOr_2 != ((IStrategoAppl)term).getConstructor()) - break Fail448; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail345; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail448; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail345; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail448; - term = b_29; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail345; + term = c_13; { - IStrategoTerm f_33 = null; - IStrategoTerm g_33 = null; - IStrategoTerm i_33 = null; - if(t_26.value == null) - break Fail446; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm g_17 = null; + IStrategoTerm h_17 = null; + IStrategoTerm j_17 = null; + if(u_10.value == null) + break Fail343; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail446; - if(u_26.value == null) - u_26.value = term; + break Fail343; + if(v_10.value == null) + v_10.value = term; else - if(u_26.value != term && !u_26.value.match(term)) - break Fail446; - g_33 = term; - if(g_27.value == null) - break Fail446; - term = g_27.value; - i_33 = g_27.value; - if(u_26.value == null) - break Fail446; - term = cast_bounded_conditional_type_0_0.instance.invoke(context, u_26.value); + if(v_10.value != term && !v_10.value.match(term)) + break Fail343; + h_17 = term; + if(h_11.value == null) + break Fail343; + term = h_11.value; + j_17 = h_11.value; + if(v_10.value == null) + break Fail343; + term = cast_bounded_conditional_type_0_0.instance.invoke(context, v_10.value); if(term == null) - break Fail446; - term = add_external_impl_0_9.instance.invokeDynamic(context, i_33, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, term, i_26.value, j_26.value}); + break Fail343; + term = add_external_impl_0_9.instance.invokeDynamic(context, j_17, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, term, j_10.value, k_10.value}); if(term == null) - break Fail446; - f_33 = term; - term = g_33; - if(t_26.value == null) - break Fail446; - term = termFactory.makeAppl(transform._consAssignExcOr_2, new IStrategoTerm[]{t_26.value, f_33}); + break Fail343; + g_17 = term; + term = h_17; + if(u_10.value == null) + break Fail343; + term = termFactory.makeAppl(transform._consAssignExcOr_2, new IStrategoTerm[]{u_10.value, g_17}); if(true) - break Success298; + break Success198; } } - term = term165; - IStrategoTerm term166 = term; - Success299: + term = term59; + IStrategoTerm term60 = term; + Success199: { - Fail449: + Fail346: { - IStrategoTerm c_29 = null; - c_29 = term; - if(i_27.value == null) - break Fail449; - term = i_27.value; + IStrategoTerm d_13 = null; + d_13 = term; + if(j_11.value == null) + break Fail346; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignOr_2 != ((IStrategoAppl)term).getConstructor()) - break Fail449; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail346; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail449; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail346; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail449; - term = c_29; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail346; + term = d_13; { - IStrategoTerm j_33 = null; - IStrategoTerm k_33 = null; - IStrategoTerm m_33 = null; - if(t_26.value == null) - break Fail446; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm k_17 = null; + IStrategoTerm l_17 = null; + IStrategoTerm n_17 = null; + if(u_10.value == null) + break Fail343; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail446; - if(u_26.value == null) - u_26.value = term; + break Fail343; + if(v_10.value == null) + v_10.value = term; else - if(u_26.value != term && !u_26.value.match(term)) - break Fail446; - k_33 = term; - if(g_27.value == null) - break Fail446; - term = g_27.value; - m_33 = g_27.value; - if(u_26.value == null) - break Fail446; - term = cast_bounded_conditional_type_0_0.instance.invoke(context, u_26.value); + if(v_10.value != term && !v_10.value.match(term)) + break Fail343; + l_17 = term; + if(h_11.value == null) + break Fail343; + term = h_11.value; + n_17 = h_11.value; + if(v_10.value == null) + break Fail343; + term = cast_bounded_conditional_type_0_0.instance.invoke(context, v_10.value); if(term == null) - break Fail446; - term = add_external_impl_0_9.instance.invokeDynamic(context, m_33, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, term, i_26.value, j_26.value}); + break Fail343; + term = add_external_impl_0_9.instance.invokeDynamic(context, n_17, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, term, j_10.value, k_10.value}); if(term == null) - break Fail446; - j_33 = term; - term = k_33; - if(t_26.value == null) - break Fail446; - term = termFactory.makeAppl(transform._consAssignOr_2, new IStrategoTerm[]{t_26.value, j_33}); + break Fail343; + k_17 = term; + term = l_17; + if(u_10.value == null) + break Fail343; + term = termFactory.makeAppl(transform._consAssignOr_2, new IStrategoTerm[]{u_10.value, k_17}); if(true) - break Success299; + break Success199; } } - term = term166; - IStrategoTerm term167 = term; - Success300: + term = term60; + IStrategoTerm term61 = term; + Success200: { - Fail450: + Fail347: { - IStrategoTerm d_29 = null; - d_29 = term; - if(i_27.value == null) - break Fail450; - term = or_2_0.instance.invoke(context, i_27.value, lifted50.instance, lifted51.instance); + IStrategoTerm e_13 = null; + e_13 = term; + if(j_11.value == null) + break Fail347; + term = or_2_0.instance.invoke(context, j_11.value, lifted46.instance, lifted47.instance); if(term == null) - break Fail450; - term = d_29; + break Fail347; + term = e_13; { - if(h_27.value == null) - break Fail446; - term = h_27.value; - lifted52 lifted520 = new lifted52(); - lifted520.b_26 = b_26; - lifted520.c_26 = c_26; - lifted520.d_26 = d_26; - lifted520.e_26 = e_26; - lifted520.f_26 = f_26; - lifted520.g_26 = g_26; - lifted520.i_26 = i_26; - lifted520.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted520); + if(i_11.value == null) + break Fail343; + term = i_11.value; + lifted48 lifted480 = new lifted48(); + lifted480.c_10 = c_10; + lifted480.d_10 = d_10; + lifted480.e_10 = e_10; + lifted480.f_10 = f_10; + lifted480.g_10 = g_10; + lifted480.h_10 = h_10; + lifted480.j_10 = j_10; + lifted480.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted480); if(term == null) - break Fail446; + break Fail343; if(true) - break Success300; + break Success200; } } - term = term167; - IStrategoTerm term168 = term; - Success301: + term = term61; + IStrategoTerm term62 = term; + Success201: { - Fail451: + Fail348: { - IStrategoTerm e_29 = null; - e_29 = term; - if(i_27.value == null) - break Fail451; - term = i_27.value; + IStrategoTerm f_13 = null; + f_13 = term; + if(j_11.value == null) + break Fail348; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consIf_2 != ((IStrategoAppl)term).getConstructor()) - break Fail451; - if(g_27.value == null) - g_27.value = term.getSubterm(0); + break Fail348; + if(h_11.value == null) + h_11.value = term.getSubterm(0); else - if(g_27.value != term.getSubterm(0) && !g_27.value.match(term.getSubterm(0))) - break Fail451; - if(v_26.value == null) - v_26.value = term.getSubterm(1); + if(h_11.value != term.getSubterm(0) && !h_11.value.match(term.getSubterm(0))) + break Fail348; + if(w_10.value == null) + w_10.value = term.getSubterm(1); else - if(v_26.value != term.getSubterm(1) && !v_26.value.match(term.getSubterm(1))) - break Fail451; - term = e_29; + if(w_10.value != term.getSubterm(1) && !w_10.value.match(term.getSubterm(1))) + break Fail348; + term = f_13; { - IStrategoTerm p_33 = null; - IStrategoTerm r_33 = null; - IStrategoTerm t_33 = null; - IStrategoTerm w_33 = null; - r_33 = term; - if(g_27.value == null) - break Fail446; - t_33 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, t_33, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); + IStrategoTerm q_17 = null; + IStrategoTerm s_17 = null; + IStrategoTerm u_17 = null; + IStrategoTerm x_17 = null; + s_17 = term; + if(h_11.value == null) + break Fail343; + u_17 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, u_17, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); if(term == null) - break Fail446; - p_33 = term; - term = r_33; - if(v_26.value == null) - break Fail446; - w_33 = v_26.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, w_33, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + break Fail343; + q_17 = term; + term = s_17; + if(w_10.value == null) + break Fail343; + x_17 = w_10.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, x_17, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - term = termFactory.makeAppl(transform._consIf_2, new IStrategoTerm[]{p_33, term}); + break Fail343; + term = termFactory.makeAppl(transform._consIf_2, new IStrategoTerm[]{q_17, term}); if(true) - break Success301; + break Success201; } } - term = term168; - IStrategoTerm term169 = term; - Success302: + term = term62; + IStrategoTerm term63 = term; + Success202: { - Fail452: + Fail349: { - IStrategoTerm f_29 = null; - f_29 = term; - if(i_27.value == null) - break Fail452; - term = i_27.value; + IStrategoTerm g_13 = null; + g_13 = term; + if(j_11.value == null) + break Fail349; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consIf_3 != ((IStrategoAppl)term).getConstructor()) - break Fail452; - if(g_27.value == null) - g_27.value = term.getSubterm(0); + break Fail349; + if(h_11.value == null) + h_11.value = term.getSubterm(0); else - if(g_27.value != term.getSubterm(0) && !g_27.value.match(term.getSubterm(0))) - break Fail452; - if(v_26.value == null) - v_26.value = term.getSubterm(1); + if(h_11.value != term.getSubterm(0) && !h_11.value.match(term.getSubterm(0))) + break Fail349; + if(w_10.value == null) + w_10.value = term.getSubterm(1); else - if(v_26.value != term.getSubterm(1) && !v_26.value.match(term.getSubterm(1))) - break Fail452; - if(w_26.value == null) - w_26.value = term.getSubterm(2); + if(w_10.value != term.getSubterm(1) && !w_10.value.match(term.getSubterm(1))) + break Fail349; + if(x_10.value == null) + x_10.value = term.getSubterm(2); else - if(w_26.value != term.getSubterm(2) && !w_26.value.match(term.getSubterm(2))) - break Fail452; - term = f_29; + if(x_10.value != term.getSubterm(2) && !x_10.value.match(term.getSubterm(2))) + break Fail349; + term = g_13; { - IStrategoTerm x_33 = null; - IStrategoTerm a_34 = null; - IStrategoTerm c_34 = null; - IStrategoTerm y_33 = null; - IStrategoTerm d_34 = null; - IStrategoTerm f_34 = null; - IStrategoTerm i_34 = null; - a_34 = term; - if(g_27.value == null) - break Fail446; - c_34 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, c_34, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); + IStrategoTerm y_17 = null; + IStrategoTerm b_18 = null; + IStrategoTerm d_18 = null; + IStrategoTerm z_17 = null; + IStrategoTerm e_18 = null; + IStrategoTerm g_18 = null; + IStrategoTerm j_18 = null; + b_18 = term; + if(h_11.value == null) + break Fail343; + d_18 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, d_18, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); if(term == null) - break Fail446; - x_33 = term; - term = a_34; - d_34 = a_34; - if(v_26.value == null) - break Fail446; - f_34 = v_26.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, f_34, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + break Fail343; + y_17 = term; + term = b_18; + e_18 = b_18; + if(w_10.value == null) + break Fail343; + g_18 = w_10.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, g_18, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - y_33 = term; - term = d_34; - if(w_26.value == null) - break Fail446; - i_34 = w_26.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, i_34, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + break Fail343; + z_17 = term; + term = e_18; + if(x_10.value == null) + break Fail343; + j_18 = x_10.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, j_18, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - term = termFactory.makeAppl(transform._consIf_3, new IStrategoTerm[]{x_33, y_33, term}); + break Fail343; + term = termFactory.makeAppl(transform._consIf_3, new IStrategoTerm[]{y_17, z_17, term}); if(true) - break Success302; + break Success202; } } - term = term169; - IStrategoTerm term170 = term; - Success303: + term = term63; + IStrategoTerm term64 = term; + Success203: { - Fail453: + Fail350: { - IStrategoTerm g_29 = null; - g_29 = term; - if(i_27.value == null) - break Fail453; - term = i_27.value; + IStrategoTerm h_13 = null; + h_13 = term; + if(j_11.value == null) + break Fail350; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssertStm_1 != ((IStrategoAppl)term).getConstructor()) - break Fail453; - if(g_27.value == null) - g_27.value = term.getSubterm(0); + break Fail350; + if(h_11.value == null) + h_11.value = term.getSubterm(0); else - if(g_27.value != term.getSubterm(0) && !g_27.value.match(term.getSubterm(0))) - break Fail453; - term = g_29; + if(h_11.value != term.getSubterm(0) && !h_11.value.match(term.getSubterm(0))) + break Fail350; + term = h_13; { - IStrategoTerm m_34 = null; - if(g_27.value == null) - break Fail446; - m_34 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, m_34, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); + IStrategoTerm n_18 = null; + if(h_11.value == null) + break Fail343; + n_18 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, n_18, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); if(term == null) - break Fail446; + break Fail343; term = termFactory.makeAppl(transform._consAssertStm_1, new IStrategoTerm[]{term}); if(true) - break Success303; + break Success203; } } - term = term170; - IStrategoTerm term171 = term; - Success304: + term = term64; + IStrategoTerm term65 = term; + Success204: { - Fail454: + Fail351: { - IStrategoTerm h_29 = null; - h_29 = term; - if(i_27.value == null) - break Fail454; - term = i_27.value; + IStrategoTerm i_13 = null; + i_13 = term; + if(j_11.value == null) + break Fail351; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssertStm_2 != ((IStrategoAppl)term).getConstructor()) - break Fail454; - if(x_26.value == null) - x_26.value = term.getSubterm(0); + break Fail351; + if(y_10.value == null) + y_10.value = term.getSubterm(0); else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail454; - if(y_26.value == null) - y_26.value = term.getSubterm(1); + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail351; + if(z_10.value == null) + z_10.value = term.getSubterm(1); else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail454; - term = h_29; + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail351; + term = i_13; { - IStrategoTerm n_34 = null; - IStrategoTerm p_34 = null; - IStrategoTerm r_34 = null; - IStrategoTerm u_34 = null; - p_34 = term; - if(x_26.value == null) - break Fail446; - r_34 = x_26.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, r_34, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); + IStrategoTerm o_18 = null; + IStrategoTerm q_18 = null; + IStrategoTerm s_18 = null; + IStrategoTerm v_18 = null; + q_18 = term; + if(y_10.value == null) + break Fail343; + s_18 = y_10.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, s_18, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); if(term == null) - break Fail446; - n_34 = term; - term = p_34; - if(y_26.value == null) - break Fail446; - u_34 = y_26.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, u_34, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); + break Fail343; + o_18 = term; + term = q_18; + if(z_10.value == null) + break Fail343; + v_18 = z_10.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, v_18, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); if(term == null) - break Fail446; - term = termFactory.makeAppl(transform._consAssertStm_2, new IStrategoTerm[]{n_34, term}); + break Fail343; + term = termFactory.makeAppl(transform._consAssertStm_2, new IStrategoTerm[]{o_18, term}); if(true) - break Success304; + break Success204; } } - term = term171; - IStrategoTerm term172 = term; - Success305: + term = term65; + IStrategoTerm term66 = term; + Success205: { - Fail455: + Fail352: { - IStrategoTerm i_29 = null; - i_29 = term; - if(i_27.value == null) - break Fail455; - term = i_27.value; + IStrategoTerm j_13 = null; + j_13 = term; + if(j_11.value == null) + break Fail352; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consWhile_2 != ((IStrategoAppl)term).getConstructor()) - break Fail455; - if(g_27.value == null) - g_27.value = term.getSubterm(0); + break Fail352; + if(h_11.value == null) + h_11.value = term.getSubterm(0); else - if(g_27.value != term.getSubterm(0) && !g_27.value.match(term.getSubterm(0))) - break Fail455; - if(e_27.value == null) - e_27.value = term.getSubterm(1); + if(h_11.value != term.getSubterm(0) && !h_11.value.match(term.getSubterm(0))) + break Fail352; + if(f_11.value == null) + f_11.value = term.getSubterm(1); else - if(e_27.value != term.getSubterm(1) && !e_27.value.match(term.getSubterm(1))) - break Fail455; - term = i_29; + if(f_11.value != term.getSubterm(1) && !f_11.value.match(term.getSubterm(1))) + break Fail352; + term = j_13; { - IStrategoTerm v_34 = null; - IStrategoTerm x_34 = null; - IStrategoTerm z_34 = null; - IStrategoTerm c_35 = null; - x_34 = term; - if(g_27.value == null) - break Fail446; - z_34 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, z_34, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); + IStrategoTerm w_18 = null; + IStrategoTerm y_18 = null; + IStrategoTerm a_19 = null; + IStrategoTerm d_19 = null; + y_18 = term; + if(h_11.value == null) + break Fail343; + a_19 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, a_19, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); if(term == null) - break Fail446; - v_34 = term; - term = x_34; - if(e_27.value == null) - break Fail446; - c_35 = e_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, c_35, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + break Fail343; + w_18 = term; + term = y_18; + if(f_11.value == null) + break Fail343; + d_19 = f_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, d_19, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - term = termFactory.makeAppl(transform._consWhile_2, new IStrategoTerm[]{v_34, term}); + break Fail343; + term = termFactory.makeAppl(transform._consWhile_2, new IStrategoTerm[]{w_18, term}); if(true) - break Success305; + break Success205; } } - term = term172; - IStrategoTerm term173 = term; - Success306: + term = term66; + IStrategoTerm term67 = term; + Success206: { - Fail456: + Fail353: { - IStrategoTerm j_29 = null; - j_29 = term; - if(i_27.value == null) - break Fail456; - term = i_27.value; + IStrategoTerm k_13 = null; + k_13 = term; + if(j_11.value == null) + break Fail353; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consDoWhile_2 != ((IStrategoAppl)term).getConstructor()) - break Fail456; - if(e_27.value == null) - e_27.value = term.getSubterm(0); + break Fail353; + if(f_11.value == null) + f_11.value = term.getSubterm(0); else - if(e_27.value != term.getSubterm(0) && !e_27.value.match(term.getSubterm(0))) - break Fail456; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(f_11.value != term.getSubterm(0) && !f_11.value.match(term.getSubterm(0))) + break Fail353; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail456; - term = j_29; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail353; + term = k_13; { - IStrategoTerm d_35 = null; - IStrategoTerm f_35 = null; - IStrategoTerm h_35 = null; - IStrategoTerm k_35 = null; - f_35 = term; - if(e_27.value == null) - break Fail446; - h_35 = e_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, h_35, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + IStrategoTerm e_19 = null; + IStrategoTerm g_19 = null; + IStrategoTerm i_19 = null; + IStrategoTerm l_19 = null; + g_19 = term; + if(f_11.value == null) + break Fail343; + i_19 = f_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, i_19, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - d_35 = term; - term = f_35; - if(g_27.value == null) - break Fail446; - k_35 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, k_35, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); + break Fail343; + e_19 = term; + term = g_19; + if(h_11.value == null) + break Fail343; + l_19 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, l_19, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); if(term == null) - break Fail446; - term = termFactory.makeAppl(transform._consDoWhile_2, new IStrategoTerm[]{d_35, term}); + break Fail343; + term = termFactory.makeAppl(transform._consDoWhile_2, new IStrategoTerm[]{e_19, term}); if(true) - break Success306; + break Success206; } } - term = term173; - IStrategoTerm term174 = term; - Success307: + term = term67; + IStrategoTerm term68 = term; + Success207: { - Fail457: + Fail354: { - IStrategoTerm k_29 = null; - k_29 = term; - if(i_27.value == null) - break Fail457; - term = i_27.value; + IStrategoTerm l_13 = null; + l_13 = term; + if(j_11.value == null) + break Fail354; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consFor_4 != ((IStrategoAppl)term).getConstructor()) - break Fail457; - if(z_26.value == null) - z_26.value = term.getSubterm(0); + break Fail354; + if(a_11.value == null) + a_11.value = term.getSubterm(0); else - if(z_26.value != term.getSubterm(0) && !z_26.value.match(term.getSubterm(0))) - break Fail457; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(a_11.value != term.getSubterm(0) && !a_11.value.match(term.getSubterm(0))) + break Fail354; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail457; - if(a_27.value == null) - a_27.value = term.getSubterm(2); + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail354; + if(b_11.value == null) + b_11.value = term.getSubterm(2); else - if(a_27.value != term.getSubterm(2) && !a_27.value.match(term.getSubterm(2))) - break Fail457; - if(e_27.value == null) - e_27.value = term.getSubterm(3); + if(b_11.value != term.getSubterm(2) && !b_11.value.match(term.getSubterm(2))) + break Fail354; + if(f_11.value == null) + f_11.value = term.getSubterm(3); else - if(e_27.value != term.getSubterm(3) && !e_27.value.match(term.getSubterm(3))) - break Fail457; - term = k_29; + if(f_11.value != term.getSubterm(3) && !f_11.value.match(term.getSubterm(3))) + break Fail354; + term = l_13; { - IStrategoTerm l_35 = null; - IStrategoTerm p_35 = null; - IStrategoTerm r_35 = null; - IStrategoTerm m_35 = null; - IStrategoTerm s_35 = null; - IStrategoTerm u_35 = null; - IStrategoTerm n_35 = null; - IStrategoTerm v_35 = null; - IStrategoTerm x_35 = null; - IStrategoTerm a_36 = null; - p_35 = term; - if(z_26.value == null) - break Fail446; - r_35 = z_26.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, r_35, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + IStrategoTerm m_19 = null; + IStrategoTerm q_19 = null; + IStrategoTerm s_19 = null; + IStrategoTerm n_19 = null; + IStrategoTerm t_19 = null; + IStrategoTerm v_19 = null; + IStrategoTerm o_19 = null; + IStrategoTerm w_19 = null; + IStrategoTerm y_19 = null; + IStrategoTerm b_20 = null; + q_19 = term; + if(a_11.value == null) + break Fail343; + s_19 = a_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, s_19, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - l_35 = term; - term = p_35; - s_35 = p_35; - if(g_27.value == null) - break Fail446; - u_35 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, u_35, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); + break Fail343; + m_19 = term; + term = q_19; + t_19 = q_19; + if(h_11.value == null) + break Fail343; + v_19 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, v_19, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); if(term == null) - break Fail446; - m_35 = term; - term = s_35; - v_35 = s_35; - if(a_27.value == null) - break Fail446; - x_35 = a_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, x_35, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + break Fail343; + n_19 = term; + term = t_19; + w_19 = t_19; + if(b_11.value == null) + break Fail343; + y_19 = b_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, y_19, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - n_35 = term; - term = v_35; - if(e_27.value == null) - break Fail446; - a_36 = e_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, a_36, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + break Fail343; + o_19 = term; + term = w_19; + if(f_11.value == null) + break Fail343; + b_20 = f_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, b_20, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - term = termFactory.makeAppl(transform._consFor_4, new IStrategoTerm[]{l_35, m_35, n_35, term}); + break Fail343; + term = termFactory.makeAppl(transform._consFor_4, new IStrategoTerm[]{m_19, n_19, o_19, term}); if(true) - break Success307; + break Success207; } } - term = term174; - IStrategoTerm term175 = term; - Success308: + term = term68; + IStrategoTerm term69 = term; + Success208: { - Fail458: + Fail355: { - IStrategoTerm l_29 = null; - l_29 = term; - if(i_27.value == null) - break Fail458; - term = i_27.value; + IStrategoTerm m_13 = null; + m_13 = term; + if(j_11.value == null) + break Fail355; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consFor_4 != ((IStrategoAppl)term).getConstructor()) - break Fail458; - if(b_27.value == null) - b_27.value = term.getSubterm(0); + break Fail355; + if(c_11.value == null) + c_11.value = term.getSubterm(0); else - if(b_27.value != term.getSubterm(0) && !b_27.value.match(term.getSubterm(0))) - break Fail458; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(c_11.value != term.getSubterm(0) && !c_11.value.match(term.getSubterm(0))) + break Fail355; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail458; - if(c_27.value == null) - c_27.value = term.getSubterm(2); + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail355; + if(d_11.value == null) + d_11.value = term.getSubterm(2); else - if(c_27.value != term.getSubterm(2) && !c_27.value.match(term.getSubterm(2))) - break Fail458; - if(e_27.value == null) - e_27.value = term.getSubterm(3); + if(d_11.value != term.getSubterm(2) && !d_11.value.match(term.getSubterm(2))) + break Fail355; + if(f_11.value == null) + f_11.value = term.getSubterm(3); else - if(e_27.value != term.getSubterm(3) && !e_27.value.match(term.getSubterm(3))) - break Fail458; - term = l_29; + if(f_11.value != term.getSubterm(3) && !f_11.value.match(term.getSubterm(3))) + break Fail355; + term = m_13; { - IStrategoTerm b_36 = null; - IStrategoTerm f_36 = null; - IStrategoTerm h_36 = null; - IStrategoTerm c_36 = null; - IStrategoTerm i_36 = null; - IStrategoTerm k_36 = null; - IStrategoTerm d_36 = null; - IStrategoTerm l_36 = null; - IStrategoTerm n_36 = null; - IStrategoTerm q_36 = null; - f_36 = term; - if(b_27.value == null) - break Fail446; - h_36 = b_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, h_36, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + IStrategoTerm c_20 = null; + IStrategoTerm g_20 = null; + IStrategoTerm i_20 = null; + IStrategoTerm d_20 = null; + IStrategoTerm j_20 = null; + IStrategoTerm l_20 = null; + IStrategoTerm e_20 = null; + IStrategoTerm m_20 = null; + IStrategoTerm o_20 = null; + IStrategoTerm r_20 = null; + g_20 = term; + if(c_11.value == null) + break Fail343; + i_20 = c_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, i_20, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - b_36 = term; - term = f_36; - i_36 = f_36; - if(g_27.value == null) - break Fail446; - k_36 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, k_36, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); + break Fail343; + c_20 = term; + term = g_20; + j_20 = g_20; + if(h_11.value == null) + break Fail343; + l_20 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, l_20, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); if(term == null) - break Fail446; - c_36 = term; - term = i_36; - l_36 = i_36; - if(c_27.value == null) - break Fail446; - n_36 = c_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, n_36, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + break Fail343; + d_20 = term; + term = j_20; + m_20 = j_20; + if(d_11.value == null) + break Fail343; + o_20 = d_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, o_20, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - d_36 = term; - term = l_36; - if(e_27.value == null) - break Fail446; - q_36 = e_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, q_36, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + break Fail343; + e_20 = term; + term = m_20; + if(f_11.value == null) + break Fail343; + r_20 = f_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, r_20, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - term = termFactory.makeAppl(transform._consFor_4, new IStrategoTerm[]{b_36, c_36, d_36, term}); + break Fail343; + term = termFactory.makeAppl(transform._consFor_4, new IStrategoTerm[]{c_20, d_20, e_20, term}); if(true) - break Success308; + break Success208; } } - term = term175; - IStrategoTerm term176 = term; - Success309: + term = term69; + IStrategoTerm term70 = term; + Success209: { - Fail459: + Fail356: { - IStrategoTerm m_29 = null; - m_29 = term; - if(i_27.value == null) - break Fail459; - term = i_27.value; + IStrategoTerm n_13 = null; + n_13 = term; + if(j_11.value == null) + break Fail356; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consForEach_3 != ((IStrategoAppl)term).getConstructor()) - break Fail459; - if(d_27.value == null) - d_27.value = term.getSubterm(0); + break Fail356; + if(e_11.value == null) + e_11.value = term.getSubterm(0); else - if(d_27.value != term.getSubterm(0) && !d_27.value.match(term.getSubterm(0))) - break Fail459; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(e_11.value != term.getSubterm(0) && !e_11.value.match(term.getSubterm(0))) + break Fail356; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail459; - if(e_27.value == null) - e_27.value = term.getSubterm(2); + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail356; + if(f_11.value == null) + f_11.value = term.getSubterm(2); else - if(e_27.value != term.getSubterm(2) && !e_27.value.match(term.getSubterm(2))) - break Fail459; - term = m_29; + if(f_11.value != term.getSubterm(2) && !f_11.value.match(term.getSubterm(2))) + break Fail356; + term = n_13; { - IStrategoTerm r_36 = null; - IStrategoTerm u_36 = null; - IStrategoTerm w_36 = null; - IStrategoTerm s_36 = null; - IStrategoTerm x_36 = null; - IStrategoTerm z_36 = null; - IStrategoTerm c_37 = null; - u_36 = term; - if(d_27.value == null) - break Fail446; - w_36 = d_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, w_36, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + IStrategoTerm s_20 = null; + IStrategoTerm v_20 = null; + IStrategoTerm x_20 = null; + IStrategoTerm t_20 = null; + IStrategoTerm y_20 = null; + IStrategoTerm a_21 = null; + IStrategoTerm d_21 = null; + v_20 = term; + if(e_11.value == null) + break Fail343; + x_20 = e_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, x_20, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - r_36 = term; - term = u_36; - x_36 = u_36; - if(g_27.value == null) - break Fail446; - z_36 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, z_36, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + break Fail343; + s_20 = term; + term = v_20; + y_20 = v_20; + if(h_11.value == null) + break Fail343; + a_21 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, a_21, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - s_36 = term; - term = x_36; - if(e_27.value == null) - break Fail446; - c_37 = e_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, c_37, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + break Fail343; + t_20 = term; + term = y_20; + if(f_11.value == null) + break Fail343; + d_21 = f_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, d_21, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - term = termFactory.makeAppl(transform._consForEach_3, new IStrategoTerm[]{r_36, s_36, term}); + break Fail343; + term = termFactory.makeAppl(transform._consForEach_3, new IStrategoTerm[]{s_20, t_20, term}); if(true) - break Success309; + break Success209; } } - term = term176; - IStrategoTerm term177 = term; - Success310: + term = term70; + IStrategoTerm term71 = term; + Success210: { - Fail460: + Fail357: { - IStrategoTerm n_29 = null; - n_29 = term; - if(i_27.value == null) - break Fail460; - term = i_27.value; + IStrategoTerm o_13 = null; + o_13 = term; + if(j_11.value == null) + break Fail357; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consCastPrim_2 != ((IStrategoAppl)term).getConstructor()) - break Fail460; - if(f_27.value == null) - f_27.value = term.getSubterm(0); + break Fail357; + if(g_11.value == null) + g_11.value = term.getSubterm(0); else - if(f_27.value != term.getSubterm(0) && !f_27.value.match(term.getSubterm(0))) - break Fail460; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(g_11.value != term.getSubterm(0) && !g_11.value.match(term.getSubterm(0))) + break Fail357; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail460; - term = n_29; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail357; + term = o_13; { - IStrategoTerm d_37 = null; - IStrategoTerm e_37 = null; - IStrategoTerm g_37 = null; - e_37 = term; - if(g_27.value == null) - break Fail446; - g_37 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, g_37, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + IStrategoTerm e_21 = null; + IStrategoTerm f_21 = null; + IStrategoTerm h_21 = null; + f_21 = term; + if(h_11.value == null) + break Fail343; + h_21 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, h_21, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - d_37 = term; - term = e_37; - if(f_27.value == null) - break Fail446; - term = termFactory.makeAppl(transform._consCastPrim_2, new IStrategoTerm[]{f_27.value, d_37}); + break Fail343; + e_21 = term; + term = f_21; + if(g_11.value == null) + break Fail343; + term = termFactory.makeAppl(transform._consCastPrim_2, new IStrategoTerm[]{g_11.value, e_21}); if(true) - break Success310; + break Success210; } } - term = term177; - IStrategoTerm term178 = term; - Success311: + term = term71; + IStrategoTerm term72 = term; + Success211: { - Fail461: + Fail358: { - IStrategoTerm o_29 = null; - o_29 = term; - if(i_27.value == null) - break Fail461; - term = i_27.value; + IStrategoTerm p_13 = null; + p_13 = term; + if(j_11.value == null) + break Fail358; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consCastRef_2 != ((IStrategoAppl)term).getConstructor()) - break Fail461; - if(f_27.value == null) - f_27.value = term.getSubterm(0); + break Fail358; + if(g_11.value == null) + g_11.value = term.getSubterm(0); else - if(f_27.value != term.getSubterm(0) && !f_27.value.match(term.getSubterm(0))) - break Fail461; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(g_11.value != term.getSubterm(0) && !g_11.value.match(term.getSubterm(0))) + break Fail358; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail461; - term = o_29; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail358; + term = p_13; { - IStrategoTerm h_37 = null; - IStrategoTerm i_37 = null; - IStrategoTerm k_37 = null; - i_37 = term; - if(g_27.value == null) - break Fail446; - k_37 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, k_37, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constNone0, i_26.value, j_26.value}); + IStrategoTerm i_21 = null; + IStrategoTerm j_21 = null; + IStrategoTerm l_21 = null; + j_21 = term; + if(h_11.value == null) + break Fail343; + l_21 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, l_21, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constNone0, j_10.value, k_10.value}); if(term == null) - break Fail446; - h_37 = term; - term = i_37; - if(f_27.value == null) - break Fail446; - term = termFactory.makeAppl(transform._consCastRef_2, new IStrategoTerm[]{f_27.value, h_37}); + break Fail343; + i_21 = term; + term = j_21; + if(g_11.value == null) + break Fail343; + term = termFactory.makeAppl(transform._consCastRef_2, new IStrategoTerm[]{g_11.value, i_21}); if(true) - break Success311; + break Success211; } } - term = term178; - if(h_27.value == null) - break Fail446; - term = h_27.value; - lifted53 lifted530 = new lifted53(); - lifted530.b_26 = b_26; - lifted530.c_26 = c_26; - lifted530.d_26 = d_26; - lifted530.e_26 = e_26; - lifted530.f_26 = f_26; - lifted530.g_26 = g_26; - lifted530.h_26 = h_26; - lifted530.i_26 = i_26; - lifted530.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted530); + term = term72; + if(i_11.value == null) + break Fail343; + term = i_11.value; + lifted49 lifted490 = new lifted49(); + lifted490.c_10 = c_10; + lifted490.d_10 = d_10; + lifted490.e_10 = e_10; + lifted490.f_10 = f_10; + lifted490.g_10 = g_10; + lifted490.h_10 = h_10; + lifted490.i_10 = i_10; + lifted490.j_10 = j_10; + lifted490.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted490); if(term == null) - break Fail446; + break Fail343; } } } diff --git a/coolf/src/main/java/cool/add_external_impl_0_9_fragment_1.java b/coolf/src/main/java/cool/add_external_impl_0_9_fragment_1.java index d53df68..1d5e288 100644 --- a/coolf/src/main/java/cool/add_external_impl_0_9_fragment_1.java +++ b/coolf/src/main/java/cool/add_external_impl_0_9_fragment_1.java @@ -13,1222 +13,1222 @@ @SuppressWarnings("all") final class add_external_impl_0_9_fragment_1 extends Strategy { - TermReference r_26; + TermReference s_10; - TermReference s_26; + TermReference t_10; - TermReference u_26; + TermReference v_10; - TermReference t_26; + TermReference u_10; - TermReference v_26; + TermReference w_10; - TermReference w_26; + TermReference x_10; - TermReference x_26; + TermReference y_10; - TermReference y_26; + TermReference z_10; - TermReference z_26; + TermReference a_11; - TermReference a_27; + TermReference b_11; - TermReference b_27; + TermReference c_11; - TermReference c_27; + TermReference d_11; - TermReference d_27; + TermReference e_11; - TermReference e_27; + TermReference f_11; - TermReference i_27; + TermReference j_11; - TermReference g_27; + TermReference h_11; - TermReference f_27; + TermReference g_11; - TermReference b_26; + TermReference c_10; - TermReference c_26; + TermReference d_10; - TermReference d_26; + TermReference e_10; - TermReference e_26; + TermReference f_10; - TermReference f_26; + TermReference g_10; - TermReference g_26; + TermReference h_10; - TermReference h_26; + TermReference i_10; - TermReference i_26; + TermReference j_10; - TermReference j_26; + TermReference k_10; - TermReference h_27; + TermReference i_11; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { ITermFactory termFactory = context.getFactory(); - Fail418: + Fail315: { - IStrategoTerm term137 = term; - Success270: + IStrategoTerm term31 = term; + Success170: { - Fail419: + Fail316: { - IStrategoTerm z_27 = null; - z_27 = term; - if(i_27.value == null) - break Fail419; - term = i_27.value; + IStrategoTerm a_12 = null; + a_12 = term; + if(j_11.value == null) + break Fail316; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consRightShift_2 != ((IStrategoAppl)term).getConstructor()) - break Fail419; - if(x_26.value == null) - x_26.value = term.getSubterm(0); + break Fail316; + if(y_10.value == null) + y_10.value = term.getSubterm(0); else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail419; - if(y_26.value == null) - y_26.value = term.getSubterm(1); + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail316; + if(z_10.value == null) + z_10.value = term.getSubterm(1); else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail419; - term = z_27; + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail316; + term = a_12; { - IStrategoTerm v_30 = null; - IStrategoTerm x_30 = null; - IStrategoTerm a_31 = null; - IStrategoTerm term138 = term; - Success271: + IStrategoTerm w_14 = null; + IStrategoTerm y_14 = null; + IStrategoTerm b_15 = null; + IStrategoTerm term32 = term; + Success171: { - Fail420: + Fail317: { - IStrategoTerm a_28 = null; - a_28 = term; - if(h_26.value == null) - break Fail420; - term = termFactory.makeTuple(h_26.value, cool.constNone0); + IStrategoTerm b_12 = null; + b_12 = term; + if(i_10.value == null) + break Fail317; + term = termFactory.makeTuple(i_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail420; - term = a_28; + break Fail317; + term = b_12; { - if(x_26.value == null) - break Fail418; - term = get_type_of_0_3.instance.invoke(context, x_26.value, h_26.value, b_26.value, c_26.value); + if(y_10.value == null) + break Fail315; + term = get_type_of_0_3.instance.invoke(context, y_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; + break Fail315; term = cast_shift_type_0_0.instance.invoke(context, term); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; if(true) - break Success271; + break Success171; } } - term = term138; - if(h_26.value == null) - break Fail418; - term = cast_shift_type_0_0.instance.invoke(context, h_26.value); + term = term32; + if(i_10.value == null) + break Fail315; + term = cast_shift_type_0_0.instance.invoke(context, i_10.value); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; } - x_30 = term; - if(x_26.value == null) - break Fail418; - term = add_external_impl_0_9.instance.invokeDynamic(context, x_26.value, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, s_26.value, i_26.value, j_26.value}); + y_14 = term; + if(y_10.value == null) + break Fail315; + term = add_external_impl_0_9.instance.invokeDynamic(context, y_10.value, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, t_10.value, j_10.value, k_10.value}); if(term == null) - break Fail418; - v_30 = term; - term = x_30; - if(y_26.value == null) - break Fail418; - a_31 = y_26.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, a_31, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constLong0, i_26.value, j_26.value}); + break Fail315; + w_14 = term; + term = y_14; + if(z_10.value == null) + break Fail315; + b_15 = z_10.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, b_15, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constLong0, j_10.value, k_10.value}); if(term == null) - break Fail418; - term = termFactory.makeAppl(transform._consRightShift_2, new IStrategoTerm[]{v_30, term}); + break Fail315; + term = termFactory.makeAppl(transform._consRightShift_2, new IStrategoTerm[]{w_14, term}); if(true) - break Success270; + break Success170; } } - term = term137; - IStrategoTerm term139 = term; - Success272: + term = term31; + IStrategoTerm term33 = term; + Success172: { - Fail421: + Fail318: { - IStrategoTerm b_28 = null; - b_28 = term; - if(i_27.value == null) - break Fail421; - term = i_27.value; + IStrategoTerm c_12 = null; + c_12 = term; + if(j_11.value == null) + break Fail318; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consURightShift_2 != ((IStrategoAppl)term).getConstructor()) - break Fail421; - if(x_26.value == null) - x_26.value = term.getSubterm(0); + break Fail318; + if(y_10.value == null) + y_10.value = term.getSubterm(0); else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail421; - if(y_26.value == null) - y_26.value = term.getSubterm(1); + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail318; + if(z_10.value == null) + z_10.value = term.getSubterm(1); else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail421; - term = b_28; + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail318; + term = c_12; { - IStrategoTerm b_31 = null; - IStrategoTerm d_31 = null; - IStrategoTerm g_31 = null; - IStrategoTerm term140 = term; - Success273: + IStrategoTerm c_15 = null; + IStrategoTerm e_15 = null; + IStrategoTerm h_15 = null; + IStrategoTerm term34 = term; + Success173: { - Fail422: + Fail319: { - IStrategoTerm c_28 = null; - c_28 = term; - if(h_26.value == null) - break Fail422; - term = termFactory.makeTuple(h_26.value, cool.constNone0); + IStrategoTerm d_12 = null; + d_12 = term; + if(i_10.value == null) + break Fail319; + term = termFactory.makeTuple(i_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail422; - term = c_28; + break Fail319; + term = d_12; { - if(x_26.value == null) - break Fail418; - term = get_type_of_0_3.instance.invoke(context, x_26.value, h_26.value, b_26.value, c_26.value); + if(y_10.value == null) + break Fail315; + term = get_type_of_0_3.instance.invoke(context, y_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; + break Fail315; term = cast_shift_type_0_0.instance.invoke(context, term); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; if(true) - break Success273; + break Success173; } } - term = term140; - if(h_26.value == null) - break Fail418; - term = cast_shift_type_0_0.instance.invoke(context, h_26.value); + term = term34; + if(i_10.value == null) + break Fail315; + term = cast_shift_type_0_0.instance.invoke(context, i_10.value); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; } - d_31 = term; - if(x_26.value == null) - break Fail418; - term = add_external_impl_0_9.instance.invokeDynamic(context, x_26.value, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, s_26.value, i_26.value, j_26.value}); + e_15 = term; + if(y_10.value == null) + break Fail315; + term = add_external_impl_0_9.instance.invokeDynamic(context, y_10.value, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, t_10.value, j_10.value, k_10.value}); if(term == null) - break Fail418; - b_31 = term; - term = d_31; - if(y_26.value == null) - break Fail418; - g_31 = y_26.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, g_31, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constLong0, i_26.value, j_26.value}); + break Fail315; + c_15 = term; + term = e_15; + if(z_10.value == null) + break Fail315; + h_15 = z_10.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, h_15, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constLong0, j_10.value, k_10.value}); if(term == null) - break Fail418; - term = termFactory.makeAppl(transform._consURightShift_2, new IStrategoTerm[]{b_31, term}); + break Fail315; + term = termFactory.makeAppl(transform._consURightShift_2, new IStrategoTerm[]{c_15, term}); if(true) - break Success272; + break Success172; } } - term = term139; - IStrategoTerm term141 = term; - Success274: + term = term33; + IStrategoTerm term35 = term; + Success174: { - Fail423: + Fail320: { - IStrategoTerm d_28 = null; - d_28 = term; - if(i_27.value == null) - break Fail423; - term = i_27.value; + IStrategoTerm e_12 = null; + e_12 = term; + if(j_11.value == null) + break Fail320; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consPreIncr_1 != ((IStrategoAppl)term).getConstructor()) - break Fail423; - if(g_27.value == null) - g_27.value = term.getSubterm(0); + break Fail320; + if(h_11.value == null) + h_11.value = term.getSubterm(0); else - if(g_27.value != term.getSubterm(0) && !g_27.value.match(term.getSubterm(0))) - break Fail423; - term = d_28; + if(h_11.value != term.getSubterm(0) && !h_11.value.match(term.getSubterm(0))) + break Fail320; + term = e_12; { - if(g_27.value == null) - break Fail418; - term = get_type_of_0_3.instance.invoke(context, g_27.value, h_26.value, b_26.value, c_26.value); + if(h_11.value == null) + break Fail315; + term = get_type_of_0_3.instance.invoke(context, h_11.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - if(r_26.value == null) - r_26.value = term; + break Fail315; + if(s_10.value == null) + s_10.value = term; else - if(r_26.value != term && !r_26.value.match(term)) - break Fail418; - IStrategoTerm term142 = term; - Success275: + if(s_10.value != term && !s_10.value.match(term)) + break Fail315; + IStrategoTerm term36 = term; + Success175: { - Fail424: + Fail321: { - IStrategoTerm e_28 = null; - e_28 = term; - if(r_26.value == null) - break Fail424; - term = termFactory.makeTuple(r_26.value, cool.constNone0); + IStrategoTerm f_12 = null; + f_12 = term; + if(s_10.value == null) + break Fail321; + term = termFactory.makeTuple(s_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail424; - term = e_28; + break Fail321; + term = f_12; { - IStrategoTerm term143 = term; - Success276: + IStrategoTerm term37 = term; + Success176: { - Fail425: + Fail322: { - IStrategoTerm f_28 = null; - f_28 = term; - if(h_26.value == null) - break Fail425; - term = termFactory.makeTuple(h_26.value, cool.constNone0); + IStrategoTerm g_12 = null; + g_12 = term; + if(i_10.value == null) + break Fail322; + term = termFactory.makeTuple(i_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail425; - term = f_28; + break Fail322; + term = g_12; { term = cool.constDouble0; - if(s_26.value == null) - s_26.value = term; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; if(true) - break Success276; + break Success176; } } - term = term143; - if(h_26.value == null) - break Fail418; - term = ensure__number_0_0.instance.invoke(context, h_26.value); + term = term37; + if(i_10.value == null) + break Fail315; + term = ensure__number_0_0.instance.invoke(context, i_10.value); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; } if(true) - break Success275; + break Success175; } } - term = term142; - if(r_26.value == null) - break Fail418; - term = ensure__number_0_0.instance.invoke(context, r_26.value); + term = term36; + if(s_10.value == null) + break Fail315; + term = ensure__number_0_0.instance.invoke(context, s_10.value); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; } - if(g_27.value == null) - break Fail418; - term = add_external_impl_0_9.instance.invokeDynamic(context, g_27.value, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, s_26.value, i_26.value, j_26.value}); + if(h_11.value == null) + break Fail315; + term = add_external_impl_0_9.instance.invokeDynamic(context, h_11.value, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, t_10.value, j_10.value, k_10.value}); if(term == null) - break Fail418; + break Fail315; term = termFactory.makeAppl(transform._consPreIncr_1, new IStrategoTerm[]{term}); if(true) - break Success274; + break Success174; } } - term = term141; - IStrategoTerm term144 = term; - Success277: + term = term35; + IStrategoTerm term38 = term; + Success177: { - Fail426: + Fail323: { - IStrategoTerm g_28 = null; - g_28 = term; - if(i_27.value == null) - break Fail426; - term = i_27.value; + IStrategoTerm h_12 = null; + h_12 = term; + if(j_11.value == null) + break Fail323; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consPostIncr_1 != ((IStrategoAppl)term).getConstructor()) - break Fail426; - if(g_27.value == null) - g_27.value = term.getSubterm(0); + break Fail323; + if(h_11.value == null) + h_11.value = term.getSubterm(0); else - if(g_27.value != term.getSubterm(0) && !g_27.value.match(term.getSubterm(0))) - break Fail426; - term = g_28; + if(h_11.value != term.getSubterm(0) && !h_11.value.match(term.getSubterm(0))) + break Fail323; + term = h_12; { - if(g_27.value == null) - break Fail418; - term = get_type_of_0_3.instance.invoke(context, g_27.value, h_26.value, b_26.value, c_26.value); + if(h_11.value == null) + break Fail315; + term = get_type_of_0_3.instance.invoke(context, h_11.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - if(r_26.value == null) - r_26.value = term; + break Fail315; + if(s_10.value == null) + s_10.value = term; else - if(r_26.value != term && !r_26.value.match(term)) - break Fail418; - IStrategoTerm term145 = term; - Success278: + if(s_10.value != term && !s_10.value.match(term)) + break Fail315; + IStrategoTerm term39 = term; + Success178: { - Fail427: + Fail324: { - IStrategoTerm h_28 = null; - h_28 = term; - if(r_26.value == null) - break Fail427; - term = termFactory.makeTuple(r_26.value, cool.constNone0); + IStrategoTerm i_12 = null; + i_12 = term; + if(s_10.value == null) + break Fail324; + term = termFactory.makeTuple(s_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail427; - term = h_28; + break Fail324; + term = i_12; { - IStrategoTerm term146 = term; - Success279: + IStrategoTerm term40 = term; + Success179: { - Fail428: + Fail325: { - IStrategoTerm i_28 = null; - i_28 = term; - if(h_26.value == null) - break Fail428; - term = termFactory.makeTuple(h_26.value, cool.constNone0); + IStrategoTerm j_12 = null; + j_12 = term; + if(i_10.value == null) + break Fail325; + term = termFactory.makeTuple(i_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail428; - term = i_28; + break Fail325; + term = j_12; { term = cool.constDouble0; - if(s_26.value == null) - s_26.value = term; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; if(true) - break Success279; + break Success179; } } - term = term146; - if(h_26.value == null) - break Fail418; - term = ensure__number_0_0.instance.invoke(context, h_26.value); + term = term40; + if(i_10.value == null) + break Fail315; + term = ensure__number_0_0.instance.invoke(context, i_10.value); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; } if(true) - break Success278; + break Success178; } } - term = term145; - if(r_26.value == null) - break Fail418; - term = ensure__number_0_0.instance.invoke(context, r_26.value); + term = term39; + if(s_10.value == null) + break Fail315; + term = ensure__number_0_0.instance.invoke(context, s_10.value); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; } - if(g_27.value == null) - break Fail418; - term = add_external_impl_0_9.instance.invokeDynamic(context, g_27.value, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, s_26.value, i_26.value, j_26.value}); + if(h_11.value == null) + break Fail315; + term = add_external_impl_0_9.instance.invokeDynamic(context, h_11.value, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, t_10.value, j_10.value, k_10.value}); if(term == null) - break Fail418; + break Fail315; term = termFactory.makeAppl(transform._consPostIncr_1, new IStrategoTerm[]{term}); if(true) - break Success277; + break Success177; } } - term = term144; - IStrategoTerm term147 = term; - Success280: + term = term38; + IStrategoTerm term41 = term; + Success180: { - Fail429: + Fail326: { - IStrategoTerm j_28 = null; - j_28 = term; - if(i_27.value == null) - break Fail429; - term = i_27.value; + IStrategoTerm k_12 = null; + k_12 = term; + if(j_11.value == null) + break Fail326; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consPreDecr_1 != ((IStrategoAppl)term).getConstructor()) - break Fail429; - if(g_27.value == null) - g_27.value = term.getSubterm(0); + break Fail326; + if(h_11.value == null) + h_11.value = term.getSubterm(0); else - if(g_27.value != term.getSubterm(0) && !g_27.value.match(term.getSubterm(0))) - break Fail429; - term = j_28; + if(h_11.value != term.getSubterm(0) && !h_11.value.match(term.getSubterm(0))) + break Fail326; + term = k_12; { - if(g_27.value == null) - break Fail418; - term = get_type_of_0_3.instance.invoke(context, g_27.value, h_26.value, b_26.value, c_26.value); + if(h_11.value == null) + break Fail315; + term = get_type_of_0_3.instance.invoke(context, h_11.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - if(r_26.value == null) - r_26.value = term; + break Fail315; + if(s_10.value == null) + s_10.value = term; else - if(r_26.value != term && !r_26.value.match(term)) - break Fail418; - IStrategoTerm term148 = term; - Success281: + if(s_10.value != term && !s_10.value.match(term)) + break Fail315; + IStrategoTerm term42 = term; + Success181: { - Fail430: + Fail327: { - IStrategoTerm k_28 = null; - k_28 = term; - if(r_26.value == null) - break Fail430; - term = termFactory.makeTuple(r_26.value, cool.constNone0); + IStrategoTerm l_12 = null; + l_12 = term; + if(s_10.value == null) + break Fail327; + term = termFactory.makeTuple(s_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail430; - term = k_28; + break Fail327; + term = l_12; { - IStrategoTerm term149 = term; - Success282: + IStrategoTerm term43 = term; + Success182: { - Fail431: + Fail328: { - IStrategoTerm l_28 = null; - l_28 = term; - if(h_26.value == null) - break Fail431; - term = termFactory.makeTuple(h_26.value, cool.constNone0); + IStrategoTerm m_12 = null; + m_12 = term; + if(i_10.value == null) + break Fail328; + term = termFactory.makeTuple(i_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail431; - term = l_28; + break Fail328; + term = m_12; { term = cool.constDouble0; - if(s_26.value == null) - s_26.value = term; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; if(true) - break Success282; + break Success182; } } - term = term149; - if(h_26.value == null) - break Fail418; - term = ensure__number_0_0.instance.invoke(context, h_26.value); + term = term43; + if(i_10.value == null) + break Fail315; + term = ensure__number_0_0.instance.invoke(context, i_10.value); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; } if(true) - break Success281; + break Success181; } } - term = term148; - if(r_26.value == null) - break Fail418; - term = ensure__number_0_0.instance.invoke(context, r_26.value); + term = term42; + if(s_10.value == null) + break Fail315; + term = ensure__number_0_0.instance.invoke(context, s_10.value); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; } - if(g_27.value == null) - break Fail418; - term = add_external_impl_0_9.instance.invokeDynamic(context, g_27.value, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, s_26.value, i_26.value, j_26.value}); + if(h_11.value == null) + break Fail315; + term = add_external_impl_0_9.instance.invokeDynamic(context, h_11.value, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, t_10.value, j_10.value, k_10.value}); if(term == null) - break Fail418; + break Fail315; term = termFactory.makeAppl(transform._consPreDecr_1, new IStrategoTerm[]{term}); if(true) - break Success280; + break Success180; } } - term = term147; - IStrategoTerm term150 = term; - Success283: + term = term41; + IStrategoTerm term44 = term; + Success183: { - Fail432: + Fail329: { - IStrategoTerm m_28 = null; - m_28 = term; - if(i_27.value == null) - break Fail432; - term = i_27.value; + IStrategoTerm n_12 = null; + n_12 = term; + if(j_11.value == null) + break Fail329; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consPostDecr_1 != ((IStrategoAppl)term).getConstructor()) - break Fail432; - if(g_27.value == null) - g_27.value = term.getSubterm(0); + break Fail329; + if(h_11.value == null) + h_11.value = term.getSubterm(0); else - if(g_27.value != term.getSubterm(0) && !g_27.value.match(term.getSubterm(0))) - break Fail432; - term = m_28; + if(h_11.value != term.getSubterm(0) && !h_11.value.match(term.getSubterm(0))) + break Fail329; + term = n_12; { - if(g_27.value == null) - break Fail418; - term = get_type_of_0_3.instance.invoke(context, g_27.value, h_26.value, b_26.value, c_26.value); + if(h_11.value == null) + break Fail315; + term = get_type_of_0_3.instance.invoke(context, h_11.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - if(r_26.value == null) - r_26.value = term; + break Fail315; + if(s_10.value == null) + s_10.value = term; else - if(r_26.value != term && !r_26.value.match(term)) - break Fail418; - IStrategoTerm term151 = term; - Success284: + if(s_10.value != term && !s_10.value.match(term)) + break Fail315; + IStrategoTerm term45 = term; + Success184: { - Fail433: + Fail330: { - IStrategoTerm n_28 = null; - n_28 = term; - if(r_26.value == null) - break Fail433; - term = termFactory.makeTuple(r_26.value, cool.constNone0); + IStrategoTerm o_12 = null; + o_12 = term; + if(s_10.value == null) + break Fail330; + term = termFactory.makeTuple(s_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail433; - term = n_28; + break Fail330; + term = o_12; { - IStrategoTerm term152 = term; - Success285: + IStrategoTerm term46 = term; + Success185: { - Fail434: + Fail331: { - IStrategoTerm o_28 = null; - o_28 = term; - if(h_26.value == null) - break Fail434; - term = termFactory.makeTuple(h_26.value, cool.constNone0); + IStrategoTerm p_12 = null; + p_12 = term; + if(i_10.value == null) + break Fail331; + term = termFactory.makeTuple(i_10.value, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail434; - term = o_28; + break Fail331; + term = p_12; { term = cool.constDouble0; - if(s_26.value == null) - s_26.value = term; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; if(true) - break Success285; + break Success185; } } - term = term152; - if(h_26.value == null) - break Fail418; - term = ensure__number_0_0.instance.invoke(context, h_26.value); + term = term46; + if(i_10.value == null) + break Fail315; + term = ensure__number_0_0.instance.invoke(context, i_10.value); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; } if(true) - break Success284; + break Success184; } } - term = term151; - if(r_26.value == null) - break Fail418; - term = ensure__number_0_0.instance.invoke(context, r_26.value); + term = term45; + if(s_10.value == null) + break Fail315; + term = ensure__number_0_0.instance.invoke(context, s_10.value); if(term == null) - break Fail418; - if(s_26.value == null) - s_26.value = term; + break Fail315; + if(t_10.value == null) + t_10.value = term; else - if(s_26.value != term && !s_26.value.match(term)) - break Fail418; + if(t_10.value != term && !t_10.value.match(term)) + break Fail315; } - if(g_27.value == null) - break Fail418; - term = add_external_impl_0_9.instance.invokeDynamic(context, g_27.value, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, s_26.value, i_26.value, j_26.value}); + if(h_11.value == null) + break Fail315; + term = add_external_impl_0_9.instance.invokeDynamic(context, h_11.value, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, t_10.value, j_10.value, k_10.value}); if(term == null) - break Fail418; + break Fail315; term = termFactory.makeAppl(transform._consPostDecr_1, new IStrategoTerm[]{term}); if(true) - break Success283; + break Success183; } } - term = term150; - IStrategoTerm term153 = term; - Success286: + term = term44; + IStrategoTerm term47 = term; + Success186: { - Fail435: + Fail332: { - IStrategoTerm p_28 = null; - p_28 = term; - if(i_27.value == null) - break Fail435; - term = i_27.value; + IStrategoTerm q_12 = null; + q_12 = term; + if(j_11.value == null) + break Fail332; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consNot_1 != ((IStrategoAppl)term).getConstructor()) - break Fail435; - term = p_28; + break Fail332; + term = q_12; { - if(h_27.value == null) - break Fail418; - term = h_27.value; - lifted44 lifted440 = new lifted44(); - lifted440.b_26 = b_26; - lifted440.c_26 = c_26; - lifted440.d_26 = d_26; - lifted440.e_26 = e_26; - lifted440.f_26 = f_26; - lifted440.g_26 = g_26; - lifted440.i_26 = i_26; - lifted440.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted440); + if(i_11.value == null) + break Fail315; + term = i_11.value; + lifted40 lifted400 = new lifted40(); + lifted400.c_10 = c_10; + lifted400.d_10 = d_10; + lifted400.e_10 = e_10; + lifted400.f_10 = f_10; + lifted400.g_10 = g_10; + lifted400.h_10 = h_10; + lifted400.j_10 = j_10; + lifted400.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted400); if(term == null) - break Fail418; + break Fail315; if(true) - break Success286; + break Success186; } } - term = term153; - IStrategoTerm term154 = term; - Success287: + term = term47; + IStrategoTerm term48 = term; + Success187: { - Fail436: + Fail333: { - IStrategoTerm q_28 = null; - q_28 = term; - if(i_27.value == null) - break Fail436; - term = or_2_0.instance.invoke(context, i_27.value, lifted45.instance, lifted48.instance); + IStrategoTerm r_12 = null; + r_12 = term; + if(j_11.value == null) + break Fail333; + term = or_2_0.instance.invoke(context, j_11.value, lifted41.instance, lifted44.instance); if(term == null) - break Fail436; - term = q_28; + break Fail333; + term = r_12; { - if(h_27.value == null) - break Fail418; - term = h_27.value; - lifted49 lifted490 = new lifted49(); - lifted490.h_27 = h_27; - lifted490.h_26 = h_26; - lifted490.b_26 = b_26; - lifted490.c_26 = c_26; - lifted490.d_26 = d_26; - lifted490.e_26 = e_26; - lifted490.f_26 = f_26; - lifted490.g_26 = g_26; - lifted490.i_26 = i_26; - lifted490.j_26 = j_26; - term = SRTS_all.instance.invoke(context, term, lifted490); + if(i_11.value == null) + break Fail315; + term = i_11.value; + lifted45 lifted450 = new lifted45(); + lifted450.i_11 = i_11; + lifted450.i_10 = i_10; + lifted450.c_10 = c_10; + lifted450.d_10 = d_10; + lifted450.e_10 = e_10; + lifted450.f_10 = f_10; + lifted450.g_10 = g_10; + lifted450.h_10 = h_10; + lifted450.j_10 = j_10; + lifted450.k_10 = k_10; + term = SRTS_all.instance.invoke(context, term, lifted450); if(term == null) - break Fail418; + break Fail315; if(true) - break Success287; + break Success187; } } - term = term154; - IStrategoTerm term155 = term; - Success288: + term = term48; + IStrategoTerm term49 = term; + Success188: { - Fail437: + Fail334: { - IStrategoTerm r_28 = null; - r_28 = term; - if(i_27.value == null) - break Fail437; - term = i_27.value; + IStrategoTerm s_12 = null; + s_12 = term; + if(j_11.value == null) + break Fail334; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssign_2 != ((IStrategoAppl)term).getConstructor()) - break Fail437; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail334; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail437; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail334; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail437; - term = r_28; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail334; + term = s_12; { - IStrategoTerm t_31 = null; - IStrategoTerm u_31 = null; - if(t_26.value == null) - break Fail418; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm u_15 = null; + IStrategoTerm v_15 = null; + if(u_10.value == null) + break Fail315; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - if(u_26.value == null) - u_26.value = term; + break Fail315; + if(v_10.value == null) + v_10.value = term; else - if(u_26.value != term && !u_26.value.match(term)) - break Fail418; - u_31 = term; - if(g_27.value == null) - break Fail418; - term = add_external_impl_0_9.instance.invokeDynamic(context, g_27.value, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, u_26.value, i_26.value, j_26.value}); + if(v_10.value != term && !v_10.value.match(term)) + break Fail315; + v_15 = term; + if(h_11.value == null) + break Fail315; + term = add_external_impl_0_9.instance.invokeDynamic(context, h_11.value, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, v_10.value, j_10.value, k_10.value}); if(term == null) - break Fail418; - t_31 = term; - term = u_31; - if(t_26.value == null) - break Fail418; - term = termFactory.makeAppl(transform._consAssign_2, new IStrategoTerm[]{t_26.value, t_31}); + break Fail315; + u_15 = term; + term = v_15; + if(u_10.value == null) + break Fail315; + term = termFactory.makeAppl(transform._consAssign_2, new IStrategoTerm[]{u_10.value, u_15}); if(true) - break Success288; + break Success188; } } - term = term155; - IStrategoTerm term156 = term; - Success289: + term = term49; + IStrategoTerm term50 = term; + Success189: { - Fail438: + Fail335: { - IStrategoTerm s_28 = null; - s_28 = term; - if(i_27.value == null) - break Fail438; - term = i_27.value; + IStrategoTerm t_12 = null; + t_12 = term; + if(j_11.value == null) + break Fail335; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignMul_2 != ((IStrategoAppl)term).getConstructor()) - break Fail438; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail335; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail438; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail335; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail438; - term = s_28; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail335; + term = t_12; { - IStrategoTerm v_31 = null; - IStrategoTerm w_31 = null; - IStrategoTerm y_31 = null; - if(t_26.value == null) - break Fail418; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm w_15 = null; + IStrategoTerm x_15 = null; + IStrategoTerm z_15 = null; + if(u_10.value == null) + break Fail315; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - w_31 = term; - if(g_27.value == null) - break Fail418; - y_31 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, y_31, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constDouble0, i_26.value, j_26.value}); + break Fail315; + x_15 = term; + if(h_11.value == null) + break Fail315; + z_15 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, z_15, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constDouble0, j_10.value, k_10.value}); if(term == null) - break Fail418; - v_31 = term; - term = w_31; - if(t_26.value == null) - break Fail418; - term = termFactory.makeAppl(transform._consAssignMul_2, new IStrategoTerm[]{t_26.value, v_31}); + break Fail315; + w_15 = term; + term = x_15; + if(u_10.value == null) + break Fail315; + term = termFactory.makeAppl(transform._consAssignMul_2, new IStrategoTerm[]{u_10.value, w_15}); if(true) - break Success289; + break Success189; } } - term = term156; - IStrategoTerm term157 = term; - Success290: + term = term50; + IStrategoTerm term51 = term; + Success190: { - Fail439: + Fail336: { - IStrategoTerm t_28 = null; - t_28 = term; - if(i_27.value == null) - break Fail439; - term = i_27.value; + IStrategoTerm u_12 = null; + u_12 = term; + if(j_11.value == null) + break Fail336; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignDiv_2 != ((IStrategoAppl)term).getConstructor()) - break Fail439; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail336; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail439; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail336; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail439; - term = t_28; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail336; + term = u_12; { - IStrategoTerm z_31 = null; - IStrategoTerm a_32 = null; - IStrategoTerm c_32 = null; - if(t_26.value == null) - break Fail418; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm a_16 = null; + IStrategoTerm b_16 = null; + IStrategoTerm d_16 = null; + if(u_10.value == null) + break Fail315; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - a_32 = term; - if(g_27.value == null) - break Fail418; - c_32 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, c_32, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constDouble0, i_26.value, j_26.value}); + break Fail315; + b_16 = term; + if(h_11.value == null) + break Fail315; + d_16 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, d_16, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constDouble0, j_10.value, k_10.value}); if(term == null) - break Fail418; - z_31 = term; - term = a_32; - if(t_26.value == null) - break Fail418; - term = termFactory.makeAppl(transform._consAssignDiv_2, new IStrategoTerm[]{t_26.value, z_31}); + break Fail315; + a_16 = term; + term = b_16; + if(u_10.value == null) + break Fail315; + term = termFactory.makeAppl(transform._consAssignDiv_2, new IStrategoTerm[]{u_10.value, a_16}); if(true) - break Success290; + break Success190; } } - term = term157; - IStrategoTerm term158 = term; - Success291: + term = term51; + IStrategoTerm term52 = term; + Success191: { - Fail440: + Fail337: { - IStrategoTerm u_28 = null; - u_28 = term; - if(i_27.value == null) - break Fail440; - term = i_27.value; + IStrategoTerm v_12 = null; + v_12 = term; + if(j_11.value == null) + break Fail337; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignRemain_2 != ((IStrategoAppl)term).getConstructor()) - break Fail440; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail337; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail440; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail337; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail440; - term = u_28; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail337; + term = v_12; { - IStrategoTerm d_32 = null; - IStrategoTerm e_32 = null; - IStrategoTerm g_32 = null; - if(t_26.value == null) - break Fail418; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm e_16 = null; + IStrategoTerm f_16 = null; + IStrategoTerm h_16 = null; + if(u_10.value == null) + break Fail315; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - e_32 = term; - if(g_27.value == null) - break Fail418; - g_32 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, g_32, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constDouble0, i_26.value, j_26.value}); + break Fail315; + f_16 = term; + if(h_11.value == null) + break Fail315; + h_16 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, h_16, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constDouble0, j_10.value, k_10.value}); if(term == null) - break Fail418; - d_32 = term; - term = e_32; - if(t_26.value == null) - break Fail418; - term = termFactory.makeAppl(transform._consAssignRemain_2, new IStrategoTerm[]{t_26.value, d_32}); + break Fail315; + e_16 = term; + term = f_16; + if(u_10.value == null) + break Fail315; + term = termFactory.makeAppl(transform._consAssignRemain_2, new IStrategoTerm[]{u_10.value, e_16}); if(true) - break Success291; + break Success191; } } - term = term158; - IStrategoTerm term159 = term; - Success292: + term = term52; + IStrategoTerm term53 = term; + Success192: { - Fail441: + Fail338: { - IStrategoTerm v_28 = null; - v_28 = term; - if(i_27.value == null) - break Fail441; - term = i_27.value; + IStrategoTerm w_12 = null; + w_12 = term; + if(j_11.value == null) + break Fail338; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignPlus_2 != ((IStrategoAppl)term).getConstructor()) - break Fail441; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail338; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail441; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail338; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail441; - term = v_28; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail338; + term = w_12; { - IStrategoTerm h_32 = null; - IStrategoTerm i_32 = null; - IStrategoTerm k_32 = null; - if(t_26.value == null) - break Fail418; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm i_16 = null; + IStrategoTerm j_16 = null; + IStrategoTerm l_16 = null; + if(u_10.value == null) + break Fail315; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - i_32 = term; - if(g_27.value == null) - break Fail418; - k_32 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, k_32, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constDouble0, i_26.value, j_26.value}); + break Fail315; + j_16 = term; + if(h_11.value == null) + break Fail315; + l_16 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, l_16, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constDouble0, j_10.value, k_10.value}); if(term == null) - break Fail418; - h_32 = term; - term = i_32; - if(t_26.value == null) - break Fail418; - term = termFactory.makeAppl(transform._consAssignPlus_2, new IStrategoTerm[]{t_26.value, h_32}); + break Fail315; + i_16 = term; + term = j_16; + if(u_10.value == null) + break Fail315; + term = termFactory.makeAppl(transform._consAssignPlus_2, new IStrategoTerm[]{u_10.value, i_16}); if(true) - break Success292; + break Success192; } } - term = term159; - IStrategoTerm term160 = term; - Success293: + term = term53; + IStrategoTerm term54 = term; + Success193: { - Fail442: + Fail339: { - IStrategoTerm w_28 = null; - w_28 = term; - if(i_27.value == null) - break Fail442; - term = i_27.value; + IStrategoTerm x_12 = null; + x_12 = term; + if(j_11.value == null) + break Fail339; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignMinus_2 != ((IStrategoAppl)term).getConstructor()) - break Fail442; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail339; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail442; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail339; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail442; - term = w_28; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail339; + term = x_12; { - IStrategoTerm l_32 = null; - IStrategoTerm m_32 = null; - IStrategoTerm o_32 = null; - if(t_26.value == null) - break Fail418; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm m_16 = null; + IStrategoTerm n_16 = null; + IStrategoTerm p_16 = null; + if(u_10.value == null) + break Fail315; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - m_32 = term; - if(g_27.value == null) - break Fail418; - o_32 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, o_32, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constDouble0, i_26.value, j_26.value}); + break Fail315; + n_16 = term; + if(h_11.value == null) + break Fail315; + p_16 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, p_16, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constDouble0, j_10.value, k_10.value}); if(term == null) - break Fail418; - l_32 = term; - term = m_32; - if(t_26.value == null) - break Fail418; - term = termFactory.makeAppl(transform._consAssignMinus_2, new IStrategoTerm[]{t_26.value, l_32}); + break Fail315; + m_16 = term; + term = n_16; + if(u_10.value == null) + break Fail315; + term = termFactory.makeAppl(transform._consAssignMinus_2, new IStrategoTerm[]{u_10.value, m_16}); if(true) - break Success293; + break Success193; } } - term = term160; - IStrategoTerm term161 = term; - Success294: + term = term54; + IStrategoTerm term55 = term; + Success194: { - Fail443: + Fail340: { - IStrategoTerm x_28 = null; - x_28 = term; - if(i_27.value == null) - break Fail443; - term = i_27.value; + IStrategoTerm y_12 = null; + y_12 = term; + if(j_11.value == null) + break Fail340; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignLeftShift_2 != ((IStrategoAppl)term).getConstructor()) - break Fail443; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail340; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail443; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail340; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail443; - term = x_28; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail340; + term = y_12; { - IStrategoTerm p_32 = null; - IStrategoTerm q_32 = null; - IStrategoTerm s_32 = null; - if(t_26.value == null) - break Fail418; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm q_16 = null; + IStrategoTerm r_16 = null; + IStrategoTerm t_16 = null; + if(u_10.value == null) + break Fail315; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - q_32 = term; - if(g_27.value == null) - break Fail418; - s_32 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, s_32, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constLong0, i_26.value, j_26.value}); + break Fail315; + r_16 = term; + if(h_11.value == null) + break Fail315; + t_16 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, t_16, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constLong0, j_10.value, k_10.value}); if(term == null) - break Fail418; - p_32 = term; - term = q_32; - if(t_26.value == null) - break Fail418; - term = termFactory.makeAppl(transform._consAssignLeftShift_2, new IStrategoTerm[]{t_26.value, p_32}); + break Fail315; + q_16 = term; + term = r_16; + if(u_10.value == null) + break Fail315; + term = termFactory.makeAppl(transform._consAssignLeftShift_2, new IStrategoTerm[]{u_10.value, q_16}); if(true) - break Success294; + break Success194; } } - term = term161; - IStrategoTerm term162 = term; - Success295: + term = term55; + IStrategoTerm term56 = term; + Success195: { - Fail444: + Fail341: { - IStrategoTerm y_28 = null; - y_28 = term; - if(i_27.value == null) - break Fail444; - term = i_27.value; + IStrategoTerm z_12 = null; + z_12 = term; + if(j_11.value == null) + break Fail341; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignRightShift_2 != ((IStrategoAppl)term).getConstructor()) - break Fail444; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail341; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail444; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail341; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail444; - term = y_28; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail341; + term = z_12; { - IStrategoTerm t_32 = null; - IStrategoTerm u_32 = null; - IStrategoTerm w_32 = null; - if(t_26.value == null) - break Fail418; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm u_16 = null; + IStrategoTerm v_16 = null; + IStrategoTerm x_16 = null; + if(u_10.value == null) + break Fail315; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - u_32 = term; - if(g_27.value == null) - break Fail418; - w_32 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, w_32, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constLong0, i_26.value, j_26.value}); + break Fail315; + v_16 = term; + if(h_11.value == null) + break Fail315; + x_16 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, x_16, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constLong0, j_10.value, k_10.value}); if(term == null) - break Fail418; - t_32 = term; - term = u_32; - if(t_26.value == null) - break Fail418; - term = termFactory.makeAppl(transform._consAssignRightShift_2, new IStrategoTerm[]{t_26.value, t_32}); + break Fail315; + u_16 = term; + term = v_16; + if(u_10.value == null) + break Fail315; + term = termFactory.makeAppl(transform._consAssignRightShift_2, new IStrategoTerm[]{u_10.value, u_16}); if(true) - break Success295; + break Success195; } } - term = term162; - IStrategoTerm term163 = term; - Success296: + term = term56; + IStrategoTerm term57 = term; + Success196: { - Fail445: + Fail342: { - IStrategoTerm z_28 = null; - z_28 = term; - if(i_27.value == null) - break Fail445; - term = i_27.value; + IStrategoTerm a_13 = null; + a_13 = term; + if(j_11.value == null) + break Fail342; + term = j_11.value; if(term.getTermType() != IStrategoTerm.APPL || transform._consAssignURightShift_2 != ((IStrategoAppl)term).getConstructor()) - break Fail445; - if(t_26.value == null) - t_26.value = term.getSubterm(0); + break Fail342; + if(u_10.value == null) + u_10.value = term.getSubterm(0); else - if(t_26.value != term.getSubterm(0) && !t_26.value.match(term.getSubterm(0))) - break Fail445; - if(g_27.value == null) - g_27.value = term.getSubterm(1); + if(u_10.value != term.getSubterm(0) && !u_10.value.match(term.getSubterm(0))) + break Fail342; + if(h_11.value == null) + h_11.value = term.getSubterm(1); else - if(g_27.value != term.getSubterm(1) && !g_27.value.match(term.getSubterm(1))) - break Fail445; - term = z_28; + if(h_11.value != term.getSubterm(1) && !h_11.value.match(term.getSubterm(1))) + break Fail342; + term = a_13; { - IStrategoTerm x_32 = null; - IStrategoTerm y_32 = null; - IStrategoTerm a_33 = null; - if(t_26.value == null) - break Fail418; - term = get_$L$H$S_type_0_3.instance.invoke(context, t_26.value, h_26.value, b_26.value, c_26.value); + IStrategoTerm y_16 = null; + IStrategoTerm z_16 = null; + IStrategoTerm b_17 = null; + if(u_10.value == null) + break Fail315; + term = get_$L$H$S_type_0_3.instance.invoke(context, u_10.value, i_10.value, c_10.value, d_10.value); if(term == null) - break Fail418; - y_32 = term; - if(g_27.value == null) - break Fail418; - a_33 = g_27.value; - term = add_external_impl_0_9.instance.invokeDynamic(context, a_33, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constLong0, i_26.value, j_26.value}); + break Fail315; + z_16 = term; + if(h_11.value == null) + break Fail315; + b_17 = h_11.value; + term = add_external_impl_0_9.instance.invokeDynamic(context, b_17, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constLong0, j_10.value, k_10.value}); if(term == null) - break Fail418; - x_32 = term; - term = y_32; - if(t_26.value == null) - break Fail418; - term = termFactory.makeAppl(transform._consAssignURightShift_2, new IStrategoTerm[]{t_26.value, x_32}); + break Fail315; + y_16 = term; + term = z_16; + if(u_10.value == null) + break Fail315; + term = termFactory.makeAppl(transform._consAssignURightShift_2, new IStrategoTerm[]{u_10.value, y_16}); if(true) - break Success296; + break Success196; } } - term = term163; + term = term57; add_external_impl_0_9_fragment_0 add_external_impl_0_9_fragment_00 = new add_external_impl_0_9_fragment_0(); - add_external_impl_0_9_fragment_00.u_26 = u_26; - add_external_impl_0_9_fragment_00.t_26 = t_26; - add_external_impl_0_9_fragment_00.v_26 = v_26; - add_external_impl_0_9_fragment_00.w_26 = w_26; - add_external_impl_0_9_fragment_00.x_26 = x_26; - add_external_impl_0_9_fragment_00.y_26 = y_26; - add_external_impl_0_9_fragment_00.z_26 = z_26; - add_external_impl_0_9_fragment_00.a_27 = a_27; - add_external_impl_0_9_fragment_00.b_27 = b_27; - add_external_impl_0_9_fragment_00.c_27 = c_27; - add_external_impl_0_9_fragment_00.d_27 = d_27; - add_external_impl_0_9_fragment_00.e_27 = e_27; - add_external_impl_0_9_fragment_00.i_27 = i_27; - add_external_impl_0_9_fragment_00.g_27 = g_27; - add_external_impl_0_9_fragment_00.f_27 = f_27; - add_external_impl_0_9_fragment_00.b_26 = b_26; - add_external_impl_0_9_fragment_00.c_26 = c_26; - add_external_impl_0_9_fragment_00.d_26 = d_26; - add_external_impl_0_9_fragment_00.e_26 = e_26; - add_external_impl_0_9_fragment_00.f_26 = f_26; - add_external_impl_0_9_fragment_00.g_26 = g_26; - add_external_impl_0_9_fragment_00.h_26 = h_26; - add_external_impl_0_9_fragment_00.i_26 = i_26; - add_external_impl_0_9_fragment_00.j_26 = j_26; - add_external_impl_0_9_fragment_00.h_27 = h_27; + add_external_impl_0_9_fragment_00.v_10 = v_10; + add_external_impl_0_9_fragment_00.u_10 = u_10; + add_external_impl_0_9_fragment_00.w_10 = w_10; + add_external_impl_0_9_fragment_00.x_10 = x_10; + add_external_impl_0_9_fragment_00.y_10 = y_10; + add_external_impl_0_9_fragment_00.z_10 = z_10; + add_external_impl_0_9_fragment_00.a_11 = a_11; + add_external_impl_0_9_fragment_00.b_11 = b_11; + add_external_impl_0_9_fragment_00.c_11 = c_11; + add_external_impl_0_9_fragment_00.d_11 = d_11; + add_external_impl_0_9_fragment_00.e_11 = e_11; + add_external_impl_0_9_fragment_00.f_11 = f_11; + add_external_impl_0_9_fragment_00.j_11 = j_11; + add_external_impl_0_9_fragment_00.h_11 = h_11; + add_external_impl_0_9_fragment_00.g_11 = g_11; + add_external_impl_0_9_fragment_00.c_10 = c_10; + add_external_impl_0_9_fragment_00.d_10 = d_10; + add_external_impl_0_9_fragment_00.e_10 = e_10; + add_external_impl_0_9_fragment_00.f_10 = f_10; + add_external_impl_0_9_fragment_00.g_10 = g_10; + add_external_impl_0_9_fragment_00.h_10 = h_10; + add_external_impl_0_9_fragment_00.i_10 = i_10; + add_external_impl_0_9_fragment_00.j_10 = j_10; + add_external_impl_0_9_fragment_00.k_10 = k_10; + add_external_impl_0_9_fragment_00.i_11 = i_11; term = add_external_impl_0_9_fragment_00.invoke(context, term); if(term == null) - break Fail418; + break Fail315; } } } diff --git a/coolf/src/main/java/cool/aspectj_to_box_0_0.java b/coolf/src/main/java/cool/aspectj_to_box_0_0.java deleted file mode 100644 index 6e0c652..0000000 --- a/coolf/src/main/java/cool/aspectj_to_box_0_0.java +++ /dev/null @@ -1,66 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class aspectj_to_box_0_0 extends Strategy -{ - public static aspectj_to_box_0_0 instance = new aspectj_to_box_0_0(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - ITermFactory termFactory = context.getFactory(); - context.push("aspectj_to_box_0_0"); - Fail104: - { - IStrategoTerm term99 = term; - IStrategoConstructor cons5 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success99: - { - if(cons5 == transform._consCall_1) - { - Fail105: - { - IStrategoTerm s_22 = null; - s_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX46, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(s_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success99; - } - term = term99; - } - Success100: - { - if(cons5 == transform._consExec_1) - { - Fail106: - { - IStrategoTerm r_22 = null; - r_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX47, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(r_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success100; - } - term = term99; - } - term = aspectj_to_box_0_0_fragment_4.instance.invoke(context, term); - if(term == null) - break Fail104; - } - } - context.popOnSuccess(); - if(true) - return term; - } - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_0.java b/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_0.java deleted file mode 100644 index d13913f..0000000 --- a/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_0.java +++ /dev/null @@ -1,384 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class aspectj_to_box_0_0_fragment_0 extends Strategy -{ - public static aspectj_to_box_0_0_fragment_0 instance = new aspectj_to_box_0_0_fragment_0(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - ITermFactory termFactory = context.getFactory(); - context.push("aspectj_to_box_0_0_fragment_0"); - Fail85: - { - IStrategoTerm term81 = term; - IStrategoConstructor cons4 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success81: - { - if(cons4 == transform._consDecError_2) - { - Fail86: - { - IStrategoTerm x_14 = null; - IStrategoTerm y_14 = null; - x_14 = term.getSubterm(0); - y_14 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX30, termFactory.makeListCons(cool.constFBOX32, termFactory.makeListCons(cool.constFBOX21, termFactory.makeListCons(x_14, termFactory.makeListCons(cool.constFBOX21, termFactory.makeListCons(y_14, (IStrategoList)cool.constCons13))))))}); - if(true) - break Success81; - } - term = term81; - } - Success82: - { - if(cons4 == transform._consDecSoft_2) - { - Fail87: - { - IStrategoTerm v_14 = null; - IStrategoTerm w_14 = null; - v_14 = term.getSubterm(0); - w_14 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX30, termFactory.makeListCons(cool.constFBOX33, termFactory.makeListCons(cool.constFBOX21, termFactory.makeListCons(v_14, termFactory.makeListCons(cool.constFBOX21, termFactory.makeListCons(w_14, (IStrategoList)cool.constCons13))))))}); - if(true) - break Success82; - } - term = term81; - } - Success83: - { - if(cons4 == transform._consDecPrecedence_2) - { - Fail88: - { - IStrategoTerm p_14 = null; - IStrategoTerm q_14 = null; - IStrategoTerm r_14 = null; - p_14 = term.getSubterm(0); - q_14 = term.getSubterm(1); - term = separate_by_comma_0_0.instance.invoke(context, q_14); - if(term == null) - break Fail88; - r_14 = term; - term = termFactory.makeTuple(p_14, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX30, termFactory.makeListCons(cool.constFBOX34, termFactory.makeListCons(cool.constFBOX21, termFactory.makeListCons(r_14, (IStrategoList)cool.constCons13))))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail88; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success83; - } - term = term81; - } - Success84: - { - if(cons4 == transform._consDecAnno_4) - { - Fail89: - { - IStrategoTerm j_14 = null; - IStrategoTerm k_14 = null; - IStrategoTerm l_14 = null; - IStrategoTerm m_14 = null; - j_14 = term.getSubterm(0); - k_14 = term.getSubterm(1); - l_14 = term.getSubterm(2); - m_14 = term.getSubterm(3); - term = termFactory.makeTuple(j_14, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX30, termFactory.makeListCons(k_14, termFactory.makeListCons(cool.constS26, termFactory.makeListCons(l_14, termFactory.makeListCons(cool.constS26, termFactory.makeListCons(m_14, (IStrategoList)cool.constCons5))))))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail89; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success84; - } - term = term81; - } - Success85: - { - if(cons4 == transform._consDecAnnoType_0) - { - Fail90: - { - term = cool.constS48; - if(true) - break Success85; - } - term = term81; - } - Success86: - { - if(cons4 == transform._consDecAnnoConstructor_0) - { - Fail91: - { - term = cool.constS49; - if(true) - break Success86; - } - term = term81; - } - Success87: - { - if(cons4 == transform._consDecAnnoMethod_0) - { - Fail92: - { - term = cool.constS50; - if(true) - break Success87; - } - term = term81; - } - Success88: - { - if(cons4 == transform._consDecAnnoField_0) - { - Fail93: - { - term = cool.constS51; - if(true) - break Success88; - } - term = term81; - } - Success89: - { - if(cons4 == transform._consAspectDec_2) - { - Fail94: - { - IStrategoTerm h_14 = null; - IStrategoTerm i_14 = null; - h_14 = term.getSubterm(0); - i_14 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consV_2, new IStrategoTerm[]{cool.constCons11, (IStrategoTerm)termFactory.makeListCons(h_14, termFactory.makeListCons(i_14, (IStrategoList)cool.constNil0))}); - if(true) - break Success89; - } - term = term81; - } - Success90: - { - if(cons4 == transform._consAspectDecHead_6) - { - Fail95: - { - IStrategoTerm o_13 = null; - IStrategoTerm p_13 = null; - IStrategoTerm q_13 = null; - IStrategoTerm r_13 = null; - IStrategoTerm s_13 = null; - IStrategoTerm t_13 = null; - IStrategoTerm u_13 = null; - IStrategoTerm v_13 = null; - IStrategoTerm w_13 = null; - IStrategoTerm x_13 = null; - IStrategoTerm y_13 = null; - IStrategoTerm b_14 = null; - IStrategoTerm c_14 = null; - o_13 = term.getSubterm(0); - p_13 = term.getSubterm(1); - q_13 = term.getSubterm(2); - s_13 = term.getSubterm(3); - u_13 = term.getSubterm(4); - w_13 = term.getSubterm(5); - y_13 = term; - term = option_to_boxes_0_0.instance.invoke(context, q_13); - if(term == null) - break Fail95; - r_13 = term; - term = option_to_boxes_0_0.instance.invoke(context, s_13); - if(term == null) - break Fail95; - t_13 = term; - term = option_to_boxes_0_0.instance.invoke(context, u_13); - if(term == null) - break Fail95; - v_13 = term; - term = option_to_boxes_0_0.instance.invoke(context, w_13); - if(term == null) - break Fail95; - x_13 = term; - term = y_13; - c_14 = term; - term = termFactory.makeTuple(v_13, x_13); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail95; - term = termFactory.makeTuple(t_13, term); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail95; - term = termFactory.makeTuple(r_13, term); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail95; - b_14 = term; - term = c_14; - IStrategoList list7; - list7 = checkListTail(b_14); - if(list7 == null) - break Fail95; - term = termFactory.makeTuple(o_13, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX35, termFactory.makeListCons(p_13, list7))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail95; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success90; - } - term = term81; - } - Success91: - { - if(cons4 == transform._consPerTarget_1) - { - Fail96: - { - IStrategoTerm n_13 = null; - n_13 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX36, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(n_13, (IStrategoList)cool.constCons1)))}); - if(true) - break Success91; - } - term = term81; - } - Success92: - { - if(cons4 == transform._consPerThis_1) - { - Fail97: - { - IStrategoTerm m_13 = null; - m_13 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX37, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(m_13, (IStrategoList)cool.constCons1)))}); - if(true) - break Success92; - } - term = term81; - } - Success93: - { - if(cons4 == transform._consPerCFlow_1) - { - Fail98: - { - IStrategoTerm l_13 = null; - l_13 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX38, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(l_13, (IStrategoList)cool.constCons1)))}); - if(true) - break Success93; - } - term = term81; - } - Success94: - { - if(cons4 == transform._consPerCFlowBelow_1) - { - Fail99: - { - IStrategoTerm k_13 = null; - k_13 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX39, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(k_13, (IStrategoList)cool.constCons1)))}); - if(true) - break Success94; - } - term = term81; - } - Success95: - { - if(cons4 == transform._consPerTypeWithin_1) - { - Fail100: - { - IStrategoTerm j_13 = null; - j_13 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX40, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(j_13, (IStrategoList)cool.constCons1)))}); - if(true) - break Success95; - } - term = term81; - } - Success96: - { - if(cons4 == transform._consIsSingleton_0) - { - Fail101: - { - term = cool.constFBOX41; - if(true) - break Success96; - } - term = term81; - } - Success97: - { - if(cons4 == transform._consAspectBody_1) - { - Fail102: - { - IStrategoTerm i_13 = null; - i_13 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consV_2, new IStrategoTerm[]{cool.constNil0, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consV_2, new IStrategoTerm[]{cool.constCons16, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX43, termFactory.makeListCons(termFactory.makeAppl(transform._consV_2, new IStrategoTerm[]{cool.constCons17, i_13}), (IStrategoList)cool.constNil0))}), (IStrategoList)cool.constCons14)}); - if(true) - break Success97; - } - term = term81; - } - Success98: - { - if(cons4 == transform._consPrivileged_0) - { - Fail103: - { - term = cool.constFBOX44; - if(true) - break Success98; - } - term = term81; - } - if(cons4 == transform._consProceed_0) - { - term = cool.constFBOX45; - } - else - { - break Fail85; - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - context.popOnSuccess(); - if(true) - return term; - } - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_1.java b/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_1.java deleted file mode 100644 index c64e748..0000000 --- a/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_1.java +++ /dev/null @@ -1,367 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class aspectj_to_box_0_0_fragment_1 extends Strategy -{ - public static aspectj_to_box_0_0_fragment_1 instance = new aspectj_to_box_0_0_fragment_1(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - ITermFactory termFactory = context.getFactory(); - context.push("aspectj_to_box_0_0_fragment_1"); - Fail72: - { - IStrategoTerm term69 = term; - IStrategoConstructor cons3 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success69: - { - if(cons3 == transform._consIntertypeConstrDecHead_6) - { - Fail73: - { - IStrategoTerm s_16 = null; - IStrategoTerm t_16 = null; - IStrategoTerm u_16 = null; - IStrategoTerm v_16 = null; - IStrategoTerm w_16 = null; - IStrategoTerm x_16 = null; - IStrategoTerm y_16 = null; - IStrategoTerm z_16 = null; - IStrategoTerm a_17 = null; - IStrategoTerm b_17 = null; - IStrategoTerm c_17 = null; - IStrategoTerm d_17 = null; - IStrategoTerm g_17 = null; - IStrategoTerm h_17 = null; - a_17 = term.getSubterm(0); - v_16 = term.getSubterm(1); - s_16 = term.getSubterm(2); - w_16 = term.getSubterm(3); - t_16 = term.getSubterm(4); - y_16 = term.getSubterm(5); - d_17 = term; - term = list_to_args_0_0.instance.invoke(context, t_16); - if(term == null) - break Fail73; - u_16 = term; - term = type_params_to_boxes_0_0.instance.invoke(context, v_16); - if(term == null) - break Fail73; - b_17 = term; - term = type_params_to_boxes_0_0.instance.invoke(context, w_16); - if(term == null) - break Fail73; - x_16 = term; - term = option_to_boxes_0_0.instance.invoke(context, y_16); - if(term == null) - break Fail73; - z_16 = term; - term = termFactory.makeTuple(a_17, b_17); - term = conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail73; - c_17 = term; - term = d_17; - h_17 = term; - term = termFactory.makeTuple(x_16, (IStrategoTerm)termFactory.makeListCons(cool.constS23, termFactory.makeListCons(cool.constFBOX19, termFactory.makeListCons(u_16, (IStrategoList)cool.constNil0)))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail73; - g_17 = term; - term = h_17; - IStrategoList list4; - IStrategoList list3; - list3 = checkListTail(z_16); - if(list3 == null) - break Fail73; - list4 = checkListTail(g_17); - if(list4 == null) - break Fail73; - term = termFactory.makeTuple(c_17, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(s_16, list4)}), list3)); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail73; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success69; - } - term = term69; - } - Success70: - { - if(cons3 == transform._consIntertypeFieldDec_5) - { - Fail74: - { - IStrategoTerm h_16 = null; - IStrategoTerm i_16 = null; - IStrategoTerm j_16 = null; - IStrategoTerm k_16 = null; - IStrategoTerm l_16 = null; - IStrategoTerm m_16 = null; - IStrategoTerm n_16 = null; - IStrategoTerm q_16 = null; - IStrategoTerm r_16 = null; - h_16 = term.getSubterm(0); - i_16 = term.getSubterm(1); - j_16 = term.getSubterm(2); - l_16 = term.getSubterm(3); - k_16 = term.getSubterm(4); - n_16 = term; - term = option_to_boxes_0_0.instance.invoke(context, l_16); - if(term == null) - break Fail74; - m_16 = term; - term = n_16; - r_16 = term; - term = termFactory.makeTuple(m_16, (IStrategoTerm)termFactory.makeListCons(cool.constS23, termFactory.makeListCons(k_16, (IStrategoList)cool.constCons5))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail74; - q_16 = term; - term = r_16; - IStrategoList list5; - list5 = checkListTail(q_16); - if(list5 == null) - break Fail74; - term = termFactory.makeTuple(h_16, (IStrategoTerm)termFactory.makeListCons(i_16, termFactory.makeListCons(termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(j_16, list5)}), (IStrategoList)cool.constNil0))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail74; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success70; - } - term = term69; - } - Success71: - { - if(cons3 == transform._consAdviceDec_5) - { - Fail75: - { - IStrategoTerm w_15 = null; - IStrategoTerm x_15 = null; - IStrategoTerm y_15 = null; - IStrategoTerm z_15 = null; - IStrategoTerm a_16 = null; - IStrategoTerm b_16 = null; - IStrategoTerm c_16 = null; - IStrategoTerm f_16 = null; - IStrategoTerm g_16 = null; - w_15 = term.getSubterm(0); - x_15 = term.getSubterm(1); - a_16 = term.getSubterm(2); - y_15 = term.getSubterm(3); - z_15 = term.getSubterm(4); - c_16 = term; - term = option_to_boxes_0_0.instance.invoke(context, a_16); - if(term == null) - break Fail75; - b_16 = term; - term = c_16; - g_16 = term; - term = termFactory.makeTuple(b_16, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX21, termFactory.makeListCons(y_15, (IStrategoList)cool.constNil0))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail75; - f_16 = term; - term = g_16; - IStrategoList list6; - list6 = checkListTail(f_16); - if(list6 == null) - break Fail75; - term = termFactory.makeTuple(w_15, (IStrategoTerm)termFactory.makeListCons(x_15, list6)); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail75; - term = termFactory.makeAppl(transform._consV_2, new IStrategoTerm[]{cool.constCons11, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}), termFactory.makeListCons(z_15, (IStrategoList)cool.constNil0))}); - if(true) - break Success71; - } - term = term69; - } - Success72: - { - if(cons3 == transform._consBefore_1) - { - Fail76: - { - IStrategoTerm t_15 = null; - t_15 = term.getSubterm(0); - term = separate_by_comma_0_0.instance.invoke(context, t_15); - if(term == null) - break Fail76; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX24, termFactory.makeListCons(cool.constFBOX23, termFactory.makeListCons(term, (IStrategoList)cool.constCons12)))}); - if(true) - break Success72; - } - term = term69; - } - Success73: - { - if(cons3 == transform._consAfter_2) - { - Fail77: - { - IStrategoTerm p_15 = null; - IStrategoTerm q_15 = null; - q_15 = term.getSubterm(0); - p_15 = term.getSubterm(1); - term = separate_by_comma_0_0.instance.invoke(context, q_15); - if(term == null) - break Fail77; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX25, termFactory.makeListCons(cool.constFBOX23, termFactory.makeListCons(term, (IStrategoList)cool.constCons12)))}), termFactory.makeListCons(p_15, (IStrategoList)cool.constNil0))}); - if(true) - break Success73; - } - term = term69; - } - Success74: - { - if(cons3 == transform._consAround_2) - { - Fail78: - { - IStrategoTerm l_15 = null; - IStrategoTerm m_15 = null; - l_15 = term.getSubterm(0); - m_15 = term.getSubterm(1); - term = separate_by_comma_0_0.instance.invoke(context, m_15); - if(term == null) - break Fail78; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, (IStrategoTerm)termFactory.makeListCons(l_15, termFactory.makeListCons(termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX26, termFactory.makeListCons(cool.constFBOX23, termFactory.makeListCons(term, (IStrategoList)cool.constCons12)))}), (IStrategoList)cool.constNil0))}); - if(true) - break Success74; - } - term = term69; - } - Success75: - { - if(cons3 == transform._consReturning_0) - { - Fail79: - { - term = cool.constFBOX27; - if(true) - break Success75; - } - term = term69; - } - Success76: - { - if(cons3 == transform._consReturning_1) - { - Fail80: - { - IStrategoTerm k_15 = null; - k_15 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX27, termFactory.makeListCons(cool.constFBOX23, termFactory.makeListCons(k_15, (IStrategoList)cool.constCons12)))}); - if(true) - break Success76; - } - term = term69; - } - Success77: - { - if(cons3 == transform._consThrowing_0) - { - Fail81: - { - term = cool.constFBOX28; - if(true) - break Success77; - } - term = term69; - } - Success78: - { - if(cons3 == transform._consThrowing_1) - { - Fail82: - { - IStrategoTerm j_15 = null; - j_15 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX28, termFactory.makeListCons(cool.constFBOX23, termFactory.makeListCons(j_15, (IStrategoList)cool.constCons12)))}); - if(true) - break Success78; - } - term = term69; - } - Success79: - { - if(cons3 == transform._consDecParent_3) - { - Fail83: - { - IStrategoTerm e_15 = null; - IStrategoTerm f_15 = null; - IStrategoTerm g_15 = null; - e_15 = term.getSubterm(0); - f_15 = term.getSubterm(1); - g_15 = term.getSubterm(2); - term = termFactory.makeTuple(e_15, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX30, termFactory.makeListCons(cool.constFBOX29, termFactory.makeListCons(cool.constFBOX21, termFactory.makeListCons(f_15, termFactory.makeListCons(g_15, (IStrategoList)cool.constCons13)))))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail83; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success79; - } - term = term69; - } - Success80: - { - if(cons3 == transform._consDecWarning_3) - { - Fail84: - { - IStrategoTerm z_14 = null; - IStrategoTerm a_15 = null; - IStrategoTerm b_15 = null; - z_14 = term.getSubterm(0); - a_15 = term.getSubterm(1); - b_15 = term.getSubterm(2); - term = termFactory.makeTuple(z_14, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX30, termFactory.makeListCons(cool.constFBOX31, termFactory.makeListCons(cool.constFBOX21, termFactory.makeListCons(a_15, termFactory.makeListCons(cool.constFBOX21, termFactory.makeListCons(b_15, (IStrategoList)cool.constCons13))))))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail84; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success80; - } - term = term69; - } - term = aspectj_to_box_0_0_fragment_0.instance.invoke(context, term); - if(term == null) - break Fail72; - } - } - } - } - } - } - } - } - } - } - } - } - context.popOnSuccess(); - if(true) - return term; - } - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_2.java b/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_2.java deleted file mode 100644 index 0fae5ca..0000000 --- a/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_2.java +++ /dev/null @@ -1,512 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class aspectj_to_box_0_0_fragment_2 extends Strategy -{ - public static aspectj_to_box_0_0_fragment_2 instance = new aspectj_to_box_0_0_fragment_2(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - ITermFactory termFactory = context.getFactory(); - context.push("aspectj_to_box_0_0_fragment_2"); - Fail47: - { - IStrategoTerm term45 = term; - IStrategoConstructor cons2 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success45: - { - if(cons2 == transform._consFieldPattern_4) - { - Fail48: - { - IStrategoTerm f_19 = null; - IStrategoTerm g_19 = null; - IStrategoTerm h_19 = null; - IStrategoTerm i_19 = null; - IStrategoTerm j_19 = null; - IStrategoTerm arg5 = term.getSubterm(0); - if(arg5.getTermType() != IStrategoTerm.APPL || transform._consAnnoPattern_1 != ((IStrategoAppl)arg5).getConstructor()) - break Fail48; - h_19 = arg5.getSubterm(0); - IStrategoTerm arg6 = term.getSubterm(1); - if(arg6.getTermType() != IStrategoTerm.APPL || transform._consModPattern_1 != ((IStrategoAppl)arg6).getConstructor()) - break Fail48; - i_19 = arg6.getSubterm(0); - f_19 = term.getSubterm(2); - g_19 = term.getSubterm(3); - term = termFactory.makeTuple(h_19, i_19); - term = conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail48; - j_19 = term; - term = termFactory.makeTuple(j_19, (IStrategoTerm)termFactory.makeListCons(f_19, termFactory.makeListCons(g_19, (IStrategoList)cool.constNil0))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail48; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success45; - } - term = term45; - } - Success46: - { - if(cons2 == transform._consMemberName_1) - { - Fail49: - { - IStrategoTerm e_19 = null; - e_19 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{e_19}); - if(true) - break Success46; - } - term = term45; - } - Success47: - { - if(cons2 == transform._consMemberName_2) - { - Fail50: - { - IStrategoTerm c_19 = null; - IStrategoTerm d_19 = null; - c_19 = term.getSubterm(0); - d_19 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(c_19, termFactory.makeListCons(cool.constS23, termFactory.makeListCons(termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{d_19}), (IStrategoList)cool.constNil0)))}); - if(true) - break Success47; - } - term = term45; - } - Success48: - { - if(cons2 == transform._consWildcardMemberName_2) - { - Fail51: - { - IStrategoTerm a_19 = null; - IStrategoTerm b_19 = null; - a_19 = term.getSubterm(0); - b_19 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(a_19, termFactory.makeListCons(cool.constS28, termFactory.makeListCons(termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{b_19}), (IStrategoList)cool.constNil0)))}); - if(true) - break Success48; - } - term = term45; - } - Success49: - { - if(cons2 == transform._consConstrName_0) - { - Fail52: - { - term = cool.constFBOX19; - if(true) - break Success49; - } - term = term45; - } - Success50: - { - if(cons2 == transform._consConstrName_1) - { - Fail53: - { - IStrategoTerm z_18 = null; - z_18 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(z_18, (IStrategoList)cool.constCons9)}); - if(true) - break Success50; - } - term = term45; - } - Success51: - { - if(cons2 == transform._consWildcardConstrName_1) - { - Fail54: - { - IStrategoTerm y_18 = null; - y_18 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(y_18, (IStrategoList)cool.constCons10)}); - if(true) - break Success51; - } - term = term45; - } - Success52: - { - if(cons2 == transform._consNot_1) - { - Fail55: - { - IStrategoTerm x_18 = null; - x_18 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS32, termFactory.makeListCons(x_18, (IStrategoList)cool.constNil0))}); - if(true) - break Success52; - } - term = term45; - } - Success53: - { - if(cons2 == transform._consModPattern_1) - { - Fail56: - { - IStrategoTerm w_18 = null; - w_18 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, w_18}); - if(true) - break Success53; - } - term = term45; - } - Success54: - { - if(cons2 == transform._consThrowsPattern_1) - { - Fail57: - { - IStrategoTerm t_18 = null; - t_18 = term.getSubterm(0); - term = separate_by_comma_0_0.instance.invoke(context, t_18); - if(term == null) - break Fail57; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX20, termFactory.makeListCons(term, (IStrategoList)cool.constNil0))}); - if(true) - break Success54; - } - term = term45; - } - Success55: - { - if(cons2 == transform._consNotThrowsCondition_1) - { - Fail58: - { - IStrategoTerm s_18 = null; - s_18 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS32, termFactory.makeListCons(s_18, (IStrategoList)cool.constNil0))}); - if(true) - break Success55; - } - term = term45; - } - Success56: - { - if(cons2 == transform._consThrowsCondition_1) - { - Fail59: - { - IStrategoTerm q_18 = null; - q_18 = term.getSubterm(0); - term = has_leftmost_not_0_0.instance.invoke(context, q_18); - if(term == null) - break Fail59; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS1, termFactory.makeListCons(q_18, (IStrategoList)cool.constCons1))}); - if(true) - break Success56; - } - term = term45; - } - Success57: - { - if(cons2 == transform._consThrowsCondition_1) - { - Fail60: - { - IStrategoTerm o_18 = null; - o_18 = term.getSubterm(0); - term = o_18; - IStrategoTerm term58 = term; - Success58: - { - Fail61: - { - term = has_leftmost_not_0_0.instance.invoke(context, term); - if(term == null) - break Fail61; - { - if(true) - break Fail60; - if(true) - break Success58; - } - } - term = term58; - } - term = o_18; - if(true) - break Success57; - } - term = term45; - } - Success59: - { - if(cons2 == transform._consSimpleAnnoPatternExact_1) - { - Fail62: - { - IStrategoTerm n_18 = null; - n_18 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS34, termFactory.makeListCons(n_18, (IStrategoList)cool.constNil0))}); - if(true) - break Success59; - } - term = term45; - } - Success60: - { - if(cons2 == transform._consSimpleAnnoPattern_1) - { - Fail63: - { - IStrategoTerm m_18 = null; - m_18 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS34, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(m_18, (IStrategoList)cool.constCons1)))}); - if(true) - break Success60; - } - term = term45; - } - Success61: - { - if(cons2 == transform._consSimpleAnnoPatternValue_2) - { - Fail64: - { - IStrategoTerm k_18 = null; - IStrategoTerm l_18 = null; - k_18 = term.getSubterm(0); - l_18 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS34, termFactory.makeListCons(k_18, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(l_18, (IStrategoList)cool.constCons1))))}); - if(true) - break Success61; - } - term = term45; - } - Success62: - { - if(cons2 == transform._consNotComp_1) - { - Fail65: - { - IStrategoTerm j_18 = null; - j_18 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS32, termFactory.makeListCons(j_18, (IStrategoList)cool.constNil0))}); - if(true) - break Success62; - } - term = term45; - } - Success63: - { - if(cons2 == transform._consAndComp_2) - { - Fail66: - { - IStrategoTerm h_18 = null; - IStrategoTerm i_18 = null; - h_18 = term.getSubterm(0); - i_18 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, (IStrategoTerm)termFactory.makeListCons(h_18, termFactory.makeListCons(cool.constS35, termFactory.makeListCons(i_18, (IStrategoList)cool.constNil0)))}); - if(true) - break Success63; - } - term = term45; - } - Success64: - { - if(cons2 == transform._consOrComp_2) - { - Fail67: - { - IStrategoTerm f_18 = null; - IStrategoTerm g_18 = null; - f_18 = term.getSubterm(0); - g_18 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, (IStrategoTerm)termFactory.makeListCons(f_18, termFactory.makeListCons(cool.constS36, termFactory.makeListCons(g_18, (IStrategoList)cool.constNil0)))}); - if(true) - break Success64; - } - term = term45; - } - Success65: - { - if(cons2 == transform._consIntertypeMethodDec_2) - { - Fail68: - { - IStrategoTerm d_18 = null; - IStrategoTerm e_18 = null; - d_18 = term.getSubterm(0); - IStrategoTerm arg7 = term.getSubterm(1); - e_18 = arg7; - if(arg7.getTermType() != IStrategoTerm.APPL || transform._consBlock_1 != ((IStrategoAppl)arg7).getConstructor()) - break Fail68; - term = termFactory.makeAppl(transform._consV_2, new IStrategoTerm[]{cool.constCons11, (IStrategoTerm)termFactory.makeListCons(d_18, termFactory.makeListCons(e_18, (IStrategoList)cool.constNil0))}); - if(true) - break Success65; - } - term = term45; - } - Success66: - { - if(cons2 == transform._consIntertypeMethodDec_2) - { - Fail69: - { - IStrategoTerm c_18 = null; - c_18 = term.getSubterm(0); - IStrategoTerm arg9 = term.getSubterm(1); - if(arg9.getTermType() != IStrategoTerm.APPL || transform._consNoMethodBody_0 != ((IStrategoAppl)arg9).getConstructor()) - break Fail69; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(c_18, (IStrategoList)cool.constCons5)}); - if(true) - break Success66; - } - term = term45; - } - Success67: - { - if(cons2 == transform._consIntertypeMethodDecHead_8) - { - Fail70: - { - IStrategoTerm k_17 = null; - IStrategoTerm l_17 = null; - IStrategoTerm m_17 = null; - IStrategoTerm n_17 = null; - IStrategoTerm o_17 = null; - IStrategoTerm p_17 = null; - IStrategoTerm q_17 = null; - IStrategoTerm r_17 = null; - IStrategoTerm s_17 = null; - IStrategoTerm t_17 = null; - IStrategoTerm u_17 = null; - IStrategoTerm v_17 = null; - IStrategoTerm w_17 = null; - IStrategoTerm x_17 = null; - IStrategoTerm a_18 = null; - IStrategoTerm b_18 = null; - u_17 = term.getSubterm(0); - p_17 = term.getSubterm(1); - k_17 = term.getSubterm(2); - l_17 = term.getSubterm(3); - q_17 = term.getSubterm(4); - IStrategoTerm arg10 = term.getSubterm(5); - if(arg10.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg10).getConstructor()) - break Fail70; - m_17 = arg10.getSubterm(0); - n_17 = term.getSubterm(6); - s_17 = term.getSubterm(7); - x_17 = term; - term = list_to_args_0_0.instance.invoke(context, n_17); - if(term == null) - break Fail70; - o_17 = term; - term = type_params_to_boxes_0_0.instance.invoke(context, p_17); - if(term == null) - break Fail70; - v_17 = term; - term = type_params_to_boxes_0_0.instance.invoke(context, q_17); - if(term == null) - break Fail70; - r_17 = term; - term = option_to_boxes_0_0.instance.invoke(context, s_17); - if(term == null) - break Fail70; - t_17 = term; - term = termFactory.makeTuple(u_17, v_17); - term = conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail70; - w_17 = term; - term = x_17; - b_18 = term; - term = termFactory.makeTuple(r_17, (IStrategoTerm)termFactory.makeListCons(cool.constS23, termFactory.makeListCons(termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{m_17}), termFactory.makeListCons(o_17, (IStrategoList)cool.constNil0)))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail70; - a_18 = term; - term = b_18; - IStrategoList list2; - IStrategoList list1; - list1 = checkListTail(t_17); - if(list1 == null) - break Fail70; - list2 = checkListTail(a_18); - if(list2 == null) - break Fail70; - term = termFactory.makeTuple(w_17, (IStrategoTerm)termFactory.makeListCons(k_17, termFactory.makeListCons(termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(l_17, list2)}), list1))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail70; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success67; - } - term = term45; - } - Success68: - { - if(cons2 == transform._consIntertypeConstrDec_2) - { - Fail71: - { - IStrategoTerm i_17 = null; - IStrategoTerm j_17 = null; - i_17 = term.getSubterm(0); - j_17 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consV_2, new IStrategoTerm[]{cool.constCons11, (IStrategoTerm)termFactory.makeListCons(i_17, termFactory.makeListCons(j_17, (IStrategoList)cool.constNil0))}); - if(true) - break Success68; - } - term = term45; - } - term = aspectj_to_box_0_0_fragment_1.instance.invoke(context, term); - if(term == null) - break Fail47; - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - context.popOnSuccess(); - if(true) - return term; - } - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_3.java b/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_3.java deleted file mode 100644 index 7da8f0a..0000000 --- a/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_3.java +++ /dev/null @@ -1,542 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class aspectj_to_box_0_0_fragment_3 extends Strategy -{ - public static aspectj_to_box_0_0_fragment_3 instance = new aspectj_to_box_0_0_fragment_3(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - ITermFactory termFactory = context.getFactory(); - context.push("aspectj_to_box_0_0_fragment_3"); - Fail19: - { - IStrategoTerm term18 = term; - IStrategoConstructor cons1 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success18: - { - if(cons1 == transform._consAtWithin_1) - { - Fail20: - { - IStrategoTerm u_21 = null; - u_21 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS19, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(u_21, (IStrategoList)cool.constCons1)))}); - if(true) - break Success18; - } - term = term18; - } - Success19: - { - if(cons1 == transform._consAtWithinCode_1) - { - Fail21: - { - IStrategoTerm t_21 = null; - t_21 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS20, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(t_21, (IStrategoList)cool.constCons1)))}); - if(true) - break Success19; - } - term = term18; - } - Success20: - { - if(cons1 == transform._consAtAnno_1) - { - Fail22: - { - IStrategoTerm s_21 = null; - s_21 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS21, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(s_21, (IStrategoList)cool.constCons1)))}); - if(true) - break Success20; - } - term = term18; - } - Success21: - { - if(cons1 == transform._consAtArgs_1) - { - Fail23: - { - IStrategoTerm p_21 = null; - p_21 = term.getSubterm(0); - term = list_to_args_0_0.instance.invoke(context, p_21); - if(term == null) - break Fail23; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS22, termFactory.makeListCons(term, (IStrategoList)cool.constNil0))}); - if(true) - break Success21; - } - term = term18; - } - Success22: - { - if(cons1 == transform._consPointcutName_1) - { - Fail24: - { - IStrategoTerm o_21 = null; - o_21 = term.getSubterm(0); - term = o_21; - if(true) - break Success22; - } - term = term18; - } - Success23: - { - if(cons1 == transform._consPointcutName_2) - { - Fail25: - { - IStrategoTerm m_21 = null; - IStrategoTerm n_21 = null; - m_21 = term.getSubterm(0); - n_21 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(m_21, termFactory.makeListCons(cool.constS23, termFactory.makeListCons(n_21, (IStrategoList)cool.constNil0)))}); - if(true) - break Success23; - } - term = term18; - } - Success24: - { - if(cons1 == transform._consPointcutDec_2) - { - Fail26: - { - IStrategoTerm k_21 = null; - IStrategoTerm l_21 = null; - k_21 = term.getSubterm(0); - l_21 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, (IStrategoTerm)termFactory.makeListCons(k_21, termFactory.makeListCons(l_21, (IStrategoList)cool.constNil0))}); - if(true) - break Success24; - } - term = term18; - } - Success25: - { - if(cons1 == transform._consPointcutDecHead_3) - { - Fail27: - { - IStrategoTerm d_21 = null; - IStrategoTerm e_21 = null; - IStrategoTerm f_21 = null; - IStrategoTerm g_21 = null; - d_21 = term.getSubterm(0); - e_21 = term.getSubterm(1); - f_21 = term.getSubterm(2); - term = list_to_args_0_0.instance.invoke(context, f_21); - if(term == null) - break Fail27; - g_21 = term; - term = termFactory.makeTuple(d_21, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX15, termFactory.makeListCons(e_21, termFactory.makeListCons(g_21, (IStrategoList)cool.constNil0)))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail27; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success25; - } - term = term18; - } - Success26: - { - if(cons1 == transform._consPointcutBody_1) - { - Fail28: - { - IStrategoTerm c_21 = null; - c_21 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS26, termFactory.makeListCons(c_21, (IStrategoList)cool.constCons5))}); - if(true) - break Success26; - } - term = term18; - } - Success27: - { - if(cons1 == transform._consNoPointcutBody_0) - { - Fail29: - { - term = cool.constFBOX16; - if(true) - break Success27; - } - term = term18; - } - Success28: - { - if(cons1 == transform._consRefTypePattern_1) - { - Fail30: - { - IStrategoTerm b_21 = null; - b_21 = term.getSubterm(0); - term = b_21; - if(true) - break Success28; - } - term = term18; - } - Success29: - { - if(cons1 == transform._consPrimTypePattern_1) - { - Fail31: - { - IStrategoTerm a_21 = null; - a_21 = term.getSubterm(0); - term = a_21; - if(true) - break Success29; - } - term = term18; - } - Success30: - { - if(cons1 == transform._consSubtype_1) - { - Fail32: - { - IStrategoTerm z_20 = null; - z_20 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(z_20, (IStrategoList)cool.constCons6)}); - if(true) - break Success30; - } - term = term18; - } - Success31: - { - if(cons1 == transform._consGenericTypePattern_2) - { - Fail33: - { - IStrategoTerm x_20 = null; - IStrategoTerm y_20 = null; - x_20 = term.getSubterm(0); - y_20 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(x_20, termFactory.makeListCons(y_20, (IStrategoList)cool.constNil0))}); - if(true) - break Success31; - } - term = term18; - } - Success32: - { - if(cons1 == transform._consGenericSubtypePattern_2) - { - Fail34: - { - IStrategoTerm v_20 = null; - IStrategoTerm w_20 = null; - v_20 = term.getSubterm(0); - w_20 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(v_20, termFactory.makeListCons(w_20, (IStrategoList)cool.constCons6))}); - if(true) - break Success32; - } - term = term18; - } - Success33: - { - if(cons1 == transform._consAnnoTypePattern_2) - { - Fail35: - { - IStrategoTerm r_20 = null; - IStrategoTerm s_20 = null; - IStrategoTerm arg0 = term.getSubterm(0); - if(arg0.getTermType() != IStrategoTerm.APPL || transform._consAnnoPattern_1 != ((IStrategoAppl)arg0).getConstructor()) - break Fail35; - r_20 = arg0.getSubterm(0); - s_20 = term.getSubterm(1); - term = termFactory.makeTuple(r_20, (IStrategoTerm)termFactory.makeListCons(s_20, (IStrategoList)cool.constNil0)); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail35; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}), (IStrategoList)cool.constNil0)}); - if(true) - break Success33; - } - term = term18; - } - Success34: - { - if(cons1 == transform._consNamePattern_1) - { - Fail36: - { - IStrategoTerm q_20 = null; - q_20 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{q_20}), (IStrategoList)cool.constNil0)}); - if(true) - break Success34; - } - term = term18; - } - Success35: - { - if(cons1 == transform._consNamePattern_2) - { - Fail37: - { - IStrategoTerm o_20 = null; - IStrategoTerm p_20 = null; - o_20 = term.getSubterm(0); - p_20 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(o_20, termFactory.makeListCons(cool.constFBOX17, termFactory.makeListCons(termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{p_20}), (IStrategoList)cool.constNil0)))}); - if(true) - break Success35; - } - term = term18; - } - Success36: - { - if(cons1 == transform._consWildcardNamePattern_2) - { - Fail38: - { - IStrategoTerm m_20 = null; - IStrategoTerm n_20 = null; - m_20 = term.getSubterm(0); - n_20 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(m_20, termFactory.makeListCons(cool.constFBOX18, termFactory.makeListCons(termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{n_20}), (IStrategoList)cool.constNil0)))}); - if(true) - break Success36; - } - term = term18; - } - Success37: - { - if(cons1 == transform._consFormalWildcard_0) - { - Fail39: - { - term = cool.constS28; - if(true) - break Success37; - } - term = term18; - } - Success38: - { - if(cons1 == transform._consVarArityParamPattern_1) - { - Fail40: - { - IStrategoTerm l_20 = null; - l_20 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, (IStrategoTerm)termFactory.makeListCons(l_20, (IStrategoList)cool.constCons7)}); - if(true) - break Success38; - } - term = term18; - } - Success39: - { - if(cons1 == transform._consRegularTypePattern_1) - { - Fail41: - { - IStrategoTerm k_20 = null; - k_20 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(k_20, (IStrategoList)cool.constNil0)}); - if(true) - break Success39; - } - term = term18; - } - Success40: - { - if(cons1 == transform._consWildcard_0) - { - Fail42: - { - term = cool.constS30; - if(true) - break Success40; - } - term = term18; - } - Success41: - { - if(cons1 == transform._consDotWildcard_0) - { - Fail43: - { - term = cool.constS28; - if(true) - break Success41; - } - term = term18; - } - Success42: - { - if(cons1 == transform._consSimpleNamePattern_1) - { - Fail44: - { - IStrategoTerm j_20 = null; - j_20 = term.getSubterm(0); - term = j_20; - if(true) - break Success42; - } - term = term18; - } - Success43: - { - if(cons1 == transform._consMethodPattern_6) - { - Fail45: - { - IStrategoTerm x_19 = null; - IStrategoTerm y_19 = null; - IStrategoTerm z_19 = null; - IStrategoTerm a_20 = null; - IStrategoTerm b_20 = null; - IStrategoTerm c_20 = null; - IStrategoTerm d_20 = null; - IStrategoTerm e_20 = null; - IStrategoTerm f_20 = null; - IStrategoTerm g_20 = null; - IStrategoTerm arg1 = term.getSubterm(0); - if(arg1.getTermType() != IStrategoTerm.APPL || transform._consAnnoPattern_1 != ((IStrategoAppl)arg1).getConstructor()) - break Fail45; - z_19 = arg1.getSubterm(0); - IStrategoTerm arg2 = term.getSubterm(1); - if(arg2.getTermType() != IStrategoTerm.APPL || transform._consModPattern_1 != ((IStrategoAppl)arg2).getConstructor()) - break Fail45; - a_20 = arg2.getSubterm(0); - x_19 = term.getSubterm(2); - y_19 = term.getSubterm(3); - c_20 = term.getSubterm(4); - e_20 = term.getSubterm(5); - g_20 = term; - term = termFactory.makeTuple(z_19, a_20); - term = conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail45; - b_20 = term; - term = list_to_args_0_0.instance.invoke(context, c_20); - if(term == null) - break Fail45; - d_20 = term; - term = option_to_boxes_0_0.instance.invoke(context, e_20); - if(term == null) - break Fail45; - f_20 = term; - term = g_20; - IStrategoList list0; - list0 = checkListTail(f_20); - if(list0 == null) - break Fail45; - term = termFactory.makeTuple(b_20, (IStrategoTerm)termFactory.makeListCons(x_19, termFactory.makeListCons(termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(y_19, termFactory.makeListCons(d_20, (IStrategoList)cool.constNil0))}), list0))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail45; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success43; - } - term = term18; - } - Success44: - { - if(cons1 == transform._consConstrPattern_5) - { - Fail46: - { - IStrategoTerm n_19 = null; - IStrategoTerm o_19 = null; - IStrategoTerm p_19 = null; - IStrategoTerm q_19 = null; - IStrategoTerm r_19 = null; - IStrategoTerm s_19 = null; - IStrategoTerm t_19 = null; - IStrategoTerm arg3 = term.getSubterm(0); - if(arg3.getTermType() != IStrategoTerm.APPL || transform._consAnnoPattern_1 != ((IStrategoAppl)arg3).getConstructor()) - break Fail46; - p_19 = arg3.getSubterm(0); - IStrategoTerm arg4 = term.getSubterm(1); - if(arg4.getTermType() != IStrategoTerm.APPL || transform._consModPattern_1 != ((IStrategoAppl)arg4).getConstructor()) - break Fail46; - q_19 = arg4.getSubterm(0); - n_19 = term.getSubterm(2); - s_19 = term.getSubterm(3); - o_19 = term.getSubterm(4); - term = termFactory.makeTuple(p_19, q_19); - term = conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail46; - r_19 = term; - term = list_to_args_0_0.instance.invoke(context, s_19); - if(term == null) - break Fail46; - t_19 = term; - term = termFactory.makeTuple(r_19, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(n_19, termFactory.makeListCons(t_19, (IStrategoList)cool.constNil0))}), termFactory.makeListCons(o_19, (IStrategoList)cool.constNil0))); - term = make$Conc_0_0.instance.invoke(context, term); - if(term == null) - break Fail46; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons4, term}); - if(true) - break Success44; - } - term = term18; - } - term = aspectj_to_box_0_0_fragment_2.instance.invoke(context, term); - if(term == null) - break Fail19; - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - context.popOnSuccess(); - if(true) - return term; - } - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_4.java b/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_4.java deleted file mode 100644 index 6e9d905..0000000 --- a/coolf/src/main/java/cool/aspectj_to_box_0_0_fragment_4.java +++ /dev/null @@ -1,312 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class aspectj_to_box_0_0_fragment_4 extends Strategy -{ - public static aspectj_to_box_0_0_fragment_4 instance = new aspectj_to_box_0_0_fragment_4(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - ITermFactory termFactory = context.getFactory(); - context.push("aspectj_to_box_0_0_fragment_4"); - Fail0: - { - IStrategoTerm term0 = term; - IStrategoConstructor cons0 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success0: - { - if(cons0 == transform._consInitExec_1) - { - Fail1: - { - IStrategoTerm q_22 = null; - q_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX0, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(q_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success0; - } - term = term0; - } - Success1: - { - if(cons0 == transform._consPreInitExec_1) - { - Fail2: - { - IStrategoTerm p_22 = null; - p_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX1, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(p_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success1; - } - term = term0; - } - Success2: - { - if(cons0 == transform._consStaticInitExec_1) - { - Fail3: - { - IStrategoTerm o_22 = null; - o_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX2, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(o_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success2; - } - term = term0; - } - Success3: - { - if(cons0 == transform._consGetField_1) - { - Fail4: - { - IStrategoTerm n_22 = null; - n_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX3, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(n_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success3; - } - term = term0; - } - Success4: - { - if(cons0 == transform._consSetField_1) - { - Fail5: - { - IStrategoTerm m_22 = null; - m_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX4, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(m_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success4; - } - term = term0; - } - Success5: - { - if(cons0 == transform._consHandler_1) - { - Fail6: - { - IStrategoTerm l_22 = null; - l_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX5, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(l_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success5; - } - term = term0; - } - Success6: - { - if(cons0 == transform._consAdviceExec_0) - { - Fail7: - { - term = cool.constH0; - if(true) - break Success6; - } - term = term0; - } - Success7: - { - if(cons0 == transform._consWithin_1) - { - Fail8: - { - IStrategoTerm k_22 = null; - k_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX7, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(k_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success7; - } - term = term0; - } - Success8: - { - if(cons0 == transform._consWithinCode_1) - { - Fail9: - { - IStrategoTerm j_22 = null; - j_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX8, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(j_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success8; - } - term = term0; - } - Success9: - { - if(cons0 == transform._consCFlow_1) - { - Fail10: - { - IStrategoTerm i_22 = null; - i_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX9, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(i_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success9; - } - term = term0; - } - Success10: - { - if(cons0 == transform._consCFlowBelow_1) - { - Fail11: - { - IStrategoTerm h_22 = null; - h_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX10, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(h_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success10; - } - term = term0; - } - Success11: - { - if(cons0 == transform._consIf_1) - { - Fail12: - { - IStrategoTerm g_22 = null; - g_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX11, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(g_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success11; - } - term = term0; - } - Success12: - { - if(cons0 == transform._consThis_1) - { - Fail13: - { - IStrategoTerm f_22 = null; - f_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX12, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(f_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success12; - } - term = term0; - } - Success13: - { - if(cons0 == transform._consTarget_1) - { - Fail14: - { - IStrategoTerm e_22 = null; - e_22 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX13, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(e_22, (IStrategoList)cool.constCons1)))}); - if(true) - break Success13; - } - term = term0; - } - Success14: - { - if(cons0 == transform._consArgs_1) - { - Fail15: - { - IStrategoTerm b_22 = null; - b_22 = term.getSubterm(0); - term = list_to_args_0_0.instance.invoke(context, b_22); - if(term == null) - break Fail15; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constFBOX14, termFactory.makeListCons(term, (IStrategoList)cool.constNil0))}); - if(true) - break Success14; - } - term = term0; - } - Success15: - { - if(cons0 == transform._consNamedPointcut_2) - { - Fail16: - { - IStrategoTerm x_21 = null; - IStrategoTerm y_21 = null; - x_21 = term.getSubterm(0); - y_21 = term.getSubterm(1); - term = list_to_args_0_0.instance.invoke(context, y_21); - if(term == null) - break Fail16; - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(x_21, termFactory.makeListCons(term, (IStrategoList)cool.constNil0))}); - if(true) - break Success15; - } - term = term0; - } - Success16: - { - if(cons0 == transform._consAtThis_1) - { - Fail17: - { - IStrategoTerm w_21 = null; - w_21 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS17, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(w_21, (IStrategoList)cool.constCons1)))}); - if(true) - break Success16; - } - term = term0; - } - Success17: - { - if(cons0 == transform._consAtTarget_1) - { - Fail18: - { - IStrategoTerm v_21 = null; - v_21 = term.getSubterm(0); - term = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, (IStrategoTerm)termFactory.makeListCons(cool.constS18, termFactory.makeListCons(cool.constS1, termFactory.makeListCons(v_21, (IStrategoList)cool.constCons1)))}); - if(true) - break Success17; - } - term = term0; - } - term = aspectj_to_box_0_0_fragment_3.instance.invoke(context, term); - if(term == null) - break Fail0; - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - context.popOnSuccess(); - if(true) - return term; - } - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/cast_bounded_arithmetic_type_0_0.java b/coolf/src/main/java/cool/cast_bounded_arithmetic_type_0_0.java index fa1b7f5..6e23370 100644 --- a/coolf/src/main/java/cool/cast_bounded_arithmetic_type_0_0.java +++ b/coolf/src/main/java/cool/cast_bounded_arithmetic_type_0_0.java @@ -18,148 +18,148 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("cast_bounded_arithmetic_type_0_0"); - Fail183: + Fail69: { - IStrategoTerm u_39 = null; - IStrategoTerm v_39 = null; - IStrategoTerm w_39 = null; - u_39 = term; - w_39 = term; - v_39 = u_39; - term = w_39; - IStrategoTerm term205 = term; - Success160: + IStrategoTerm v_23 = null; + IStrategoTerm w_23 = null; + IStrategoTerm x_23 = null; + v_23 = term; + x_23 = term; + w_23 = v_23; + term = x_23; + IStrategoTerm term99 = term; + Success57: { - Fail184: + Fail70: { - IStrategoTerm x_39 = null; - x_39 = term; - term = v_39; + IStrategoTerm y_23 = null; + y_23 = term; + term = w_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consByte_0 != ((IStrategoAppl)term).getConstructor()) - break Fail184; - term = x_39; + break Fail70; + term = y_23; { term = cool.constInt0; if(true) - break Success160; + break Success57; } } - term = term205; - IStrategoTerm term206 = term; - Success161: + term = term99; + IStrategoTerm term100 = term; + Success58: { - Fail185: + Fail71: { - IStrategoTerm y_39 = null; - y_39 = term; - term = v_39; + IStrategoTerm z_23 = null; + z_23 = term; + term = w_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consShort_0 != ((IStrategoAppl)term).getConstructor()) - break Fail185; - term = y_39; + break Fail71; + term = z_23; { term = cool.constInt0; if(true) - break Success161; + break Success58; } } - term = term206; - IStrategoTerm term207 = term; - Success162: + term = term100; + IStrategoTerm term101 = term; + Success59: { - Fail186: + Fail72: { - IStrategoTerm z_39 = null; - z_39 = term; - term = v_39; + IStrategoTerm a_24 = null; + a_24 = term; + term = w_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consInt_0 != ((IStrategoAppl)term).getConstructor()) - break Fail186; - term = z_39; + break Fail72; + term = a_24; { term = cool.constInt0; if(true) - break Success162; + break Success59; } } - term = term207; - IStrategoTerm term208 = term; - Success163: + term = term101; + IStrategoTerm term102 = term; + Success60: { - Fail187: + Fail73: { - IStrategoTerm a_40 = null; - a_40 = term; - term = v_39; + IStrategoTerm b_24 = null; + b_24 = term; + term = w_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consLong_0 != ((IStrategoAppl)term).getConstructor()) - break Fail187; - term = a_40; + break Fail73; + term = b_24; { term = cool.constLong0; if(true) - break Success163; + break Success60; } } - term = term208; - IStrategoTerm term209 = term; - Success164: + term = term102; + IStrategoTerm term103 = term; + Success61: { - Fail188: + Fail74: { - IStrategoTerm b_40 = null; - b_40 = term; - term = or_2_0.instance.invoke(context, v_39, lifted72.instance, lifted73.instance); + IStrategoTerm c_24 = null; + c_24 = term; + term = or_2_0.instance.invoke(context, w_23, lifted68.instance, lifted69.instance); if(term == null) - break Fail188; - term = b_40; + break Fail74; + term = c_24; { term = cool.constFloat0; if(true) - break Success164; + break Success61; } } - term = term209; - IStrategoTerm term210 = term; - Success165: + term = term103; + IStrategoTerm term104 = term; + Success62: { - Fail189: + Fail75: { - IStrategoTerm c_40 = null; - c_40 = term; - term = v_39; + IStrategoTerm d_24 = null; + d_24 = term; + term = w_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consDouble_0 != ((IStrategoAppl)term).getConstructor()) - break Fail189; - term = c_40; + break Fail75; + term = d_24; { term = cool.constDouble0; if(true) - break Success165; + break Success62; } } - term = term210; - Success166: + term = term104; + Success63: { - Fail190: + Fail76: { - IStrategoTerm d_40 = null; - d_40 = term; - term = v_39; + IStrategoTerm e_24 = null; + e_24 = term; + term = w_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consDeci_1 != ((IStrategoAppl)term).getConstructor()) - break Fail190; - term = d_40; + break Fail76; + term = e_24; { term = cool.constLong0; if(true) - break Success166; + break Success63; } } - term = debug_0_0.instance.invoke(context, cool.const80); + term = debug_0_0.instance.invoke(context, cool.const12); if(term == null) - break Fail183; - term = debug_0_0.instance.invoke(context, u_39); + break Fail69; + term = debug_0_0.instance.invoke(context, v_23); if(term == null) - break Fail183; - term = cool.const77; + break Fail69; + term = cool.const9; if(true) - break Fail183; + break Fail69; } } } diff --git a/coolf/src/main/java/cool/cast_bounded_conditional_type_0_0.java b/coolf/src/main/java/cool/cast_bounded_conditional_type_0_0.java index 88ba020..ee8a5db 100644 --- a/coolf/src/main/java/cool/cast_bounded_conditional_type_0_0.java +++ b/coolf/src/main/java/cool/cast_bounded_conditional_type_0_0.java @@ -18,112 +18,112 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("cast_bounded_conditional_type_0_0"); - Fail169: + Fail55: { - IStrategoTerm y_38 = null; - IStrategoTerm z_38 = null; - IStrategoTerm a_39 = null; - y_38 = term; - a_39 = term; - z_38 = y_38; - term = a_39; - IStrategoTerm term193 = term; - Success148: + IStrategoTerm z_22 = null; + IStrategoTerm a_23 = null; + IStrategoTerm b_23 = null; + z_22 = term; + b_23 = term; + a_23 = z_22; + term = b_23; + IStrategoTerm term87 = term; + Success45: { - Fail170: + Fail56: { - IStrategoTerm b_39 = null; - b_39 = term; - term = z_38; + IStrategoTerm c_23 = null; + c_23 = term; + term = a_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consInt_0 != ((IStrategoAppl)term).getConstructor()) - break Fail170; - term = b_39; + break Fail56; + term = c_23; { term = cool.constInt0; if(true) - break Success148; + break Success45; } } - term = term193; - IStrategoTerm term194 = term; - Success149: + term = term87; + IStrategoTerm term88 = term; + Success46: { - Fail171: + Fail57: { - IStrategoTerm c_39 = null; - c_39 = term; - term = z_38; + IStrategoTerm d_23 = null; + d_23 = term; + term = a_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consLong_0 != ((IStrategoAppl)term).getConstructor()) - break Fail171; - term = c_39; + break Fail57; + term = d_23; { term = cool.constLong0; if(true) - break Success149; + break Success46; } } - term = term194; - IStrategoTerm term195 = term; - Success150: + term = term88; + IStrategoTerm term89 = term; + Success47: { - Fail172: + Fail58: { - IStrategoTerm d_39 = null; - d_39 = term; - term = z_38; + IStrategoTerm e_23 = null; + e_23 = term; + term = a_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consDeci_1 != ((IStrategoAppl)term).getConstructor()) - break Fail172; - term = d_39; + break Fail58; + term = e_23; { term = cool.constLong0; if(true) - break Success150; + break Success47; } } - term = term195; - IStrategoTerm term196 = term; - Success151: + term = term89; + IStrategoTerm term90 = term; + Success48: { - Fail173: + Fail59: { - IStrategoTerm e_39 = null; - e_39 = term; - term = z_38; + IStrategoTerm f_23 = null; + f_23 = term; + term = a_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consDouble_0 != ((IStrategoAppl)term).getConstructor()) - break Fail173; - term = e_39; + break Fail59; + term = f_23; { term = cool.constLong0; if(true) - break Success151; + break Success48; } } - term = term196; - Success152: + term = term90; + Success49: { - Fail174: + Fail60: { - IStrategoTerm f_39 = null; - f_39 = term; - term = or_2_0.instance.invoke(context, z_38, lifted68.instance, lifted69.instance); + IStrategoTerm g_23 = null; + g_23 = term; + term = or_2_0.instance.invoke(context, a_23, lifted64.instance, lifted65.instance); if(term == null) - break Fail174; - term = f_39; + break Fail60; + term = g_23; { term = cool.constBoolean0; if(true) - break Success152; + break Success49; } } - term = debug_0_0.instance.invoke(context, cool.const80); + term = debug_0_0.instance.invoke(context, cool.const12); if(term == null) - break Fail169; - term = debug_0_0.instance.invoke(context, y_38); + break Fail55; + term = debug_0_0.instance.invoke(context, z_22); if(term == null) - break Fail169; - term = cool.const77; + break Fail55; + term = cool.const9; if(true) - break Fail169; + break Fail55; } } } diff --git a/coolf/src/main/java/cool/cast_conditional_type_0_0.java b/coolf/src/main/java/cool/cast_conditional_type_0_0.java index 2354f31..7b9f911 100644 --- a/coolf/src/main/java/cool/cast_conditional_type_0_0.java +++ b/coolf/src/main/java/cool/cast_conditional_type_0_0.java @@ -18,148 +18,148 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("cast_conditional_type_0_0"); - Fail191: + Fail77: { - IStrategoTerm g_40 = null; - IStrategoTerm h_40 = null; - IStrategoTerm i_40 = null; - g_40 = term; - i_40 = term; - h_40 = g_40; - term = i_40; - IStrategoTerm term212 = term; - Success167: + IStrategoTerm h_24 = null; + IStrategoTerm i_24 = null; + IStrategoTerm j_24 = null; + h_24 = term; + j_24 = term; + i_24 = h_24; + term = j_24; + IStrategoTerm term106 = term; + Success64: { - Fail192: + Fail78: { - IStrategoTerm j_40 = null; - j_40 = term; - term = h_40; + IStrategoTerm k_24 = null; + k_24 = term; + term = i_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consByte_0 != ((IStrategoAppl)term).getConstructor()) - break Fail192; - term = j_40; + break Fail78; + term = k_24; { term = cool.constLong0; if(true) - break Success167; + break Success64; } } - term = term212; - IStrategoTerm term213 = term; - Success168: + term = term106; + IStrategoTerm term107 = term; + Success65: { - Fail193: + Fail79: { - IStrategoTerm k_40 = null; - k_40 = term; - term = or_2_0.instance.invoke(context, h_40, lifted74.instance, lifted75.instance); + IStrategoTerm l_24 = null; + l_24 = term; + term = or_2_0.instance.invoke(context, i_24, lifted70.instance, lifted71.instance); if(term == null) - break Fail193; - term = k_40; + break Fail79; + term = l_24; { term = cool.constLong0; if(true) - break Success168; + break Success65; } } - term = term213; - IStrategoTerm term214 = term; - Success169: + term = term107; + IStrategoTerm term108 = term; + Success66: { - Fail194: + Fail80: { - IStrategoTerm l_40 = null; - l_40 = term; - term = h_40; + IStrategoTerm m_24 = null; + m_24 = term; + term = i_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consShort_0 != ((IStrategoAppl)term).getConstructor()) - break Fail194; - term = l_40; + break Fail80; + term = m_24; { term = cool.constLong0; if(true) - break Success169; + break Success66; } } - term = term214; - IStrategoTerm term215 = term; - Success170: + term = term108; + IStrategoTerm term109 = term; + Success67: { - Fail195: + Fail81: { - IStrategoTerm m_40 = null; - m_40 = term; - term = h_40; + IStrategoTerm n_24 = null; + n_24 = term; + term = i_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consInt_0 != ((IStrategoAppl)term).getConstructor()) - break Fail195; - term = m_40; + break Fail81; + term = n_24; { term = cool.constLong0; if(true) - break Success170; + break Success67; } } - term = term215; - IStrategoTerm term216 = term; - Success171: + term = term109; + IStrategoTerm term110 = term; + Success68: { - Fail196: + Fail82: { - IStrategoTerm n_40 = null; - n_40 = term; - term = h_40; + IStrategoTerm o_24 = null; + o_24 = term; + term = i_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consLong_0 != ((IStrategoAppl)term).getConstructor()) - break Fail196; - term = n_40; + break Fail82; + term = o_24; { term = cool.constLong0; if(true) - break Success171; + break Success68; } } - term = term216; - IStrategoTerm term217 = term; - Success172: + term = term110; + IStrategoTerm term111 = term; + Success69: { - Fail197: + Fail83: { - IStrategoTerm o_40 = null; - o_40 = term; - term = h_40; + IStrategoTerm p_24 = null; + p_24 = term; + term = i_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consDeci_1 != ((IStrategoAppl)term).getConstructor()) - break Fail197; - term = o_40; + break Fail83; + term = p_24; { term = cool.constLong0; if(true) - break Success172; + break Success69; } } - term = term217; - Success173: + term = term111; + Success70: { - Fail198: + Fail84: { - IStrategoTerm p_40 = null; - p_40 = term; - term = or_2_0.instance.invoke(context, h_40, lifted76.instance, lifted77.instance); + IStrategoTerm q_24 = null; + q_24 = term; + term = or_2_0.instance.invoke(context, i_24, lifted72.instance, lifted73.instance); if(term == null) - break Fail198; - term = p_40; + break Fail84; + term = q_24; { term = cool.constBoolean0; if(true) - break Success173; + break Success70; } } - term = debug_0_0.instance.invoke(context, cool.const80); + term = debug_0_0.instance.invoke(context, cool.const12); if(term == null) - break Fail191; - term = debug_0_0.instance.invoke(context, g_40); + break Fail77; + term = debug_0_0.instance.invoke(context, h_24); if(term == null) - break Fail191; - term = cool.const77; + break Fail77; + term = cool.const9; if(true) - break Fail191; + break Fail77; } } } diff --git a/coolf/src/main/java/cool/cast_equality_type_0_0.java b/coolf/src/main/java/cool/cast_equality_type_0_0.java index 150ac03..cc697e9 100644 --- a/coolf/src/main/java/cool/cast_equality_type_0_0.java +++ b/coolf/src/main/java/cool/cast_equality_type_0_0.java @@ -18,184 +18,184 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("cast_equality_type_0_0"); - Fail159: + Fail45: { - IStrategoTerm k_38 = null; - IStrategoTerm l_38 = null; - IStrategoTerm m_38 = null; - k_38 = term; - m_38 = term; - l_38 = k_38; - term = m_38; - IStrategoTerm term184 = term; - Success139: + IStrategoTerm l_22 = null; + IStrategoTerm m_22 = null; + IStrategoTerm n_22 = null; + l_22 = term; + n_22 = term; + m_22 = l_22; + term = n_22; + IStrategoTerm term78 = term; + Success36: { - Fail160: + Fail46: { - IStrategoTerm n_38 = null; - n_38 = term; - term = l_38; + IStrategoTerm o_22 = null; + o_22 = term; + term = m_22; if(term.getTermType() != IStrategoTerm.APPL || transform._consByte_0 != ((IStrategoAppl)term).getConstructor()) - break Fail160; - term = n_38; + break Fail46; + term = o_22; { term = cool.constDouble0; if(true) - break Success139; + break Success36; } } - term = term184; - IStrategoTerm term185 = term; - Success140: + term = term78; + IStrategoTerm term79 = term; + Success37: { - Fail161: + Fail47: { - IStrategoTerm o_38 = null; - o_38 = term; - term = l_38; + IStrategoTerm p_22 = null; + p_22 = term; + term = m_22; if(term.getTermType() != IStrategoTerm.APPL || transform._consInt_0 != ((IStrategoAppl)term).getConstructor()) - break Fail161; - term = o_38; + break Fail47; + term = p_22; { term = cool.constDouble0; if(true) - break Success140; + break Success37; } } - term = term185; - IStrategoTerm term186 = term; - Success141: + term = term79; + IStrategoTerm term80 = term; + Success38: { - Fail162: + Fail48: { - IStrategoTerm p_38 = null; - p_38 = term; - term = l_38; + IStrategoTerm q_22 = null; + q_22 = term; + term = m_22; if(term.getTermType() != IStrategoTerm.APPL || transform._consShort_0 != ((IStrategoAppl)term).getConstructor()) - break Fail162; - term = p_38; + break Fail48; + term = q_22; { term = cool.constDouble0; if(true) - break Success141; + break Success38; } } - term = term186; - IStrategoTerm term187 = term; - Success142: + term = term80; + IStrategoTerm term81 = term; + Success39: { - Fail163: + Fail49: { - IStrategoTerm q_38 = null; - q_38 = term; - term = or_2_0.instance.invoke(context, l_38, lifted62.instance, lifted63.instance); + IStrategoTerm r_22 = null; + r_22 = term; + term = or_2_0.instance.invoke(context, m_22, lifted58.instance, lifted59.instance); if(term == null) - break Fail163; - term = q_38; + break Fail49; + term = r_22; { term = cool.constDouble0; if(true) - break Success142; + break Success39; } } - term = term187; - IStrategoTerm term188 = term; - Success143: + term = term81; + IStrategoTerm term82 = term; + Success40: { - Fail164: + Fail50: { - IStrategoTerm r_38 = null; - r_38 = term; - term = or_2_0.instance.invoke(context, l_38, lifted64.instance, lifted65.instance); + IStrategoTerm s_22 = null; + s_22 = term; + term = or_2_0.instance.invoke(context, m_22, lifted60.instance, lifted61.instance); if(term == null) - break Fail164; - term = r_38; + break Fail50; + term = s_22; { term = cool.constDouble0; if(true) - break Success143; + break Success40; } } - term = term188; - IStrategoTerm term189 = term; - Success144: + term = term82; + IStrategoTerm term83 = term; + Success41: { - Fail165: + Fail51: { - IStrategoTerm s_38 = null; - s_38 = term; - term = l_38; + IStrategoTerm t_22 = null; + t_22 = term; + term = m_22; if(term.getTermType() != IStrategoTerm.APPL || transform._consLong_0 != ((IStrategoAppl)term).getConstructor()) - break Fail165; - term = s_38; + break Fail51; + term = t_22; { term = cool.constDouble0; if(true) - break Success144; + break Success41; } } - term = term189; - IStrategoTerm term190 = term; - Success145: + term = term83; + IStrategoTerm term84 = term; + Success42: { - Fail166: + Fail52: { - IStrategoTerm t_38 = null; - t_38 = term; - term = l_38; + IStrategoTerm u_22 = null; + u_22 = term; + term = m_22; if(term.getTermType() != IStrategoTerm.APPL || transform._consDouble_0 != ((IStrategoAppl)term).getConstructor()) - break Fail166; - term = t_38; + break Fail52; + term = u_22; { term = cool.constDouble0; if(true) - break Success145; + break Success42; } } - term = term190; - IStrategoTerm term191 = term; - Success146: + term = term84; + IStrategoTerm term85 = term; + Success43: { - Fail167: + Fail53: { - IStrategoTerm u_38 = null; - u_38 = term; - term = l_38; + IStrategoTerm v_22 = null; + v_22 = term; + term = m_22; if(term.getTermType() != IStrategoTerm.APPL || transform._consDeci_1 != ((IStrategoAppl)term).getConstructor()) - break Fail167; - term = u_38; + break Fail53; + term = v_22; { term = cool.constDouble0; if(true) - break Success146; + break Success43; } } - term = term191; - Success147: + term = term85; + Success44: { - Fail168: + Fail54: { - IStrategoTerm v_38 = null; - v_38 = term; - term = or_2_0.instance.invoke(context, l_38, lifted66.instance, lifted67.instance); + IStrategoTerm w_22 = null; + w_22 = term; + term = or_2_0.instance.invoke(context, m_22, lifted62.instance, lifted63.instance); if(term == null) - break Fail168; - term = v_38; + break Fail54; + term = w_22; { term = cool.constBoolean0; if(true) - break Success147; + break Success44; } } - term = debug_0_0.instance.invoke(context, cool.const80); + term = debug_0_0.instance.invoke(context, cool.const12); if(term == null) - break Fail159; - term = debug_0_0.instance.invoke(context, k_38); + break Fail45; + term = debug_0_0.instance.invoke(context, l_22); if(term == null) - break Fail159; - term = cool.const77; + break Fail45; + term = cool.const9; if(true) - break Fail159; + break Fail45; } } } diff --git a/coolf/src/main/java/cool/cast_shift_type_0_0.java b/coolf/src/main/java/cool/cast_shift_type_0_0.java index 9525f4a..f6ab948 100644 --- a/coolf/src/main/java/cool/cast_shift_type_0_0.java +++ b/coolf/src/main/java/cool/cast_shift_type_0_0.java @@ -18,148 +18,148 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("cast_shift_type_0_0"); - Fail175: + Fail61: { - IStrategoTerm i_39 = null; - IStrategoTerm j_39 = null; - IStrategoTerm k_39 = null; - i_39 = term; - k_39 = term; - j_39 = i_39; - term = k_39; - IStrategoTerm term198 = term; - Success153: + IStrategoTerm j_23 = null; + IStrategoTerm k_23 = null; + IStrategoTerm l_23 = null; + j_23 = term; + l_23 = term; + k_23 = j_23; + term = l_23; + IStrategoTerm term92 = term; + Success50: { - Fail176: + Fail62: { - IStrategoTerm l_39 = null; - l_39 = term; - term = j_39; + IStrategoTerm m_23 = null; + m_23 = term; + term = k_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consByte_0 != ((IStrategoAppl)term).getConstructor()) - break Fail176; - term = l_39; + break Fail62; + term = m_23; { term = cool.constInt0; if(true) - break Success153; + break Success50; } } - term = term198; - IStrategoTerm term199 = term; - Success154: + term = term92; + IStrategoTerm term93 = term; + Success51: { - Fail177: + Fail63: { - IStrategoTerm m_39 = null; - m_39 = term; - term = j_39; + IStrategoTerm n_23 = null; + n_23 = term; + term = k_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consShort_0 != ((IStrategoAppl)term).getConstructor()) - break Fail177; - term = m_39; + break Fail63; + term = n_23; { term = cool.constInt0; if(true) - break Success154; + break Success51; } } - term = term199; - IStrategoTerm term200 = term; - Success155: + term = term93; + IStrategoTerm term94 = term; + Success52: { - Fail178: + Fail64: { - IStrategoTerm n_39 = null; - n_39 = term; - term = j_39; + IStrategoTerm o_23 = null; + o_23 = term; + term = k_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consInt_0 != ((IStrategoAppl)term).getConstructor()) - break Fail178; - term = n_39; + break Fail64; + term = o_23; { term = cool.constInt0; if(true) - break Success155; + break Success52; } } - term = term200; - IStrategoTerm term201 = term; - Success156: + term = term94; + IStrategoTerm term95 = term; + Success53: { - Fail179: + Fail65: { - IStrategoTerm o_39 = null; - o_39 = term; - term = j_39; + IStrategoTerm p_23 = null; + p_23 = term; + term = k_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consLong_0 != ((IStrategoAppl)term).getConstructor()) - break Fail179; - term = o_39; + break Fail65; + term = p_23; { term = cool.constLong0; if(true) - break Success156; + break Success53; } } - term = term201; - IStrategoTerm term202 = term; - Success157: + term = term95; + IStrategoTerm term96 = term; + Success54: { - Fail180: + Fail66: { - IStrategoTerm p_39 = null; - p_39 = term; - term = or_2_0.instance.invoke(context, j_39, lifted70.instance, lifted71.instance); + IStrategoTerm q_23 = null; + q_23 = term; + term = or_2_0.instance.invoke(context, k_23, lifted66.instance, lifted67.instance); if(term == null) - break Fail180; - term = p_39; + break Fail66; + term = q_23; { term = cool.constLong0; if(true) - break Success157; + break Success54; } } - term = term202; - IStrategoTerm term203 = term; - Success158: + term = term96; + IStrategoTerm term97 = term; + Success55: { - Fail181: + Fail67: { - IStrategoTerm q_39 = null; - q_39 = term; - term = j_39; + IStrategoTerm r_23 = null; + r_23 = term; + term = k_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consDouble_0 != ((IStrategoAppl)term).getConstructor()) - break Fail181; - term = q_39; + break Fail67; + term = r_23; { term = cool.constLong0; if(true) - break Success158; + break Success55; } } - term = term203; - Success159: + term = term97; + Success56: { - Fail182: + Fail68: { - IStrategoTerm r_39 = null; - r_39 = term; - term = j_39; + IStrategoTerm s_23 = null; + s_23 = term; + term = k_23; if(term.getTermType() != IStrategoTerm.APPL || transform._consDeci_1 != ((IStrategoAppl)term).getConstructor()) - break Fail182; - term = r_39; + break Fail68; + term = s_23; { term = cool.constLong0; if(true) - break Success159; + break Success56; } } - term = debug_0_0.instance.invoke(context, cool.const80); + term = debug_0_0.instance.invoke(context, cool.const12); if(term == null) - break Fail175; - term = debug_0_0.instance.invoke(context, i_39); + break Fail61; + term = debug_0_0.instance.invoke(context, j_23); if(term == null) - break Fail175; - term = cool.const77; + break Fail61; + term = cool.const9; if(true) - break Fail175; + break Fail61; } } } diff --git a/coolf/src/main/java/cool/convert_0_0.java b/coolf/src/main/java/cool/convert_0_0.java index b0cdabe..e717f8e 100644 --- a/coolf/src/main/java/cool/convert_0_0.java +++ b/coolf/src/main/java/cool/convert_0_0.java @@ -19,61 +19,61 @@ { ITermFactory termFactory = context.getFactory(); context.push("convert_0_0"); - Fail299: + Fail197: { - IStrategoTerm u_55 = null; - IStrategoTerm v_55 = null; - IStrategoTerm w_55 = null; - IStrategoTerm x_55 = null; - IStrategoTerm y_55 = null; - IStrategoTerm z_55 = null; - IStrategoTerm a_56 = null; - IStrategoTerm b_56 = null; + IStrategoTerm l_42 = null; + IStrategoTerm m_42 = null; + IStrategoTerm n_42 = null; + IStrategoTerm o_42 = null; + IStrategoTerm p_42 = null; + IStrategoTerm q_42 = null; + IStrategoTerm r_42 = null; + IStrategoTerm s_42 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consCompilationUnit_3 != ((IStrategoAppl)term).getConstructor()) - break Fail299; - w_55 = term.getSubterm(0); - x_55 = term.getSubterm(1); - v_55 = term.getSubterm(2); - b_56 = term; - Success248: + break Fail197; + n_42 = term.getSubterm(0); + o_42 = term.getSubterm(1); + m_42 = term.getSubterm(2); + s_42 = term; + Success146: { - Fail300: + Fail198: { - IStrategoTerm c_56 = null; - c_56 = term; - term = get_coordinator_0_1.instance.invoke(context, b_56, v_55); + IStrategoTerm t_42 = null; + t_42 = term; + term = get_coordinator_0_1.instance.invoke(context, s_42, m_42); if(term == null) - break Fail300; - u_55 = term; - term = c_56; + break Fail198; + l_42 = term; + term = t_42; { - IStrategoTerm i_56 = null; - term = fetch_coordinator_type_0_0.instance.invoke(context, u_55); + IStrategoTerm w_42 = null; + term = fetch_coordinator_type_0_0.instance.invoke(context, l_42); if(term == null) - break Fail299; - y_55 = term; - term = convert_coordinator_declaration_0_1.instance.invoke(context, u_55, term); + break Fail197; + p_42 = term; + term = convert_coordinator_declaration_0_1.instance.invoke(context, l_42, term); if(term == null) - break Fail299; - z_55 = term; - term = remove_all_1_0.instance.invoke(context, v_55, lifted112.instance); + break Fail197; + q_42 = term; + term = remove_all_1_0.instance.invoke(context, m_42, lifted110.instance); if(term == null) - break Fail299; - a_56 = term; - term = generate_imports_0_2.instance.invoke(context, term, x_55, y_55); + break Fail197; + r_42 = term; + term = generate_imports_0_2.instance.invoke(context, term, o_42, p_42); if(term == null) - break Fail299; - i_56 = term; - term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(z_55, (IStrategoList)cool.constNil0), a_56); + break Fail197; + w_42 = term; + term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(q_42, (IStrategoList)cool.constNil0), r_42); term = conc_0_0.instance.invoke(context, term); if(term == null) - break Fail299; - term = termFactory.makeAppl(transform._consCompilationUnit_3, new IStrategoTerm[]{w_55, i_56, term}); + break Fail197; + term = termFactory.makeAppl(transform._consCompilationUnit_3, new IStrategoTerm[]{n_42, w_42, term}); if(true) - break Success248; + break Success146; } } - term = b_56; + term = s_42; } context.popOnSuccess(); if(true) diff --git a/coolf/src/main/java/cool/convert_coordinator_declaration_0_1.java b/coolf/src/main/java/cool/convert_coordinator_declaration_0_1.java index f8135b1..96e0051 100644 --- a/coolf/src/main/java/cool/convert_coordinator_declaration_0_1.java +++ b/coolf/src/main/java/cool/convert_coordinator_declaration_0_1.java @@ -15,51 +15,82 @@ { public static convert_coordinator_declaration_0_1 instance = new convert_coordinator_declaration_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm k_57) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm i_43) { ITermFactory termFactory = context.getFactory(); context.push("convert_coordinator_declaration_0_1"); - Fail304: + Fail202: { - IStrategoTerm n_57 = null; - IStrategoTerm o_57 = null; - IStrategoTerm p_57 = null; - IStrategoTerm s_57 = null; + IStrategoTerm k_43 = null; + IStrategoTerm l_43 = null; + IStrategoTerm m_43 = null; + IStrategoTerm p_43 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consCoordinatorDec_2 != ((IStrategoAppl)term).getConstructor()) - break Fail304; - n_57 = term.getSubterm(1); - p_57 = term; - IStrategoTerm term294 = term; - Success249: + break Fail202; + k_43 = term.getSubterm(1); + m_43 = term; + IStrategoTerm term189 = term; + Success147: { - Fail305: + Fail203: { - term = fetch__class__name_0_0.instance.invoke(context, k_57); - if(term == null) - break Fail305; - o_57 = term; + term = i_43; + IStrategoTerm term190 = term; + IStrategoConstructor cons7 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; + Success148: + { + if(cons7 == transform._consTypeName_2) + { + Fail204: + { + IStrategoTerm b_172 = null; + IStrategoTerm arg168 = term.getSubterm(1); + if(arg168.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg168).getConstructor()) + break Fail204; + b_172 = arg168.getSubterm(0); + term = b_172; + if(true) + break Success148; + } + term = term190; + } + if(cons7 == transform._consTypeName_1) + { + IStrategoTerm c_172 = null; + IStrategoTerm arg169 = term.getSubterm(0); + if(arg169.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg169).getConstructor()) + break Fail203; + c_172 = arg169.getSubterm(0); + term = c_172; + } + else + { + break Fail203; + } + } + l_43 = term; if(true) - break Success249; + break Success147; } - term = term294; - IStrategoTerm r_57 = null; - r_57 = term; - term = report_with_failure_0_1.instance.invoke(context, r_57, cool.const117); + term = term189; + IStrategoTerm o_43 = null; + o_43 = term; + term = report_with_failure_0_1.instance.invoke(context, o_43, cool.const58); if(term == null) - break Fail304; + break Fail202; } - term = p_57; - term = gen_class_head_0_1.instance.invoke(context, term, k_57); + term = m_43; + term = gen_class_head_0_1.instance.invoke(context, term, i_43); if(term == null) - break Fail304; - s_57 = term; - term = gen_coordinator_body_0_1.instance.invoke(context, n_57, o_57); + break Fail202; + p_43 = term; + term = gen_coordinator_body_0_1.instance.invoke(context, k_43, l_43); if(term == null) - break Fail304; - term = termFactory.makeAppl(transform._consClassDec_2, new IStrategoTerm[]{s_57, term}); - term = add__externals_0_1.instance.invoke(context, term, o_57); + break Fail202; + term = termFactory.makeAppl(transform._consClassDec_2, new IStrategoTerm[]{p_43, term}); + term = add__externals_0_1.instance.invoke(context, term, l_43); if(term == null) - break Fail304; + break Fail202; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/cool.tbl b/coolf/src/main/java/cool/cool.tbl index c069c97..7b7c358 100644 Binary files a/coolf/src/main/java/cool/cool.tbl and b/coolf/src/main/java/cool/cool.tbl differ diff --git a/coolf/src/main/java/cool/create_ref_method_0_4.java b/coolf/src/main/java/cool/create_ref_method_0_4.java index 3676a26..f94e859 100644 --- a/coolf/src/main/java/cool/create_ref_method_0_4.java +++ b/coolf/src/main/java/cool/create_ref_method_0_4.java @@ -15,160 +15,160 @@ { public static create_ref_method_0_4 instance = new create_ref_method_0_4(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm c_44, IStrategoTerm d_44, IStrategoTerm e_44, IStrategoTerm f_44) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm d_28, IStrategoTerm e_28, IStrategoTerm f_28, IStrategoTerm g_28) { ITermFactory termFactory = context.getFactory(); context.push("create_ref_method_0_4"); - Fail225: + Fail111: { - IStrategoTerm g_44 = null; - IStrategoTerm h_44 = null; - IStrategoTerm i_44 = null; - IStrategoTerm j_44 = null; - j_44 = term; - i_44 = e_44; - term = j_44; - IStrategoTerm term237 = term; - Success192: + IStrategoTerm h_28 = null; + IStrategoTerm i_28 = null; + IStrategoTerm j_28 = null; + IStrategoTerm k_28 = null; + k_28 = term; + j_28 = f_28; + term = k_28; + IStrategoTerm term131 = term; + Success89: { - Fail226: + Fail112: { - IStrategoTerm k_44 = null; - k_44 = term; - term = i_44; + IStrategoTerm l_28 = null; + l_28 = term; + term = j_28; if(term.getTermType() != IStrategoTerm.APPL || transform._consByte_0 != ((IStrategoAppl)term).getConstructor()) - break Fail226; - term = k_44; + break Fail112; + term = l_28; { - g_44 = cool.constByte0; + h_28 = cool.constByte0; term = cool.constLit0; - h_44 = cool.constLit0; + i_28 = cool.constLit0; if(true) - break Success192; + break Success89; } } - term = term237; - IStrategoTerm term238 = term; - Success193: + term = term131; + IStrategoTerm term132 = term; + Success90: { - Fail227: + Fail113: { - IStrategoTerm l_44 = null; - l_44 = term; - term = i_44; + IStrategoTerm m_28 = null; + m_28 = term; + term = j_28; if(term.getTermType() != IStrategoTerm.APPL || transform._consInt_0 != ((IStrategoAppl)term).getConstructor()) - break Fail227; - term = l_44; + break Fail113; + term = m_28; { - g_44 = cool.constInt0; + h_28 = cool.constInt0; term = cool.constLit0; - h_44 = cool.constLit0; + i_28 = cool.constLit0; if(true) - break Success193; + break Success90; } } - term = term238; - IStrategoTerm term239 = term; - Success194: + term = term132; + IStrategoTerm term133 = term; + Success91: { - Fail228: + Fail114: { - IStrategoTerm m_44 = null; - m_44 = term; - term = or_2_0.instance.invoke(context, i_44, lifted82.instance, lifted83.instance); + IStrategoTerm n_28 = null; + n_28 = term; + term = or_2_0.instance.invoke(context, j_28, lifted78.instance, lifted79.instance); if(term == null) - break Fail228; - term = m_44; + break Fail114; + term = n_28; { - g_44 = cool.constBoolean0; + h_28 = cool.constBoolean0; term = cool.constLit1; - h_44 = cool.constLit1; + i_28 = cool.constLit1; if(true) - break Success194; + break Success91; } } - term = term239; - IStrategoTerm term240 = term; - Success195: + term = term133; + IStrategoTerm term134 = term; + Success92: { - Fail229: + Fail115: { - IStrategoTerm n_44 = null; - n_44 = term; - term = or_2_0.instance.invoke(context, i_44, lifted84.instance, lifted85.instance); + IStrategoTerm o_28 = null; + o_28 = term; + term = or_2_0.instance.invoke(context, j_28, lifted80.instance, lifted81.instance); if(term == null) - break Fail229; - term = n_44; + break Fail115; + term = o_28; { - g_44 = cool.constFloat0; + h_28 = cool.constFloat0; term = cool.constLit2; - h_44 = cool.constLit2; + i_28 = cool.constLit2; if(true) - break Success195; + break Success92; } } - term = term240; - IStrategoTerm term241 = term; - Success196: + term = term134; + IStrategoTerm term135 = term; + Success93: { - Fail230: + Fail116: { - IStrategoTerm o_44 = null; - o_44 = term; - term = i_44; + IStrategoTerm p_28 = null; + p_28 = term; + term = j_28; if(term.getTermType() != IStrategoTerm.APPL || transform._consDouble_0 != ((IStrategoAppl)term).getConstructor()) - break Fail230; - term = o_44; + break Fail116; + term = p_28; { - g_44 = cool.constDouble0; + h_28 = cool.constDouble0; term = cool.constLit2; - h_44 = cool.constLit2; + i_28 = cool.constLit2; if(true) - break Success196; + break Success93; } } - term = term241; - IStrategoTerm term242 = term; - Success197: + term = term135; + IStrategoTerm term136 = term; + Success94: { - Fail231: + Fail117: { - IStrategoTerm p_44 = null; - p_44 = term; - term = i_44; + IStrategoTerm q_28 = null; + q_28 = term; + term = j_28; if(term.getTermType() != IStrategoTerm.APPL || transform._consLong_0 != ((IStrategoAppl)term).getConstructor()) - break Fail231; - term = p_44; + break Fail117; + term = q_28; { - g_44 = cool.constLong0; + h_28 = cool.constLong0; term = cool.constLit0; - h_44 = cool.constLit0; + i_28 = cool.constLit0; if(true) - break Success197; + break Success94; } } - term = term242; - Success198: + term = term136; + Success95: { - Fail232: + Fail118: { - IStrategoTerm q_44 = null; - q_44 = term; - term = i_44; + IStrategoTerm r_28 = null; + r_28 = term; + term = j_28; if(term.getTermType() != IStrategoTerm.APPL || transform._consDeci_1 != ((IStrategoAppl)term).getConstructor()) - break Fail232; - term = q_44; + break Fail118; + term = r_28; { - g_44 = cool.constDouble0; + h_28 = cool.constDouble0; term = cool.constLit2; - h_44 = cool.constLit2; + i_28 = cool.constLit2; if(true) - break Success198; + break Success95; } } - g_44 = cool.constClassOrInterfaceType0; + h_28 = cool.constClassOrInterfaceType0; term = cool.constLit3; - h_44 = cool.constLit3; + i_28 = cool.constLit3; } } } @@ -176,7 +176,7 @@ } } } - term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName1, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId3, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{c_44}), (IStrategoList)cool.constNil0)})})}), (IStrategoList)cool.constNil0)}), (IStrategoList)cool.constCons20), cool.constNone0, g_44, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{d_44}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, termFactory.makeAppl(transform._consClassOrInterfaceType_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{f_44})}), cool.constNone0}), cool.constId4}), (IStrategoList)cool.constNil0), cool.constNone0}), termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consReturn_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consSome_1, new IStrategoTerm[]{h_44})}), (IStrategoList)cool.constNil0)})}); + term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName1, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId3, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{d_28}), (IStrategoList)cool.constNil0)})})}), (IStrategoList)cool.constNil0)}), (IStrategoList)cool.constCons2), cool.constNone0, h_28, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{e_28}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, termFactory.makeAppl(transform._consClassOrInterfaceType_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{g_28})}), cool.constNone0}), cool.constId4}), (IStrategoList)cool.constNil0), cool.constNone0}), termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consReturn_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consSome_1, new IStrategoTerm[]{i_28})}), (IStrategoList)cool.constNil0)})}); context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/decreament_0_2.java b/coolf/src/main/java/cool/decreament_0_2.java index dab7d5f..a307687 100644 --- a/coolf/src/main/java/cool/decreament_0_2.java +++ b/coolf/src/main/java/cool/decreament_0_2.java @@ -15,80 +15,80 @@ { public static decreament_0_2 instance = new decreament_0_2(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm m_43, IStrategoTerm n_43) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm n_27, IStrategoTerm o_27) { ITermFactory termFactory = context.getFactory(); context.push("decreament_0_2"); - Fail222: + Fail108: { - IStrategoTerm o_43 = null; - IStrategoTerm p_43 = null; - p_43 = term; - IStrategoTerm term235 = term; - Success190: + IStrategoTerm p_27 = null; + IStrategoTerm q_27 = null; + q_27 = term; + IStrategoTerm term129 = term; + Success87: { - Fail223: + Fail109: { - IStrategoTerm q_43 = null; - q_43 = term; - term = hashtable_keys_0_0.instance.invoke(context, m_43); + IStrategoTerm r_27 = null; + r_27 = term; + term = hashtable_keys_0_0.instance.invoke(context, n_27); if(term == null) - break Fail223; - term = termFactory.makeTuple(p_43, term); + break Fail109; + term = termFactory.makeTuple(q_27, term); term = elem_0_0.instance.invoke(context, term); if(term == null) - break Fail223; - term = q_43; + break Fail109; + term = r_27; { - IStrategoTerm x_43 = null; - term = hashtable_get_0_1.instance.invoke(context, m_43, p_43); + IStrategoTerm y_27 = null; + term = hashtable_get_0_1.instance.invoke(context, n_27, q_27); if(term == null) - break Fail222; - o_43 = term; - term = hashtable_remove_0_1.instance.invoke(context, m_43, p_43); + break Fail108; + p_27 = term; + term = hashtable_remove_0_1.instance.invoke(context, n_27, q_27); if(term == null) - break Fail222; - x_43 = m_43; - term = hashtable_get_0_1.instance.invoke(context, n_43, p_43); + break Fail108; + y_27 = n_27; + term = hashtable_get_0_1.instance.invoke(context, o_27, q_27); if(term == null) - break Fail222; - term = termFactory.makeTuple(o_43, term); + break Fail108; + term = termFactory.makeTuple(p_27, term); term = subti_0_0.instance.invoke(context, term); if(term == null) - break Fail222; - term = hashtable_put_0_2.instance.invoke(context, x_43, p_43, term); + break Fail108; + term = hashtable_put_0_2.instance.invoke(context, y_27, q_27, term); if(term == null) - break Fail222; - IStrategoTerm term236 = term; - Success191: + break Fail108; + IStrategoTerm term130 = term; + Success88: { - Fail224: + Fail110: { - IStrategoTerm r_43 = null; - r_43 = term; - term = hashtable_get_0_1.instance.invoke(context, m_43, p_43); + IStrategoTerm s_27 = null; + s_27 = term; + term = hashtable_get_0_1.instance.invoke(context, n_27, q_27); if(term == null) - break Fail224; - term = termFactory.makeTuple(term, cool.const85); + break Fail110; + term = termFactory.makeTuple(term, cool.const18); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail224; - term = r_43; + break Fail110; + term = s_27; { - term = hashtable_remove_0_1.instance.invoke(context, m_43, p_43); + term = hashtable_remove_0_1.instance.invoke(context, n_27, q_27); if(term == null) - break Fail222; + break Fail108; if(true) - break Success191; + break Success88; } } - term = term236; + term = term130; } if(true) - break Success190; + break Success87; } } - term = term235; + term = term129; } context.popOnSuccess(); if(true) diff --git a/coolf/src/main/java/cool/ensure__number_0_0.java b/coolf/src/main/java/cool/ensure__number_0_0.java index 89afe65..fe43aa2 100644 --- a/coolf/src/main/java/cool/ensure__number_0_0.java +++ b/coolf/src/main/java/cool/ensure__number_0_0.java @@ -18,166 +18,166 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("ensure__number_0_0"); - Fail199: + Fail85: { - IStrategoTerm s_40 = null; - IStrategoTerm t_40 = null; - IStrategoTerm u_40 = null; - s_40 = term; - u_40 = term; - t_40 = s_40; - term = u_40; - IStrategoTerm term219 = term; - Success174: + IStrategoTerm t_24 = null; + IStrategoTerm u_24 = null; + IStrategoTerm v_24 = null; + t_24 = term; + v_24 = term; + u_24 = t_24; + term = v_24; + IStrategoTerm term113 = term; + Success71: { - Fail200: + Fail86: { - IStrategoTerm v_40 = null; - v_40 = term; - term = t_40; + IStrategoTerm w_24 = null; + w_24 = term; + term = u_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consByte_0 != ((IStrategoAppl)term).getConstructor()) - break Fail200; - term = v_40; + break Fail86; + term = w_24; { term = cool.constByte0; if(true) - break Success174; + break Success71; } } - term = term219; - IStrategoTerm term220 = term; - Success175: + term = term113; + IStrategoTerm term114 = term; + Success72: { - Fail201: + Fail87: { - IStrategoTerm w_40 = null; - w_40 = term; - term = or_2_0.instance.invoke(context, t_40, lifted78.instance, lifted79.instance); + IStrategoTerm x_24 = null; + x_24 = term; + term = or_2_0.instance.invoke(context, u_24, lifted74.instance, lifted75.instance); if(term == null) - break Fail201; - term = w_40; + break Fail87; + term = x_24; { term = cool.constChar0; if(true) - break Success175; + break Success72; } } - term = term220; - IStrategoTerm term221 = term; - Success176: + term = term114; + IStrategoTerm term115 = term; + Success73: { - Fail202: + Fail88: { - IStrategoTerm x_40 = null; - x_40 = term; - term = t_40; + IStrategoTerm y_24 = null; + y_24 = term; + term = u_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consShort_0 != ((IStrategoAppl)term).getConstructor()) - break Fail202; - term = x_40; + break Fail88; + term = y_24; { term = cool.constShort0; if(true) - break Success176; + break Success73; } } - term = term221; - IStrategoTerm term222 = term; - Success177: + term = term115; + IStrategoTerm term116 = term; + Success74: { - Fail203: + Fail89: { - IStrategoTerm y_40 = null; - y_40 = term; - term = t_40; + IStrategoTerm z_24 = null; + z_24 = term; + term = u_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consInt_0 != ((IStrategoAppl)term).getConstructor()) - break Fail203; - term = y_40; + break Fail89; + term = z_24; { term = cool.constInt0; if(true) - break Success177; + break Success74; } } - term = term222; - IStrategoTerm term223 = term; - Success178: + term = term116; + IStrategoTerm term117 = term; + Success75: { - Fail204: + Fail90: { - IStrategoTerm z_40 = null; - z_40 = term; - term = t_40; + IStrategoTerm a_25 = null; + a_25 = term; + term = u_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consLong_0 != ((IStrategoAppl)term).getConstructor()) - break Fail204; - term = z_40; + break Fail90; + term = a_25; { term = cool.constLong0; if(true) - break Success178; + break Success75; } } - term = term223; - IStrategoTerm term224 = term; - Success179: + term = term117; + IStrategoTerm term118 = term; + Success76: { - Fail205: + Fail91: { - IStrategoTerm a_41 = null; - a_41 = term; - term = t_40; + IStrategoTerm b_25 = null; + b_25 = term; + term = u_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consDeci_1 != ((IStrategoAppl)term).getConstructor()) - break Fail205; - term = a_41; + break Fail91; + term = b_25; { term = cool.constLong0; if(true) - break Success179; + break Success76; } } - term = term224; - IStrategoTerm term225 = term; - Success180: + term = term118; + IStrategoTerm term119 = term; + Success77: { - Fail206: + Fail92: { - IStrategoTerm b_41 = null; - b_41 = term; - term = or_2_0.instance.invoke(context, t_40, lifted80.instance, lifted81.instance); + IStrategoTerm c_25 = null; + c_25 = term; + term = or_2_0.instance.invoke(context, u_24, lifted76.instance, lifted77.instance); if(term == null) - break Fail206; - term = b_41; + break Fail92; + term = c_25; { term = cool.constFloat0; if(true) - break Success180; + break Success77; } } - term = term225; - Success181: + term = term119; + Success78: { - Fail207: + Fail93: { - IStrategoTerm c_41 = null; - c_41 = term; - term = t_40; + IStrategoTerm d_25 = null; + d_25 = term; + term = u_24; if(term.getTermType() != IStrategoTerm.APPL || transform._consDouble_0 != ((IStrategoAppl)term).getConstructor()) - break Fail207; - term = c_41; + break Fail93; + term = d_25; { term = cool.constDouble0; if(true) - break Success181; + break Success78; } } - term = debug_0_0.instance.invoke(context, cool.const80); + term = debug_0_0.instance.invoke(context, cool.const12); if(term == null) - break Fail199; - term = debug_0_0.instance.invoke(context, s_40); + break Fail85; + term = debug_0_0.instance.invoke(context, t_24); if(term == null) - break Fail199; - term = cool.const77; + break Fail85; + term = cool.const9; if(true) - break Fail199; + break Fail85; } } } diff --git a/coolf/src/main/java/cool/fetch_0_0.java b/coolf/src/main/java/cool/fetch_0_0.java index 9536f39..b06da39 100644 --- a/coolf/src/main/java/cool/fetch_0_0.java +++ b/coolf/src/main/java/cool/fetch_0_0.java @@ -19,95 +19,95 @@ { ITermFactory termFactory = context.getFactory(); context.push("fetch_0_0"); - Fail278: + Fail164: { - IStrategoTerm term287 = term; - IStrategoConstructor cons13 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success242: + IStrategoTerm term181 = term; + IStrategoConstructor cons5 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; + Success139: { - if(cons13 == transform._consExprName_1) + if(cons5 == transform._consExprName_1) { - Fail279: + Fail165: { - IStrategoTerm c_51 = null; - c_51 = term.getSubterm(0); - term = this.invoke(context, c_51); + IStrategoTerm a_35 = null; + a_35 = term.getSubterm(0); + term = this.invoke(context, a_35); if(term == null) - break Fail279; + break Fail165; if(true) - break Success242; + break Success139; } - term = term287; + term = term181; } - Success243: + Success140: { - if(cons13 == transform._consExprName_2) + if(cons5 == transform._consExprName_2) { - Fail280: + Fail166: { - IStrategoTerm a_51 = null; - IStrategoTerm b_51 = null; - a_51 = term.getSubterm(0); - b_51 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consAmbName_2, new IStrategoTerm[]{a_51, b_51}); + IStrategoTerm y_34 = null; + IStrategoTerm z_34 = null; + y_34 = term.getSubterm(0); + z_34 = term.getSubterm(1); + term = termFactory.makeAppl(transform._consAmbName_2, new IStrategoTerm[]{y_34, z_34}); term = this.invoke(context, term); if(term == null) - break Fail280; + break Fail166; if(true) - break Success243; + break Success140; } - term = term287; + term = term181; } - Success244: + Success141: { - if(cons13 == transform._consAmbName_2) + if(cons5 == transform._consAmbName_2) { - Fail281: + Fail167: { - IStrategoTerm v_50 = null; - IStrategoTerm w_50 = null; - v_50 = term.getSubterm(0); - IStrategoTerm arg141 = term.getSubterm(1); - if(arg141.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg141).getConstructor()) - break Fail281; - w_50 = arg141.getSubterm(0); - term = this.invoke(context, v_50); + IStrategoTerm u_34 = null; + IStrategoTerm v_34 = null; + u_34 = term.getSubterm(0); + IStrategoTerm arg127 = term.getSubterm(1); + if(arg127.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg127).getConstructor()) + break Fail167; + v_34 = arg127.getSubterm(0); + term = this.invoke(context, u_34); if(term == null) - break Fail281; - term = (IStrategoTerm)termFactory.makeListCons(term, termFactory.makeListCons(cool.const24, termFactory.makeListCons(w_50, (IStrategoList)cool.constNil0))); + break Fail167; + term = (IStrategoTerm)termFactory.makeListCons(term, termFactory.makeListCons(cool.const0, termFactory.makeListCons(v_34, (IStrategoList)cool.constNil0))); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail281; + break Fail167; if(true) - break Success244; + break Success141; } - term = term287; + term = term181; } - Success245: + Success142: { - if(cons13 == transform._consAmbName_1) + if(cons5 == transform._consAmbName_1) { - Fail282: + Fail168: { - IStrategoTerm u_50 = null; - u_50 = term.getSubterm(0); - term = this.invoke(context, u_50); + IStrategoTerm t_34 = null; + t_34 = term.getSubterm(0); + term = this.invoke(context, t_34); if(term == null) - break Fail282; + break Fail168; if(true) - break Success245; + break Success142; } - term = term287; + term = term181; } - if(cons13 == transform._consId_1) + if(cons5 == transform._consId_1) { - IStrategoTerm t_50 = null; - t_50 = term.getSubterm(0); - term = t_50; + IStrategoTerm s_34 = null; + s_34 = term.getSubterm(0); + term = s_34; } else { - break Fail278; + break Fail164; } } } diff --git a/coolf/src/main/java/cool/fetch__class__name_0_0.java b/coolf/src/main/java/cool/fetch__class__name_0_0.java deleted file mode 100644 index 936f47a..0000000 --- a/coolf/src/main/java/cool/fetch__class__name_0_0.java +++ /dev/null @@ -1,62 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class fetch__class__name_0_0 extends Strategy -{ - public static fetch__class__name_0_0 instance = new fetch__class__name_0_0(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - Fail112: - { - IStrategoTerm term105 = term; - IStrategoConstructor cons7 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success102: - { - if(cons7 == transform._consTypeName_2) - { - Fail113: - { - IStrategoTerm d_23 = null; - IStrategoTerm arg12 = term.getSubterm(1); - if(arg12.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg12).getConstructor()) - break Fail113; - d_23 = arg12.getSubterm(0); - term = d_23; - if(true) - break Success102; - } - term = term105; - } - if(cons7 == transform._consTypeName_1) - { - IStrategoTerm c_23 = null; - IStrategoTerm arg13 = term.getSubterm(0); - if(arg13.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg13).getConstructor()) - break Fail112; - c_23 = arg13.getSubterm(0); - term = c_23; - } - else - { - break Fail112; - } - } - if(true) - return term; - } - context.push("fetch__class__name_0_0"); - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/fetch__full__class__name_0_0.java b/coolf/src/main/java/cool/fetch__full__class__name_0_0.java index 21aa977..7c00e79 100644 --- a/coolf/src/main/java/cool/fetch__full__class__name_0_0.java +++ b/coolf/src/main/java/cool/fetch__full__class__name_0_0.java @@ -19,89 +19,89 @@ { ITermFactory termFactory = context.getFactory(); context.push("fetch__full__class__name_0_0"); - Fail114: + Fail0: { - IStrategoTerm term106 = term; - IStrategoConstructor cons8 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success103: + IStrategoTerm term0 = term; + IStrategoConstructor cons0 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; + Success0: { - if(cons8 == transform._consTypeName_2) + if(cons0 == transform._consTypeName_2) { - Fail115: + Fail1: { - IStrategoTerm k_23 = null; - IStrategoTerm l_23 = null; - k_23 = term.getSubterm(0); - IStrategoTerm arg14 = term.getSubterm(1); - if(arg14.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg14).getConstructor()) - break Fail115; - l_23 = arg14.getSubterm(0); - term = this.invoke(context, k_23); + IStrategoTerm l_7 = null; + IStrategoTerm m_7 = null; + l_7 = term.getSubterm(0); + IStrategoTerm arg0 = term.getSubterm(1); + if(arg0.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg0).getConstructor()) + break Fail1; + m_7 = arg0.getSubterm(0); + term = this.invoke(context, l_7); if(term == null) - break Fail115; - term = (IStrategoTerm)termFactory.makeListCons(term, termFactory.makeListCons(cool.const24, termFactory.makeListCons(l_23, (IStrategoList)cool.constNil0))); + break Fail1; + term = (IStrategoTerm)termFactory.makeListCons(term, termFactory.makeListCons(cool.const0, termFactory.makeListCons(m_7, (IStrategoList)cool.constNil0))); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail115; + break Fail1; if(true) - break Success103; + break Success0; } - term = term106; + term = term0; } - Success104: + Success1: { - if(cons8 == transform._consTypeName_1) + if(cons0 == transform._consTypeName_1) { - Fail116: + Fail2: { - IStrategoTerm j_23 = null; - IStrategoTerm arg15 = term.getSubterm(0); - if(arg15.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg15).getConstructor()) - break Fail116; - j_23 = arg15.getSubterm(0); - term = j_23; + IStrategoTerm k_7 = null; + IStrategoTerm arg1 = term.getSubterm(0); + if(arg1.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg1).getConstructor()) + break Fail2; + k_7 = arg1.getSubterm(0); + term = k_7; if(true) - break Success104; + break Success1; } - term = term106; + term = term0; } - Success105: + Success2: { - if(cons8 == transform._consPackageOrTypeName_1) + if(cons0 == transform._consPackageOrTypeName_1) { - Fail117: + Fail3: { - IStrategoTerm i_23 = null; - IStrategoTerm arg16 = term.getSubterm(0); - if(arg16.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg16).getConstructor()) - break Fail117; - i_23 = arg16.getSubterm(0); - term = i_23; + IStrategoTerm j_7 = null; + IStrategoTerm arg2 = term.getSubterm(0); + if(arg2.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg2).getConstructor()) + break Fail3; + j_7 = arg2.getSubterm(0); + term = j_7; if(true) - break Success105; + break Success2; } - term = term106; + term = term0; } - if(cons8 == transform._consPackageOrTypeName_2) + if(cons0 == transform._consPackageOrTypeName_2) { - IStrategoTerm e_23 = null; - IStrategoTerm f_23 = null; - e_23 = term.getSubterm(0); - IStrategoTerm arg17 = term.getSubterm(1); - if(arg17.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg17).getConstructor()) - break Fail114; - f_23 = arg17.getSubterm(0); - term = this.invoke(context, e_23); + IStrategoTerm f_7 = null; + IStrategoTerm g_7 = null; + f_7 = term.getSubterm(0); + IStrategoTerm arg3 = term.getSubterm(1); + if(arg3.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg3).getConstructor()) + break Fail0; + g_7 = arg3.getSubterm(0); + term = this.invoke(context, f_7); if(term == null) - break Fail114; - term = (IStrategoTerm)termFactory.makeListCons(term, termFactory.makeListCons(cool.const24, termFactory.makeListCons(f_23, (IStrategoList)cool.constNil0))); + break Fail0; + term = (IStrategoTerm)termFactory.makeListCons(term, termFactory.makeListCons(cool.const0, termFactory.makeListCons(g_7, (IStrategoList)cool.constNil0))); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail114; + break Fail0; } else { - break Fail114; + break Fail0; } } } diff --git a/coolf/src/main/java/cool/fetch_coordinator_type_0_0.java b/coolf/src/main/java/cool/fetch_coordinator_type_0_0.java index a437f3b..a7ac5b0 100644 --- a/coolf/src/main/java/cool/fetch_coordinator_type_0_0.java +++ b/coolf/src/main/java/cool/fetch_coordinator_type_0_0.java @@ -17,18 +17,18 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail303: + Fail201: { - IStrategoTerm v_56 = null; - IStrategoTerm w_56 = null; + IStrategoTerm e_43 = null; + IStrategoTerm f_43 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consCoordinatorDec_2 != ((IStrategoAppl)term).getConstructor()) - break Fail303; - v_56 = term.getSubterm(0); - term = v_56; + break Fail201; + e_43 = term.getSubterm(0); + term = e_43; if(term.getTermType() != IStrategoTerm.APPL || transform._consCoordinatorDecHead_1 != ((IStrategoAppl)term).getConstructor()) - break Fail303; - w_56 = term.getSubterm(0); - term = w_56; + break Fail201; + f_43 = term.getSubterm(0); + term = f_43; if(true) return term; } diff --git a/coolf/src/main/java/cool/fill$Method$Maps_0_4.java b/coolf/src/main/java/cool/fill$Method$Maps_0_4.java index 06a49ec..46801e8 100644 --- a/coolf/src/main/java/cool/fill$Method$Maps_0_4.java +++ b/coolf/src/main/java/cool/fill$Method$Maps_0_4.java @@ -15,174 +15,174 @@ { public static fill$Method$Maps_0_4 instance = new fill$Method$Maps_0_4(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm c_79, IStrategoTerm d_79, IStrategoTerm e_79, IStrategoTerm f_79) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm j_51, IStrategoTerm k_51, IStrategoTerm l_51, IStrategoTerm m_51) { ITermFactory termFactory = context.getFactory(); context.push("fillMethodMaps_0_4"); - Fail319: + Fail219: { - IStrategoTerm g_79 = null; - IStrategoTerm h_79 = null; - IStrategoTerm i_79 = null; - IStrategoTerm j_79 = null; + IStrategoTerm n_51 = null; + IStrategoTerm o_51 = null; + IStrategoTerm p_51 = null; + IStrategoTerm q_51 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodAdditions_4 != ((IStrategoAppl)term).getConstructor()) - break Fail319; - i_79 = term.getSubterm(0); - g_79 = term.getSubterm(1); - h_79 = term.getSubterm(2); - j_79 = term.getSubterm(3); - IStrategoTerm term304 = term; - Success259: + break Fail219; + p_51 = term.getSubterm(0); + n_51 = term.getSubterm(1); + o_51 = term.getSubterm(2); + q_51 = term.getSubterm(3); + IStrategoTerm term201 = term; + Success159: { - Fail320: + Fail220: { - IStrategoTerm term305 = term; - Success260: + IStrategoTerm term202 = term; + Success160: { - Fail321: + Fail221: { - IStrategoTerm l_79 = null; - l_79 = term; - IStrategoTerm term306 = term; - Success261: + IStrategoTerm r_51 = null; + r_51 = term; + IStrategoTerm term203 = term; + Success161: { - Fail322: + Fail222: { - term = termFactory.makeTuple(g_79, cool.constNone0); + term = termFactory.makeTuple(n_51, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail322; + break Fail222; { if(true) - break Fail321; + break Fail221; if(true) - break Success261; + break Success161; } } - term = term306; + term = term203; } - term = l_79; + term = r_51; { - IStrategoTerm t_79 = null; - IStrategoTerm m_79 = null; - t_79 = c_79; - term = g_79; + IStrategoTerm z_51 = null; + IStrategoTerm s_51 = null; + z_51 = j_51; + term = n_51; if(term.getTermType() != IStrategoTerm.APPL || transform._consSome_1 != ((IStrategoAppl)term).getConstructor()) - break Fail320; - IStrategoTerm arg172 = term.getSubterm(0); - if(arg172.getTermType() != IStrategoTerm.APPL || transform._consRequires_1 != ((IStrategoAppl)arg172).getConstructor()) - break Fail320; - m_79 = arg172.getSubterm(0); - term = hashtable_put_0_2.instance.invoke(context, t_79, i_79, m_79); + break Fail220; + IStrategoTerm arg182 = term.getSubterm(0); + if(arg182.getTermType() != IStrategoTerm.APPL || transform._consRequires_1 != ((IStrategoAppl)arg182).getConstructor()) + break Fail220; + s_51 = arg182.getSubterm(0); + term = hashtable_put_0_2.instance.invoke(context, z_51, p_51, s_51); if(term == null) - break Fail320; + break Fail220; if(true) - break Success260; + break Success160; } } - term = term305; + term = term202; } - IStrategoTerm term307 = term; - Success262: + IStrategoTerm term204 = term; + Success162: { - Fail323: + Fail223: { - IStrategoTerm n_79 = null; - n_79 = term; - IStrategoTerm term308 = term; - Success263: + IStrategoTerm t_51 = null; + t_51 = term; + IStrategoTerm term205 = term; + Success163: { - Fail324: + Fail224: { - term = termFactory.makeTuple(h_79, cool.constNone0); + term = termFactory.makeTuple(o_51, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail324; + break Fail224; { if(true) - break Fail323; + break Fail223; if(true) - break Success263; + break Success163; } } - term = term308; + term = term205; } - term = n_79; + term = t_51; { - IStrategoTerm v_79 = null; - IStrategoTerm o_79 = null; - v_79 = e_79; - term = h_79; + IStrategoTerm b_52 = null; + IStrategoTerm u_51 = null; + b_52 = l_51; + term = o_51; if(term.getTermType() != IStrategoTerm.APPL || transform._consSome_1 != ((IStrategoAppl)term).getConstructor()) - break Fail320; - IStrategoTerm arg173 = term.getSubterm(0); - if(arg173.getTermType() != IStrategoTerm.APPL || transform._consOnEntry_1 != ((IStrategoAppl)arg173).getConstructor()) - break Fail320; - o_79 = arg173.getSubterm(0); - term = hashtable_put_0_2.instance.invoke(context, v_79, i_79, o_79); + break Fail220; + IStrategoTerm arg183 = term.getSubterm(0); + if(arg183.getTermType() != IStrategoTerm.APPL || transform._consOnEntry_1 != ((IStrategoAppl)arg183).getConstructor()) + break Fail220; + u_51 = arg183.getSubterm(0); + term = hashtable_put_0_2.instance.invoke(context, b_52, p_51, u_51); if(term == null) - break Fail320; + break Fail220; if(true) - break Success262; + break Success162; } } - term = term307; + term = term204; } - IStrategoTerm term309 = term; - Success264: + IStrategoTerm term206 = term; + Success164: { - Fail325: + Fail225: { - IStrategoTerm p_79 = null; - p_79 = term; - IStrategoTerm term310 = term; - Success265: + IStrategoTerm v_51 = null; + v_51 = term; + IStrategoTerm term207 = term; + Success165: { - Fail326: + Fail226: { - term = termFactory.makeTuple(j_79, cool.constNone0); + term = termFactory.makeTuple(q_51, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail326; + break Fail226; { if(true) - break Fail325; + break Fail225; if(true) - break Success265; + break Success165; } } - term = term310; + term = term207; } - term = p_79; + term = v_51; { - IStrategoTerm x_79 = null; - IStrategoTerm q_79 = null; - x_79 = d_79; - term = j_79; + IStrategoTerm d_52 = null; + IStrategoTerm w_51 = null; + d_52 = k_51; + term = q_51; if(term.getTermType() != IStrategoTerm.APPL || transform._consSome_1 != ((IStrategoAppl)term).getConstructor()) - break Fail320; - IStrategoTerm arg174 = term.getSubterm(0); - if(arg174.getTermType() != IStrategoTerm.APPL || transform._consOnExit_1 != ((IStrategoAppl)arg174).getConstructor()) - break Fail320; - q_79 = arg174.getSubterm(0); - term = hashtable_put_0_2.instance.invoke(context, x_79, i_79, q_79); + break Fail220; + IStrategoTerm arg184 = term.getSubterm(0); + if(arg184.getTermType() != IStrategoTerm.APPL || transform._consOnExit_1 != ((IStrategoAppl)arg184).getConstructor()) + break Fail220; + w_51 = arg184.getSubterm(0); + term = hashtable_put_0_2.instance.invoke(context, d_52, p_51, w_51); if(term == null) - break Fail320; + break Fail220; if(true) - break Success264; + break Success164; } } - term = term309; + term = term206; } if(true) - break Success259; + break Success159; } - term = term304; - IStrategoTerm z_79 = null; - z_79 = term; - term = report_with_failure_0_1.instance.invoke(context, z_79, cool.const133); + term = term201; + IStrategoTerm f_52 = null; + f_52 = term; + term = report_with_failure_0_1.instance.invoke(context, f_52, cool.const77); if(term == null) - break Fail319; + break Fail219; } term = cool.constNone0; context.popOnSuccess(); diff --git a/coolf/src/main/java/cool/gen_class_head_0_1.java b/coolf/src/main/java/cool/gen_class_head_0_1.java index 1a977d0..e077519 100644 --- a/coolf/src/main/java/cool/gen_class_head_0_1.java +++ b/coolf/src/main/java/cool/gen_class_head_0_1.java @@ -15,28 +15,59 @@ { public static gen_class_head_0_1 instance = new gen_class_head_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm n_53) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm w_38) { ITermFactory termFactory = context.getFactory(); context.push("gen_class_head_0_1"); - Fail295: + Fail185: { - IStrategoTerm p_53 = null; - IStrategoTerm q_53 = null; - term = fetch__class__name_0_0.instance.invoke(context, n_53); + IStrategoTerm y_38 = null; + IStrategoTerm z_38 = null; + term = w_38; + IStrategoTerm term187 = term; + IStrategoConstructor cons6 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; + Success145: + { + if(cons6 == transform._consTypeName_2) + { + Fail186: + { + IStrategoTerm z_171 = null; + IStrategoTerm arg140 = term.getSubterm(1); + if(arg140.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg140).getConstructor()) + break Fail186; + z_171 = arg140.getSubterm(0); + term = z_171; + if(true) + break Success145; + } + term = term187; + } + if(cons6 == transform._consTypeName_1) + { + IStrategoTerm a_172 = null; + IStrategoTerm arg141 = term.getSubterm(0); + if(arg141.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg141).getConstructor()) + break Fail185; + a_172 = arg141.getSubterm(0); + term = a_172; + } + else + { + break Fail185; + } + } + z_38 = term; + term = fetch__full__class__name_0_0.instance.invoke(context, w_38); if(term == null) - break Fail295; - q_53 = term; - term = fetch__full__class__name_0_0.instance.invoke(context, n_53); - if(term == null) - break Fail295; - term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName4, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId16, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{term}), (IStrategoList)cool.constNil0)})})}), (IStrategoList)cool.constNil0)}), (IStrategoList)cool.constCons28); - p_53 = term; - term = (IStrategoTerm)termFactory.makeListCons(q_53, (IStrategoList)cool.constCons29); + break Fail185; + term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName4, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId16, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{term}), (IStrategoList)cool.constNil0)})})}), (IStrategoList)cool.constNil0)}), (IStrategoList)cool.constCons11); + y_38 = term; + term = (IStrategoTerm)termFactory.makeListCons(z_38, (IStrategoList)cool.constCons3); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail295; - term = termFactory.makeAppl(transform._consClassDecHead_5, new IStrategoTerm[]{p_53, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term}), cool.constNone0, cool.constNone0, cool.constNone0}); + break Fail185; + term = termFactory.makeAppl(transform._consClassDecHead_5, new IStrategoTerm[]{y_38, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term}), cool.constNone0, cool.constNone0, cool.constNone0}); context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/gen_coordinator_body_0_1.java b/coolf/src/main/java/cool/gen_coordinator_body_0_1.java index 985c43b..5f4d31f 100644 --- a/coolf/src/main/java/cool/gen_coordinator_body_0_1.java +++ b/coolf/src/main/java/cool/gen_coordinator_body_0_1.java @@ -15,323 +15,323 @@ { public static gen_coordinator_body_0_1 instance = new gen_coordinator_body_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm ref_z_57) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm ref_v_43) { ITermFactory termFactory = context.getFactory(); - TermReference z_57 = new TermReference(ref_z_57); + TermReference v_43 = new TermReference(ref_v_43); context.push("gen_coordinator_body_0_1"); - Fail306: + Fail205: { - TermReference a_58 = new TermReference(); - TermReference o_71 = new TermReference(); - TermReference p_71 = new TermReference(); - IStrategoTerm q_71 = null; - TermReference r_71 = new TermReference(); - TermReference s_71 = new TermReference(); - IStrategoTerm t_71 = null; - IStrategoTerm u_71 = null; - TermReference v_71 = new TermReference(); - TermReference z_71 = new TermReference(); - IStrategoTerm a_72 = null; - IStrategoTerm c_72 = null; - TermReference d_72 = new TermReference(); - IStrategoTerm e_72 = null; - TermReference f_72 = new TermReference(); - TermReference g_72 = new TermReference(); - TermReference h_72 = new TermReference(); - TermReference j_72 = new TermReference(); - IStrategoTerm q_72 = null; - IStrategoTerm x_73 = null; - IStrategoTerm f_74 = null; - IStrategoTerm y_73 = null; - IStrategoTerm g_74 = null; - IStrategoTerm z_73 = null; - IStrategoTerm h_74 = null; - IStrategoTerm a_74 = null; - IStrategoTerm i_74 = null; - IStrategoTerm b_74 = null; - IStrategoTerm j_74 = null; - IStrategoTerm c_74 = null; - IStrategoTerm k_74 = null; - IStrategoTerm d_74 = null; - IStrategoTerm l_74 = null; + TermReference w_43 = new TermReference(); + TermReference x_43 = new TermReference(); + TermReference y_43 = new TermReference(); + IStrategoTerm z_43 = null; + TermReference a_44 = new TermReference(); + TermReference b_44 = new TermReference(); + IStrategoTerm c_44 = null; + IStrategoTerm d_44 = null; + TermReference e_44 = new TermReference(); + TermReference f_44 = new TermReference(); + IStrategoTerm g_44 = null; + IStrategoTerm h_44 = null; + TermReference i_44 = new TermReference(); + IStrategoTerm j_44 = null; + TermReference k_44 = new TermReference(); + TermReference l_44 = new TermReference(); + TermReference m_44 = new TermReference(); + TermReference n_44 = new TermReference(); + IStrategoTerm u_44 = null; + IStrategoTerm z_45 = null; + IStrategoTerm h_46 = null; + IStrategoTerm a_46 = null; + IStrategoTerm i_46 = null; + IStrategoTerm b_46 = null; + IStrategoTerm j_46 = null; + IStrategoTerm c_46 = null; + IStrategoTerm k_46 = null; + IStrategoTerm d_46 = null; + IStrategoTerm l_46 = null; + IStrategoTerm e_46 = null; + IStrategoTerm m_46 = null; + IStrategoTerm f_46 = null; + IStrategoTerm n_46 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consCoordinatorBody_1 != ((IStrategoAppl)term).getConstructor()) - break Fail306; - c_72 = term.getSubterm(0); - q_72 = term; - IStrategoTerm term295 = term; - Success250: + break Fail205; + h_44 = term.getSubterm(0); + u_44 = term; + IStrategoTerm term191 = term; + Success149: { - Fail307: + Fail206: { term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - if(f_72.value == null) - f_72.value = term; + break Fail206; + if(k_44.value == null) + k_44.value = term; else - if(f_72.value != term && !f_72.value.match(term)) - break Fail307; + if(k_44.value != term && !k_44.value.match(term)) + break Fail206; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - if(g_72.value == null) - g_72.value = term; + break Fail206; + if(l_44.value == null) + l_44.value = term; else - if(g_72.value != term && !g_72.value.match(term)) - break Fail307; + if(l_44.value != term && !l_44.value.match(term)) + break Fail206; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - if(h_72.value == null) - h_72.value = term; + break Fail206; + if(m_44.value == null) + m_44.value = term; else - if(h_72.value != term && !h_72.value.match(term)) - break Fail307; + if(m_44.value != term && !m_44.value.match(term)) + break Fail206; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - if(a_58.value == null) - a_58.value = term; + break Fail206; + if(w_43.value == null) + w_43.value = term; else - if(a_58.value != term && !a_58.value.match(term)) - break Fail307; + if(w_43.value != term && !w_43.value.match(term)) + break Fail206; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - if(o_71.value == null) - o_71.value = term; + break Fail206; + if(x_43.value == null) + x_43.value = term; else - if(o_71.value != term && !o_71.value.match(term)) - break Fail307; + if(x_43.value != term && !x_43.value.match(term)) + break Fail206; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - if(p_71.value == null) - p_71.value = term; + break Fail206; + if(y_43.value == null) + y_43.value = term; else - if(p_71.value != term && !p_71.value.match(term)) - break Fail307; + if(y_43.value != term && !y_43.value.match(term)) + break Fail206; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - if(j_72.value == null) - j_72.value = term; + break Fail206; + if(n_44.value == null) + n_44.value = term; else - if(j_72.value != term && !j_72.value.match(term)) - break Fail307; + if(n_44.value != term && !n_44.value.match(term)) + break Fail206; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - if(d_72.value == null) - d_72.value = term; + break Fail206; + if(i_44.value == null) + i_44.value = term; else - if(d_72.value != term && !d_72.value.match(term)) - break Fail307; + if(i_44.value != term && !i_44.value.match(term)) + break Fail206; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - if(r_71.value == null) - r_71.value = term; + break Fail206; + if(a_44.value == null) + a_44.value = term; else - if(r_71.value != term && !r_71.value.match(term)) - break Fail307; + if(a_44.value != term && !a_44.value.match(term)) + break Fail206; term = new_hashtable_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - if(s_71.value == null) - s_71.value = term; + break Fail206; + if(b_44.value == null) + b_44.value = term; else - if(s_71.value != term && !s_71.value.match(term)) - break Fail307; - term = getfirst_1_0.instance.invoke(context, c_72, lifted114.instance); + if(b_44.value != term && !b_44.value.match(term)) + break Fail206; + term = getfirst_1_0.instance.invoke(context, h_44, lifted112.instance); if(term == null) - break Fail307; - q_71 = term; - term = getfirst_1_0.instance.invoke(context, c_72, lifted115.instance); + break Fail206; + z_43 = term; + term = getfirst_1_0.instance.invoke(context, h_44, lifted113.instance); if(term == null) - break Fail307; + break Fail206; term = get_methods_list_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - t_71 = term; - term = getfirst_1_0.instance.invoke(context, c_72, lifted116.instance); + break Fail206; + c_44 = term; + term = getfirst_1_0.instance.invoke(context, h_44, lifted114.instance); if(term == null) - break Fail307; + break Fail206; term = get_methods_list_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - u_71 = term; - term = t_71; - lifted117 lifted1170 = new lifted117(); - lifted1170.r_71 = r_71; - term = map_1_0.instance.invoke(context, term, lifted1170); + break Fail206; + d_44 = term; + term = c_44; + lifted115 lifted1150 = new lifted115(); + lifted1150.a_44 = a_44; + term = map_1_0.instance.invoke(context, term, lifted1150); if(term == null) - break Fail307; - term = u_71; - lifted118 lifted1180 = new lifted118(); - lifted1180.s_71 = s_71; - term = map_1_0.instance.invoke(context, term, lifted1180); + break Fail206; + term = d_44; + lifted116 lifted1160 = new lifted116(); + lifted1160.b_44 = b_44; + term = map_1_0.instance.invoke(context, term, lifted1160); if(term == null) - break Fail307; - term = map_1_0.instance.invoke(context, t_71, lifted119.instance); + break Fail206; + term = map_1_0.instance.invoke(context, c_44, lifted117.instance); if(term == null) - break Fail307; - if(v_71.value == null) - v_71.value = term; + break Fail206; + if(e_44.value == null) + e_44.value = term; else - if(v_71.value != term && !v_71.value.match(term)) - break Fail307; - term = map_1_0.instance.invoke(context, u_71, lifted120.instance); + if(e_44.value != term && !e_44.value.match(term)) + break Fail206; + term = map_1_0.instance.invoke(context, d_44, lifted118.instance); if(term == null) - break Fail307; - if(z_71.value == null) - z_71.value = term; + break Fail206; + if(f_44.value == null) + f_44.value = term; else - if(z_71.value != term && !z_71.value.match(term)) - break Fail307; - if(v_71.value == null || z_71.value == null) - break Fail307; - term = termFactory.makeTuple(v_71.value, z_71.value); + if(f_44.value != term && !f_44.value.match(term)) + break Fail206; + if(e_44.value == null || f_44.value == null) + break Fail206; + term = termFactory.makeTuple(e_44.value, f_44.value); term = union_0_0.instance.invoke(context, term); if(term == null) - break Fail307; - a_72 = term; - lifted121 lifted1210 = new lifted121(); - lifted1210.j_72 = j_72; - term = map_1_0.instance.invoke(context, term, lifted1210); + break Fail206; + g_44 = term; + lifted119 lifted1190 = new lifted119(); + lifted1190.n_44 = n_44; + term = map_1_0.instance.invoke(context, term, lifted1190); if(term == null) - break Fail307; - term = retain_all_1_0.instance.invoke(context, c_72, lifted122.instance); + break Fail206; + term = retain_all_1_0.instance.invoke(context, h_44, lifted120.instance); if(term == null) - break Fail307; - e_72 = term; - lifted123 lifted1230 = new lifted123(); - lifted1230.d_72 = d_72; - term = map_1_0.instance.invoke(context, term, lifted1230); + break Fail206; + j_44 = term; + lifted121 lifted1211 = new lifted121(); + lifted1211.i_44 = i_44; + term = map_1_0.instance.invoke(context, term, lifted1211); if(term == null) - break Fail307; - term = e_72; - lifted124 lifted1240 = new lifted124(); - lifted1240.f_72 = f_72; - lifted1240.g_72 = g_72; - lifted1240.h_72 = h_72; - lifted1240.j_72 = j_72; - term = map_1_0.instance.invoke(context, term, lifted1240); + break Fail206; + term = j_44; + lifted122 lifted1220 = new lifted122(); + lifted1220.k_44 = k_44; + lifted1220.l_44 = l_44; + lifted1220.m_44 = m_44; + lifted1220.n_44 = n_44; + term = map_1_0.instance.invoke(context, term, lifted1220); if(term == null) - break Fail307; + break Fail206; if(true) - break Success250; + break Success149; } - term = term295; - IStrategoTerm u_73 = null; - u_73 = term; - term = report_with_failure_0_1.instance.invoke(context, u_73, cool.const118); + term = term191; + IStrategoTerm w_45 = null; + w_45 = term; + term = report_with_failure_0_1.instance.invoke(context, w_45, cool.const59); if(term == null) - break Fail306; + break Fail205; } - term = q_72; - f_74 = term; - if(q_71 == null) - break Fail306; - term = add_condition_fields_0_0.instance.invoke(context, q_71); + term = u_44; + h_46 = term; + if(z_43 == null) + break Fail205; + term = add_condition_fields_0_0.instance.invoke(context, z_43); if(term == null) - break Fail306; - x_73 = term; - g_74 = f_74; - term = add_coordinator_fields_0_0.instance.invoke(context, c_72); + break Fail205; + z_45 = term; + i_46 = h_46; + term = add_coordinator_fields_0_0.instance.invoke(context, h_44); if(term == null) - break Fail306; - y_73 = term; - term = g_74; - h_74 = g_74; - if(a_72 == null) - break Fail306; - term = a_72; - lifted125 lifted1250 = new lifted125(); - lifted1250.j_72 = j_72; - term = map_1_0.instance.invoke(context, term, lifted1250); + break Fail205; + a_46 = term; + term = i_46; + j_46 = i_46; + if(g_44 == null) + break Fail205; + term = g_44; + lifted123 lifted1230 = new lifted123(); + lifted1230.n_44 = n_44; + term = map_1_0.instance.invoke(context, term, lifted1230); if(term == null) - break Fail306; - z_73 = term; - term = h_74; - i_74 = h_74; + break Fail205; + b_46 = term; + term = j_46; + k_46 = j_46; term = gen_is$Run$By$Others_method_0_0.instance.invoke(context, term); if(term == null) - break Fail306; - a_74 = term; - term = i_74; - j_74 = i_74; - if(f_72.value == null) - break Fail306; - term = hashtable_keys_0_0.instance.invoke(context, f_72.value); + break Fail205; + c_46 = term; + term = k_46; + l_46 = k_46; + if(k_44.value == null) + break Fail205; + term = hashtable_keys_0_0.instance.invoke(context, k_44.value); if(term == null) - break Fail306; - lifted126 lifted1260 = new lifted126(); - lifted1260.f_72 = f_72; - lifted1260.a_58 = a_58; - lifted1260.j_72 = j_72; - term = map_1_0.instance.invoke(context, term, lifted1260); + break Fail205; + lifted124 lifted1240 = new lifted124(); + lifted1240.k_44 = k_44; + lifted1240.w_43 = w_43; + lifted1240.n_44 = n_44; + term = map_1_0.instance.invoke(context, term, lifted1240); if(term == null) - break Fail306; - b_74 = term; - term = j_74; - k_74 = j_74; - if(h_72.value == null) - break Fail306; - term = hashtable_keys_0_0.instance.invoke(context, h_72.value); + break Fail205; + d_46 = term; + term = l_46; + m_46 = l_46; + if(m_44.value == null) + break Fail205; + term = hashtable_keys_0_0.instance.invoke(context, m_44.value); if(term == null) - break Fail306; - lifted127 lifted1270 = new lifted127(); - lifted1270.h_72 = h_72; - lifted1270.z_57 = z_57; - lifted1270.p_71 = p_71; - lifted1270.j_72 = j_72; - term = map_1_0.instance.invoke(context, term, lifted1270); + break Fail205; + lifted125 lifted1250 = new lifted125(); + lifted1250.m_44 = m_44; + lifted1250.v_43 = v_43; + lifted1250.y_43 = y_43; + lifted1250.n_44 = n_44; + term = map_1_0.instance.invoke(context, term, lifted1250); if(term == null) - break Fail306; - c_74 = term; - term = k_74; - l_74 = k_74; - if(g_72.value == null) - break Fail306; - term = hashtable_keys_0_0.instance.invoke(context, g_72.value); + break Fail205; + e_46 = term; + term = m_46; + n_46 = m_46; + if(l_44.value == null) + break Fail205; + term = hashtable_keys_0_0.instance.invoke(context, l_44.value); if(term == null) - break Fail306; - lifted128 lifted1280 = new lifted128(); - lifted1280.g_72 = g_72; - lifted1280.z_57 = z_57; - lifted1280.o_71 = o_71; - lifted1280.j_72 = j_72; - term = map_1_0.instance.invoke(context, term, lifted1280); + break Fail205; + lifted126 lifted1260 = new lifted126(); + lifted1260.l_44 = l_44; + lifted1260.v_43 = v_43; + lifted1260.x_43 = x_43; + lifted1260.n_44 = n_44; + term = map_1_0.instance.invoke(context, term, lifted1260); if(term == null) - break Fail306; - d_74 = term; - term = l_74; - if(a_72 == null) - break Fail306; - term = a_72; - lifted129 lifted1290 = new lifted129(); - lifted1290.z_57 = z_57; - lifted1290.o_71 = o_71; - lifted1290.a_58 = a_58; - lifted1290.p_71 = p_71; - lifted1290.v_71 = v_71; - lifted1290.z_71 = z_71; - lifted1290.j_72 = j_72; - lifted1290.r_71 = r_71; - lifted1290.s_71 = s_71; - lifted1290.d_72 = d_72; - term = map_1_0.instance.invoke(context, term, lifted1290); + break Fail205; + f_46 = term; + term = n_46; + if(g_44 == null) + break Fail205; + term = g_44; + lifted127 lifted1270 = new lifted127(); + lifted1270.v_43 = v_43; + lifted1270.x_43 = x_43; + lifted1270.w_43 = w_43; + lifted1270.y_43 = y_43; + lifted1270.e_44 = e_44; + lifted1270.f_44 = f_44; + lifted1270.n_44 = n_44; + lifted1270.a_44 = a_44; + lifted1270.b_44 = b_44; + lifted1270.i_44 = i_44; + term = map_1_0.instance.invoke(context, term, lifted1270); if(term == null) - break Fail306; + break Fail205; term = concat_0_0.instance.invoke(context, term); if(term == null) - break Fail306; - term = termFactory.makeTuple(x_73, y_73, z_73, (IStrategoTerm)termFactory.makeListCons(a_74, (IStrategoList)cool.constNil0), b_74, c_74, d_74, term); + break Fail205; + term = termFactory.makeTuple(z_45, a_46, b_46, (IStrategoTerm)termFactory.makeListCons(c_46, (IStrategoList)cool.constNil0), d_46, e_46, f_46, term); term = conc_0_0.instance.invoke(context, term); if(term == null) - break Fail306; + break Fail205; term = termFactory.makeAppl(transform._consClassBody_1, new IStrategoTerm[]{term}); context.popOnSuccess(); if(true) diff --git a/coolf/src/main/java/cool/gen_is$Run$By$Others_method_0_0.java b/coolf/src/main/java/cool/gen_is$Run$By$Others_method_0_0.java index 153ddfe..25fb0b2 100644 --- a/coolf/src/main/java/cool/gen_is$Run$By$Others_method_0_0.java +++ b/coolf/src/main/java/cool/gen_is$Run$By$Others_method_0_0.java @@ -17,7 +17,7 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail285: + Fail176: { term = cool.constMethodDec0; if(true) diff --git a/coolf/src/main/java/cool/gen_method_state_0_1.java b/coolf/src/main/java/cool/gen_method_state_0_1.java index d84059d..3553bed 100644 --- a/coolf/src/main/java/cool/gen_method_state_0_1.java +++ b/coolf/src/main/java/cool/gen_method_state_0_1.java @@ -15,23 +15,23 @@ { public static gen_method_state_0_1 instance = new gen_method_state_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm o_51) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm x_36) { ITermFactory termFactory = context.getFactory(); context.push("gen_method_state_0_1"); - Fail286: + Fail177: { - IStrategoTerm q_51 = null; + IStrategoTerm z_36 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodSignature_2 != ((IStrategoAppl)term).getConstructor()) - break Fail286; - IStrategoTerm arg142 = term.getSubterm(0); - if(arg142.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg142).getConstructor()) - break Fail286; - q_51 = term; - term = gen_method_state_name_0_1.instance.invoke(context, q_51, o_51); + break Fail177; + IStrategoTerm arg128 = term.getSubterm(0); + if(arg128.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg128).getConstructor()) + break Fail177; + z_36 = term; + term = gen_method_state_name_0_1.instance.invoke(context, z_36, x_36); if(term == null) - break Fail286; - term = termFactory.makeAppl(transform._consFieldDec_3, new IStrategoTerm[]{cool.constCons20, cool.constClassOrInterfaceType1, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consVarDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term}), cool.constInvoke3}), (IStrategoList)cool.constNil0)}); + break Fail177; + term = termFactory.makeAppl(transform._consFieldDec_3, new IStrategoTerm[]{cool.constCons2, cool.constClassOrInterfaceType1, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consVarDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term}), cool.constInvoke3}), (IStrategoList)cool.constNil0)}); context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/gen_method_state_name_0_1.java b/coolf/src/main/java/cool/gen_method_state_name_0_1.java index cb24ee1..2f2ed20 100644 --- a/coolf/src/main/java/cool/gen_method_state_name_0_1.java +++ b/coolf/src/main/java/cool/gen_method_state_name_0_1.java @@ -15,34 +15,34 @@ { public static gen_method_state_name_0_1 instance = new gen_method_state_name_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm v_51) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm e_37) { ITermFactory termFactory = context.getFactory(); context.push("gen_method_state_name_0_1"); - Fail287: + Fail178: { - IStrategoTerm w_51 = null; - IStrategoTerm x_51 = null; + IStrategoTerm f_37 = null; + IStrategoTerm g_37 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodSignature_2 != ((IStrategoAppl)term).getConstructor()) - break Fail287; - IStrategoTerm arg144 = term.getSubterm(0); - if(arg144.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg144).getConstructor()) - break Fail287; - w_51 = arg144.getSubterm(0); + break Fail178; + IStrategoTerm arg130 = term.getSubterm(0); + if(arg130.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg130).getConstructor()) + break Fail178; + f_37 = arg130.getSubterm(0); term = strip_annos_0_0.instance.invoke(context, term); if(term == null) - break Fail287; - x_51 = term; - term = hashtable_get_0_1.instance.invoke(context, v_51, x_51); + break Fail178; + g_37 = term; + term = hashtable_get_0_1.instance.invoke(context, e_37, g_37); if(term == null) - break Fail287; + break Fail178; term = int_to_string_0_0.instance.invoke(context, term); if(term == null) - break Fail287; - term = (IStrategoTerm)termFactory.makeListCons(w_51, termFactory.makeListCons(term, (IStrategoList)cool.constCons27)); + break Fail178; + term = (IStrategoTerm)termFactory.makeListCons(f_37, termFactory.makeListCons(term, (IStrategoList)cool.constCons10)); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail287; + break Fail178; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/gen_on_entry_method_name_0_1.java b/coolf/src/main/java/cool/gen_on_entry_method_name_0_1.java index 7ba9108..ad4e957 100644 --- a/coolf/src/main/java/cool/gen_on_entry_method_name_0_1.java +++ b/coolf/src/main/java/cool/gen_on_entry_method_name_0_1.java @@ -15,34 +15,34 @@ { public static gen_on_entry_method_name_0_1 instance = new gen_on_entry_method_name_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm j_52) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm s_37) { ITermFactory termFactory = context.getFactory(); context.push("gen_on_entry_method_name_0_1"); - Fail289: + Fail180: { - IStrategoTerm k_52 = null; - IStrategoTerm l_52 = null; + IStrategoTerm t_37 = null; + IStrategoTerm u_37 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodSignature_2 != ((IStrategoAppl)term).getConstructor()) - break Fail289; - IStrategoTerm arg148 = term.getSubterm(0); - if(arg148.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg148).getConstructor()) - break Fail289; - k_52 = arg148.getSubterm(0); + break Fail180; + IStrategoTerm arg134 = term.getSubterm(0); + if(arg134.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg134).getConstructor()) + break Fail180; + t_37 = arg134.getSubterm(0); term = strip_annos_0_0.instance.invoke(context, term); if(term == null) - break Fail289; - l_52 = term; - term = hashtable_get_0_1.instance.invoke(context, j_52, l_52); + break Fail180; + u_37 = term; + term = hashtable_get_0_1.instance.invoke(context, s_37, u_37); if(term == null) - break Fail289; + break Fail180; term = int_to_string_0_0.instance.invoke(context, term); if(term == null) - break Fail289; - term = (IStrategoTerm)termFactory.makeListCons(cool.const103, termFactory.makeListCons(k_52, termFactory.makeListCons(term, (IStrategoList)cool.constNil0))); + break Fail180; + term = (IStrategoTerm)termFactory.makeListCons(cool.const41, termFactory.makeListCons(t_37, termFactory.makeListCons(term, (IStrategoList)cool.constNil0))); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail289; + break Fail180; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/gen_on_exit_method_name_0_1.java b/coolf/src/main/java/cool/gen_on_exit_method_name_0_1.java index af56500..78ffeed 100644 --- a/coolf/src/main/java/cool/gen_on_exit_method_name_0_1.java +++ b/coolf/src/main/java/cool/gen_on_exit_method_name_0_1.java @@ -15,34 +15,34 @@ { public static gen_on_exit_method_name_0_1 instance = new gen_on_exit_method_name_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm q_52) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm z_37) { ITermFactory termFactory = context.getFactory(); context.push("gen_on_exit_method_name_0_1"); - Fail290: + Fail181: { - IStrategoTerm r_52 = null; - IStrategoTerm s_52 = null; + IStrategoTerm a_38 = null; + IStrategoTerm b_38 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodSignature_2 != ((IStrategoAppl)term).getConstructor()) - break Fail290; - IStrategoTerm arg150 = term.getSubterm(0); - if(arg150.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg150).getConstructor()) - break Fail290; - r_52 = arg150.getSubterm(0); + break Fail181; + IStrategoTerm arg136 = term.getSubterm(0); + if(arg136.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg136).getConstructor()) + break Fail181; + a_38 = arg136.getSubterm(0); term = strip_annos_0_0.instance.invoke(context, term); if(term == null) - break Fail290; - s_52 = term; - term = hashtable_get_0_1.instance.invoke(context, q_52, s_52); + break Fail181; + b_38 = term; + term = hashtable_get_0_1.instance.invoke(context, z_37, b_38); if(term == null) - break Fail290; + break Fail181; term = int_to_string_0_0.instance.invoke(context, term); if(term == null) - break Fail290; - term = (IStrategoTerm)termFactory.makeListCons(cool.const104, termFactory.makeListCons(r_52, termFactory.makeListCons(term, (IStrategoList)cool.constNil0))); + break Fail181; + term = (IStrategoTerm)termFactory.makeListCons(cool.const42, termFactory.makeListCons(a_38, termFactory.makeListCons(term, (IStrategoList)cool.constNil0))); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail290; + break Fail181; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/gen_requires_method_name_0_1.java b/coolf/src/main/java/cool/gen_requires_method_name_0_1.java index 3e33d14..88064de 100644 --- a/coolf/src/main/java/cool/gen_requires_method_name_0_1.java +++ b/coolf/src/main/java/cool/gen_requires_method_name_0_1.java @@ -15,34 +15,34 @@ { public static gen_requires_method_name_0_1 instance = new gen_requires_method_name_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm c_52) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm l_37) { ITermFactory termFactory = context.getFactory(); context.push("gen_requires_method_name_0_1"); - Fail288: + Fail179: { - IStrategoTerm d_52 = null; - IStrategoTerm e_52 = null; + IStrategoTerm m_37 = null; + IStrategoTerm n_37 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodSignature_2 != ((IStrategoAppl)term).getConstructor()) - break Fail288; - IStrategoTerm arg146 = term.getSubterm(0); - if(arg146.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg146).getConstructor()) - break Fail288; - d_52 = arg146.getSubterm(0); + break Fail179; + IStrategoTerm arg132 = term.getSubterm(0); + if(arg132.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg132).getConstructor()) + break Fail179; + m_37 = arg132.getSubterm(0); term = strip_annos_0_0.instance.invoke(context, term); if(term == null) - break Fail288; - e_52 = term; - term = hashtable_get_0_1.instance.invoke(context, c_52, e_52); + break Fail179; + n_37 = term; + term = hashtable_get_0_1.instance.invoke(context, l_37, n_37); if(term == null) - break Fail288; + break Fail179; term = int_to_string_0_0.instance.invoke(context, term); if(term == null) - break Fail288; - term = (IStrategoTerm)termFactory.makeListCons(cool.const102, termFactory.makeListCons(d_52, termFactory.makeListCons(term, (IStrategoList)cool.constNil0))); + break Fail179; + term = (IStrategoTerm)termFactory.makeListCons(cool.const40, termFactory.makeListCons(m_37, termFactory.makeListCons(term, (IStrategoList)cool.constNil0))); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail288; + break Fail179; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/gen_source_location_0_0.java b/coolf/src/main/java/cool/gen_source_location_0_0.java new file mode 100644 index 0000000..1d041a1 --- /dev/null +++ b/coolf/src/main/java/cool/gen_source_location_0_0.java @@ -0,0 +1,42 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") public class gen_source_location_0_0 extends Strategy +{ + public static gen_source_location_0_0 instance = new gen_source_location_0_0(); + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) + { + ITermFactory termFactory = context.getFactory(); + context.push("gen_source_location_0_0"); + Fail173: + { + IStrategoTerm k_36 = null; + IStrategoTerm l_36 = null; + k_36 = term; + term = origin_location_0_0.instance.invoke(context, k_36); + if(term == null) + break Fail173; + l_36 = term; + term = origin_file_0_0.instance.invoke(context, k_36); + if(term == null) + break Fail173; + term = (IStrategoTerm)termFactory.makeListCons(l_36, termFactory.makeListCons(term, (IStrategoList)cool.constNil0)); + context.popOnSuccess(); + if(true) + return term; + } + context.popOnFailure(); + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/gen_source_location_ann_0_1.java b/coolf/src/main/java/cool/gen_source_location_ann_0_1.java new file mode 100644 index 0000000..56a9b99 --- /dev/null +++ b/coolf/src/main/java/cool/gen_source_location_ann_0_1.java @@ -0,0 +1,81 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") public class gen_source_location_ann_0_1 extends Strategy +{ + public static gen_source_location_ann_0_1 instance = new gen_source_location_ann_0_1(); + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm f_40) + { + ITermFactory termFactory = context.getFactory(); + context.push("gen_source_location_ann_0_1"); + Fail188: + { + IStrategoTerm g_40 = null; + IStrategoTerm h_40 = null; + IStrategoTerm i_40 = null; + IStrategoTerm j_40 = null; + IStrategoTerm k_40 = null; + g_40 = term; + term = get_file_0_0.instance.invoke(context, g_40); + if(term == null) + break Fail188; + h_40 = term; + term = get_location_0_0.instance.invoke(context, g_40); + if(term == null) + break Fail188; + term = get_start_line_0_0.instance.invoke(context, term); + if(term == null) + break Fail188; + term = int_to_string_0_0.instance.invoke(context, term); + if(term == null) + break Fail188; + i_40 = term; + term = get_location_0_0.instance.invoke(context, g_40); + if(term == null) + break Fail188; + term = get_end_line_0_0.instance.invoke(context, term); + if(term == null) + break Fail188; + term = int_to_string_0_0.instance.invoke(context, term); + if(term == null) + break Fail188; + j_40 = term; + term = get_location_0_0.instance.invoke(context, g_40); + if(term == null) + break Fail188; + term = get_column_0_0.instance.invoke(context, term); + if(term == null) + break Fail188; + term = int_to_string_0_0.instance.invoke(context, term); + if(term == null) + break Fail188; + k_40 = term; + term = get_location_0_0.instance.invoke(context, g_40); + if(term == null) + break Fail188; + term = get_offset_0_0.instance.invoke(context, term); + if(term == null) + break Fail188; + term = int_to_string_0_0.instance.invoke(context, term); + if(term == null) + break Fail188; + term = termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{f_40})}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId24, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{h_40}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId23, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consDeci_1, new IStrategoTerm[]{i_40})})}), termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId22, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consDeci_1, new IStrategoTerm[]{j_40})})}), termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId21, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consDeci_1, new IStrategoTerm[]{k_40})})}), termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId20, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consDeci_1, new IStrategoTerm[]{term})})}), (IStrategoList)cool.constNil0)))))}); + context.popOnSuccess(); + if(true) + return term; + } + context.popOnFailure(); + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/generate_imports_0_2.java b/coolf/src/main/java/cool/generate_imports_0_2.java index 93b5951..c07806b 100644 --- a/coolf/src/main/java/cool/generate_imports_0_2.java +++ b/coolf/src/main/java/cool/generate_imports_0_2.java @@ -15,16 +15,16 @@ { public static generate_imports_0_2 instance = new generate_imports_0_2(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm o_56, IStrategoTerm p_56) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm a_43, IStrategoTerm b_43) { ITermFactory termFactory = context.getFactory(); context.push("generate_imports_0_2"); - Fail301: + Fail199: { - term = termFactory.makeTuple(o_56, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consTypeImportDec_1, new IStrategoTerm[]{p_56}), (IStrategoList)cool.constNil0), cool.constCons32, cool.constCons35); + term = termFactory.makeTuple(a_43, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consTypeImportDec_1, new IStrategoTerm[]{b_43}), (IStrategoList)cool.constNil0), cool.constCons14, cool.constCons17); term = conc_0_0.instance.invoke(context, term); if(term == null) - break Fail301; + break Fail199; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/generate_invoke_ref_0_1.java b/coolf/src/main/java/cool/generate_invoke_ref_0_1.java index 8bb6733..da159d2 100644 --- a/coolf/src/main/java/cool/generate_invoke_ref_0_1.java +++ b/coolf/src/main/java/cool/generate_invoke_ref_0_1.java @@ -15,12 +15,12 @@ { public static generate_invoke_ref_0_1 instance = new generate_invoke_ref_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm q_42) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm r_26) { ITermFactory termFactory = context.getFactory(); - Fail216: + Fail102: { - term = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{q_42})})}), cool.constCons19}); + term = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{r_26})})}), cool.constCons1}); if(true) return term; } diff --git a/coolf/src/main/java/cool/generate_ref_method__name_0_2.java b/coolf/src/main/java/cool/generate_ref_method__name_0_2.java index 0e853ea..f00fa71 100644 --- a/coolf/src/main/java/cool/generate_ref_method__name_0_2.java +++ b/coolf/src/main/java/cool/generate_ref_method__name_0_2.java @@ -15,73 +15,73 @@ { public static generate_ref_method__name_0_2 instance = new generate_ref_method__name_0_2(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm r_42, IStrategoTerm s_42) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm s_26, IStrategoTerm t_26) { ITermFactory termFactory = context.getFactory(); context.push("generate_ref_method__name_0_2"); - Fail217: + Fail103: { - IStrategoTerm t_42 = null; - IStrategoTerm term232 = term; - Success187: + IStrategoTerm u_26 = null; + IStrategoTerm term126 = term; + Success84: { - Fail218: + Fail104: { - IStrategoTerm v_42 = null; - v_42 = term; - IStrategoTerm term233 = term; - Success188: + IStrategoTerm w_26 = null; + w_26 = term; + IStrategoTerm term127 = term; + Success85: { - Fail219: + Fail105: { - term = hashtable_keys_0_0.instance.invoke(context, s_42); + term = hashtable_keys_0_0.instance.invoke(context, t_26); if(term == null) - break Fail219; - term = termFactory.makeTuple(r_42, term); + break Fail105; + term = termFactory.makeTuple(s_26, term); term = elem_0_0.instance.invoke(context, term); if(term == null) - break Fail219; + break Fail105; { if(true) - break Fail218; + break Fail104; if(true) - break Success188; + break Success85; } } - term = term233; + term = term127; } - term = v_42; + term = w_26; { - term = hashtable_keys_0_0.instance.invoke(context, s_42); + term = hashtable_keys_0_0.instance.invoke(context, t_26); if(term == null) - break Fail217; + break Fail103; term = length_0_0.instance.invoke(context, term); if(term == null) - break Fail217; - term = termFactory.makeTuple(term, cool.const83); + break Fail103; + term = termFactory.makeTuple(term, cool.const16); term = add_0_0.instance.invoke(context, term); if(term == null) - break Fail217; - t_42 = term; - term = int_to_string_0_0.instance.invoke(context, t_42); + break Fail103; + u_26 = term; + term = int_to_string_0_0.instance.invoke(context, u_26); if(term == null) - break Fail217; - term = (IStrategoTerm)termFactory.makeListCons(cool.const84, termFactory.makeListCons(term, (IStrategoList)cool.constNil0)); + break Fail103; + term = (IStrategoTerm)termFactory.makeListCons(cool.const17, termFactory.makeListCons(term, (IStrategoList)cool.constNil0)); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail217; - term = hashtable_put_0_2.instance.invoke(context, s_42, r_42, term); + break Fail103; + term = hashtable_put_0_2.instance.invoke(context, t_26, s_26, term); if(term == null) - break Fail217; + break Fail103; if(true) - break Success187; + break Success84; } } - term = term232; + term = term126; } - term = hashtable_get_0_1.instance.invoke(context, s_42, r_42); + term = hashtable_get_0_1.instance.invoke(context, t_26, s_26); if(term == null) - break Fail217; + break Fail103; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/get_$L$H$S_type_0_3.java b/coolf/src/main/java/cool/get_$L$H$S_type_0_3.java index 3a78e17..986e5b6 100644 --- a/coolf/src/main/java/cool/get_$L$H$S_type_0_3.java +++ b/coolf/src/main/java/cool/get_$L$H$S_type_0_3.java @@ -15,47 +15,47 @@ { public static get_$L$H$S_type_0_3 instance = new get_$L$H$S_type_0_3(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm f_41, IStrategoTerm g_41, IStrategoTerm h_41) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm g_25, IStrategoTerm h_25, IStrategoTerm i_25) { ITermFactory termFactory = context.getFactory(); context.push("get_LHS_type_0_3"); - Fail208: + Fail94: { - IStrategoTerm i_41 = null; - IStrategoTerm j_41 = null; - IStrategoTerm l_41 = null; - l_41 = term; - i_41 = term; - term = get_type_of_0_3.instance.invoke(context, l_41, f_41, g_41, h_41); + IStrategoTerm j_25 = null; + IStrategoTerm k_25 = null; + IStrategoTerm m_25 = null; + m_25 = term; + j_25 = term; + term = get_type_of_0_3.instance.invoke(context, m_25, g_25, h_25, i_25); if(term == null) - break Fail208; - j_41 = term; - Success182: + break Fail94; + k_25 = term; + Success79: { - Fail209: + Fail95: { - IStrategoTerm k_41 = null; - k_41 = term; - term = termFactory.makeTuple(j_41, cool.constNone0); + IStrategoTerm l_25 = null; + l_25 = term; + term = termFactory.makeTuple(k_25, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail209; - term = k_41; + break Fail95; + term = l_25; { - term = debug_0_0.instance.invoke(context, cool.const81); + term = debug_0_0.instance.invoke(context, cool.const13); if(term == null) - break Fail208; - term = debug_0_0.instance.invoke(context, i_41); + break Fail94; + term = debug_0_0.instance.invoke(context, j_25); if(term == null) - break Fail208; - term = cool.const77; + break Fail94; + term = cool.const9; if(true) - break Fail208; + break Fail94; if(true) - break Success182; + break Success79; } } - term = j_41; + term = k_25; } context.popOnSuccess(); if(true) diff --git a/coolf/src/main/java/cool/has_leftmost_not_0_0.java b/coolf/src/main/java/cool/get_column_0_0.java similarity index 60% rename from coolf/src/main/java/cool/has_leftmost_not_0_0.java rename to coolf/src/main/java/cool/get_column_0_0.java index f602f46..bb50a15 100644 --- a/coolf/src/main/java/cool/has_leftmost_not_0_0.java +++ b/coolf/src/main/java/cool/get_column_0_0.java @@ -11,22 +11,23 @@ import java.util.ArrayList; import java.lang.ref.WeakReference; -@SuppressWarnings("all") public class has_leftmost_not_0_0 extends Strategy +@SuppressWarnings("all") public class get_column_0_0 extends Strategy { - public static has_leftmost_not_0_0 instance = new has_leftmost_not_0_0(); + public static get_column_0_0 instance = new get_column_0_0(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - context.push("has_leftmost_not_0_0"); - Fail107: + Fail193: { - term = t_22.instance.invoke(context, term); - if(term == null) - break Fail107; - context.popOnSuccess(); + IStrategoTerm z_40 = null; + if(term.getTermType() != IStrategoTerm.TUPLE || term.getSubtermCount() != 4) + break Fail193; + z_40 = term.getSubterm(1); + term = z_40; if(true) return term; } + context.push("get_column_0_0"); context.popOnFailure(); return null; } diff --git a/coolf/src/main/java/cool/get_coordinator_0_1.java b/coolf/src/main/java/cool/get_coordinator_0_1.java index a99bd95..e56ac19 100644 --- a/coolf/src/main/java/cool/get_coordinator_0_1.java +++ b/coolf/src/main/java/cool/get_coordinator_0_1.java @@ -15,14 +15,14 @@ { public static get_coordinator_0_1 instance = new get_coordinator_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm s_56) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm c_43) { context.push("get_coordinator_0_1"); - Fail302: + Fail200: { - term = getfirst_1_0.instance.invoke(context, s_56, lifted113.instance); + term = getfirst_1_0.instance.invoke(context, c_43, lifted111.instance); if(term == null) - break Fail302; + break Fail200; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/get_end_line_0_0.java b/coolf/src/main/java/cool/get_end_line_0_0.java new file mode 100644 index 0000000..1bdccfa --- /dev/null +++ b/coolf/src/main/java/cool/get_end_line_0_0.java @@ -0,0 +1,34 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") public class get_end_line_0_0 extends Strategy +{ + public static get_end_line_0_0 instance = new get_end_line_0_0(); + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) + { + Fail192: + { + IStrategoTerm y_40 = null; + if(term.getTermType() != IStrategoTerm.TUPLE || term.getSubtermCount() != 4) + break Fail192; + y_40 = term.getSubterm(2); + term = y_40; + if(true) + return term; + } + context.push("get_end_line_0_0"); + context.popOnFailure(); + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/get_expr_type_0_3.java b/coolf/src/main/java/cool/get_expr_type_0_3.java index 1a8df00..92770de 100644 --- a/coolf/src/main/java/cool/get_expr_type_0_3.java +++ b/coolf/src/main/java/cool/get_expr_type_0_3.java @@ -15,32 +15,32 @@ { public static get_expr_type_0_3 instance = new get_expr_type_0_3(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm r_44, IStrategoTerm s_44, IStrategoTerm t_44) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm s_28, IStrategoTerm t_28, IStrategoTerm u_28) { ITermFactory termFactory = context.getFactory(); context.push("get_expr_type_0_3"); - Fail233: + Fail119: { - Success199: + Success96: { - Fail234: + Fail120: { - IStrategoTerm u_44 = null; - u_44 = term; - term = hashtable_keys_0_0.instance.invoke(context, s_44); + IStrategoTerm v_28 = null; + v_28 = term; + term = hashtable_keys_0_0.instance.invoke(context, t_28); if(term == null) - break Fail234; - term = termFactory.makeTuple(r_44, term); + break Fail120; + term = termFactory.makeTuple(s_28, term); term = elem_0_0.instance.invoke(context, term); if(term == null) - break Fail234; - term = u_44; + break Fail120; + term = v_28; { - term = hashtable_get_0_1.instance.invoke(context, t_44, r_44); + term = hashtable_get_0_1.instance.invoke(context, u_28, s_28); if(term == null) - break Fail233; + break Fail119; if(true) - break Success199; + break Success96; } } term = cool.constNone0; diff --git a/coolf/src/main/java/cool/get_file_0_0.java b/coolf/src/main/java/cool/get_file_0_0.java new file mode 100644 index 0000000..f6bfd55 --- /dev/null +++ b/coolf/src/main/java/cool/get_file_0_0.java @@ -0,0 +1,47 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") public class get_file_0_0 extends Strategy +{ + public static get_file_0_0 instance = new get_file_0_0(); + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) + { + Fail190: + { + IStrategoTerm w_40 = null; + IStrategoList annos1 = term.getAnnotations(); + if(annos1.getTermType() != IStrategoTerm.LIST || ((IStrategoList)annos1).isEmpty()) + break Fail190; + IStrategoTerm arg145 = ((IStrategoList)annos1).head(); + if(arg145.getTermType() != IStrategoTerm.LIST || ((IStrategoList)arg145).isEmpty()) + break Fail190; + IStrategoTerm arg146 = ((IStrategoList)arg145).tail(); + if(arg146.getTermType() != IStrategoTerm.LIST || ((IStrategoList)arg146).isEmpty()) + break Fail190; + w_40 = ((IStrategoList)arg146).head(); + IStrategoTerm arg147 = ((IStrategoList)arg146).tail(); + if(arg147.getTermType() != IStrategoTerm.LIST || !((IStrategoList)arg147).isEmpty()) + break Fail190; + IStrategoTerm arg148 = ((IStrategoList)annos1).tail(); + if(arg148.getTermType() != IStrategoTerm.LIST || !((IStrategoList)arg148).isEmpty()) + break Fail190; + term = w_40; + if(true) + return term; + } + context.push("get_file_0_0"); + context.popOnFailure(); + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/get_location_0_0.java b/coolf/src/main/java/cool/get_location_0_0.java new file mode 100644 index 0000000..3df7259 --- /dev/null +++ b/coolf/src/main/java/cool/get_location_0_0.java @@ -0,0 +1,41 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") public class get_location_0_0 extends Strategy +{ + public static get_location_0_0 instance = new get_location_0_0(); + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) + { + Fail189: + { + IStrategoTerm t_40 = null; + IStrategoList annos0 = term.getAnnotations(); + if(annos0.getTermType() != IStrategoTerm.LIST || ((IStrategoList)annos0).isEmpty()) + break Fail189; + IStrategoTerm arg143 = ((IStrategoList)annos0).head(); + if(arg143.getTermType() != IStrategoTerm.LIST || ((IStrategoList)arg143).isEmpty()) + break Fail189; + t_40 = ((IStrategoList)arg143).head(); + IStrategoTerm arg144 = ((IStrategoList)annos0).tail(); + if(arg144.getTermType() != IStrategoTerm.LIST || !((IStrategoList)arg144).isEmpty()) + break Fail189; + term = t_40; + if(true) + return term; + } + context.push("get_location_0_0"); + context.popOnFailure(); + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/get_methods_list_0_0.java b/coolf/src/main/java/cool/get_methods_list_0_0.java index 2827c3b..0437fba 100644 --- a/coolf/src/main/java/cool/get_methods_list_0_0.java +++ b/coolf/src/main/java/cool/get_methods_list_0_0.java @@ -17,45 +17,45 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail331: + Fail231: { - IStrategoTerm term313 = term; - IStrategoConstructor cons14 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success268: + IStrategoTerm term210 = term; + IStrategoConstructor cons8 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; + Success168: { - if(cons14 == transform._consSelfex_1) + if(cons8 == transform._consSelfex_1) { - Fail332: + Fail232: { - IStrategoTerm d_81 = null; - d_81 = term.getSubterm(0); - term = d_81; + IStrategoTerm c_53 = null; + c_53 = term.getSubterm(0); + term = c_53; if(true) - break Success268; + break Success168; } - term = term313; + term = term210; } - Success269: + Success169: { - if(cons14 == transform._consMutex_1) + if(cons8 == transform._consMutex_1) { - Fail333: + Fail233: { - IStrategoTerm c_81 = null; - c_81 = term.getSubterm(0); - term = c_81; + IStrategoTerm b_53 = null; + b_53 = term.getSubterm(0); + term = b_53; if(true) - break Success269; + break Success169; } - term = term313; + term = term210; } - if(cons14 == transform._consNone_0) + if(cons8 == transform._consNone_0) { term = cool.constNil0; } else { - break Fail331; + break Fail231; } } } diff --git a/coolf/src/main/java/cool/get_offset_0_0.java b/coolf/src/main/java/cool/get_offset_0_0.java new file mode 100644 index 0000000..90a265a --- /dev/null +++ b/coolf/src/main/java/cool/get_offset_0_0.java @@ -0,0 +1,34 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") public class get_offset_0_0 extends Strategy +{ + public static get_offset_0_0 instance = new get_offset_0_0(); + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) + { + Fail194: + { + IStrategoTerm a_41 = null; + if(term.getTermType() != IStrategoTerm.TUPLE || term.getSubtermCount() != 4) + break Fail194; + a_41 = term.getSubterm(3); + term = a_41; + if(true) + return term; + } + context.push("get_offset_0_0"); + context.popOnFailure(); + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/get_start_line_0_0.java b/coolf/src/main/java/cool/get_start_line_0_0.java new file mode 100644 index 0000000..1551b1e --- /dev/null +++ b/coolf/src/main/java/cool/get_start_line_0_0.java @@ -0,0 +1,34 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") public class get_start_line_0_0 extends Strategy +{ + public static get_start_line_0_0 instance = new get_start_line_0_0(); + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) + { + Fail191: + { + IStrategoTerm x_40 = null; + if(term.getTermType() != IStrategoTerm.TUPLE || term.getSubtermCount() != 4) + break Fail191; + x_40 = term.getSubterm(0); + term = x_40; + if(true) + return term; + } + context.push("get_start_line_0_0"); + context.popOnFailure(); + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/get_type_of_0_3.java b/coolf/src/main/java/cool/get_type_of_0_3.java index b1f9bcd..f3cde35 100644 --- a/coolf/src/main/java/cool/get_type_of_0_3.java +++ b/coolf/src/main/java/cool/get_type_of_0_3.java @@ -15,54 +15,54 @@ { public static get_type_of_0_3 instance = new get_type_of_0_3(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm n_41, IStrategoTerm o_41, IStrategoTerm p_41) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm o_25, IStrategoTerm p_25, IStrategoTerm q_25) { context.push("get_type_of_0_3"); - Fail210: + Fail96: { - IStrategoTerm q_41 = null; - IStrategoTerm term228 = term; - Success183: + IStrategoTerm r_25 = null; + IStrategoTerm term122 = term; + Success80: { - Fail211: + Fail97: { - IStrategoTerm r_41 = null; - r_41 = term; - IStrategoTerm term229 = term; - Success184: + IStrategoTerm s_25 = null; + s_25 = term; + IStrategoTerm term123 = term; + Success81: { - Fail212: + Fail98: { - term = type_of_0_3.instance.invoke(context, term, n_41, o_41, p_41); + term = type_of_0_3.instance.invoke(context, term, o_25, p_25, q_25); if(term == null) - break Fail212; - q_41 = term; + break Fail98; + r_25 = term; { if(true) - break Fail211; + break Fail97; if(true) - break Success184; + break Success81; } } - term = term229; + term = term123; } - term = r_41; + term = s_25; { term = cool.constNone0; - if(q_41 == null) - q_41 = term; + if(r_25 == null) + r_25 = term; else - if(q_41 != term && !q_41.match(term)) - break Fail210; + if(r_25 != term && !r_25.match(term)) + break Fail96; if(true) - break Success183; + break Success80; } } - term = term228; + term = term122; } - if(q_41 == null) - break Fail210; - term = q_41; + if(r_25 == null) + break Fail96; + term = r_25; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/handle_expr_0_7.java b/coolf/src/main/java/cool/handle_expr_0_7.java index 24b88cb..63fa29d 100644 --- a/coolf/src/main/java/cool/handle_expr_0_7.java +++ b/coolf/src/main/java/cool/handle_expr_0_7.java @@ -15,90 +15,90 @@ { public static handle_expr_0_7 instance = new handle_expr_0_7(); - public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm u_41, IStrategoTerm v_41, IStrategoTerm w_41, IStrategoTerm x_41, IStrategoTerm y_41, IStrategoTerm z_41, IStrategoTerm a_42) + public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm v_25, IStrategoTerm w_25, IStrategoTerm x_25, IStrategoTerm y_25, IStrategoTerm z_25, IStrategoTerm a_26, IStrategoTerm b_26) { ITermFactory termFactory = context.getFactory(); context.push("handle_expr_0_7"); - Fail213: + Fail99: { - IStrategoTerm b_42 = null; - IStrategoTerm c_42 = null; - IStrategoTerm d_42 = null; - IStrategoTerm g_42 = null; - g_42 = term; - b_42 = term; - term = fetch_0_0.instance.invoke(context, g_42); + IStrategoTerm c_26 = null; + IStrategoTerm d_26 = null; + IStrategoTerm e_26 = null; + IStrategoTerm h_26 = null; + h_26 = term; + c_26 = term; + term = fetch_0_0.instance.invoke(context, h_26); if(term == null) - break Fail213; - c_42 = term; - IStrategoTerm term230 = term; - Success185: + break Fail99; + d_26 = term; + IStrategoTerm term124 = term; + Success82: { - Fail214: + Fail100: { - IStrategoTerm e_42 = null; - e_42 = term; - term = hashtable_keys_0_0.instance.invoke(context, u_41); + IStrategoTerm f_26 = null; + f_26 = term; + term = hashtable_keys_0_0.instance.invoke(context, v_25); if(term == null) - break Fail214; - term = termFactory.makeTuple(c_42, term); + break Fail100; + term = termFactory.makeTuple(d_26, term); term = elem_0_0.instance.invoke(context, term); if(term == null) - break Fail214; - term = e_42; + break Fail100; + term = f_26; { - term = b_42; + term = c_26; if(true) - break Success185; + break Success82; } } - term = term230; - IStrategoTerm term231 = term; - Success186: + term = term124; + IStrategoTerm term125 = term; + Success83: { - Fail215: + Fail101: { - IStrategoTerm f_42 = null; - f_42 = term; - term = termFactory.makeTuple(z_41, cool.constFalse0); + IStrategoTerm g_26 = null; + g_26 = term; + term = termFactory.makeTuple(a_26, cool.constFalse0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail215; - term = f_42; + break Fail101; + term = g_26; { - term = debug_0_0.instance.invoke(context, cool.const82); + term = debug_0_0.instance.invoke(context, cool.const14); if(term == null) - break Fail213; - term = debug_0_0.instance.invoke(context, b_42); + break Fail99; + term = debug_0_0.instance.invoke(context, c_26); if(term == null) - break Fail213; - term = cool.const77; + break Fail99; + term = cool.const9; if(true) - break Fail213; + break Fail99; if(true) - break Success186; + break Success83; } } - term = term231; - IStrategoTerm n_42 = null; - term = generate_ref_method__name_0_2.instance.invoke(context, term, c_42, x_41); + term = term125; + IStrategoTerm o_26 = null; + term = generate_ref_method__name_0_2.instance.invoke(context, term, d_26, y_25); if(term == null) - break Fail213; - d_42 = term; - term = v_41; - n_42 = v_41; - term = create_ref_method_0_4.instance.invoke(context, term, c_42, d_42, y_41, a_42); + break Fail99; + e_26 = term; + term = w_25; + o_26 = w_25; + term = create_ref_method_0_4.instance.invoke(context, term, d_26, e_26, z_25, b_26); if(term == null) - break Fail213; - term = iset_add_0_1.instance.invoke(context, n_42, term); + break Fail99; + term = iset_add_0_1.instance.invoke(context, o_26, term); if(term == null) - break Fail213; - term = iset_add_0_1.instance.invoke(context, w_41, c_42); + break Fail99; + term = iset_add_0_1.instance.invoke(context, x_25, d_26); if(term == null) - break Fail213; - term = generate_invoke_ref_0_1.instance.invoke(context, cool.const77, d_42); + break Fail99; + term = generate_invoke_ref_0_1.instance.invoke(context, cool.const9, e_26); if(term == null) - break Fail213; + break Fail99; } } context.popOnSuccess(); diff --git a/coolf/src/main/java/cool/handle_io_0_0.java b/coolf/src/main/java/cool/handle_io_0_0.java new file mode 100644 index 0000000..9446b1c --- /dev/null +++ b/coolf/src/main/java/cool/handle_io_0_0.java @@ -0,0 +1,99 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") public class handle_io_0_0 extends Strategy +{ + public static handle_io_0_0 instance = new handle_io_0_0(); + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) + { + ITermFactory termFactory = context.getFactory(); + context.push("handle_io_0_0"); + Fail170: + { + IStrategoTerm c_35 = null; + IStrategoTerm d_35 = null; + IStrategoTerm f_35 = null; + IStrategoTerm k_35 = null; + IStrategoTerm l_35 = null; + IStrategoTerm n_35 = null; + IStrategoTerm s_35 = null; + IStrategoTerm p_35 = null; + if(term.getTermType() != IStrategoTerm.LIST || ((IStrategoList)term).isEmpty()) + break Fail170; + c_35 = ((IStrategoList)term).tail(); + term = debug_0_0.instance.invoke(context, cool.const25); + if(term == null) + break Fail170; + term = debug_0_0.instance.invoke(context, c_35); + if(term == null) + break Fail170; + term = c_35; + if(term.getTermType() != IStrategoTerm.LIST || ((IStrategoList)term).isEmpty()) + break Fail170; + n_35 = ((IStrategoList)term).head(); + term = n_35; + f_35 = n_35; + term = $Read$From$File_0_0.instance.invoke(context, term); + if(term == null) + break Fail170; + d_35 = term; + term = c_35; + if(term.getTermType() != IStrategoTerm.LIST || ((IStrategoList)term).isEmpty()) + break Fail170; + s_35 = ((IStrategoList)term).tail(); + term = s_35; + if(term.getTermType() != IStrategoTerm.LIST || ((IStrategoList)term).isEmpty()) + break Fail170; + p_35 = ((IStrategoList)term).head(); + k_35 = p_35; + term = transform_0_0.instance.invoke(context, d_35); + if(term == null) + break Fail170; + l_35 = term; + term = dirname_0_0.instance.invoke(context, f_35); + if(term == null) + break Fail170; + term = base_filename_0_0.instance.invoke(context, f_35); + if(term == null) + break Fail170; + term = remove_extension_0_0.instance.invoke(context, term); + if(term == null) + break Fail170; + term = (IStrategoTerm)termFactory.makeListCons(term, (IStrategoList)cool.constCons3); + term = concat_strings_0_0.instance.invoke(context, term); + if(term == null) + break Fail170; + term = termFactory.makeTuple(term, cool.const27); + term = add_extension_0_0.instance.invoke(context, term); + if(term == null) + break Fail170; + term = termFactory.makeTuple(k_35, cool.const28); + term = fopen_0_0.instance.invoke(context, term); + if(term == null) + break Fail170; + term = termFactory.makeTuple(l_35, term); + term = fputs_0_0.instance.invoke(context, term); + if(term == null) + break Fail170; + term = fclose_0_0.instance.invoke(context, term); + if(term == null) + break Fail170; + context.popOnSuccess(); + if(true) + return term; + } + context.popOnFailure(); + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/increament_0_2.java b/coolf/src/main/java/cool/increament_0_2.java index c4dc06a..72c5457 100644 --- a/coolf/src/main/java/cool/increament_0_2.java +++ b/coolf/src/main/java/cool/increament_0_2.java @@ -15,53 +15,53 @@ { public static increament_0_2 instance = new increament_0_2(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm c_43, IStrategoTerm d_43) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm d_27, IStrategoTerm e_27) { ITermFactory termFactory = context.getFactory(); context.push("increament_0_2"); - Fail220: + Fail106: { - IStrategoTerm e_43 = null; - Success189: + IStrategoTerm f_27 = null; + Success86: { - Fail221: + Fail107: { - IStrategoTerm f_43 = null; - f_43 = term; - term = hashtable_keys_0_0.instance.invoke(context, d_43); + IStrategoTerm g_27 = null; + g_27 = term; + term = hashtable_keys_0_0.instance.invoke(context, e_27); if(term == null) - break Fail221; - term = termFactory.makeTuple(c_43, term); + break Fail107; + term = termFactory.makeTuple(d_27, term); term = elem_0_0.instance.invoke(context, term); if(term == null) - break Fail221; - term = f_43; + break Fail107; + term = g_27; { - IStrategoTerm j_43 = null; - term = hashtable_get_0_1.instance.invoke(context, d_43, c_43); + IStrategoTerm k_27 = null; + term = hashtable_get_0_1.instance.invoke(context, e_27, d_27); if(term == null) - break Fail220; - e_43 = term; - term = hashtable_remove_0_1.instance.invoke(context, d_43, c_43); + break Fail106; + f_27 = term; + term = hashtable_remove_0_1.instance.invoke(context, e_27, d_27); if(term == null) - break Fail220; - j_43 = d_43; - term = termFactory.makeTuple(cool.const83, e_43); + break Fail106; + k_27 = e_27; + term = termFactory.makeTuple(cool.const16, f_27); term = add_0_0.instance.invoke(context, term); if(term == null) - break Fail220; - term = hashtable_put_0_2.instance.invoke(context, j_43, c_43, term); + break Fail106; + term = hashtable_put_0_2.instance.invoke(context, k_27, d_27, term); if(term == null) - break Fail220; + break Fail106; if(true) - break Success189; + break Success86; } } - IStrategoTerm l_43 = null; - l_43 = d_43; - term = hashtable_put_0_2.instance.invoke(context, l_43, c_43, cool.const83); + IStrategoTerm m_27 = null; + m_27 = e_27; + term = hashtable_put_0_2.instance.invoke(context, m_27, d_27, cool.const16); if(term == null) - break Fail220; + break Fail106; } context.popOnSuccess(); if(true) diff --git a/coolf/src/main/java/cool/is__on__entry__or__on__exit__method_0_0.java b/coolf/src/main/java/cool/is__on__entry__or__on__exit__method_0_0.java index cc8abeb..b98b184 100644 --- a/coolf/src/main/java/cool/is__on__entry__or__on__exit__method_0_0.java +++ b/coolf/src/main/java/cool/is__on__entry__or__on__exit__method_0_0.java @@ -18,42 +18,42 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("is__on__entry__or__on__exit__method_0_0"); - Fail150: + Fail36: { - TermReference l_37 = new TermReference(); - lifted55 lifted550 = new lifted55(); - lifted54 lifted540 = new lifted54(); - lifted550.l_37 = l_37; - lifted540.l_37 = l_37; - term = or_2_0.instance.invoke(context, term, lifted540, lifted550); + TermReference m_21 = new TermReference(); + lifted51 lifted511 = new lifted51(); + lifted50 lifted500 = new lifted50(); + lifted511.m_21 = m_21; + lifted500.m_21 = m_21; + term = or_2_0.instance.invoke(context, term, lifted500, lifted511); if(term == null) - break Fail150; - IStrategoTerm term179 = term; - Success134: + break Fail36; + IStrategoTerm term73 = term; + Success31: { - Fail151: + Fail37: { - IStrategoTerm m_37 = null; - m_37 = term; - lifted58 lifted580 = new lifted58(); - lifted56 lifted560 = new lifted56(); - lifted580.l_37 = l_37; - lifted560.l_37 = l_37; - term = or_2_0.instance.invoke(context, term, lifted560, lifted580); + IStrategoTerm n_21 = null; + n_21 = term; + lifted54 lifted540 = new lifted54(); + lifted52 lifted520 = new lifted52(); + lifted540.m_21 = m_21; + lifted520.m_21 = m_21; + term = or_2_0.instance.invoke(context, term, lifted520, lifted540); if(term == null) - break Fail151; - term = m_37; + break Fail37; + term = n_21; { term = true_0_0.instance.invoke(context, term); if(term == null) - break Fail150; + break Fail36; if(true) - break Success134; + break Success31; } } - term = false_0_0.instance.invoke(context, term179); + term = false_0_0.instance.invoke(context, term73); if(term == null) - break Fail150; + break Fail36; } context.popOnSuccess(); if(true) diff --git a/coolf/src/main/java/cool/lifted128.java b/coolf/src/main/java/cool/lifted0.java similarity index 65% rename from coolf/src/main/java/cool/lifted128.java rename to coolf/src/main/java/cool/lifted0.java index 43b1b80..1ef0b61 100644 --- a/coolf/src/main/java/cool/lifted128.java +++ b/coolf/src/main/java/cool/lifted0.java @@ -11,23 +11,19 @@ import java.util.ArrayList; import java.lang.ref.WeakReference; -@SuppressWarnings("all") final class lifted128 extends Strategy +@SuppressWarnings("all") final class lifted0 extends Strategy { - TermReference g_72; - - TermReference z_57; - - TermReference o_71; - - TermReference j_72; + TermReference t_8; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail346: + Fail407: { - term = make_on_exit_method_0_4.instance.invoke(context, term, g_72.value, z_57.value, o_71.value, j_72.value); + lifted1 lifted137 = new lifted1(); + lifted137.t_8 = t_8; + term = try_1_0.instance.invoke(context, term, lifted137); if(term == null) - break Fail346; + break Fail407; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted1.java b/coolf/src/main/java/cool/lifted1.java new file mode 100644 index 0000000..5322d27 --- /dev/null +++ b/coolf/src/main/java/cool/lifted1.java @@ -0,0 +1,42 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") final class lifted1 extends Strategy +{ + TermReference t_8; + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) + { + ITermFactory termFactory = context.getFactory(); + Fail408: + { + IStrategoTerm u_8 = null; + if(term.getTermType() != IStrategoTerm.APPL || transform._consClassBody_1 != ((IStrategoAppl)term).getConstructor()) + break Fail408; + u_8 = term.getSubterm(0); + if(t_8.value == null) + break Fail408; + term = iset_elements_0_0.instance.invoke(context, t_8.value); + if(term == null) + break Fail408; + term = termFactory.makeTuple(u_8, term); + term = conc_0_0.instance.invoke(context, term); + if(term == null) + break Fail408; + term = termFactory.makeAppl(transform._consClassBody_1, new IStrategoTerm[]{term}); + if(true) + return term; + } + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/lifted10.java b/coolf/src/main/java/cool/lifted10.java index f7d975d..0151b9d 100644 --- a/coolf/src/main/java/cool/lifted10.java +++ b/coolf/src/main/java/cool/lifted10.java @@ -13,31 +13,31 @@ @SuppressWarnings("all") final class lifted10 extends Strategy { - TermReference b_26; + TermReference c_10; - TermReference c_26; + TermReference d_10; - TermReference d_26; + TermReference e_10; - TermReference n_26; + TermReference f_10; - TermReference f_26; + TermReference g_10; - TermReference g_26; + TermReference h_10; - TermReference h_26; + TermReference i_10; - TermReference l_26; + TermReference j_10; - TermReference j_26; + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail505: + Fail398: { - term = add_external_impl_0_9.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, n_26.value, f_26.value, g_26.value, h_26.value, l_26.value, j_26.value}); + term = add_external_impl_0_9.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, i_10.value, j_10.value, k_10.value}); if(term == null) - break Fail505; + break Fail398; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted100.java b/coolf/src/main/java/cool/lifted100.java index 1193f40..bf47b44 100644 --- a/coolf/src/main/java/cool/lifted100.java +++ b/coolf/src/main/java/cool/lifted100.java @@ -13,19 +13,19 @@ @SuppressWarnings("all") final class lifted100 extends Strategy { - TermReference e_49; + TermReference f_33; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail369: + Fail265: { - lifted102 lifted1020 = new lifted102(); - lifted101 lifted1011 = new lifted101(); - lifted1020.e_49 = e_49; - lifted1011.e_49 = e_49; - term = or_2_0.instance.invoke(context, term, lifted1011, lifted1020); - if(term == null) - break Fail369; + if(term.getTermType() != IStrategoTerm.APPL || transform._consPostIncr_1 != ((IStrategoAppl)term).getConstructor()) + break Fail265; + if(f_33.value == null) + f_33.value = term.getSubterm(0); + else + if(f_33.value != term.getSubterm(0) && !f_33.value.match(term.getSubterm(0))) + break Fail265; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted101.java b/coolf/src/main/java/cool/lifted101.java index e99d1d5..6021282 100644 --- a/coolf/src/main/java/cool/lifted101.java +++ b/coolf/src/main/java/cool/lifted101.java @@ -13,19 +13,19 @@ @SuppressWarnings("all") final class lifted101 extends Strategy { - TermReference e_49; + TermReference f_33; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail371: + Fail264: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consPreIncr_1 != ((IStrategoAppl)term).getConstructor()) - break Fail371; - if(e_49.value == null) - e_49.value = term.getSubterm(0); + if(term.getTermType() != IStrategoTerm.APPL || transform._consPostDecr_1 != ((IStrategoAppl)term).getConstructor()) + break Fail264; + if(f_33.value == null) + f_33.value = term.getSubterm(0); else - if(e_49.value != term.getSubterm(0) && !e_49.value.match(term.getSubterm(0))) - break Fail371; + if(f_33.value != term.getSubterm(0) && !f_33.value.match(term.getSubterm(0))) + break Fail264; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted102.java b/coolf/src/main/java/cool/lifted102.java index 21939a2..f1b43f8 100644 --- a/coolf/src/main/java/cool/lifted102.java +++ b/coolf/src/main/java/cool/lifted102.java @@ -13,19 +13,19 @@ @SuppressWarnings("all") final class lifted102 extends Strategy { - TermReference e_49; + public static final lifted102 instance = new lifted102(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail370: + ITermFactory termFactory = context.getFactory(); + Fail262: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consPreDecr_1 != ((IStrategoAppl)term).getConstructor()) - break Fail370; - if(e_49.value == null) - e_49.value = term.getSubterm(0); - else - if(e_49.value != term.getSubterm(0) && !e_49.value.match(term.getSubterm(0))) - break Fail370; + IStrategoTerm z_35 = null; + z_35 = term; + term = try_1_0.instance.invoke(context, term, gen_source_location_0_0.instance); + if(term == null) + break Fail262; + term = termFactory.annotateTerm(z_35, checkListAnnos(termFactory, (IStrategoTerm)termFactory.makeListCons(term, (IStrategoList)cool.constNil0))); if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted104.java b/coolf/src/main/java/cool/lifted104.java deleted file mode 100644 index 07a2093..0000000 --- a/coolf/src/main/java/cool/lifted104.java +++ /dev/null @@ -1,34 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") final class lifted104 extends Strategy -{ - TermReference e_49; - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - Fail368: - { - if(term.getTermType() != IStrategoTerm.APPL || transform._consPostIncr_1 != ((IStrategoAppl)term).getConstructor()) - break Fail368; - if(e_49.value == null) - e_49.value = term.getSubterm(0); - else - if(e_49.value != term.getSubterm(0) && !e_49.value.match(term.getSubterm(0))) - break Fail368; - if(true) - return term; - } - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/lifted105.java b/coolf/src/main/java/cool/lifted105.java index 3ef3771..7a53b71 100644 --- a/coolf/src/main/java/cool/lifted105.java +++ b/coolf/src/main/java/cool/lifted105.java @@ -13,19 +13,14 @@ @SuppressWarnings("all") final class lifted105 extends Strategy { - TermReference e_49; + public static final lifted105 instance = new lifted105(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail367: + ITermFactory termFactory = context.getFactory(); + Fail261: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consPostDecr_1 != ((IStrategoAppl)term).getConstructor()) - break Fail367; - if(e_49.value == null) - e_49.value = term.getSubterm(0); - else - if(e_49.value != term.getSubterm(0) && !e_49.value.match(term.getSubterm(0))) - break Fail367; + term = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{term}), (IStrategoList)cool.constNil0)})}); if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted107.java b/coolf/src/main/java/cool/lifted107.java index d680328..a0846e4 100644 --- a/coolf/src/main/java/cool/lifted107.java +++ b/coolf/src/main/java/cool/lifted107.java @@ -18,7 +18,7 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { ITermFactory termFactory = context.getFactory(); - Fail365: + Fail260: { term = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{term}), (IStrategoList)cool.constNil0)})}); if(true) diff --git a/coolf/src/main/java/cool/lifted109.java b/coolf/src/main/java/cool/lifted109.java index 575adf4..0dcff58 100644 --- a/coolf/src/main/java/cool/lifted109.java +++ b/coolf/src/main/java/cool/lifted109.java @@ -18,7 +18,7 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { ITermFactory termFactory = context.getFactory(); - Fail364: + Fail259: { term = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{term}), (IStrategoList)cool.constNil0)})}); if(true) diff --git a/coolf/src/main/java/cool/lifted11.java b/coolf/src/main/java/cool/lifted11.java index de94be5..9747872 100644 --- a/coolf/src/main/java/cool/lifted11.java +++ b/coolf/src/main/java/cool/lifted11.java @@ -13,17 +13,26 @@ @SuppressWarnings("all") final class lifted11 extends Strategy { - TermReference b_26; + TermReference g_11; - TermReference n_26; + TermReference r_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail504: + Fail397: { - term = decreament_0_2.instance.invoke(context, term, b_26.value, n_26.value); - if(term == null) - break Fail504; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFieldDec_3 != ((IStrategoAppl)term).getConstructor()) + break Fail397; + if(g_11.value == null) + g_11.value = term.getSubterm(1); + else + if(g_11.value != term.getSubterm(1) && !g_11.value.match(term.getSubterm(1))) + break Fail397; + if(r_10.value == null) + r_10.value = term.getSubterm(2); + else + if(r_10.value != term.getSubterm(2) && !r_10.value.match(term.getSubterm(2))) + break Fail397; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted137.java b/coolf/src/main/java/cool/lifted110.java similarity index 73% rename from coolf/src/main/java/cool/lifted137.java rename to coolf/src/main/java/cool/lifted110.java index 3b89507..dd34afd 100644 --- a/coolf/src/main/java/cool/lifted137.java +++ b/coolf/src/main/java/cool/lifted110.java @@ -11,16 +11,16 @@ import java.util.ArrayList; import java.lang.ref.WeakReference; -@SuppressWarnings("all") final class lifted137 extends Strategy +@SuppressWarnings("all") final class lifted110 extends Strategy { - public static final lifted137 instance = new lifted137(); + public static final lifted110 instance = new lifted110(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail338: + Fail258: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFieldDec_3 != ((IStrategoAppl)term).getConstructor()) - break Fail338; + if(term.getTermType() != IStrategoTerm.APPL || transform._consCoordinatorDec_2 != ((IStrategoAppl)term).getConstructor()) + break Fail258; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted111.java b/coolf/src/main/java/cool/lifted111.java index a495e9a..aef7206 100644 --- a/coolf/src/main/java/cool/lifted111.java +++ b/coolf/src/main/java/cool/lifted111.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - ITermFactory termFactory = context.getFactory(); - Fail363: + Fail257: { - term = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{term}), (IStrategoList)cool.constNil0)})}); + if(term.getTermType() != IStrategoTerm.APPL || transform._consCoordinatorDec_2 != ((IStrategoAppl)term).getConstructor()) + break Fail257; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted112.java b/coolf/src/main/java/cool/lifted112.java index c660a87..33dbfc9 100644 --- a/coolf/src/main/java/cool/lifted112.java +++ b/coolf/src/main/java/cool/lifted112.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail362: + Fail255: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consCoordinatorDec_2 != ((IStrategoAppl)term).getConstructor()) - break Fail362; + if(term.getTermType() != IStrategoTerm.APPL || transform._consConditionDec_1 != ((IStrategoAppl)term).getConstructor()) + break Fail255; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted113.java b/coolf/src/main/java/cool/lifted113.java index 5905642..842354d 100644 --- a/coolf/src/main/java/cool/lifted113.java +++ b/coolf/src/main/java/cool/lifted113.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail361: + Fail254: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consCoordinatorDec_2 != ((IStrategoAppl)term).getConstructor()) - break Fail361; + if(term.getTermType() != IStrategoTerm.APPL || transform._consSelfex_1 != ((IStrategoAppl)term).getConstructor()) + break Fail254; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted114.java b/coolf/src/main/java/cool/lifted114.java index 951d5e8..a21ef68 100644 --- a/coolf/src/main/java/cool/lifted114.java +++ b/coolf/src/main/java/cool/lifted114.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail359: + Fail253: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consConditionDec_1 != ((IStrategoAppl)term).getConstructor()) - break Fail359; + if(term.getTermType() != IStrategoTerm.APPL || transform._consMutex_1 != ((IStrategoAppl)term).getConstructor()) + break Fail253; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted115.java b/coolf/src/main/java/cool/lifted115.java index 670d2fb..103709e 100644 --- a/coolf/src/main/java/cool/lifted115.java +++ b/coolf/src/main/java/cool/lifted115.java @@ -13,14 +13,24 @@ @SuppressWarnings("all") final class lifted115 extends Strategy { - public static final lifted115 instance = new lifted115(); + TermReference a_44; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail358: + Fail252: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consSelfex_1 != ((IStrategoAppl)term).getConstructor()) - break Fail358; + IStrategoTerm o_44 = null; + IStrategoTerm q_45 = null; + o_44 = term; + if(a_44.value == null) + break Fail252; + q_45 = a_44.value; + term = strip_annos_0_0.instance.invoke(context, o_44); + if(term == null) + break Fail252; + term = hashtable_put_0_2.instance.invoke(context, q_45, term, o_44); + if(term == null) + break Fail252; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted116.java b/coolf/src/main/java/cool/lifted116.java index c1814f5..15bcf51 100644 --- a/coolf/src/main/java/cool/lifted116.java +++ b/coolf/src/main/java/cool/lifted116.java @@ -13,14 +13,24 @@ @SuppressWarnings("all") final class lifted116 extends Strategy { - public static final lifted116 instance = new lifted116(); + TermReference b_44; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail357: + Fail251: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consMutex_1 != ((IStrategoAppl)term).getConstructor()) - break Fail357; + IStrategoTerm p_44 = null; + IStrategoTerm s_45 = null; + p_44 = term; + if(b_44.value == null) + break Fail251; + s_45 = b_44.value; + term = strip_annos_0_0.instance.invoke(context, p_44); + if(term == null) + break Fail251; + term = hashtable_put_0_2.instance.invoke(context, s_45, term, p_44); + if(term == null) + break Fail251; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted117.java b/coolf/src/main/java/cool/lifted117.java index e1aeb3c..999c561 100644 --- a/coolf/src/main/java/cool/lifted117.java +++ b/coolf/src/main/java/cool/lifted117.java @@ -13,24 +13,15 @@ @SuppressWarnings("all") final class lifted117 extends Strategy { - TermReference r_71; + public static final lifted117 instance = new lifted117(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail356: + Fail250: { - IStrategoTerm k_72 = null; - IStrategoTerm o_73 = null; - k_72 = term; - if(r_71.value == null) - break Fail356; - o_73 = r_71.value; - term = strip_annos_0_0.instance.invoke(context, k_72); + term = strip_annos_0_0.instance.invoke(context, term); if(term == null) - break Fail356; - term = hashtable_put_0_2.instance.invoke(context, o_73, term, k_72); - if(term == null) - break Fail356; + break Fail250; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted118.java b/coolf/src/main/java/cool/lifted118.java index 7ee7fd9..12d6b3a 100644 --- a/coolf/src/main/java/cool/lifted118.java +++ b/coolf/src/main/java/cool/lifted118.java @@ -13,24 +13,15 @@ @SuppressWarnings("all") final class lifted118 extends Strategy { - TermReference s_71; + public static final lifted118 instance = new lifted118(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail355: + Fail249: { - IStrategoTerm l_72 = null; - IStrategoTerm q_73 = null; - l_72 = term; - if(s_71.value == null) - break Fail355; - q_73 = s_71.value; - term = strip_annos_0_0.instance.invoke(context, l_72); + term = strip_annos_0_0.instance.invoke(context, term); if(term == null) - break Fail355; - term = hashtable_put_0_2.instance.invoke(context, q_73, term, l_72); - if(term == null) - break Fail355; + break Fail249; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted119.java b/coolf/src/main/java/cool/lifted119.java index bec5e59..a232e58 100644 --- a/coolf/src/main/java/cool/lifted119.java +++ b/coolf/src/main/java/cool/lifted119.java @@ -13,15 +13,30 @@ @SuppressWarnings("all") final class lifted119 extends Strategy { - public static final lifted119 instance = new lifted119(); + TermReference n_44; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail354: + Fail248: { - term = strip_annos_0_0.instance.invoke(context, term); + IStrategoTerm s_44 = null; + IStrategoTerm u_45 = null; + s_44 = term; + if(n_44.value == null) + break Fail248; + term = n_44.value; + u_45 = n_44.value; + if(n_44.value == null) + break Fail248; + term = hashtable_keys_0_0.instance.invoke(context, n_44.value); if(term == null) - break Fail354; + break Fail248; + term = length_0_0.instance.invoke(context, term); + if(term == null) + break Fail248; + term = hashtable_put_0_2.instance.invoke(context, u_45, s_44, term); + if(term == null) + break Fail248; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted12.java b/coolf/src/main/java/cool/lifted12.java index 3add11e..2c45bc6 100644 --- a/coolf/src/main/java/cool/lifted12.java +++ b/coolf/src/main/java/cool/lifted12.java @@ -13,14 +13,26 @@ @SuppressWarnings("all") final class lifted12 extends Strategy { - public static final lifted12 instance = new lifted12(); + TermReference g_11; + + TermReference r_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail503: + Fail396: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consExprName_1 != ((IStrategoAppl)term).getConstructor()) - break Fail503; + if(term.getTermType() != IStrategoTerm.APPL || transform._consLocalVarDec_3 != ((IStrategoAppl)term).getConstructor()) + break Fail396; + if(g_11.value == null) + g_11.value = term.getSubterm(1); + else + if(g_11.value != term.getSubterm(1) && !g_11.value.match(term.getSubterm(1))) + break Fail396; + if(r_10.value == null) + r_10.value = term.getSubterm(2); + else + if(r_10.value != term.getSubterm(2) && !r_10.value.match(term.getSubterm(2))) + break Fail396; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted120.java b/coolf/src/main/java/cool/lifted120.java index 76d5cf1..5539f84 100644 --- a/coolf/src/main/java/cool/lifted120.java +++ b/coolf/src/main/java/cool/lifted120.java @@ -17,11 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail353: + Fail247: { - term = strip_annos_0_0.instance.invoke(context, term); - if(term == null) - break Fail353; + if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodAdditions_4 != ((IStrategoAppl)term).getConstructor()) + break Fail247; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted121.java b/coolf/src/main/java/cool/lifted121.java index 301d7dc..46f3af4 100644 --- a/coolf/src/main/java/cool/lifted121.java +++ b/coolf/src/main/java/cool/lifted121.java @@ -13,30 +13,21 @@ @SuppressWarnings("all") final class lifted121 extends Strategy { - TermReference j_72; + TermReference i_44; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail352: + Fail246: { - IStrategoTerm o_72 = null; - IStrategoTerm s_73 = null; - o_72 = term; - if(j_72.value == null) - break Fail352; - term = j_72.value; - s_73 = j_72.value; - if(j_72.value == null) - break Fail352; - term = hashtable_keys_0_0.instance.invoke(context, j_72.value); + IStrategoTerm t_44 = null; + if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodAdditions_4 != ((IStrategoAppl)term).getConstructor()) + break Fail246; + t_44 = term.getSubterm(0); + if(i_44.value == null) + break Fail246; + term = hashtable_put_0_2.instance.invoke(context, i_44.value, t_44, t_44); if(term == null) - break Fail352; - term = length_0_0.instance.invoke(context, term); - if(term == null) - break Fail352; - term = hashtable_put_0_2.instance.invoke(context, s_73, o_72, term); - if(term == null) - break Fail352; + break Fail246; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted122.java b/coolf/src/main/java/cool/lifted122.java index c9622b4..0c686a4 100644 --- a/coolf/src/main/java/cool/lifted122.java +++ b/coolf/src/main/java/cool/lifted122.java @@ -13,14 +13,21 @@ @SuppressWarnings("all") final class lifted122 extends Strategy { - public static final lifted122 instance = new lifted122(); + TermReference k_44; + + TermReference l_44; + + TermReference m_44; + + TermReference n_44; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail351: + Fail256: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodAdditions_4 != ((IStrategoAppl)term).getConstructor()) - break Fail351; + term = fill$Method$Maps_0_4.instance.invoke(context, term, k_44.value, l_44.value, m_44.value, n_44.value); + if(term == null) + break Fail256; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted123.java b/coolf/src/main/java/cool/lifted123.java index feaf646..fc66908 100644 --- a/coolf/src/main/java/cool/lifted123.java +++ b/coolf/src/main/java/cool/lifted123.java @@ -13,21 +13,15 @@ @SuppressWarnings("all") final class lifted123 extends Strategy { - TermReference d_72; + TermReference n_44; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail350: + Fail245: { - IStrategoTerm p_72 = null; - if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodAdditions_4 != ((IStrategoAppl)term).getConstructor()) - break Fail350; - p_72 = term.getSubterm(0); - if(d_72.value == null) - break Fail350; - term = hashtable_put_0_2.instance.invoke(context, d_72.value, p_72, p_72); + term = gen_method_state_0_1.instance.invoke(context, term, n_44.value); if(term == null) - break Fail350; + break Fail245; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted124.java b/coolf/src/main/java/cool/lifted124.java index 74d0958..64a6f6c 100644 --- a/coolf/src/main/java/cool/lifted124.java +++ b/coolf/src/main/java/cool/lifted124.java @@ -13,21 +13,19 @@ @SuppressWarnings("all") final class lifted124 extends Strategy { - TermReference f_72; + TermReference k_44; - TermReference g_72; + TermReference w_43; - TermReference h_72; - - TermReference j_72; + TermReference n_44; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail360: + Fail244: { - term = fill$Method$Maps_0_4.instance.invoke(context, term, f_72.value, g_72.value, h_72.value, j_72.value); + term = make_requires_method_0_3.instance.invoke(context, term, k_44.value, w_43.value, n_44.value); if(term == null) - break Fail360; + break Fail244; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted125.java b/coolf/src/main/java/cool/lifted125.java index 3721970..b71c582 100644 --- a/coolf/src/main/java/cool/lifted125.java +++ b/coolf/src/main/java/cool/lifted125.java @@ -13,15 +13,21 @@ @SuppressWarnings("all") final class lifted125 extends Strategy { - TermReference j_72; + TermReference m_44; + + TermReference v_43; + + TermReference y_43; + + TermReference n_44; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail349: + Fail243: { - term = gen_method_state_0_1.instance.invoke(context, term, j_72.value); + term = make_on_entry_method_0_4.instance.invoke(context, term, m_44.value, v_43.value, y_43.value, n_44.value); if(term == null) - break Fail349; + break Fail243; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted126.java b/coolf/src/main/java/cool/lifted126.java index e95691c..394ca11 100644 --- a/coolf/src/main/java/cool/lifted126.java +++ b/coolf/src/main/java/cool/lifted126.java @@ -13,19 +13,21 @@ @SuppressWarnings("all") final class lifted126 extends Strategy { - TermReference f_72; + TermReference l_44; - TermReference a_58; + TermReference v_43; - TermReference j_72; + TermReference x_43; + + TermReference n_44; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail348: + Fail242: { - term = make_requires_method_0_3.instance.invoke(context, term, f_72.value, a_58.value, j_72.value); + term = make_on_exit_method_0_4.instance.invoke(context, term, l_44.value, v_43.value, x_43.value, n_44.value); if(term == null) - break Fail348; + break Fail242; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted127.java b/coolf/src/main/java/cool/lifted127.java index 8d1223f..c38cb9b 100644 --- a/coolf/src/main/java/cool/lifted127.java +++ b/coolf/src/main/java/cool/lifted127.java @@ -13,21 +13,33 @@ @SuppressWarnings("all") final class lifted127 extends Strategy { - TermReference h_72; + TermReference v_43; - TermReference z_57; + TermReference x_43; - TermReference p_71; + TermReference w_43; - TermReference j_72; + TermReference y_43; + + TermReference e_44; + + TermReference f_44; + + TermReference n_44; + + TermReference a_44; + + TermReference b_44; + + TermReference i_44; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail347: + Fail241: { - term = make_on_entry_method_0_4.instance.invoke(context, term, h_72.value, z_57.value, p_71.value, j_72.value); + term = make_lock_and_unlock_methods_0_10.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{v_43.value, x_43.value, w_43.value, y_43.value, e_44.value, f_44.value, n_44.value, a_44.value, b_44.value, i_44.value}); if(term == null) - break Fail347; + break Fail241; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted129.java b/coolf/src/main/java/cool/lifted129.java index 569a442..a2f57d6 100644 --- a/coolf/src/main/java/cool/lifted129.java +++ b/coolf/src/main/java/cool/lifted129.java @@ -13,33 +13,14 @@ @SuppressWarnings("all") final class lifted129 extends Strategy { - TermReference z_57; - - TermReference o_71; - - TermReference a_58; - - TermReference p_71; - - TermReference v_71; - - TermReference z_71; - - TermReference j_72; - - TermReference r_71; - - TermReference s_71; - - TermReference d_72; + public static final lifted129 instance = new lifted129(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail345: + ITermFactory termFactory = context.getFactory(); + Fail240: { - term = make_lock_and_unlock_methods_0_10.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{z_57.value, o_71.value, a_58.value, p_71.value, v_71.value, z_71.value, j_72.value, r_71.value, s_71.value, d_72.value}); - if(term == null) - break Fail345; + term = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{term}), (IStrategoList)cool.constNil0)})}); if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted13.java b/coolf/src/main/java/cool/lifted13.java index 89d529e..b7d90ff 100644 --- a/coolf/src/main/java/cool/lifted13.java +++ b/coolf/src/main/java/cool/lifted13.java @@ -13,14 +13,31 @@ @SuppressWarnings("all") final class lifted13 extends Strategy { - public static final lifted13 instance = new lifted13(); + TermReference c_10; + + TermReference d_10; + + TermReference e_10; + + TermReference f_10; + + TermReference g_10; + + TermReference h_10; + + TermReference g_11; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail502: + Fail395: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consExprName_2 != ((IStrategoAppl)term).getConstructor()) - break Fail502; + term = add_external_impl_0_9.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, g_11.value, j_10.value, k_10.value}); + if(term == null) + break Fail395; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted132.java b/coolf/src/main/java/cool/lifted130.java similarity index 75% rename from coolf/src/main/java/cool/lifted132.java rename to coolf/src/main/java/cool/lifted130.java index 76c5465..7130f79 100644 --- a/coolf/src/main/java/cool/lifted132.java +++ b/coolf/src/main/java/cool/lifted130.java @@ -11,17 +11,17 @@ import java.util.ArrayList; import java.lang.ref.WeakReference; -@SuppressWarnings("all") final class lifted132 extends Strategy +@SuppressWarnings("all") final class lifted130 extends Strategy { - TermReference n_77; + TermReference h_49; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail343: + Fail239: { - term = equal_0_1.instance.invoke(context, term, n_77.value); + term = equal_0_1.instance.invoke(context, term, h_49.value); if(term == null) - break Fail343; + break Fail239; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted131.java b/coolf/src/main/java/cool/lifted131.java index ed667c8..71bcfa4 100644 --- a/coolf/src/main/java/cool/lifted131.java +++ b/coolf/src/main/java/cool/lifted131.java @@ -13,14 +13,19 @@ @SuppressWarnings("all") final class lifted131 extends Strategy { - public static final lifted131 instance = new lifted131(); + TermReference u_48; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { ITermFactory termFactory = context.getFactory(); - Fail344: + Fail238: { - term = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{term}), (IStrategoList)cool.constNil0)})}); + IStrategoTerm p_49 = null; + p_49 = term; + term = gen_method_state_name_0_1.instance.invoke(context, p_49, u_48.value); + if(term == null) + break Fail238; + term = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{cool.constMethod5, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consExprName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)}); if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted133.java b/coolf/src/main/java/cool/lifted133.java index 43603be..c7d9703 100644 --- a/coolf/src/main/java/cool/lifted133.java +++ b/coolf/src/main/java/cool/lifted133.java @@ -13,19 +13,14 @@ @SuppressWarnings("all") final class lifted133 extends Strategy { - TermReference b_77; + public static final lifted133 instance = new lifted133(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { ITermFactory termFactory = context.getFactory(); - Fail342: + Fail237: { - IStrategoTerm u_77 = null; - u_77 = term; - term = gen_method_state_name_0_1.instance.invoke(context, u_77, b_77.value); - if(term == null) - break Fail342; - term = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{cool.constMethod5, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consExprName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)}); + term = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{term}), (IStrategoList)cool.constNil0)})}); if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted134.java b/coolf/src/main/java/cool/lifted134.java new file mode 100644 index 0000000..0f5cfa4 --- /dev/null +++ b/coolf/src/main/java/cool/lifted134.java @@ -0,0 +1,38 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") final class lifted134 extends Strategy +{ + public static final lifted134 instance = new lifted134(); + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) + { + ITermFactory termFactory = context.getFactory(); + Fail236: + { + IStrategoTerm k_52 = null; + IStrategoTerm l_52 = null; + if(term.getTermType() != IStrategoTerm.APPL || transform._consAssign_2 != ((IStrategoAppl)term).getConstructor()) + break Fail236; + IStrategoTerm arg185 = term.getSubterm(0); + if(arg185.getTermType() != IStrategoTerm.APPL || transform._consExprName_1 != ((IStrategoAppl)arg185).getConstructor()) + break Fail236; + k_52 = arg185.getSubterm(0); + l_52 = term.getSubterm(1); + term = termFactory.makeAppl(transform._consFieldDec_3, new IStrategoTerm[]{cool.constCons26, cool.constBoolean0, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consVarDec_2, new IStrategoTerm[]{k_52, l_52}), (IStrategoList)cool.constNil0)}); + if(true) + return term; + } + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/lifted135.java b/coolf/src/main/java/cool/lifted135.java index b0c88de..93f6b9d 100644 --- a/coolf/src/main/java/cool/lifted135.java +++ b/coolf/src/main/java/cool/lifted135.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - ITermFactory termFactory = context.getFactory(); - Fail341: + Fail234: { - term = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{term}), (IStrategoList)cool.constNil0)})}); + if(term.getTermType() != IStrategoTerm.APPL || transform._consFieldDec_3 != ((IStrategoAppl)term).getConstructor()) + break Fail234; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted136.java b/coolf/src/main/java/cool/lifted136.java index ea47d93..3a71e35 100644 --- a/coolf/src/main/java/cool/lifted136.java +++ b/coolf/src/main/java/cool/lifted136.java @@ -18,18 +18,21 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { ITermFactory termFactory = context.getFactory(); - Fail340: + Fail235: { - IStrategoTerm f_80 = null; - IStrategoTerm g_80 = null; - if(term.getTermType() != IStrategoTerm.APPL || transform._consAssign_2 != ((IStrategoAppl)term).getConstructor()) - break Fail340; - IStrategoTerm arg175 = term.getSubterm(0); - if(arg175.getTermType() != IStrategoTerm.APPL || transform._consExprName_1 != ((IStrategoAppl)arg175).getConstructor()) - break Fail340; - f_80 = arg175.getSubterm(0); - g_80 = term.getSubterm(1); - term = termFactory.makeAppl(transform._consFieldDec_3, new IStrategoTerm[]{cool.constCons44, cool.constBoolean0, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consVarDec_2, new IStrategoTerm[]{f_80, g_80}), (IStrategoList)cool.constNil0)}); + IStrategoTerm v_52 = null; + IStrategoTerm w_52 = null; + IStrategoTerm x_52 = null; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFieldDec_3 != ((IStrategoAppl)term).getConstructor()) + break Fail235; + v_52 = term.getSubterm(0); + w_52 = term.getSubterm(1); + x_52 = term.getSubterm(2); + IStrategoList list1; + list1 = checkListTail(v_52); + if(list1 == null) + break Fail235; + term = termFactory.makeAppl(transform._consFieldDec_3, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(cool.constPrivate0, termFactory.makeListCons(cool.constMarkerAnno1, list1)), w_52, x_52}); if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted138.java b/coolf/src/main/java/cool/lifted138.java deleted file mode 100644 index c7b25ef..0000000 --- a/coolf/src/main/java/cool/lifted138.java +++ /dev/null @@ -1,41 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") final class lifted138 extends Strategy -{ - public static final lifted138 instance = new lifted138(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - ITermFactory termFactory = context.getFactory(); - Fail339: - { - IStrategoTerm v_80 = null; - IStrategoTerm x_80 = null; - IStrategoTerm y_80 = null; - if(term.getTermType() != IStrategoTerm.APPL || transform._consFieldDec_3 != ((IStrategoAppl)term).getConstructor()) - break Fail339; - v_80 = term.getSubterm(0); - x_80 = term.getSubterm(1); - y_80 = term.getSubterm(2); - IStrategoList list9; - list9 = checkListTail(v_80); - if(list9 == null) - break Fail339; - term = termFactory.makeAppl(transform._consFieldDec_3, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(cool.constPrivate0, termFactory.makeListCons(cool.constMarkerAnno1, list9)), x_80, y_80}); - if(true) - return term; - } - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/lifted14.java b/coolf/src/main/java/cool/lifted14.java index afdaa0f..140ee48 100644 --- a/coolf/src/main/java/cool/lifted14.java +++ b/coolf/src/main/java/cool/lifted14.java @@ -13,31 +13,26 @@ @SuppressWarnings("all") final class lifted14 extends Strategy { - TermReference b_26; + TermReference y_10; - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference h_26; - - TermReference i_26; - - TermReference j_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail501: + Fail394: { - term = add_external_impl_0_9.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, h_26.value, i_26.value, j_26.value}); - if(term == null) - break Fail501; + if(term.getTermType() != IStrategoTerm.APPL || transform._consEq_2 != ((IStrategoAppl)term).getConstructor()) + break Fail394; + if(y_10.value == null) + y_10.value = term.getSubterm(0); + else + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail394; + if(z_10.value == null) + z_10.value = term.getSubterm(1); + else + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail394; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted15.java b/coolf/src/main/java/cool/lifted15.java index 071c76e..cf7b1ff 100644 --- a/coolf/src/main/java/cool/lifted15.java +++ b/coolf/src/main/java/cool/lifted15.java @@ -13,26 +13,26 @@ @SuppressWarnings("all") final class lifted15 extends Strategy { - TermReference f_27; + TermReference y_10; - TermReference q_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail500: + Fail393: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFieldDec_3 != ((IStrategoAppl)term).getConstructor()) - break Fail500; - if(f_27.value == null) - f_27.value = term.getSubterm(1); + if(term.getTermType() != IStrategoTerm.APPL || transform._consNotEq_2 != ((IStrategoAppl)term).getConstructor()) + break Fail393; + if(y_10.value == null) + y_10.value = term.getSubterm(0); else - if(f_27.value != term.getSubterm(1) && !f_27.value.match(term.getSubterm(1))) - break Fail500; - if(q_26.value == null) - q_26.value = term.getSubterm(2); + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail393; + if(z_10.value == null) + z_10.value = term.getSubterm(1); else - if(q_26.value != term.getSubterm(2) && !q_26.value.match(term.getSubterm(2))) - break Fail500; + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail393; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted16.java b/coolf/src/main/java/cool/lifted16.java index 2868903..009504e 100644 --- a/coolf/src/main/java/cool/lifted16.java +++ b/coolf/src/main/java/cool/lifted16.java @@ -13,26 +13,47 @@ @SuppressWarnings("all") final class lifted16 extends Strategy { - TermReference f_27; + TermReference y_10; - TermReference q_26; + TermReference z_10; + + TermReference c_10; + + TermReference d_10; + + TermReference e_10; + + TermReference f_10; + + TermReference g_10; + + TermReference h_10; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail499: + ITermFactory termFactory = context.getFactory(); + Fail392: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consLocalVarDec_3 != ((IStrategoAppl)term).getConstructor()) - break Fail499; - if(f_27.value == null) - f_27.value = term.getSubterm(1); - else - if(f_27.value != term.getSubterm(1) && !f_27.value.match(term.getSubterm(1))) - break Fail499; - if(q_26.value == null) - q_26.value = term.getSubterm(2); - else - if(q_26.value != term.getSubterm(2) && !q_26.value.match(term.getSubterm(2))) - break Fail499; + IStrategoTerm d_14 = null; + IStrategoTerm f_14 = null; + d_14 = term; + if(y_10.value == null || z_10.value == null) + break Fail392; + term = termFactory.makeTuple(y_10.value, z_10.value); + f_14 = term; + term = try_to_get_type_0_3.instance.invoke(context, f_14, cool.constNone0, c_10.value, d_10.value); + if(term == null) + break Fail392; + term = cast_equality_type_0_0.instance.invoke(context, term); + if(term == null) + break Fail392; + term = add_external_impl_0_9.instance.invokeDynamic(context, d_14, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, term, j_10.value, k_10.value}); + if(term == null) + break Fail392; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted17.java b/coolf/src/main/java/cool/lifted17.java index 90b4e84..6b60866 100644 --- a/coolf/src/main/java/cool/lifted17.java +++ b/coolf/src/main/java/cool/lifted17.java @@ -13,31 +13,23 @@ @SuppressWarnings("all") final class lifted17 extends Strategy { - TermReference b_26; + TermReference y_10; - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference f_27; - - TermReference i_26; - - TermReference j_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail498: + Fail389: { - term = add_external_impl_0_9.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, f_27.value, i_26.value, j_26.value}); + lifted19 lifted190 = new lifted19(); + lifted18 lifted180 = new lifted18(); + lifted190.y_10 = y_10; + lifted190.z_10 = z_10; + lifted180.y_10 = y_10; + lifted180.z_10 = z_10; + term = or_2_0.instance.invoke(context, term, lifted180, lifted190); if(term == null) - break Fail498; + break Fail389; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted18.java b/coolf/src/main/java/cool/lifted18.java index 7ea2bdc..82ce486 100644 --- a/coolf/src/main/java/cool/lifted18.java +++ b/coolf/src/main/java/cool/lifted18.java @@ -13,26 +13,26 @@ @SuppressWarnings("all") final class lifted18 extends Strategy { - TermReference x_26; + TermReference y_10; - TermReference y_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail497: + Fail391: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consEq_2 != ((IStrategoAppl)term).getConstructor()) - break Fail497; - if(x_26.value == null) - x_26.value = term.getSubterm(0); + if(term.getTermType() != IStrategoTerm.APPL || transform._consOr_2 != ((IStrategoAppl)term).getConstructor()) + break Fail391; + if(y_10.value == null) + y_10.value = term.getSubterm(0); else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail497; - if(y_26.value == null) - y_26.value = term.getSubterm(1); + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail391; + if(z_10.value == null) + z_10.value = term.getSubterm(1); else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail497; + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail391; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted19.java b/coolf/src/main/java/cool/lifted19.java index 1976e15..6584096 100644 --- a/coolf/src/main/java/cool/lifted19.java +++ b/coolf/src/main/java/cool/lifted19.java @@ -13,26 +13,26 @@ @SuppressWarnings("all") final class lifted19 extends Strategy { - TermReference x_26; + TermReference y_10; - TermReference y_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail496: + Fail390: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consNotEq_2 != ((IStrategoAppl)term).getConstructor()) - break Fail496; - if(x_26.value == null) - x_26.value = term.getSubterm(0); + if(term.getTermType() != IStrategoTerm.APPL || transform._consExcOr_2 != ((IStrategoAppl)term).getConstructor()) + break Fail390; + if(y_10.value == null) + y_10.value = term.getSubterm(0); else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail496; - if(y_26.value == null) - y_26.value = term.getSubterm(1); + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail390; + if(z_10.value == null) + z_10.value = term.getSubterm(1); else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail496; + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail390; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted103.java b/coolf/src/main/java/cool/lifted2.java similarity index 52% rename from coolf/src/main/java/cool/lifted103.java rename to coolf/src/main/java/cool/lifted2.java index 78f6928..e709ac4 100644 --- a/coolf/src/main/java/cool/lifted103.java +++ b/coolf/src/main/java/cool/lifted2.java @@ -11,21 +11,33 @@ import java.util.ArrayList; import java.lang.ref.WeakReference; -@SuppressWarnings("all") final class lifted103 extends Strategy +@SuppressWarnings("all") final class lifted2 extends Strategy { - TermReference e_49; + TermReference c_10; + + TermReference d_10; + + TermReference e_10; + + TermReference o_10; + + TermReference g_10; + + TermReference h_10; + + TermReference i_10; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail366: + Fail406: { - lifted105 lifted1050 = new lifted105(); - lifted104 lifted1040 = new lifted104(); - lifted1050.e_49 = e_49; - lifted1040.e_49 = e_49; - term = or_2_0.instance.invoke(context, term, lifted1040, lifted1050); + term = add_external_impl_0_9.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, o_10.value, g_10.value, h_10.value, i_10.value, j_10.value, k_10.value}); if(term == null) - break Fail366; + break Fail406; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted20.java b/coolf/src/main/java/cool/lifted20.java index e20816b..9a2ca4c 100644 --- a/coolf/src/main/java/cool/lifted20.java +++ b/coolf/src/main/java/cool/lifted20.java @@ -13,47 +13,26 @@ @SuppressWarnings("all") final class lifted20 extends Strategy { - TermReference x_26; + TermReference y_10; - TermReference y_26; - - TermReference b_26; - - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference i_26; - - TermReference j_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - ITermFactory termFactory = context.getFactory(); - Fail495: + Fail388: { - IStrategoTerm c_30 = null; - IStrategoTerm e_30 = null; - c_30 = term; - if(x_26.value == null || y_26.value == null) - break Fail495; - term = termFactory.makeTuple(x_26.value, y_26.value); - e_30 = term; - term = try_to_get_type_0_3.instance.invoke(context, e_30, cool.constNone0, b_26.value, c_26.value); - if(term == null) - break Fail495; - term = cast_equality_type_0_0.instance.invoke(context, term); - if(term == null) - break Fail495; - term = add_external_impl_0_9.instance.invokeDynamic(context, c_30, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, term, i_26.value, j_26.value}); - if(term == null) - break Fail495; + if(term.getTermType() != IStrategoTerm.APPL || transform._consAnd_2 != ((IStrategoAppl)term).getConstructor()) + break Fail388; + if(y_10.value == null) + y_10.value = term.getSubterm(0); + else + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail388; + if(z_10.value == null) + z_10.value = term.getSubterm(1); + else + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail388; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted21.java b/coolf/src/main/java/cool/lifted21.java index 2192b2a..8b092ec 100644 --- a/coolf/src/main/java/cool/lifted21.java +++ b/coolf/src/main/java/cool/lifted21.java @@ -13,23 +13,47 @@ @SuppressWarnings("all") final class lifted21 extends Strategy { - TermReference x_26; + TermReference y_10; - TermReference y_26; + TermReference z_10; + + TermReference i_10; + + TermReference c_10; + + TermReference d_10; + + TermReference e_10; + + TermReference f_10; + + TermReference g_10; + + TermReference h_10; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail492: + ITermFactory termFactory = context.getFactory(); + Fail387: { - lifted23 lifted230 = new lifted23(); - lifted22 lifted220 = new lifted22(); - lifted230.x_26 = x_26; - lifted230.y_26 = y_26; - lifted220.x_26 = x_26; - lifted220.y_26 = y_26; - term = or_2_0.instance.invoke(context, term, lifted220, lifted230); + IStrategoTerm h_14 = null; + h_14 = term; + if(y_10.value == null || z_10.value == null) + break Fail387; + term = termFactory.makeTuple(y_10.value, z_10.value); + term = try_to_get_type_0_3.instance.invoke(context, term, i_10.value, c_10.value, d_10.value); + if(term == null) + break Fail387; + term = cast_conditional_type_0_0.instance.invoke(context, term); + if(term == null) + break Fail387; + term = add_external_impl_0_9.instance.invokeDynamic(context, h_14, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, term, j_10.value, k_10.value}); if(term == null) - break Fail492; + break Fail387; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted22.java b/coolf/src/main/java/cool/lifted22.java index fbd8460..9ddcd50 100644 --- a/coolf/src/main/java/cool/lifted22.java +++ b/coolf/src/main/java/cool/lifted22.java @@ -13,26 +13,38 @@ @SuppressWarnings("all") final class lifted22 extends Strategy { - TermReference x_26; + TermReference i_10; - TermReference y_26; + TermReference c_10; + + TermReference d_10; + + TermReference e_10; + + TermReference f_10; + + TermReference g_10; + + TermReference h_10; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail494: + Fail386: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consOr_2 != ((IStrategoAppl)term).getConstructor()) - break Fail494; - if(x_26.value == null) - x_26.value = term.getSubterm(0); - else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail494; - if(y_26.value == null) - y_26.value = term.getSubterm(1); - else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail494; + IStrategoTerm j_14 = null; + j_14 = term; + if(i_10.value == null) + break Fail386; + term = cast_bounded_conditional_type_0_0.instance.invoke(context, i_10.value); + if(term == null) + break Fail386; + term = add_external_impl_0_9.instance.invokeDynamic(context, j_14, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, term, j_10.value, k_10.value}); + if(term == null) + break Fail386; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted23.java b/coolf/src/main/java/cool/lifted23.java index 657b458..ac004d4 100644 --- a/coolf/src/main/java/cool/lifted23.java +++ b/coolf/src/main/java/cool/lifted23.java @@ -13,26 +13,15 @@ @SuppressWarnings("all") final class lifted23 extends Strategy { - TermReference x_26; - - TermReference y_26; + public static final lifted23 instance = new lifted23(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail493: + Fail383: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consExcOr_2 != ((IStrategoAppl)term).getConstructor()) - break Fail493; - if(x_26.value == null) - x_26.value = term.getSubterm(0); - else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail493; - if(y_26.value == null) - y_26.value = term.getSubterm(1); - else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail493; + term = or_2_0.instance.invoke(context, term, lifted24.instance, lifted25.instance); + if(term == null) + break Fail383; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted24.java b/coolf/src/main/java/cool/lifted24.java index 4f4326c..097e3ea 100644 --- a/coolf/src/main/java/cool/lifted24.java +++ b/coolf/src/main/java/cool/lifted24.java @@ -13,26 +13,14 @@ @SuppressWarnings("all") final class lifted24 extends Strategy { - TermReference x_26; - - TermReference y_26; + public static final lifted24 instance = new lifted24(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail491: + Fail385: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consAnd_2 != ((IStrategoAppl)term).getConstructor()) - break Fail491; - if(x_26.value == null) - x_26.value = term.getSubterm(0); - else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail491; - if(y_26.value == null) - y_26.value = term.getSubterm(1); - else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail491; + if(term.getTermType() != IStrategoTerm.APPL || transform._consLt_2 != ((IStrategoAppl)term).getConstructor()) + break Fail385; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted25.java b/coolf/src/main/java/cool/lifted25.java index a1d6422..e1cde65 100644 --- a/coolf/src/main/java/cool/lifted25.java +++ b/coolf/src/main/java/cool/lifted25.java @@ -13,47 +13,14 @@ @SuppressWarnings("all") final class lifted25 extends Strategy { - TermReference x_26; - - TermReference y_26; - - TermReference h_26; - - TermReference b_26; - - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference i_26; - - TermReference j_26; + public static final lifted25 instance = new lifted25(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - ITermFactory termFactory = context.getFactory(); - Fail490: + Fail384: { - IStrategoTerm g_30 = null; - g_30 = term; - if(x_26.value == null || y_26.value == null) - break Fail490; - term = termFactory.makeTuple(x_26.value, y_26.value); - term = try_to_get_type_0_3.instance.invoke(context, term, h_26.value, b_26.value, c_26.value); - if(term == null) - break Fail490; - term = cast_conditional_type_0_0.instance.invoke(context, term); - if(term == null) - break Fail490; - term = add_external_impl_0_9.instance.invokeDynamic(context, g_30, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, term, i_26.value, j_26.value}); - if(term == null) - break Fail490; + if(term.getTermType() != IStrategoTerm.APPL || transform._consLtEq_2 != ((IStrategoAppl)term).getConstructor()) + break Fail384; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted26.java b/coolf/src/main/java/cool/lifted26.java index 62e822b..804589f 100644 --- a/coolf/src/main/java/cool/lifted26.java +++ b/coolf/src/main/java/cool/lifted26.java @@ -13,38 +13,15 @@ @SuppressWarnings("all") final class lifted26 extends Strategy { - TermReference h_26; - - TermReference b_26; - - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference i_26; - - TermReference j_26; + public static final lifted26 instance = new lifted26(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail489: + Fail380: { - IStrategoTerm i_30 = null; - i_30 = term; - if(h_26.value == null) - break Fail489; - term = cast_bounded_conditional_type_0_0.instance.invoke(context, h_26.value); - if(term == null) - break Fail489; - term = add_external_impl_0_9.instance.invokeDynamic(context, i_30, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, term, i_26.value, j_26.value}); + term = or_2_0.instance.invoke(context, term, lifted27.instance, lifted28.instance); if(term == null) - break Fail489; + break Fail380; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted27.java b/coolf/src/main/java/cool/lifted27.java index eb38da4..471c79b 100644 --- a/coolf/src/main/java/cool/lifted27.java +++ b/coolf/src/main/java/cool/lifted27.java @@ -17,11 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail486: + Fail382: { - term = or_2_0.instance.invoke(context, term, lifted28.instance, lifted29.instance); - if(term == null) - break Fail486; + if(term.getTermType() != IStrategoTerm.APPL || transform._consGt_2 != ((IStrategoAppl)term).getConstructor()) + break Fail382; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted28.java b/coolf/src/main/java/cool/lifted28.java index ea27ce9..6a8d3e7 100644 --- a/coolf/src/main/java/cool/lifted28.java +++ b/coolf/src/main/java/cool/lifted28.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail488: + Fail381: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consLt_2 != ((IStrategoAppl)term).getConstructor()) - break Fail488; + if(term.getTermType() != IStrategoTerm.APPL || transform._consGtEq_2 != ((IStrategoAppl)term).getConstructor()) + break Fail381; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted29.java b/coolf/src/main/java/cool/lifted29.java index f6d01f7..9fd2f1f 100644 --- a/coolf/src/main/java/cool/lifted29.java +++ b/coolf/src/main/java/cool/lifted29.java @@ -13,14 +13,31 @@ @SuppressWarnings("all") final class lifted29 extends Strategy { - public static final lifted29 instance = new lifted29(); + TermReference c_10; + + TermReference d_10; + + TermReference e_10; + + TermReference f_10; + + TermReference g_10; + + TermReference h_10; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail487: + Fail379: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consLtEq_2 != ((IStrategoAppl)term).getConstructor()) - break Fail487; + IStrategoTerm l_14 = null; + l_14 = term; + term = add_external_impl_0_9.instance.invokeDynamic(context, l_14, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constDouble0, j_10.value, k_10.value}); + if(term == null) + break Fail379; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted3.java b/coolf/src/main/java/cool/lifted3.java index b95e541..11f845f 100644 --- a/coolf/src/main/java/cool/lifted3.java +++ b/coolf/src/main/java/cool/lifted3.java @@ -13,27 +13,17 @@ @SuppressWarnings("all") final class lifted3 extends Strategy { - public static final lifted3 instance = new lifted3(); + TermReference c_10; + + TermReference o_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail512: + Fail405: { - IStrategoTerm term103 = term; - Success312: - { - Fail513: - { - term = aspectj_to_box_0_0.instance.invoke(context, term); - if(term == null) - break Fail513; - if(true) - break Success312; - } - term = java_to_box_0_0.instance.invoke(context, term103); - if(term == null) - break Fail512; - } + term = decreament_0_2.instance.invoke(context, term, c_10.value, o_10.value); + if(term == null) + break Fail405; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted30.java b/coolf/src/main/java/cool/lifted30.java index 49137eb..4d5e35d 100644 --- a/coolf/src/main/java/cool/lifted30.java +++ b/coolf/src/main/java/cool/lifted30.java @@ -13,15 +13,23 @@ @SuppressWarnings("all") final class lifted30 extends Strategy { - public static final lifted30 instance = new lifted30(); + TermReference y_10; + + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail483: + Fail372: { - term = or_2_0.instance.invoke(context, term, lifted31.instance, lifted32.instance); + lifted34 lifted340 = new lifted34(); + lifted31 lifted311 = new lifted31(); + lifted340.y_10 = y_10; + lifted340.z_10 = z_10; + lifted311.y_10 = y_10; + lifted311.z_10 = z_10; + term = or_2_0.instance.invoke(context, term, lifted311, lifted340); if(term == null) - break Fail483; + break Fail372; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted31.java b/coolf/src/main/java/cool/lifted31.java index 8a43ecb..f2f3ab9 100644 --- a/coolf/src/main/java/cool/lifted31.java +++ b/coolf/src/main/java/cool/lifted31.java @@ -13,14 +13,23 @@ @SuppressWarnings("all") final class lifted31 extends Strategy { - public static final lifted31 instance = new lifted31(); + TermReference y_10; + + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail485: + Fail376: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consGt_2 != ((IStrategoAppl)term).getConstructor()) - break Fail485; + lifted33 lifted330 = new lifted33(); + lifted32 lifted320 = new lifted32(); + lifted330.y_10 = y_10; + lifted330.z_10 = z_10; + lifted320.y_10 = y_10; + lifted320.z_10 = z_10; + term = or_2_0.instance.invoke(context, term, lifted320, lifted330); + if(term == null) + break Fail376; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted32.java b/coolf/src/main/java/cool/lifted32.java index 7640802..0000225 100644 --- a/coolf/src/main/java/cool/lifted32.java +++ b/coolf/src/main/java/cool/lifted32.java @@ -13,14 +13,26 @@ @SuppressWarnings("all") final class lifted32 extends Strategy { - public static final lifted32 instance = new lifted32(); + TermReference y_10; + + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail484: + Fail378: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consGtEq_2 != ((IStrategoAppl)term).getConstructor()) - break Fail484; + if(term.getTermType() != IStrategoTerm.APPL || transform._consPlus_2 != ((IStrategoAppl)term).getConstructor()) + break Fail378; + if(y_10.value == null) + y_10.value = term.getSubterm(0); + else + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail378; + if(z_10.value == null) + z_10.value = term.getSubterm(1); + else + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail378; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted33.java b/coolf/src/main/java/cool/lifted33.java index 944017f..9e11934 100644 --- a/coolf/src/main/java/cool/lifted33.java +++ b/coolf/src/main/java/cool/lifted33.java @@ -13,31 +13,26 @@ @SuppressWarnings("all") final class lifted33 extends Strategy { - TermReference b_26; + TermReference y_10; - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference i_26; - - TermReference j_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail482: + Fail377: { - IStrategoTerm k_30 = null; - k_30 = term; - term = add_external_impl_0_9.instance.invokeDynamic(context, k_30, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constDouble0, i_26.value, j_26.value}); - if(term == null) - break Fail482; + if(term.getTermType() != IStrategoTerm.APPL || transform._consMinus_2 != ((IStrategoAppl)term).getConstructor()) + break Fail377; + if(y_10.value == null) + y_10.value = term.getSubterm(0); + else + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail377; + if(z_10.value == null) + z_10.value = term.getSubterm(1); + else + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail377; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted34.java b/coolf/src/main/java/cool/lifted34.java index 269a18e..9d53cb3 100644 --- a/coolf/src/main/java/cool/lifted34.java +++ b/coolf/src/main/java/cool/lifted34.java @@ -13,23 +13,23 @@ @SuppressWarnings("all") final class lifted34 extends Strategy { - TermReference x_26; + TermReference y_10; - TermReference y_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail475: + Fail373: { - lifted38 lifted380 = new lifted38(); + lifted36 lifted360 = new lifted36(); lifted35 lifted350 = new lifted35(); - lifted380.x_26 = x_26; - lifted380.y_26 = y_26; - lifted350.x_26 = x_26; - lifted350.y_26 = y_26; - term = or_2_0.instance.invoke(context, term, lifted350, lifted380); + lifted360.y_10 = y_10; + lifted360.z_10 = z_10; + lifted350.y_10 = y_10; + lifted350.z_10 = z_10; + term = or_2_0.instance.invoke(context, term, lifted350, lifted360); if(term == null) - break Fail475; + break Fail373; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted35.java b/coolf/src/main/java/cool/lifted35.java index bd7561c..8a380d6 100644 --- a/coolf/src/main/java/cool/lifted35.java +++ b/coolf/src/main/java/cool/lifted35.java @@ -13,23 +13,26 @@ @SuppressWarnings("all") final class lifted35 extends Strategy { - TermReference x_26; + TermReference y_10; - TermReference y_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail479: + Fail375: { - lifted37 lifted370 = new lifted37(); - lifted36 lifted360 = new lifted36(); - lifted370.x_26 = x_26; - lifted370.y_26 = y_26; - lifted360.x_26 = x_26; - lifted360.y_26 = y_26; - term = or_2_0.instance.invoke(context, term, lifted360, lifted370); - if(term == null) - break Fail479; + if(term.getTermType() != IStrategoTerm.APPL || transform._consMul_2 != ((IStrategoAppl)term).getConstructor()) + break Fail375; + if(y_10.value == null) + y_10.value = term.getSubterm(0); + else + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail375; + if(z_10.value == null) + z_10.value = term.getSubterm(1); + else + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail375; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted36.java b/coolf/src/main/java/cool/lifted36.java index 56fdc87..938cf7a 100644 --- a/coolf/src/main/java/cool/lifted36.java +++ b/coolf/src/main/java/cool/lifted36.java @@ -13,26 +13,26 @@ @SuppressWarnings("all") final class lifted36 extends Strategy { - TermReference x_26; + TermReference y_10; - TermReference y_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail481: + Fail374: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consPlus_2 != ((IStrategoAppl)term).getConstructor()) - break Fail481; - if(x_26.value == null) - x_26.value = term.getSubterm(0); + if(term.getTermType() != IStrategoTerm.APPL || transform._consDiv_2 != ((IStrategoAppl)term).getConstructor()) + break Fail374; + if(y_10.value == null) + y_10.value = term.getSubterm(0); else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail481; - if(y_26.value == null) - y_26.value = term.getSubterm(1); + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail374; + if(z_10.value == null) + z_10.value = term.getSubterm(1); else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail481; + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail374; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted37.java b/coolf/src/main/java/cool/lifted37.java index b6111d4..f12cd69 100644 --- a/coolf/src/main/java/cool/lifted37.java +++ b/coolf/src/main/java/cool/lifted37.java @@ -13,26 +13,26 @@ @SuppressWarnings("all") final class lifted37 extends Strategy { - TermReference x_26; + TermReference y_10; - TermReference y_26; + TermReference z_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail480: + Fail371: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consMinus_2 != ((IStrategoAppl)term).getConstructor()) - break Fail480; - if(x_26.value == null) - x_26.value = term.getSubterm(0); + if(term.getTermType() != IStrategoTerm.APPL || transform._consRemain_2 != ((IStrategoAppl)term).getConstructor()) + break Fail371; + if(y_10.value == null) + y_10.value = term.getSubterm(0); else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail480; - if(y_26.value == null) - y_26.value = term.getSubterm(1); + if(y_10.value != term.getSubterm(0) && !y_10.value.match(term.getSubterm(0))) + break Fail371; + if(z_10.value == null) + z_10.value = term.getSubterm(1); else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail480; + if(z_10.value != term.getSubterm(1) && !z_10.value.match(term.getSubterm(1))) + break Fail371; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted38.java b/coolf/src/main/java/cool/lifted38.java index 704f6e0..002a1be 100644 --- a/coolf/src/main/java/cool/lifted38.java +++ b/coolf/src/main/java/cool/lifted38.java @@ -13,23 +13,31 @@ @SuppressWarnings("all") final class lifted38 extends Strategy { - TermReference x_26; + TermReference c_10; - TermReference y_26; + TermReference d_10; + + TermReference e_10; + + TermReference f_10; + + TermReference g_10; + + TermReference h_10; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail476: + Fail370: { - lifted40 lifted400 = new lifted40(); - lifted39 lifted390 = new lifted39(); - lifted400.x_26 = x_26; - lifted400.y_26 = y_26; - lifted390.x_26 = x_26; - lifted390.y_26 = y_26; - term = or_2_0.instance.invoke(context, term, lifted390, lifted400); + IStrategoTerm n_14 = null; + n_14 = term; + term = add_external_impl_0_9.instance.invokeDynamic(context, n_14, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constDouble0, j_10.value, k_10.value}); if(term == null) - break Fail476; + break Fail370; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted39.java b/coolf/src/main/java/cool/lifted39.java index 9b970d6..88518cb 100644 --- a/coolf/src/main/java/cool/lifted39.java +++ b/coolf/src/main/java/cool/lifted39.java @@ -13,26 +13,38 @@ @SuppressWarnings("all") final class lifted39 extends Strategy { - TermReference x_26; + TermReference i_10; - TermReference y_26; + TermReference c_10; + + TermReference d_10; + + TermReference e_10; + + TermReference f_10; + + TermReference g_10; + + TermReference h_10; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail478: + Fail369: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consMul_2 != ((IStrategoAppl)term).getConstructor()) - break Fail478; - if(x_26.value == null) - x_26.value = term.getSubterm(0); - else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail478; - if(y_26.value == null) - y_26.value = term.getSubterm(1); - else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail478; + IStrategoTerm p_14 = null; + p_14 = term; + if(i_10.value == null) + break Fail369; + term = cast_bounded_arithmetic_type_0_0.instance.invoke(context, i_10.value); + if(term == null) + break Fail369; + term = add_external_impl_0_9.instance.invokeDynamic(context, p_14, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, term, j_10.value, k_10.value}); + if(term == null) + break Fail369; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted4.java b/coolf/src/main/java/cool/lifted4.java index 526c3fa..04fe367 100644 --- a/coolf/src/main/java/cool/lifted4.java +++ b/coolf/src/main/java/cool/lifted4.java @@ -13,17 +13,26 @@ @SuppressWarnings("all") final class lifted4 extends Strategy { - TermReference s_24; + TermReference c_10; + + TermReference o_10; + + TermReference d_10; + + TermReference i_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail510: + Fail403: { lifted5 lifted510 = new lifted5(); - lifted510.s_24 = s_24; + lifted510.c_10 = c_10; + lifted510.o_10 = o_10; + lifted510.d_10 = d_10; + lifted510.i_10 = i_10; term = try_1_0.instance.invoke(context, term, lifted510); if(term == null) - break Fail510; + break Fail403; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted40.java b/coolf/src/main/java/cool/lifted40.java index 771c47b..870ba48 100644 --- a/coolf/src/main/java/cool/lifted40.java +++ b/coolf/src/main/java/cool/lifted40.java @@ -13,26 +13,31 @@ @SuppressWarnings("all") final class lifted40 extends Strategy { - TermReference x_26; + TermReference c_10; - TermReference y_26; + TermReference d_10; + + TermReference e_10; + + TermReference f_10; + + TermReference g_10; + + TermReference h_10; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail477: + Fail368: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consDiv_2 != ((IStrategoAppl)term).getConstructor()) - break Fail477; - if(x_26.value == null) - x_26.value = term.getSubterm(0); - else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail477; - if(y_26.value == null) - y_26.value = term.getSubterm(1); - else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail477; + IStrategoTerm r_15 = null; + r_15 = term; + term = add_external_impl_0_9.instance.invokeDynamic(context, r_15, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); + if(term == null) + break Fail368; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted41.java b/coolf/src/main/java/cool/lifted41.java index d01cc3a..a59ed3f 100644 --- a/coolf/src/main/java/cool/lifted41.java +++ b/coolf/src/main/java/cool/lifted41.java @@ -13,26 +13,15 @@ @SuppressWarnings("all") final class lifted41 extends Strategy { - TermReference x_26; - - TermReference y_26; + public static final lifted41 instance = new lifted41(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail474: + Fail365: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consRemain_2 != ((IStrategoAppl)term).getConstructor()) - break Fail474; - if(x_26.value == null) - x_26.value = term.getSubterm(0); - else - if(x_26.value != term.getSubterm(0) && !x_26.value.match(term.getSubterm(0))) - break Fail474; - if(y_26.value == null) - y_26.value = term.getSubterm(1); - else - if(y_26.value != term.getSubterm(1) && !y_26.value.match(term.getSubterm(1))) - break Fail474; + term = or_2_0.instance.invoke(context, term, lifted42.instance, lifted43.instance); + if(term == null) + break Fail365; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted42.java b/coolf/src/main/java/cool/lifted42.java index 2285d0d..100205b 100644 --- a/coolf/src/main/java/cool/lifted42.java +++ b/coolf/src/main/java/cool/lifted42.java @@ -13,31 +13,14 @@ @SuppressWarnings("all") final class lifted42 extends Strategy { - TermReference b_26; - - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference i_26; - - TermReference j_26; + public static final lifted42 instance = new lifted42(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail473: + Fail367: { - IStrategoTerm m_30 = null; - m_30 = term; - term = add_external_impl_0_9.instance.invokeDynamic(context, m_30, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constDouble0, i_26.value, j_26.value}); - if(term == null) - break Fail473; + if(term.getTermType() != IStrategoTerm.APPL || transform._consMinus_1 != ((IStrategoAppl)term).getConstructor()) + break Fail367; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted43.java b/coolf/src/main/java/cool/lifted43.java index 3ce7e87..2ae6c67 100644 --- a/coolf/src/main/java/cool/lifted43.java +++ b/coolf/src/main/java/cool/lifted43.java @@ -13,38 +13,14 @@ @SuppressWarnings("all") final class lifted43 extends Strategy { - TermReference h_26; - - TermReference b_26; - - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference i_26; - - TermReference j_26; + public static final lifted43 instance = new lifted43(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail472: + Fail366: { - IStrategoTerm o_30 = null; - o_30 = term; - if(h_26.value == null) - break Fail472; - term = cast_bounded_arithmetic_type_0_0.instance.invoke(context, h_26.value); - if(term == null) - break Fail472; - term = add_external_impl_0_9.instance.invokeDynamic(context, o_30, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, term, i_26.value, j_26.value}); - if(term == null) - break Fail472; + if(term.getTermType() != IStrategoTerm.APPL || transform._consPlus_1 != ((IStrategoAppl)term).getConstructor()) + break Fail366; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted44.java b/coolf/src/main/java/cool/lifted44.java index 3310e95..eb1bd41 100644 --- a/coolf/src/main/java/cool/lifted44.java +++ b/coolf/src/main/java/cool/lifted44.java @@ -13,31 +13,14 @@ @SuppressWarnings("all") final class lifted44 extends Strategy { - TermReference b_26; - - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference i_26; - - TermReference j_26; + public static final lifted44 instance = new lifted44(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail471: + Fail364: { - IStrategoTerm q_31 = null; - q_31 = term; - term = add_external_impl_0_9.instance.invokeDynamic(context, q_31, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); - if(term == null) - break Fail471; + if(term.getTermType() != IStrategoTerm.APPL || transform._consComplement_1 != ((IStrategoAppl)term).getConstructor()) + break Fail364; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted45.java b/coolf/src/main/java/cool/lifted45.java index ab765d9..02a570c 100644 --- a/coolf/src/main/java/cool/lifted45.java +++ b/coolf/src/main/java/cool/lifted45.java @@ -13,15 +13,40 @@ @SuppressWarnings("all") final class lifted45 extends Strategy { - public static final lifted45 instance = new lifted45(); + TermReference i_11; + + TermReference i_10; + + TermReference c_10; + + TermReference d_10; + + TermReference e_10; + + TermReference f_10; + + TermReference g_10; + + TermReference h_10; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail468: + Fail363: { - term = or_2_0.instance.invoke(context, term, lifted46.instance, lifted47.instance); + IStrategoTerm t_15 = null; + t_15 = term; + if(i_11.value == null) + break Fail363; + term = type_of_0_3.instance.invoke(context, i_11.value, i_10.value, c_10.value, d_10.value); + if(term == null) + break Fail363; + term = add_external_impl_0_9.instance.invokeDynamic(context, t_15, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, term, j_10.value, k_10.value}); if(term == null) - break Fail468; + break Fail363; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted46.java b/coolf/src/main/java/cool/lifted46.java index 117718c..8f7c764 100644 --- a/coolf/src/main/java/cool/lifted46.java +++ b/coolf/src/main/java/cool/lifted46.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail470: + Fail362: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consMinus_1 != ((IStrategoAppl)term).getConstructor()) - break Fail470; + if(term.getTermType() != IStrategoTerm.APPL || transform._consLazyAnd_2 != ((IStrategoAppl)term).getConstructor()) + break Fail362; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted47.java b/coolf/src/main/java/cool/lifted47.java index 39d317e..1174de1 100644 --- a/coolf/src/main/java/cool/lifted47.java +++ b/coolf/src/main/java/cool/lifted47.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail469: + Fail361: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consPlus_1 != ((IStrategoAppl)term).getConstructor()) - break Fail469; + if(term.getTermType() != IStrategoTerm.APPL || transform._consLazyOr_2 != ((IStrategoAppl)term).getConstructor()) + break Fail361; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted48.java b/coolf/src/main/java/cool/lifted48.java index 5730e10..39db4b0 100644 --- a/coolf/src/main/java/cool/lifted48.java +++ b/coolf/src/main/java/cool/lifted48.java @@ -13,14 +13,31 @@ @SuppressWarnings("all") final class lifted48 extends Strategy { - public static final lifted48 instance = new lifted48(); + TermReference c_10; + + TermReference d_10; + + TermReference e_10; + + TermReference f_10; + + TermReference g_10; + + TermReference h_10; + + TermReference j_10; + + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail467: + Fail360: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consComplement_1 != ((IStrategoAppl)term).getConstructor()) - break Fail467; + IStrategoTerm p_17 = null; + p_17 = term; + term = add_external_impl_0_9.instance.invokeDynamic(context, p_17, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, cool.constBoolean0, j_10.value, k_10.value}); + if(term == null) + break Fail360; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted49.java b/coolf/src/main/java/cool/lifted49.java index f3aa18c..bd7e331 100644 --- a/coolf/src/main/java/cool/lifted49.java +++ b/coolf/src/main/java/cool/lifted49.java @@ -13,40 +13,31 @@ @SuppressWarnings("all") final class lifted49 extends Strategy { - TermReference h_27; + TermReference c_10; - TermReference h_26; + TermReference d_10; - TermReference b_26; + TermReference e_10; - TermReference c_26; + TermReference f_10; - TermReference d_26; + TermReference g_10; - TermReference e_26; + TermReference h_10; - TermReference f_26; + TermReference i_10; - TermReference g_26; + TermReference j_10; - TermReference i_26; - - TermReference j_26; + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail466: + Fail359: { - IStrategoTerm s_31 = null; - s_31 = term; - if(h_27.value == null) - break Fail466; - term = type_of_0_3.instance.invoke(context, h_27.value, h_26.value, b_26.value, c_26.value); - if(term == null) - break Fail466; - term = add_external_impl_0_9.instance.invokeDynamic(context, s_31, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, term, i_26.value, j_26.value}); + term = add_external_impl_0_9.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, f_10.value, g_10.value, h_10.value, i_10.value, j_10.value, k_10.value}); if(term == null) - break Fail466; + break Fail359; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted5.java b/coolf/src/main/java/cool/lifted5.java index 6fe3cef..66dea37 100644 --- a/coolf/src/main/java/cool/lifted5.java +++ b/coolf/src/main/java/cool/lifted5.java @@ -13,27 +13,21 @@ @SuppressWarnings("all") final class lifted5 extends Strategy { - TermReference s_24; + TermReference c_10; + + TermReference o_10; + + TermReference d_10; + + TermReference i_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - ITermFactory termFactory = context.getFactory(); - Fail511: + Fail404: { - IStrategoTerm t_24 = null; - if(term.getTermType() != IStrategoTerm.APPL || transform._consClassBody_1 != ((IStrategoAppl)term).getConstructor()) - break Fail511; - t_24 = term.getSubterm(0); - if(s_24.value == null) - break Fail511; - term = iset_elements_0_0.instance.invoke(context, s_24.value); - if(term == null) - break Fail511; - term = termFactory.makeTuple(t_24, term); - term = conc_0_0.instance.invoke(context, term); + term = add__params_0_4.instance.invoke(context, term, c_10.value, o_10.value, d_10.value, i_10.value); if(term == null) - break Fail511; - term = termFactory.makeAppl(transform._consClassBody_1, new IStrategoTerm[]{term}); + break Fail404; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted50.java b/coolf/src/main/java/cool/lifted50.java index 8db324c..22eab2f 100644 --- a/coolf/src/main/java/cool/lifted50.java +++ b/coolf/src/main/java/cool/lifted50.java @@ -13,14 +13,19 @@ @SuppressWarnings("all") final class lifted50 extends Strategy { - public static final lifted50 instance = new lifted50(); + TermReference m_21; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail465: + Fail314: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consLazyAnd_2 != ((IStrategoAppl)term).getConstructor()) - break Fail465; + if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodDecHead_6 != ((IStrategoAppl)term).getConstructor()) + break Fail314; + if(m_21.value == null) + m_21.value = term.getSubterm(0); + else + if(m_21.value != term.getSubterm(0) && !m_21.value.match(term.getSubterm(0))) + break Fail314; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted51.java b/coolf/src/main/java/cool/lifted51.java index 6dcd049..85f85e2 100644 --- a/coolf/src/main/java/cool/lifted51.java +++ b/coolf/src/main/java/cool/lifted51.java @@ -13,14 +13,19 @@ @SuppressWarnings("all") final class lifted51 extends Strategy { - public static final lifted51 instance = new lifted51(); + TermReference m_21; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail464: + Fail313: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consLazyOr_2 != ((IStrategoAppl)term).getConstructor()) - break Fail464; + if(term.getTermType() != IStrategoTerm.APPL || transform._consDeprMethodDecHead_7 != ((IStrategoAppl)term).getConstructor()) + break Fail313; + if(m_21.value == null) + m_21.value = term.getSubterm(0); + else + if(m_21.value != term.getSubterm(0) && !m_21.value.match(term.getSubterm(0))) + break Fail313; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted52.java b/coolf/src/main/java/cool/lifted52.java index 336bc65..4ad07b5 100644 --- a/coolf/src/main/java/cool/lifted52.java +++ b/coolf/src/main/java/cool/lifted52.java @@ -13,31 +13,17 @@ @SuppressWarnings("all") final class lifted52 extends Strategy { - TermReference b_26; - - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference i_26; - - TermReference j_26; + TermReference m_21; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail463: + Fail311: { - IStrategoTerm o_33 = null; - o_33 = term; - term = add_external_impl_0_9.instance.invokeDynamic(context, o_33, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, cool.constBoolean0, i_26.value, j_26.value}); + if(m_21.value == null) + break Fail311; + term = fetch_1_0.instance.invoke(context, m_21.value, lifted53.instance); if(term == null) - break Fail463; + break Fail311; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted53.java b/coolf/src/main/java/cool/lifted53.java index 470e24f..090c954 100644 --- a/coolf/src/main/java/cool/lifted53.java +++ b/coolf/src/main/java/cool/lifted53.java @@ -13,31 +13,23 @@ @SuppressWarnings("all") final class lifted53 extends Strategy { - TermReference b_26; - - TermReference c_26; - - TermReference d_26; - - TermReference e_26; - - TermReference f_26; - - TermReference g_26; - - TermReference h_26; - - TermReference i_26; - - TermReference j_26; + public static final lifted53 instance = new lifted53(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail462: + Fail312: { - term = add_external_impl_0_9.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, e_26.value, f_26.value, g_26.value, h_26.value, i_26.value, j_26.value}); - if(term == null) - break Fail462; + if(term.getTermType() != IStrategoTerm.APPL || transform._consAnno_2 != ((IStrategoAppl)term).getConstructor()) + break Fail312; + IStrategoTerm arg47 = term.getSubterm(0); + if(arg47.getTermType() != IStrategoTerm.APPL || transform._consTypeName_1 != ((IStrategoAppl)arg47).getConstructor()) + break Fail312; + IStrategoTerm arg48 = arg47.getSubterm(0); + if(arg48.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg48).getConstructor()) + break Fail312; + IStrategoTerm arg49 = arg48.getSubterm(0); + if(arg49.getTermType() != IStrategoTerm.STRING || !"COOLOnEntry".equals(((IStrategoString)arg49).stringValue())) + break Fail312; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted54.java b/coolf/src/main/java/cool/lifted54.java index 1176d2a..b1c6f1f 100644 --- a/coolf/src/main/java/cool/lifted54.java +++ b/coolf/src/main/java/cool/lifted54.java @@ -13,19 +13,17 @@ @SuppressWarnings("all") final class lifted54 extends Strategy { - TermReference l_37; + TermReference m_21; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail417: + Fail309: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodDecHead_6 != ((IStrategoAppl)term).getConstructor()) - break Fail417; - if(l_37.value == null) - l_37.value = term.getSubterm(0); - else - if(l_37.value != term.getSubterm(0) && !l_37.value.match(term.getSubterm(0))) - break Fail417; + if(m_21.value == null) + break Fail309; + term = fetch_1_0.instance.invoke(context, m_21.value, lifted55.instance); + if(term == null) + break Fail309; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted55.java b/coolf/src/main/java/cool/lifted55.java index c318069..1842a6e 100644 --- a/coolf/src/main/java/cool/lifted55.java +++ b/coolf/src/main/java/cool/lifted55.java @@ -13,19 +13,23 @@ @SuppressWarnings("all") final class lifted55 extends Strategy { - TermReference l_37; + public static final lifted55 instance = new lifted55(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail416: + Fail310: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consDeprMethodDecHead_7 != ((IStrategoAppl)term).getConstructor()) - break Fail416; - if(l_37.value == null) - l_37.value = term.getSubterm(0); - else - if(l_37.value != term.getSubterm(0) && !l_37.value.match(term.getSubterm(0))) - break Fail416; + if(term.getTermType() != IStrategoTerm.APPL || transform._consAnno_2 != ((IStrategoAppl)term).getConstructor()) + break Fail310; + IStrategoTerm arg51 = term.getSubterm(0); + if(arg51.getTermType() != IStrategoTerm.APPL || transform._consTypeName_1 != ((IStrategoAppl)arg51).getConstructor()) + break Fail310; + IStrategoTerm arg52 = arg51.getSubterm(0); + if(arg52.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg52).getConstructor()) + break Fail310; + IStrategoTerm arg53 = arg52.getSubterm(0); + if(arg53.getTermType() != IStrategoTerm.STRING || !"COOLOnExit".equals(((IStrategoString)arg53).stringValue())) + break Fail310; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted56.java b/coolf/src/main/java/cool/lifted56.java index a4af8d5..8cc45e8 100644 --- a/coolf/src/main/java/cool/lifted56.java +++ b/coolf/src/main/java/cool/lifted56.java @@ -13,17 +13,22 @@ @SuppressWarnings("all") final class lifted56 extends Strategy { - TermReference l_37; + TermReference s_21; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail414: + Fail308: { - if(l_37.value == null) - break Fail414; - term = fetch_1_0.instance.invoke(context, l_37.value, lifted57.instance); - if(term == null) - break Fail414; + if(term.getTermType() != IStrategoTerm.APPL || transform._consParam_3 != ((IStrategoAppl)term).getConstructor()) + break Fail308; + IStrategoTerm arg57 = term.getSubterm(2); + if(arg57.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg57).getConstructor()) + break Fail308; + if(s_21.value == null) + s_21.value = arg57.getSubterm(0); + else + if(s_21.value != arg57.getSubterm(0) && !s_21.value.match(arg57.getSubterm(0))) + break Fail308; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted57.java b/coolf/src/main/java/cool/lifted57.java index 64436dc..9f05921 100644 --- a/coolf/src/main/java/cool/lifted57.java +++ b/coolf/src/main/java/cool/lifted57.java @@ -13,23 +13,22 @@ @SuppressWarnings("all") final class lifted57 extends Strategy { - public static final lifted57 instance = new lifted57(); + TermReference s_21; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail415: + Fail307: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consAnno_2 != ((IStrategoAppl)term).getConstructor()) - break Fail415; - IStrategoTerm arg61 = term.getSubterm(0); - if(arg61.getTermType() != IStrategoTerm.APPL || transform._consTypeName_1 != ((IStrategoAppl)arg61).getConstructor()) - break Fail415; - IStrategoTerm arg62 = arg61.getSubterm(0); - if(arg62.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg62).getConstructor()) - break Fail415; - IStrategoTerm arg63 = arg62.getSubterm(0); - if(arg63.getTermType() != IStrategoTerm.STRING || !"COOLOnEntry".equals(((IStrategoString)arg63).stringValue())) - break Fail415; + if(term.getTermType() != IStrategoTerm.APPL || transform._consVarArityParam_3 != ((IStrategoAppl)term).getConstructor()) + break Fail307; + IStrategoTerm arg60 = term.getSubterm(2); + if(arg60.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg60).getConstructor()) + break Fail307; + if(s_21.value == null) + s_21.value = arg60.getSubterm(0); + else + if(s_21.value != arg60.getSubterm(0) && !s_21.value.match(arg60.getSubterm(0))) + break Fail307; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted58.java b/coolf/src/main/java/cool/lifted58.java index 7235d72..d657b8a 100644 --- a/coolf/src/main/java/cool/lifted58.java +++ b/coolf/src/main/java/cool/lifted58.java @@ -13,17 +13,14 @@ @SuppressWarnings("all") final class lifted58 extends Strategy { - TermReference l_37; + public static final lifted58 instance = new lifted58(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail412: + Fail306: { - if(l_37.value == null) - break Fail412; - term = fetch_1_0.instance.invoke(context, l_37.value, lifted59.instance); - if(term == null) - break Fail412; + if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_0 != ((IStrategoAppl)term).getConstructor()) + break Fail306; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted59.java b/coolf/src/main/java/cool/lifted59.java index f6f41d9..40965e7 100644 --- a/coolf/src/main/java/cool/lifted59.java +++ b/coolf/src/main/java/cool/lifted59.java @@ -17,19 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail413: + Fail305: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consAnno_2 != ((IStrategoAppl)term).getConstructor()) - break Fail413; - IStrategoTerm arg65 = term.getSubterm(0); - if(arg65.getTermType() != IStrategoTerm.APPL || transform._consTypeName_1 != ((IStrategoAppl)arg65).getConstructor()) - break Fail413; - IStrategoTerm arg66 = arg65.getSubterm(0); - if(arg66.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg66).getConstructor()) - break Fail413; - IStrategoTerm arg67 = arg66.getSubterm(0); - if(arg67.getTermType() != IStrategoTerm.STRING || !"COOLOnExit".equals(((IStrategoString)arg67).stringValue())) - break Fail413; + if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_1 != ((IStrategoAppl)term).getConstructor()) + break Fail305; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted6.java b/coolf/src/main/java/cool/lifted6.java index 26087fa..7e3d472 100644 --- a/coolf/src/main/java/cool/lifted6.java +++ b/coolf/src/main/java/cool/lifted6.java @@ -13,31 +13,31 @@ @SuppressWarnings("all") final class lifted6 extends Strategy { - TermReference b_26; + TermReference c_10; - TermReference c_26; + TermReference d_10; - TermReference d_26; + TermReference e_10; - TermReference n_26; + TermReference o_10; - TermReference f_26; + TermReference g_10; - TermReference g_26; + TermReference h_10; - TermReference h_26; + TermReference i_10; - TermReference i_26; + TermReference m_10; - TermReference j_26; + TermReference k_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail509: + Fail402: { - term = add_external_impl_0_9.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{b_26.value, c_26.value, d_26.value, n_26.value, f_26.value, g_26.value, h_26.value, i_26.value, j_26.value}); + term = add_external_impl_0_9.instance.invokeDynamic(context, term, NO_STRATEGIES, new IStrategoTerm[]{c_10.value, d_10.value, e_10.value, o_10.value, g_10.value, h_10.value, i_10.value, m_10.value, k_10.value}); if(term == null) - break Fail509; + break Fail402; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted60.java b/coolf/src/main/java/cool/lifted60.java index 86cc6a1..02c73e7 100644 --- a/coolf/src/main/java/cool/lifted60.java +++ b/coolf/src/main/java/cool/lifted60.java @@ -13,22 +13,14 @@ @SuppressWarnings("all") final class lifted60 extends Strategy { - TermReference r_37; + public static final lifted60 instance = new lifted60(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail411: + Fail304: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consParam_3 != ((IStrategoAppl)term).getConstructor()) - break Fail411; - IStrategoTerm arg71 = term.getSubterm(2); - if(arg71.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg71).getConstructor()) - break Fail411; - if(r_37.value == null) - r_37.value = arg71.getSubterm(0); - else - if(r_37.value != arg71.getSubterm(0) && !r_37.value.match(arg71.getSubterm(0))) - break Fail411; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) + break Fail304; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted61.java b/coolf/src/main/java/cool/lifted61.java index a167302..13d0add 100644 --- a/coolf/src/main/java/cool/lifted61.java +++ b/coolf/src/main/java/cool/lifted61.java @@ -13,22 +13,14 @@ @SuppressWarnings("all") final class lifted61 extends Strategy { - TermReference r_37; + public static final lifted61 instance = new lifted61(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail410: + Fail303: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consVarArityParam_3 != ((IStrategoAppl)term).getConstructor()) - break Fail410; - IStrategoTerm arg74 = term.getSubterm(2); - if(arg74.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg74).getConstructor()) - break Fail410; - if(r_37.value == null) - r_37.value = arg74.getSubterm(0); - else - if(r_37.value != arg74.getSubterm(0) && !r_37.value.match(arg74.getSubterm(0))) - break Fail410; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_1 != ((IStrategoAppl)term).getConstructor()) + break Fail303; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted62.java b/coolf/src/main/java/cool/lifted62.java index 5d5ab28..0d1cded 100644 --- a/coolf/src/main/java/cool/lifted62.java +++ b/coolf/src/main/java/cool/lifted62.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail409: + Fail302: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_0 != ((IStrategoAppl)term).getConstructor()) - break Fail409; + if(term.getTermType() != IStrategoTerm.APPL || transform._consBoolean_0 != ((IStrategoAppl)term).getConstructor()) + break Fail302; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted63.java b/coolf/src/main/java/cool/lifted63.java index 55bcae3..f0e19c3 100644 --- a/coolf/src/main/java/cool/lifted63.java +++ b/coolf/src/main/java/cool/lifted63.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail408: + Fail301: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_1 != ((IStrategoAppl)term).getConstructor()) - break Fail408; + if(term.getTermType() != IStrategoTerm.APPL || transform._consBool_1 != ((IStrategoAppl)term).getConstructor()) + break Fail301; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted64.java b/coolf/src/main/java/cool/lifted64.java index 6753e1e..e4bfcd7 100644 --- a/coolf/src/main/java/cool/lifted64.java +++ b/coolf/src/main/java/cool/lifted64.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail407: + Fail300: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) - break Fail407; + if(term.getTermType() != IStrategoTerm.APPL || transform._consBoolean_0 != ((IStrategoAppl)term).getConstructor()) + break Fail300; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted65.java b/coolf/src/main/java/cool/lifted65.java index c1e527d..ef78a3b 100644 --- a/coolf/src/main/java/cool/lifted65.java +++ b/coolf/src/main/java/cool/lifted65.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail406: + Fail299: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_1 != ((IStrategoAppl)term).getConstructor()) - break Fail406; + if(term.getTermType() != IStrategoTerm.APPL || transform._consBool_1 != ((IStrategoAppl)term).getConstructor()) + break Fail299; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted66.java b/coolf/src/main/java/cool/lifted66.java index a27a150..998b5ab 100644 --- a/coolf/src/main/java/cool/lifted66.java +++ b/coolf/src/main/java/cool/lifted66.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail405: + Fail298: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consBoolean_0 != ((IStrategoAppl)term).getConstructor()) - break Fail405; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) + break Fail298; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted67.java b/coolf/src/main/java/cool/lifted67.java index ee3e6d8..387be3b 100644 --- a/coolf/src/main/java/cool/lifted67.java +++ b/coolf/src/main/java/cool/lifted67.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail404: + Fail297: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consBool_1 != ((IStrategoAppl)term).getConstructor()) - break Fail404; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_1 != ((IStrategoAppl)term).getConstructor()) + break Fail297; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted68.java b/coolf/src/main/java/cool/lifted68.java index 158a7ad..fe05f61 100644 --- a/coolf/src/main/java/cool/lifted68.java +++ b/coolf/src/main/java/cool/lifted68.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail403: + Fail296: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consBoolean_0 != ((IStrategoAppl)term).getConstructor()) - break Fail403; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) + break Fail296; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted69.java b/coolf/src/main/java/cool/lifted69.java index 328a075..c66fdab 100644 --- a/coolf/src/main/java/cool/lifted69.java +++ b/coolf/src/main/java/cool/lifted69.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail402: + Fail295: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consBool_1 != ((IStrategoAppl)term).getConstructor()) - break Fail402; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_1 != ((IStrategoAppl)term).getConstructor()) + break Fail295; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted7.java b/coolf/src/main/java/cool/lifted7.java index d3d4742..72f2f78 100644 --- a/coolf/src/main/java/cool/lifted7.java +++ b/coolf/src/main/java/cool/lifted7.java @@ -13,17 +13,17 @@ @SuppressWarnings("all") final class lifted7 extends Strategy { - TermReference b_26; + TermReference c_10; - TermReference n_26; + TermReference o_10; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail508: + Fail401: { - term = decreament_0_2.instance.invoke(context, term, b_26.value, n_26.value); + term = decreament_0_2.instance.invoke(context, term, c_10.value, o_10.value); if(term == null) - break Fail508; + break Fail401; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted70.java b/coolf/src/main/java/cool/lifted70.java index 1f00b89..4654d27 100644 --- a/coolf/src/main/java/cool/lifted70.java +++ b/coolf/src/main/java/cool/lifted70.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail401: + Fail294: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) - break Fail401; + if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_0 != ((IStrategoAppl)term).getConstructor()) + break Fail294; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted71.java b/coolf/src/main/java/cool/lifted71.java index 6ed4eed..f4ba1d9 100644 --- a/coolf/src/main/java/cool/lifted71.java +++ b/coolf/src/main/java/cool/lifted71.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail400: + Fail293: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_1 != ((IStrategoAppl)term).getConstructor()) - break Fail400; + if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_1 != ((IStrategoAppl)term).getConstructor()) + break Fail293; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted72.java b/coolf/src/main/java/cool/lifted72.java index a902fe7..b86c4c0 100644 --- a/coolf/src/main/java/cool/lifted72.java +++ b/coolf/src/main/java/cool/lifted72.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail399: + Fail292: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) - break Fail399; + if(term.getTermType() != IStrategoTerm.APPL || transform._consBoolean_0 != ((IStrategoAppl)term).getConstructor()) + break Fail292; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted73.java b/coolf/src/main/java/cool/lifted73.java index af7fc7b..ce926fe 100644 --- a/coolf/src/main/java/cool/lifted73.java +++ b/coolf/src/main/java/cool/lifted73.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail398: + Fail291: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_1 != ((IStrategoAppl)term).getConstructor()) - break Fail398; + if(term.getTermType() != IStrategoTerm.APPL || transform._consBool_1 != ((IStrategoAppl)term).getConstructor()) + break Fail291; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted74.java b/coolf/src/main/java/cool/lifted74.java index 950897f..4718c7f 100644 --- a/coolf/src/main/java/cool/lifted74.java +++ b/coolf/src/main/java/cool/lifted74.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail397: + Fail290: { if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_0 != ((IStrategoAppl)term).getConstructor()) - break Fail397; + break Fail290; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted75.java b/coolf/src/main/java/cool/lifted75.java index 3b98cba..3e55f4b 100644 --- a/coolf/src/main/java/cool/lifted75.java +++ b/coolf/src/main/java/cool/lifted75.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail396: + Fail289: { if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_1 != ((IStrategoAppl)term).getConstructor()) - break Fail396; + break Fail289; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted76.java b/coolf/src/main/java/cool/lifted76.java index e84e626..58dc3b8 100644 --- a/coolf/src/main/java/cool/lifted76.java +++ b/coolf/src/main/java/cool/lifted76.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail395: + Fail288: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consBoolean_0 != ((IStrategoAppl)term).getConstructor()) - break Fail395; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) + break Fail288; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted77.java b/coolf/src/main/java/cool/lifted77.java index 11cc497..28170ea 100644 --- a/coolf/src/main/java/cool/lifted77.java +++ b/coolf/src/main/java/cool/lifted77.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail394: + Fail287: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consBool_1 != ((IStrategoAppl)term).getConstructor()) - break Fail394; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_1 != ((IStrategoAppl)term).getConstructor()) + break Fail287; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted78.java b/coolf/src/main/java/cool/lifted78.java index d36dcad..a508ba6 100644 --- a/coolf/src/main/java/cool/lifted78.java +++ b/coolf/src/main/java/cool/lifted78.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail393: + Fail286: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_0 != ((IStrategoAppl)term).getConstructor()) - break Fail393; + if(term.getTermType() != IStrategoTerm.APPL || transform._consBoolean_0 != ((IStrategoAppl)term).getConstructor()) + break Fail286; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted79.java b/coolf/src/main/java/cool/lifted79.java index 3de2626..e75a860 100644 --- a/coolf/src/main/java/cool/lifted79.java +++ b/coolf/src/main/java/cool/lifted79.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail392: + Fail285: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_1 != ((IStrategoAppl)term).getConstructor()) - break Fail392; + if(term.getTermType() != IStrategoTerm.APPL || transform._consBool_1 != ((IStrategoAppl)term).getConstructor()) + break Fail285; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted8.java b/coolf/src/main/java/cool/lifted8.java index 14a628a..c2fe498 100644 --- a/coolf/src/main/java/cool/lifted8.java +++ b/coolf/src/main/java/cool/lifted8.java @@ -13,26 +13,14 @@ @SuppressWarnings("all") final class lifted8 extends Strategy { - TermReference b_26; - - TermReference n_26; - - TermReference c_26; - - TermReference h_26; + public static final lifted8 instance = new lifted8(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail506: + Fail400: { - lifted9 lifted910 = new lifted9(); - lifted910.b_26 = b_26; - lifted910.n_26 = n_26; - lifted910.c_26 = c_26; - lifted910.h_26 = h_26; - term = try_1_0.instance.invoke(context, term, lifted910); - if(term == null) - break Fail506; + if(term.getTermType() != IStrategoTerm.APPL || transform._consExprName_1 != ((IStrategoAppl)term).getConstructor()) + break Fail400; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted80.java b/coolf/src/main/java/cool/lifted80.java index 900d72e..60280fa 100644 --- a/coolf/src/main/java/cool/lifted80.java +++ b/coolf/src/main/java/cool/lifted80.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail391: + Fail284: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) - break Fail391; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_1 != ((IStrategoAppl)term).getConstructor()) + break Fail284; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted81.java b/coolf/src/main/java/cool/lifted81.java index 7c4595a..203bae4 100644 --- a/coolf/src/main/java/cool/lifted81.java +++ b/coolf/src/main/java/cool/lifted81.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail390: + Fail283: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_1 != ((IStrategoAppl)term).getConstructor()) - break Fail390; + if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) + break Fail283; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted82.java b/coolf/src/main/java/cool/lifted82.java index 0458a55..b1f2096 100644 --- a/coolf/src/main/java/cool/lifted82.java +++ b/coolf/src/main/java/cool/lifted82.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail389: + Fail282: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consBoolean_0 != ((IStrategoAppl)term).getConstructor()) - break Fail389; + if(term.getTermType() != IStrategoTerm.APPL || transform._consPlus_1 != ((IStrategoAppl)term).getConstructor()) + break Fail282; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted83.java b/coolf/src/main/java/cool/lifted83.java index 405bf38..9a5363d 100644 --- a/coolf/src/main/java/cool/lifted83.java +++ b/coolf/src/main/java/cool/lifted83.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail388: + Fail281: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consBool_1 != ((IStrategoAppl)term).getConstructor()) - break Fail388; + if(term.getTermType() != IStrategoTerm.APPL || transform._consMinus_1 != ((IStrategoAppl)term).getConstructor()) + break Fail281; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted84.java b/coolf/src/main/java/cool/lifted84.java index d96acd4..5c49844 100644 --- a/coolf/src/main/java/cool/lifted84.java +++ b/coolf/src/main/java/cool/lifted84.java @@ -17,10 +17,11 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail387: + Fail274: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_1 != ((IStrategoAppl)term).getConstructor()) - break Fail387; + term = or_2_0.instance.invoke(context, term, lifted85.instance, lifted88.instance); + if(term == null) + break Fail274; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted85.java b/coolf/src/main/java/cool/lifted85.java index c0059f7..eaf2639 100644 --- a/coolf/src/main/java/cool/lifted85.java +++ b/coolf/src/main/java/cool/lifted85.java @@ -17,10 +17,11 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail386: + Fail278: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) - break Fail386; + term = or_2_0.instance.invoke(context, term, lifted86.instance, lifted87.instance); + if(term == null) + break Fail278; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted86.java b/coolf/src/main/java/cool/lifted86.java index e26b548..c041184 100644 --- a/coolf/src/main/java/cool/lifted86.java +++ b/coolf/src/main/java/cool/lifted86.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail385: + Fail280: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consPlus_1 != ((IStrategoAppl)term).getConstructor()) - break Fail385; + if(term.getTermType() != IStrategoTerm.APPL || transform._consPlus_2 != ((IStrategoAppl)term).getConstructor()) + break Fail280; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted87.java b/coolf/src/main/java/cool/lifted87.java index 30c4240..68a58b4 100644 --- a/coolf/src/main/java/cool/lifted87.java +++ b/coolf/src/main/java/cool/lifted87.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail384: + Fail279: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consMinus_1 != ((IStrategoAppl)term).getConstructor()) - break Fail384; + if(term.getTermType() != IStrategoTerm.APPL || transform._consMinus_2 != ((IStrategoAppl)term).getConstructor()) + break Fail279; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted88.java b/coolf/src/main/java/cool/lifted88.java index fe8f401..22145ca 100644 --- a/coolf/src/main/java/cool/lifted88.java +++ b/coolf/src/main/java/cool/lifted88.java @@ -17,11 +17,11 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail377: + Fail275: { - term = or_2_0.instance.invoke(context, term, lifted89.instance, lifted92.instance); + term = or_2_0.instance.invoke(context, term, lifted89.instance, lifted90.instance); if(term == null) - break Fail377; + break Fail275; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted89.java b/coolf/src/main/java/cool/lifted89.java index 9e4f5a0..572ba80 100644 --- a/coolf/src/main/java/cool/lifted89.java +++ b/coolf/src/main/java/cool/lifted89.java @@ -17,11 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail381: + Fail277: { - term = or_2_0.instance.invoke(context, term, lifted90.instance, lifted91.instance); - if(term == null) - break Fail381; + if(term.getTermType() != IStrategoTerm.APPL || transform._consMul_2 != ((IStrategoAppl)term).getConstructor()) + break Fail277; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted9.java b/coolf/src/main/java/cool/lifted9.java index 6a4f0c6..3ea9718 100644 --- a/coolf/src/main/java/cool/lifted9.java +++ b/coolf/src/main/java/cool/lifted9.java @@ -13,21 +13,14 @@ @SuppressWarnings("all") final class lifted9 extends Strategy { - TermReference b_26; - - TermReference n_26; - - TermReference c_26; - - TermReference h_26; + public static final lifted9 instance = new lifted9(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail507: + Fail399: { - term = add__params_0_4.instance.invoke(context, term, b_26.value, n_26.value, c_26.value, h_26.value); - if(term == null) - break Fail507; + if(term.getTermType() != IStrategoTerm.APPL || transform._consExprName_2 != ((IStrategoAppl)term).getConstructor()) + break Fail399; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted90.java b/coolf/src/main/java/cool/lifted90.java index 4cf67a1..c532126 100644 --- a/coolf/src/main/java/cool/lifted90.java +++ b/coolf/src/main/java/cool/lifted90.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail383: + Fail276: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consPlus_2 != ((IStrategoAppl)term).getConstructor()) - break Fail383; + if(term.getTermType() != IStrategoTerm.APPL || transform._consDiv_2 != ((IStrategoAppl)term).getConstructor()) + break Fail276; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted91.java b/coolf/src/main/java/cool/lifted91.java index e8e7c21..e869cd1 100644 --- a/coolf/src/main/java/cool/lifted91.java +++ b/coolf/src/main/java/cool/lifted91.java @@ -17,10 +17,10 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail382: + Fail273: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consMinus_2 != ((IStrategoAppl)term).getConstructor()) - break Fail382; + if(term.getTermType() != IStrategoTerm.APPL || transform._consRemain_2 != ((IStrategoAppl)term).getConstructor()) + break Fail273; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted92.java b/coolf/src/main/java/cool/lifted92.java index 97d3f94..5c9f098 100644 --- a/coolf/src/main/java/cool/lifted92.java +++ b/coolf/src/main/java/cool/lifted92.java @@ -13,15 +13,19 @@ @SuppressWarnings("all") final class lifted92 extends Strategy { - public static final lifted92 instance = new lifted92(); + TermReference e_34; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail378: + Fail270: { - term = or_2_0.instance.invoke(context, term, lifted93.instance, lifted94.instance); + lifted94 lifted940 = new lifted94(); + lifted93 lifted930 = new lifted93(); + lifted940.e_34 = e_34; + lifted930.e_34 = e_34; + term = or_2_0.instance.invoke(context, term, lifted930, lifted940); if(term == null) - break Fail378; + break Fail270; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted93.java b/coolf/src/main/java/cool/lifted93.java index 78673c4..4e17910 100644 --- a/coolf/src/main/java/cool/lifted93.java +++ b/coolf/src/main/java/cool/lifted93.java @@ -13,14 +13,19 @@ @SuppressWarnings("all") final class lifted93 extends Strategy { - public static final lifted93 instance = new lifted93(); + TermReference e_34; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail380: + Fail272: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consMul_2 != ((IStrategoAppl)term).getConstructor()) - break Fail380; + if(term.getTermType() != IStrategoTerm.APPL || transform._consLeftShift_2 != ((IStrategoAppl)term).getConstructor()) + break Fail272; + if(e_34.value == null) + e_34.value = term.getSubterm(0); + else + if(e_34.value != term.getSubterm(0) && !e_34.value.match(term.getSubterm(0))) + break Fail272; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted94.java b/coolf/src/main/java/cool/lifted94.java index 4386849..1703cba 100644 --- a/coolf/src/main/java/cool/lifted94.java +++ b/coolf/src/main/java/cool/lifted94.java @@ -13,14 +13,19 @@ @SuppressWarnings("all") final class lifted94 extends Strategy { - public static final lifted94 instance = new lifted94(); + TermReference e_34; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail379: + Fail271: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consDiv_2 != ((IStrategoAppl)term).getConstructor()) - break Fail379; + if(term.getTermType() != IStrategoTerm.APPL || transform._consRightShift_2 != ((IStrategoAppl)term).getConstructor()) + break Fail271; + if(e_34.value == null) + e_34.value = term.getSubterm(0); + else + if(e_34.value != term.getSubterm(0) && !e_34.value.match(term.getSubterm(0))) + break Fail271; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted95.java b/coolf/src/main/java/cool/lifted95.java index 79b2412..505db60 100644 --- a/coolf/src/main/java/cool/lifted95.java +++ b/coolf/src/main/java/cool/lifted95.java @@ -13,14 +13,19 @@ @SuppressWarnings("all") final class lifted95 extends Strategy { - public static final lifted95 instance = new lifted95(); + TermReference e_34; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail376: + Fail269: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consRemain_2 != ((IStrategoAppl)term).getConstructor()) - break Fail376; + if(term.getTermType() != IStrategoTerm.APPL || transform._consURightShift_2 != ((IStrategoAppl)term).getConstructor()) + break Fail269; + if(e_34.value == null) + e_34.value = term.getSubterm(0); + else + if(e_34.value != term.getSubterm(0) && !e_34.value.match(term.getSubterm(0))) + break Fail269; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted96.java b/coolf/src/main/java/cool/lifted96.java index f1e30e0..d3d23b4 100644 --- a/coolf/src/main/java/cool/lifted96.java +++ b/coolf/src/main/java/cool/lifted96.java @@ -13,19 +13,19 @@ @SuppressWarnings("all") final class lifted96 extends Strategy { - TermReference e_50; + TermReference f_33; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail373: + Fail266: { lifted98 lifted980 = new lifted98(); lifted97 lifted970 = new lifted97(); - lifted980.e_50 = e_50; - lifted970.e_50 = e_50; + lifted980.f_33 = f_33; + lifted970.f_33 = f_33; term = or_2_0.instance.invoke(context, term, lifted970, lifted980); if(term == null) - break Fail373; + break Fail266; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted97.java b/coolf/src/main/java/cool/lifted97.java index af77be5..546c5b1 100644 --- a/coolf/src/main/java/cool/lifted97.java +++ b/coolf/src/main/java/cool/lifted97.java @@ -13,19 +13,19 @@ @SuppressWarnings("all") final class lifted97 extends Strategy { - TermReference e_50; + TermReference f_33; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail375: + Fail268: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consLeftShift_2 != ((IStrategoAppl)term).getConstructor()) - break Fail375; - if(e_50.value == null) - e_50.value = term.getSubterm(0); + if(term.getTermType() != IStrategoTerm.APPL || transform._consPreIncr_1 != ((IStrategoAppl)term).getConstructor()) + break Fail268; + if(f_33.value == null) + f_33.value = term.getSubterm(0); else - if(e_50.value != term.getSubterm(0) && !e_50.value.match(term.getSubterm(0))) - break Fail375; + if(f_33.value != term.getSubterm(0) && !f_33.value.match(term.getSubterm(0))) + break Fail268; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted98.java b/coolf/src/main/java/cool/lifted98.java index f91381c..1da6001 100644 --- a/coolf/src/main/java/cool/lifted98.java +++ b/coolf/src/main/java/cool/lifted98.java @@ -13,19 +13,19 @@ @SuppressWarnings("all") final class lifted98 extends Strategy { - TermReference e_50; + TermReference f_33; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail374: + Fail267: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consRightShift_2 != ((IStrategoAppl)term).getConstructor()) - break Fail374; - if(e_50.value == null) - e_50.value = term.getSubterm(0); + if(term.getTermType() != IStrategoTerm.APPL || transform._consPreDecr_1 != ((IStrategoAppl)term).getConstructor()) + break Fail267; + if(f_33.value == null) + f_33.value = term.getSubterm(0); else - if(e_50.value != term.getSubterm(0) && !e_50.value.match(term.getSubterm(0))) - break Fail374; + if(f_33.value != term.getSubterm(0) && !f_33.value.match(term.getSubterm(0))) + break Fail267; if(true) return term; } diff --git a/coolf/src/main/java/cool/lifted99.java b/coolf/src/main/java/cool/lifted99.java index 5fdfa22..b38332e 100644 --- a/coolf/src/main/java/cool/lifted99.java +++ b/coolf/src/main/java/cool/lifted99.java @@ -13,19 +13,19 @@ @SuppressWarnings("all") final class lifted99 extends Strategy { - TermReference e_50; + TermReference f_33; @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - Fail372: + Fail263: { - if(term.getTermType() != IStrategoTerm.APPL || transform._consURightShift_2 != ((IStrategoAppl)term).getConstructor()) - break Fail372; - if(e_50.value == null) - e_50.value = term.getSubterm(0); - else - if(e_50.value != term.getSubterm(0) && !e_50.value.match(term.getSubterm(0))) - break Fail372; + lifted101 lifted1011 = new lifted101(); + lifted100 lifted1000 = new lifted100(); + lifted1011.f_33 = f_33; + lifted1000.f_33 = f_33; + term = or_2_0.instance.invoke(context, term, lifted1000, lifted1011); + if(term == null) + break Fail263; if(true) return term; } diff --git a/coolf/src/main/java/cool/main_0_0.java b/coolf/src/main/java/cool/main_0_0.java index 3800f38..37cff27 100644 --- a/coolf/src/main/java/cool/main_0_0.java +++ b/coolf/src/main/java/cool/main_0_0.java @@ -18,11 +18,11 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("main_0_0"); - Fail334: + Fail169: { - term = transform_0_0.instance.invoke(context, term); + term = handle_io_0_0.instance.invoke(context, term); if(term == null) - break Fail334; + break Fail169; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/make_lock_and_unlock_methods_0_10.java b/coolf/src/main/java/cool/make_lock_and_unlock_methods_0_10.java index cc7c65d..51db8e3 100644 --- a/coolf/src/main/java/cool/make_lock_and_unlock_methods_0_10.java +++ b/coolf/src/main/java/cool/make_lock_and_unlock_methods_0_10.java @@ -15,51 +15,51 @@ { public static make_lock_and_unlock_methods_0_10 instance = new make_lock_and_unlock_methods_0_10(); - public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm p_74, IStrategoTerm q_74, IStrategoTerm r_74, IStrategoTerm s_74, IStrategoTerm t_74, IStrategoTerm u_74, IStrategoTerm v_74, IStrategoTerm w_74, IStrategoTerm x_74, IStrategoTerm y_74) + public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm r_46, IStrategoTerm s_46, IStrategoTerm t_46, IStrategoTerm u_46, IStrategoTerm v_46, IStrategoTerm w_46, IStrategoTerm x_46, IStrategoTerm y_46, IStrategoTerm z_46, IStrategoTerm a_47) { ITermFactory termFactory = context.getFactory(); context.push("make_lock_and_unlock_methods_0_10"); - Fail308: + Fail207: { - IStrategoTerm a_75 = null; - IStrategoTerm b_75 = null; - IStrategoTerm h_75 = null; - IStrategoTerm j_75 = null; - b_75 = term; - IStrategoTerm term296 = term; - Success251: + IStrategoTerm c_47 = null; + IStrategoTerm d_47 = null; + IStrategoTerm i_47 = null; + IStrategoTerm k_47 = null; + d_47 = term; + IStrategoTerm term192 = term; + Success150: { - Fail309: + Fail208: { term = strip_annos_0_0.instance.invoke(context, term); if(term == null) - break Fail309; - a_75 = term; + break Fail208; + c_47 = term; if(true) - break Success251; + break Success150; } - term = term296; - IStrategoTerm g_75 = null; - g_75 = term; - term = report_with_failure_0_1.instance.invoke(context, g_75, cool.const119); + term = term192; + IStrategoTerm h_47 = null; + h_47 = term; + term = report_with_failure_0_1.instance.invoke(context, h_47, cool.const60); if(term == null) - break Fail308; + break Fail207; } - term = b_75; - j_75 = b_75; - if(a_75 == null) - break Fail308; - term = make_lock_method_0_9.instance.invokeDynamic(context, a_75, NO_STRATEGIES, new IStrategoTerm[]{p_74, r_74, s_74, t_74, u_74, v_74, w_74, x_74, y_74}); + term = d_47; + k_47 = d_47; + if(c_47 == null) + break Fail207; + term = make_lock_method_0_9.instance.invokeDynamic(context, c_47, NO_STRATEGIES, new IStrategoTerm[]{r_46, t_46, u_46, v_46, w_46, x_46, y_46, z_46, a_47}); if(term == null) - break Fail308; - h_75 = term; - term = j_75; - if(a_75 == null) - break Fail308; - term = make_unlock_method_0_3.instance.invoke(context, a_75, p_74, q_74, v_74); + break Fail207; + i_47 = term; + term = k_47; + if(c_47 == null) + break Fail207; + term = make_unlock_method_0_3.instance.invoke(context, c_47, r_46, s_46, x_46); if(term == null) - break Fail308; - term = (IStrategoTerm)termFactory.makeListCons(h_75, termFactory.makeListCons(term, (IStrategoList)cool.constNil0)); + break Fail207; + term = (IStrategoTerm)termFactory.makeListCons(i_47, termFactory.makeListCons(term, (IStrategoList)cool.constNil0)); context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/make_lock_method_0_9.java b/coolf/src/main/java/cool/make_lock_method_0_9.java index 7a6f539..7bbecbc 100644 --- a/coolf/src/main/java/cool/make_lock_method_0_9.java +++ b/coolf/src/main/java/cool/make_lock_method_0_9.java @@ -15,247 +15,317 @@ { public static make_lock_method_0_9 instance = new make_lock_method_0_9(); - public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm v_76, IStrategoTerm w_76, IStrategoTerm x_76, IStrategoTerm z_76, IStrategoTerm a_77, IStrategoTerm ref_b_77, IStrategoTerm c_77, IStrategoTerm d_77, IStrategoTerm e_77) + public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm p_48, IStrategoTerm q_48, IStrategoTerm r_48, IStrategoTerm s_48, IStrategoTerm t_48, IStrategoTerm ref_u_48, IStrategoTerm v_48, IStrategoTerm w_48, IStrategoTerm x_48) { ITermFactory termFactory = context.getFactory(); - TermReference b_77 = new TermReference(ref_b_77); + TermReference u_48 = new TermReference(ref_u_48); context.push("make_lock_method_0_9"); - Fail313: + Fail212: { - IStrategoTerm f_77 = null; - IStrategoTerm g_77 = null; - IStrategoTerm h_77 = null; - IStrategoTerm i_77 = null; - IStrategoTerm j_77 = null; - IStrategoTerm l_77 = null; - IStrategoTerm m_77 = null; - TermReference n_77 = new TermReference(); - IStrategoTerm o_77 = null; - IStrategoTerm p_77 = null; - IStrategoTerm q_77 = null; - IStrategoTerm r_77 = null; - IStrategoTerm b_78 = null; - IStrategoTerm y_78 = null; - IStrategoTerm z_78 = null; + IStrategoTerm y_48 = null; + IStrategoTerm z_48 = null; + IStrategoTerm a_49 = null; + IStrategoTerm b_49 = null; + IStrategoTerm c_49 = null; + IStrategoTerm d_49 = null; + IStrategoTerm e_49 = null; + IStrategoTerm f_49 = null; + IStrategoTerm g_49 = null; + TermReference h_49 = new TermReference(); + IStrategoTerm i_49 = null; + IStrategoTerm j_49 = null; + IStrategoTerm k_49 = null; + IStrategoTerm l_49 = null; + IStrategoTerm m_49 = null; + IStrategoTerm x_49 = null; + IStrategoTerm f_51 = null; + IStrategoTerm g_51 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodSignature_2 != ((IStrategoAppl)term).getConstructor()) - break Fail313; - IStrategoTerm arg171 = term.getSubterm(0); - if(arg171.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg171).getConstructor()) - break Fail313; - p_77 = arg171.getSubterm(0); - q_77 = term.getSubterm(1); - b_78 = term; - IStrategoTerm term299 = term; - Success254: + break Fail212; + IStrategoTerm arg181 = term.getSubterm(0); + if(arg181.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg181).getConstructor()) + break Fail212; + j_49 = arg181.getSubterm(0); + k_49 = term.getSubterm(1); + x_49 = term; + IStrategoTerm term195 = term; + Success153: { - Fail314: + Fail213: { - IStrategoTerm l_78 = null; - IStrategoTerm o_78 = null; - IStrategoTerm q_78 = null; - IStrategoTerm s_78 = null; + IStrategoTerm n_50 = null; + IStrategoTerm u_50 = null; + IStrategoTerm w_50 = null; + IStrategoTerm x_50 = null; + IStrategoTerm p_172 = null; term = strip_annos_0_0.instance.invoke(context, term); if(term == null) - break Fail314; - if(n_77.value == null) - n_77.value = term; + break Fail213; + if(h_49.value == null) + h_49.value = term; else - if(n_77.value != term && !n_77.value.match(term)) - break Fail314; - Success255: + if(h_49.value != term && !h_49.value.match(term)) + break Fail213; + Success154: { - Fail315: + Fail214: { - IStrategoTerm s_77 = null; - s_77 = term; - if(n_77.value == null) - break Fail315; - term = termFactory.makeTuple(n_77.value, a_77); + IStrategoTerm n_49 = null; + n_49 = term; + if(h_49.value == null) + break Fail214; + term = termFactory.makeTuple(h_49.value, t_48); term = elem_0_0.instance.invoke(context, term); if(term == null) - break Fail315; - term = s_77; + break Fail214; + term = n_49; { - term = a_77; - lifted132 lifted1320 = new lifted132(); - lifted1320.n_77 = n_77; - term = remove_all_1_0.instance.invoke(context, term, lifted1320); + IStrategoTerm g_172 = null; + term = t_48; + lifted130 lifted1300 = new lifted130(); + lifted1300.h_49 = h_49; + term = remove_all_1_0.instance.invoke(context, term, lifted1300); if(term == null) - break Fail314; - f_77 = term; + break Fail213; + y_48 = term; + term = hashtable_get_0_1.instance.invoke(context, w_48, h_49.value); + if(term == null) + break Fail213; + g_172 = term; + term = gen_source_location_ann_0_1.instance.invoke(context, g_172, cool.const66); + if(term == null) + break Fail213; + term = (IStrategoTerm)termFactory.makeListCons(term, (IStrategoList)cool.constNil0); + z_48 = term; if(true) - break Success255; + break Success154; } } + y_48 = cool.constNil0; term = cool.constNil0; - f_77 = cool.constNil0; + z_48 = cool.constNil0; } - Success256: + Success155: { - Fail316: + Fail215: { - IStrategoTerm t_77 = null; - t_77 = term; - if(n_77.value == null) - break Fail316; - term = termFactory.makeTuple(n_77.value, z_76); + IStrategoTerm o_49 = null; + o_49 = term; + if(h_49.value == null) + break Fail215; + term = termFactory.makeTuple(h_49.value, s_48); term = elem_0_0.instance.invoke(context, term); if(term == null) - break Fail316; - term = t_77; + break Fail215; + term = o_49; { - if(n_77.value == null) - break Fail314; - term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(n_77.value, (IStrategoList)cool.constNil0), f_77); + IStrategoTerm k_172 = null; + if(h_49.value == null) + break Fail213; + term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(h_49.value, (IStrategoList)cool.constNil0), y_48); + term = conc_0_0.instance.invoke(context, term); + if(term == null) + break Fail213; + a_49 = term; + term = hashtable_get_0_1.instance.invoke(context, v_48, h_49.value); + if(term == null) + break Fail213; + k_172 = term; + term = gen_source_location_ann_0_1.instance.invoke(context, k_172, cool.const67); + if(term == null) + break Fail213; + term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(term, (IStrategoList)cool.constNil0), z_48); term = conc_0_0.instance.invoke(context, term); if(term == null) - break Fail314; - g_77 = term; + break Fail213; + e_49 = term; if(true) - break Success256; + break Success155; } } - term = f_77; - g_77 = f_77; + a_49 = y_48; + term = z_48; + e_49 = z_48; } - term = g_77; - lifted133 lifted1330 = new lifted133(); - lifted1330.b_77 = b_77; - term = map_1_0.instance.invoke(context, term, lifted1330); + term = a_49; + lifted131 lifted1310 = new lifted131(); + lifted1310.u_48 = u_48; + term = map_1_0.instance.invoke(context, term, lifted1310); if(term == null) - break Fail314; - i_77 = term; - Success257: + break Fail213; + c_49 = term; + Success156: { - Fail317: + Fail216: { - IStrategoTerm v_77 = null; - IStrategoTerm g_78 = null; - IStrategoTerm h_78 = null; - v_77 = term; - h_78 = term; - term = hashtable_keys_0_0.instance.invoke(context, w_76); + IStrategoTerm q_49 = null; + IStrategoTerm h_50 = null; + IStrategoTerm i_50 = null; + q_49 = term; + i_50 = term; + term = hashtable_keys_0_0.instance.invoke(context, q_48); if(term == null) - break Fail317; - g_78 = term; - term = h_78; - if(n_77.value == null) - break Fail317; - term = termFactory.makeTuple(n_77.value, g_78); + break Fail216; + h_50 = term; + term = i_50; + if(h_49.value == null) + break Fail216; + term = termFactory.makeTuple(h_49.value, h_50); term = elem_0_0.instance.invoke(context, term); if(term == null) - break Fail317; - term = v_77; + break Fail216; + term = q_49; { - term = hashtable_get_0_1.instance.invoke(context, w_76, n_77.value); + term = hashtable_get_0_1.instance.invoke(context, q_48, h_49.value); if(term == null) - break Fail314; + break Fail213; term = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})})}), cool.constNil0}); term = termFactory.makeAppl(transform._consNot_1, new IStrategoTerm[]{term}); - h_77 = term; - IStrategoList list8; - list8 = checkListTail(i_77); - if(list8 == null) - break Fail314; - term = (IStrategoTerm)termFactory.makeListCons(h_77, list8); - j_77 = term; + b_49 = term; + IStrategoList list0; + list0 = checkListTail(c_49); + if(list0 == null) + break Fail213; + term = (IStrategoTerm)termFactory.makeListCons(b_49, list0); + d_49 = term; if(true) - break Success257; + break Success156; } } - term = i_77; - j_77 = i_77; + term = c_49; + d_49 = c_49; } - l_78 = term; - term = reverse_0_0.instance.invoke(context, j_77); + n_50 = term; + term = reverse_0_0.instance.invoke(context, d_49); if(term == null) - break Fail314; - term = make_while_condition_0_1.instance.invoke(context, l_78, term); + break Fail213; + term = make_while_condition_0_1.instance.invoke(context, n_50, term); if(term == null) - break Fail314; - l_77 = term; - Success258: + break Fail213; + f_49 = term; + Success157: { - Fail318: + Fail217: { - IStrategoTerm y_77 = null; - IStrategoTerm m_78 = null; - IStrategoTerm n_78 = null; - y_77 = term; - n_78 = term; - term = hashtable_keys_0_0.instance.invoke(context, x_76); + IStrategoTerm t_49 = null; + IStrategoTerm o_50 = null; + IStrategoTerm p_50 = null; + t_49 = term; + p_50 = term; + term = hashtable_keys_0_0.instance.invoke(context, r_48); if(term == null) - break Fail318; - m_78 = term; - term = n_78; - if(n_77.value == null) - break Fail318; - term = termFactory.makeTuple(n_77.value, m_78); + break Fail217; + o_50 = term; + term = p_50; + if(h_49.value == null) + break Fail217; + term = termFactory.makeTuple(h_49.value, o_50); term = elem_0_0.instance.invoke(context, term); if(term == null) - break Fail318; - term = y_77; + break Fail217; + term = t_49; { - term = hashtable_get_0_1.instance.invoke(context, x_76, n_77.value); + term = hashtable_get_0_1.instance.invoke(context, r_48, h_49.value); if(term == null) - break Fail314; - term = termFactory.makeAppl(transform._consExprStm_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})})}), cool.constCons19})}); - m_77 = term; + break Fail213; + term = termFactory.makeAppl(transform._consExprStm_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})})}), cool.constCons1})}); + g_49 = term; if(true) - break Success258; + break Success157; } } term = cool.constNone0; - m_77 = cool.constNone0; + g_49 = cool.constNone0; } - q_78 = term; - s_78 = term; - term = make_while_statement_0_2.instance.invoke(context, s_78, l_77, cool.constCons42); - if(term == null) - break Fail314; - o_78 = term; - term = q_78; - if(n_77.value == null) - break Fail314; - term = gen_method_state_name_0_1.instance.invoke(context, n_77.value, b_77.value); + Success158: + { + Fail218: + { + IStrategoTerm v_49 = null; + IStrategoTerm q_50 = null; + IStrategoTerm r_50 = null; + v_49 = term; + r_50 = term; + term = hashtable_keys_0_0.instance.invoke(context, x_48); + if(term == null) + break Fail218; + q_50 = term; + term = r_50; + if(h_49.value == null) + break Fail218; + term = termFactory.makeTuple(h_49.value, q_50); + term = elem_0_0.instance.invoke(context, term); + if(term == null) + break Fail218; + term = v_49; + { + IStrategoTerm o_172 = null; + term = hashtable_get_0_1.instance.invoke(context, x_48, h_49.value); + if(term == null) + break Fail213; + o_172 = term; + term = gen_source_location_ann_0_1.instance.invoke(context, o_172, cool.const68); + if(term == null) + break Fail213; + term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(term, (IStrategoList)cool.constNil0), e_49); + term = conc_0_0.instance.invoke(context, term); + if(term == null) + break Fail213; + l_49 = term; + if(true) + break Success158; + } + } + term = e_49; + l_49 = e_49; + } + w_50 = term; + x_50 = cool.constCons24; + p_172 = f_49; + term = termFactory.makeAppl(transform._consWhile_2, new IStrategoTerm[]{p_172, termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{x_50})}); + u_50 = term; + term = w_50; + if(h_49.value == null) + break Fail213; + term = gen_method_state_name_0_1.instance.invoke(context, h_49.value, u_48.value); if(term == null) - break Fail314; - term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(o_78, (IStrategoList)cool.constNil0), (IStrategoTerm)termFactory.makeListCons(m_77, (IStrategoList)cool.constNil0), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consExprStm_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consAmbName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})}), cool.constId33})}), cool.constCons24})}), (IStrategoList)cool.constNil0)); + break Fail213; + term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(u_50, (IStrategoList)cool.constNil0), (IStrategoTerm)termFactory.makeListCons(g_49, (IStrategoList)cool.constNil0), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consExprStm_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consAmbName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})}), cool.constId38})}), cool.constCons7})}), (IStrategoList)cool.constNil0)); term = conc_0_0.instance.invoke(context, term); if(term == null) - break Fail314; - o_77 = term; - term = map_1_0.instance.invoke(context, q_77, pp_type_0_0.instance); + break Fail213; + i_49 = term; + term = map_1_0.instance.invoke(context, k_49, pp_type_0_0.instance); if(term == null) - break Fail314; - term = map_1_0.instance.invoke(context, term, lifted135.instance); + break Fail213; + term = map_1_0.instance.invoke(context, term, lifted133.instance); if(term == null) - break Fail314; - term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName11, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId19, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{p_77}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(cool.constElemValPair0, termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId18, termFactory.makeAppl(transform._consElemValArrayInit_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)))}), (IStrategoList)cool.constCons37); + break Fail213; + term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName11, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId19, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{j_49}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(cool.constElemValPair0, termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId18, termFactory.makeAppl(transform._consElemValArrayInit_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)))}), (IStrategoList)cool.constCons19), l_49); term = conc_0_0.instance.invoke(context, term); if(term == null) - break Fail314; - r_77 = term; + break Fail213; + m_49 = term; if(true) - break Success254; + break Success153; } - term = term299; - IStrategoTerm x_78 = null; - x_78 = term; - term = report_with_failure_0_1.instance.invoke(context, x_78, cool.const131); + term = term195; + IStrategoTerm e_51 = null; + e_51 = term; + term = report_with_failure_0_1.instance.invoke(context, e_51, cool.const75); if(term == null) - break Fail313; + break Fail212; } - z_78 = b_78; - term = (IStrategoTerm)termFactory.makeListCons(cool.const132, termFactory.makeListCons(p_77, (IStrategoList)cool.constNil0)); + g_51 = x_49; + term = (IStrategoTerm)termFactory.makeListCons(cool.const76, termFactory.makeListCons(j_49, (IStrategoList)cool.constNil0)); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail313; - y_78 = term; - term = z_78; - if(r_77 == null || o_77 == null) - break Fail313; - term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{r_77, cool.constNone0, cool.constVoid0, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{y_78}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{v_76})}), cool.constId0}), (IStrategoList)cool.constNil0), cool.constNone0}), termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{o_77})}); + break Fail212; + f_51 = term; + term = g_51; + if(m_49 == null || i_49 == null) + break Fail212; + term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{m_49, cool.constNone0, cool.constVoid0, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{f_51}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{p_48})}), cool.constId0}), (IStrategoList)cool.constNil0), cool.constNone0}), termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{i_49})}); context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/make_on_entry_method_0_4.java b/coolf/src/main/java/cool/make_on_entry_method_0_4.java index 1fdb283..a5860ab 100644 --- a/coolf/src/main/java/cool/make_on_entry_method_0_4.java +++ b/coolf/src/main/java/cool/make_on_entry_method_0_4.java @@ -15,49 +15,49 @@ { public static make_on_entry_method_0_4 instance = new make_on_entry_method_0_4(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm k_54, IStrategoTerm l_54, IStrategoTerm m_54, IStrategoTerm n_54) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm b_41, IStrategoTerm c_41, IStrategoTerm d_41, IStrategoTerm e_41) { ITermFactory termFactory = context.getFactory(); context.push("make_on_entry_method_0_4"); - Fail297: + Fail195: { - IStrategoTerm o_54 = null; - IStrategoTerm p_54 = null; - IStrategoTerm q_54 = null; - IStrategoTerm r_54 = null; - IStrategoTerm s_54 = null; - IStrategoTerm z_54 = null; + IStrategoTerm f_41 = null; + IStrategoTerm g_41 = null; + IStrategoTerm h_41 = null; + IStrategoTerm i_41 = null; + IStrategoTerm j_41 = null; + IStrategoTerm q_41 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodSignature_2 != ((IStrategoAppl)term).getConstructor()) - break Fail297; - IStrategoTerm arg154 = term.getSubterm(0); - if(arg154.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg154).getConstructor()) - break Fail297; - o_54 = arg154.getSubterm(0); - p_54 = term.getSubterm(1); - s_54 = term; - term = map_1_0.instance.invoke(context, p_54, pp_type_0_0.instance); + break Fail195; + IStrategoTerm arg161 = term.getSubterm(0); + if(arg161.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg161).getConstructor()) + break Fail195; + f_41 = arg161.getSubterm(0); + g_41 = term.getSubterm(1); + j_41 = term; + term = map_1_0.instance.invoke(context, g_41, pp_type_0_0.instance); if(term == null) - break Fail297; - term = map_1_0.instance.invoke(context, term, lifted109.instance); + break Fail195; + term = map_1_0.instance.invoke(context, term, lifted107.instance); if(term == null) - break Fail297; - term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName6, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId19, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{o_54}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(cool.constElemValPair0, termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId18, termFactory.makeAppl(transform._consElemValArrayInit_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)))}), (IStrategoList)cool.constCons20); - q_54 = term; - term = gen_on_entry_method_name_0_1.instance.invoke(context, s_54, n_54); + break Fail195; + term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName6, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId19, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{f_41}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(cool.constElemValPair0, termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId18, termFactory.makeAppl(transform._consElemValArrayInit_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)))}), (IStrategoList)cool.constCons2); + h_41 = term; + term = gen_on_entry_method_name_0_1.instance.invoke(context, j_41, e_41); if(term == null) - break Fail297; - r_54 = term; - z_54 = m_54; - term = strip_annos_0_0.instance.invoke(context, s_54); + break Fail195; + i_41 = term; + q_41 = d_41; + term = strip_annos_0_0.instance.invoke(context, j_41); if(term == null) - break Fail297; - term = hashtable_put_0_2.instance.invoke(context, z_54, term, r_54); + break Fail195; + term = hashtable_put_0_2.instance.invoke(context, q_41, term, i_41); if(term == null) - break Fail297; - term = hashtable_get_0_1.instance.invoke(context, k_54, s_54); + break Fail195; + term = hashtable_get_0_1.instance.invoke(context, b_41, j_41); if(term == null) - break Fail297; - term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{q_54, cool.constNone0, cool.constVoid0, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{r_54}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{l_54})}), cool.constId0}), (IStrategoList)cool.constNil0), cool.constNone0}), term}); + break Fail195; + term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{h_41, cool.constNone0, cool.constVoid0, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{i_41}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{c_41})}), cool.constId0}), (IStrategoList)cool.constNil0), cool.constNone0}), term}); context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/make_on_exit_method_0_4.java b/coolf/src/main/java/cool/make_on_exit_method_0_4.java index e2c8e31..e2b2ebd 100644 --- a/coolf/src/main/java/cool/make_on_exit_method_0_4.java +++ b/coolf/src/main/java/cool/make_on_exit_method_0_4.java @@ -15,49 +15,49 @@ { public static make_on_exit_method_0_4 instance = new make_on_exit_method_0_4(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm c_55, IStrategoTerm d_55, IStrategoTerm e_55, IStrategoTerm f_55) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm t_41, IStrategoTerm u_41, IStrategoTerm v_41, IStrategoTerm w_41) { ITermFactory termFactory = context.getFactory(); context.push("make_on_exit_method_0_4"); - Fail298: + Fail196: { - IStrategoTerm g_55 = null; - IStrategoTerm h_55 = null; - IStrategoTerm i_55 = null; - IStrategoTerm j_55 = null; - IStrategoTerm k_55 = null; - IStrategoTerm r_55 = null; + IStrategoTerm x_41 = null; + IStrategoTerm y_41 = null; + IStrategoTerm z_41 = null; + IStrategoTerm a_42 = null; + IStrategoTerm b_42 = null; + IStrategoTerm i_42 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodSignature_2 != ((IStrategoAppl)term).getConstructor()) - break Fail298; - IStrategoTerm arg155 = term.getSubterm(0); - if(arg155.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg155).getConstructor()) - break Fail298; - g_55 = arg155.getSubterm(0); - h_55 = term.getSubterm(1); - k_55 = term; - term = map_1_0.instance.invoke(context, h_55, pp_type_0_0.instance); + break Fail196; + IStrategoTerm arg162 = term.getSubterm(0); + if(arg162.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg162).getConstructor()) + break Fail196; + x_41 = arg162.getSubterm(0); + y_41 = term.getSubterm(1); + b_42 = term; + term = map_1_0.instance.invoke(context, y_41, pp_type_0_0.instance); if(term == null) - break Fail298; - term = map_1_0.instance.invoke(context, term, lifted111.instance); + break Fail196; + term = map_1_0.instance.invoke(context, term, lifted109.instance); if(term == null) - break Fail298; - term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName7, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId19, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{g_55}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(cool.constElemValPair0, termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId18, termFactory.makeAppl(transform._consElemValArrayInit_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)))}), (IStrategoList)cool.constCons20); - i_55 = term; - term = gen_on_exit_method_name_0_1.instance.invoke(context, k_55, f_55); + break Fail196; + term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName7, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId19, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{x_41}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(cool.constElemValPair0, termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId18, termFactory.makeAppl(transform._consElemValArrayInit_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)))}), (IStrategoList)cool.constCons2); + z_41 = term; + term = gen_on_exit_method_name_0_1.instance.invoke(context, b_42, w_41); if(term == null) - break Fail298; - j_55 = term; - r_55 = e_55; - term = strip_annos_0_0.instance.invoke(context, k_55); + break Fail196; + a_42 = term; + i_42 = v_41; + term = strip_annos_0_0.instance.invoke(context, b_42); if(term == null) - break Fail298; - term = hashtable_put_0_2.instance.invoke(context, r_55, term, j_55); + break Fail196; + term = hashtable_put_0_2.instance.invoke(context, i_42, term, a_42); if(term == null) - break Fail298; - term = hashtable_get_0_1.instance.invoke(context, c_55, k_55); + break Fail196; + term = hashtable_get_0_1.instance.invoke(context, t_41, b_42); if(term == null) - break Fail298; - term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{i_55, cool.constNone0, cool.constVoid0, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{j_55}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{d_55})}), cool.constId0}), (IStrategoList)cool.constNil0), cool.constNone0}), term}); + break Fail196; + term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{z_41, cool.constNone0, cool.constVoid0, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{a_42}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{u_41})}), cool.constId0}), (IStrategoList)cool.constNil0), cool.constNone0}), term}); context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/make_requires_method_0_3.java b/coolf/src/main/java/cool/make_requires_method_0_3.java index 72a464c..55efef9 100644 --- a/coolf/src/main/java/cool/make_requires_method_0_3.java +++ b/coolf/src/main/java/cool/make_requires_method_0_3.java @@ -15,49 +15,49 @@ { public static make_requires_method_0_3 instance = new make_requires_method_0_3(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm t_53, IStrategoTerm u_53, IStrategoTerm v_53) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm c_39, IStrategoTerm d_39, IStrategoTerm e_39) { ITermFactory termFactory = context.getFactory(); context.push("make_requires_method_0_3"); - Fail296: + Fail187: { - IStrategoTerm w_53 = null; - IStrategoTerm x_53 = null; - IStrategoTerm y_53 = null; - IStrategoTerm z_53 = null; - IStrategoTerm a_54 = null; - IStrategoTerm h_54 = null; + IStrategoTerm f_39 = null; + IStrategoTerm g_39 = null; + IStrategoTerm h_39 = null; + IStrategoTerm i_39 = null; + IStrategoTerm j_39 = null; + IStrategoTerm q_39 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodSignature_2 != ((IStrategoAppl)term).getConstructor()) - break Fail296; - IStrategoTerm arg153 = term.getSubterm(0); - if(arg153.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg153).getConstructor()) - break Fail296; - w_53 = arg153.getSubterm(0); - x_53 = term.getSubterm(1); - a_54 = term; - term = map_1_0.instance.invoke(context, x_53, pp_type_0_0.instance); + break Fail187; + IStrategoTerm arg142 = term.getSubterm(0); + if(arg142.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg142).getConstructor()) + break Fail187; + f_39 = arg142.getSubterm(0); + g_39 = term.getSubterm(1); + j_39 = term; + term = map_1_0.instance.invoke(context, g_39, pp_type_0_0.instance); if(term == null) - break Fail296; - term = map_1_0.instance.invoke(context, term, lifted107.instance); + break Fail187; + term = map_1_0.instance.invoke(context, term, lifted105.instance); if(term == null) - break Fail296; - term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName5, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId19, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{w_53}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(cool.constElemValPair0, termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId18, termFactory.makeAppl(transform._consElemValArrayInit_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)))}), (IStrategoList)cool.constCons20); - y_53 = term; - term = gen_requires_method_name_0_1.instance.invoke(context, a_54, v_53); + break Fail187; + term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName5, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId19, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{f_39}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(cool.constElemValPair0, termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId18, termFactory.makeAppl(transform._consElemValArrayInit_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)))}), (IStrategoList)cool.constCons2); + h_39 = term; + term = gen_requires_method_name_0_1.instance.invoke(context, j_39, e_39); if(term == null) - break Fail296; - z_53 = term; - h_54 = u_53; - term = strip_annos_0_0.instance.invoke(context, a_54); + break Fail187; + i_39 = term; + q_39 = d_39; + term = strip_annos_0_0.instance.invoke(context, j_39); if(term == null) - break Fail296; - term = hashtable_put_0_2.instance.invoke(context, h_54, term, z_53); + break Fail187; + term = hashtable_put_0_2.instance.invoke(context, q_39, term, i_39); if(term == null) - break Fail296; - term = hashtable_get_0_1.instance.invoke(context, t_53, a_54); + break Fail187; + term = hashtable_get_0_1.instance.invoke(context, c_39, j_39); if(term == null) - break Fail296; - term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{y_53, cool.constNone0, cool.constBoolean0, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{z_53}), cool.constNil0, cool.constNone0}), termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consReturn_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consSome_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)})}); + break Fail187; + term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{h_39, cool.constNone0, cool.constBoolean0, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{i_39}), cool.constNil0, cool.constNone0}), termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consReturn_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consSome_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)})}); context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/make_unlock_method_0_3.java b/coolf/src/main/java/cool/make_unlock_method_0_3.java index 57bcf00..6afedaa 100644 --- a/coolf/src/main/java/cool/make_unlock_method_0_3.java +++ b/coolf/src/main/java/cool/make_unlock_method_0_3.java @@ -15,98 +15,98 @@ { public static make_unlock_method_0_3 instance = new make_unlock_method_0_3(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm n_75, IStrategoTerm o_75, IStrategoTerm p_75) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm o_47, IStrategoTerm p_47, IStrategoTerm q_47) { ITermFactory termFactory = context.getFactory(); context.push("make_unlock_method_0_3"); - Fail310: + Fail209: { - IStrategoTerm q_75 = null; - IStrategoTerm r_75 = null; - IStrategoTerm s_75 = null; - IStrategoTerm t_75 = null; - IStrategoTerm u_75 = null; - IStrategoTerm v_75 = null; - IStrategoTerm b_76 = null; - IStrategoTerm r_76 = null; - IStrategoTerm s_76 = null; + IStrategoTerm r_47 = null; + IStrategoTerm s_47 = null; + IStrategoTerm t_47 = null; + IStrategoTerm u_47 = null; + IStrategoTerm v_47 = null; + IStrategoTerm w_47 = null; + IStrategoTerm a_48 = null; + IStrategoTerm l_48 = null; + IStrategoTerm m_48 = null; if(term.getTermType() != IStrategoTerm.APPL || transform._consMethodSignature_2 != ((IStrategoAppl)term).getConstructor()) - break Fail310; - IStrategoTerm arg170 = term.getSubterm(0); - if(arg170.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg170).getConstructor()) - break Fail310; - q_75 = arg170.getSubterm(0); - r_75 = term.getSubterm(1); - b_76 = term; - IStrategoTerm term297 = term; - Success252: + break Fail209; + IStrategoTerm arg180 = term.getSubterm(0); + if(arg180.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg180).getConstructor()) + break Fail209; + r_47 = arg180.getSubterm(0); + s_47 = term.getSubterm(1); + a_48 = term; + IStrategoTerm term193 = term; + Success151: { - Fail311: + Fail210: { - t_75 = term; - term = map_1_0.instance.invoke(context, r_75, pp_type_0_0.instance); + u_47 = term; + term = map_1_0.instance.invoke(context, s_47, pp_type_0_0.instance); if(term == null) - break Fail311; - term = map_1_0.instance.invoke(context, term, lifted131.instance); + break Fail210; + term = map_1_0.instance.invoke(context, term, lifted129.instance); if(term == null) - break Fail311; - term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName8, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId19, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{q_75}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(cool.constElemValPair0, termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId18, termFactory.makeAppl(transform._consElemValArrayInit_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)))}), (IStrategoList)cool.constCons37); - s_75 = term; - Success253: + break Fail210; + term = (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consAnno_2, new IStrategoTerm[]{cool.constTypeName8, (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId19, termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{(IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consChars_1, new IStrategoTerm[]{r_47}), (IStrategoList)cool.constNil0)})})}), termFactory.makeListCons(cool.constElemValPair0, termFactory.makeListCons(termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId18, termFactory.makeAppl(transform._consElemValArrayInit_1, new IStrategoTerm[]{term})}), (IStrategoList)cool.constNil0)))}), (IStrategoList)cool.constCons19); + t_47 = term; + Success152: { - Fail312: + Fail211: { - IStrategoTerm y_75 = null; - y_75 = term; - term = hashtable_keys_0_0.instance.invoke(context, o_75); + IStrategoTerm y_47 = null; + y_47 = term; + term = hashtable_keys_0_0.instance.invoke(context, p_47); if(term == null) - break Fail312; - term = termFactory.makeTuple(t_75, term); + break Fail211; + term = termFactory.makeTuple(u_47, term); term = elem_0_0.instance.invoke(context, term); if(term == null) - break Fail312; - term = y_75; + break Fail211; + term = y_47; { - term = hashtable_get_0_1.instance.invoke(context, o_75, t_75); + term = hashtable_get_0_1.instance.invoke(context, p_47, u_47); if(term == null) - break Fail311; - term = termFactory.makeAppl(transform._consExprStm_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})})}), cool.constCons19})}); - u_75 = term; + break Fail210; + term = termFactory.makeAppl(transform._consExprStm_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})})}), cool.constCons1})}); + v_47 = term; if(true) - break Success253; + break Success152; } } term = cool.constNone0; - u_75 = cool.constNone0; + v_47 = cool.constNone0; } - term = gen_method_state_name_0_1.instance.invoke(context, t_75, p_75); + term = gen_method_state_name_0_1.instance.invoke(context, u_47, q_47); if(term == null) - break Fail311; - term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consExprStm_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consAmbName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})}), cool.constId27})}), cool.constCons24})}), (IStrategoList)cool.constNil0), (IStrategoTerm)termFactory.makeListCons(u_75, (IStrategoList)cool.constNil0), cool.constCons38); + break Fail210; + term = termFactory.makeTuple((IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consExprStm_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodName_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consAmbName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{term})}), cool.constId32})}), cool.constCons7})}), (IStrategoList)cool.constNil0), (IStrategoTerm)termFactory.makeListCons(v_47, (IStrategoList)cool.constNil0), cool.constCons20); term = conc_0_0.instance.invoke(context, term); if(term == null) - break Fail311; - v_75 = term; + break Fail210; + w_47 = term; if(true) - break Success252; + break Success151; } - term = term297; - IStrategoTerm q_76 = null; - q_76 = term; - term = report_with_failure_0_1.instance.invoke(context, q_76, cool.const123); + term = term193; + IStrategoTerm k_48 = null; + k_48 = term; + term = report_with_failure_0_1.instance.invoke(context, k_48, cool.const64); if(term == null) - break Fail310; + break Fail209; } - s_76 = b_76; - term = (IStrategoTerm)termFactory.makeListCons(cool.const124, termFactory.makeListCons(q_75, (IStrategoList)cool.constNil0)); + m_48 = a_48; + term = (IStrategoTerm)termFactory.makeListCons(cool.const65, termFactory.makeListCons(r_47, (IStrategoList)cool.constNil0)); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail310; - r_76 = term; - term = s_76; - if(s_75 == null || v_75 == null) - break Fail310; - term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{s_75, cool.constNone0, cool.constVoid0, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{r_76}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{n_75})}), cool.constId0}), (IStrategoList)cool.constNil0), cool.constNone0}), termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{v_75})}); + break Fail209; + l_48 = term; + term = m_48; + if(t_47 == null || w_47 == null) + break Fail209; + term = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{t_47, cool.constNone0, cool.constVoid0, termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{l_48}), (IStrategoTerm)termFactory.makeListCons(termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{o_47})}), cool.constId0}), (IStrategoList)cool.constNil0), cool.constNone0}), termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{w_47})}); context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/make_while_condition_0_1.java b/coolf/src/main/java/cool/make_while_condition_0_1.java index dab9b3d..a9a754b 100644 --- a/coolf/src/main/java/cool/make_while_condition_0_1.java +++ b/coolf/src/main/java/cool/make_while_condition_0_1.java @@ -15,77 +15,77 @@ { public static make_while_condition_0_1 instance = new make_while_condition_0_1(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm z_52) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm i_38) { ITermFactory termFactory = context.getFactory(); context.push("make_while_condition_0_1"); - Fail292: + Fail182: { - IStrategoTerm a_53 = null; - IStrategoTerm b_53 = null; - IStrategoTerm c_53 = null; - IStrategoTerm d_53 = null; - d_53 = term; - term = length_0_0.instance.invoke(context, z_52); + IStrategoTerm j_38 = null; + IStrategoTerm k_38 = null; + IStrategoTerm l_38 = null; + IStrategoTerm m_38 = null; + m_38 = term; + term = length_0_0.instance.invoke(context, i_38); if(term == null) - break Fail292; - c_53 = term; - term = d_53; - IStrategoTerm term291 = term; - Success246: + break Fail182; + l_38 = term; + term = m_38; + IStrategoTerm term185 = term; + Success143: { - Fail293: + Fail183: { - IStrategoTerm e_53 = null; - IStrategoTerm i_53 = null; - e_53 = term; - i_53 = c_53; - term = equal_0_1.instance.invoke(context, i_53, cool.const85); + IStrategoTerm n_38 = null; + IStrategoTerm r_38 = null; + n_38 = term; + r_38 = l_38; + term = equal_0_1.instance.invoke(context, r_38, cool.const18); if(term == null) - break Fail293; - term = e_53; + break Fail183; + term = n_38; { term = cool.constFalse0; if(true) - break Success246; + break Success143; } } - term = term291; - Success247: + term = term185; + Success144: { - Fail294: + Fail184: { - IStrategoTerm f_53 = null; - IStrategoTerm k_53 = null; - f_53 = term; - k_53 = c_53; - term = equal_0_1.instance.invoke(context, k_53, cool.const83); + IStrategoTerm o_38 = null; + IStrategoTerm t_38 = null; + o_38 = term; + t_38 = l_38; + term = equal_0_1.instance.invoke(context, t_38, cool.const16); if(term == null) - break Fail294; - term = f_53; + break Fail184; + term = o_38; { - IStrategoTerm g_53 = null; - term = z_52; + IStrategoTerm p_38 = null; + term = i_38; if(term.getTermType() != IStrategoTerm.LIST || ((IStrategoList)term).isEmpty()) - break Fail292; - g_53 = ((IStrategoList)term).head(); - IStrategoTerm arg152 = ((IStrategoList)term).tail(); - if(arg152.getTermType() != IStrategoTerm.LIST || !((IStrategoList)arg152).isEmpty()) - break Fail292; - term = g_53; + break Fail182; + p_38 = ((IStrategoList)term).head(); + IStrategoTerm arg138 = ((IStrategoList)term).tail(); + if(arg138.getTermType() != IStrategoTerm.LIST || !((IStrategoList)arg138).isEmpty()) + break Fail182; + term = p_38; if(true) - break Success247; + break Success144; } } - term = z_52; + term = i_38; if(term.getTermType() != IStrategoTerm.LIST || ((IStrategoList)term).isEmpty()) - break Fail292; - b_53 = ((IStrategoList)term).head(); - a_53 = ((IStrategoList)term).tail(); - term = this.invoke(context, term, a_53); + break Fail182; + k_38 = ((IStrategoList)term).head(); + j_38 = ((IStrategoList)term).tail(); + term = this.invoke(context, term, j_38); if(term == null) - break Fail292; - term = termFactory.makeAppl(transform._consLazyOr_2, new IStrategoTerm[]{term, b_53}); + break Fail182; + term = termFactory.makeAppl(transform._consLazyOr_2, new IStrategoTerm[]{term, k_38}); } } context.popOnSuccess(); diff --git a/coolf/src/main/java/cool/make_while_statement_0_2.java b/coolf/src/main/java/cool/make_while_statement_0_2.java deleted file mode 100644 index 230f7d4..0000000 --- a/coolf/src/main/java/cool/make_while_statement_0_2.java +++ /dev/null @@ -1,31 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class make_while_statement_0_2 extends Strategy -{ - public static make_while_statement_0_2 instance = new make_while_statement_0_2(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm x_52, IStrategoTerm y_52) - { - ITermFactory termFactory = context.getFactory(); - Fail291: - { - term = termFactory.makeAppl(transform._consWhile_2, new IStrategoTerm[]{x_52, termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{y_52})}); - if(true) - return term; - } - context.push("make_while_statement_0_2"); - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/option_to_boxes_0_0.java b/coolf/src/main/java/cool/option_to_boxes_0_0.java deleted file mode 100644 index 4a59115..0000000 --- a/coolf/src/main/java/cool/option_to_boxes_0_0.java +++ /dev/null @@ -1,56 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class option_to_boxes_0_0 extends Strategy -{ - public static option_to_boxes_0_0 instance = new option_to_boxes_0_0(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - ITermFactory termFactory = context.getFactory(); - Fail109: - { - IStrategoTerm term104 = term; - IStrategoConstructor cons6 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success101: - { - if(cons6 == transform._consSome_1) - { - Fail110: - { - IStrategoTerm u_22 = null; - u_22 = term.getSubterm(0); - term = u_22; - term = (IStrategoTerm)termFactory.makeListCons(term, (IStrategoList)cool.constNil0); - if(true) - break Success101; - } - term = term104; - } - if(cons6 == transform._consNone_0) - { - term = cool.constNil0; - } - else - { - break Fail109; - } - } - if(true) - return term; - } - context.push("option_to_boxes_0_0"); - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/pp_aspectj_box_0_0.java b/coolf/src/main/java/cool/origin_file_0_0.java similarity index 62% rename from coolf/src/main/java/cool/pp_aspectj_box_0_0.java rename to coolf/src/main/java/cool/origin_file_0_0.java index 8099e08..6d93492 100644 --- a/coolf/src/main/java/cool/pp_aspectj_box_0_0.java +++ b/coolf/src/main/java/cool/origin_file_0_0.java @@ -11,22 +11,23 @@ import java.util.ArrayList; import java.lang.ref.WeakReference; -@SuppressWarnings("all") public class pp_aspectj_box_0_0 extends Strategy +@SuppressWarnings("all") public class origin_file_0_0 extends Strategy { - public static pp_aspectj_box_0_0 instance = new pp_aspectj_box_0_0(); + public static origin_file_0_0 instance = new origin_file_0_0(); @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { - context.push("pp_aspectj_box_0_0"); - Fail108: + Fail175: { - term = pp_java5_to_abox_1_0.instance.invoke(context, term, lifted3.instance); + IStrategoTerm u_36 = null; + u_36 = term; + term = context.invokePrimitive("SSL_EXT_origin_file", u_36, NO_STRATEGIES, new IStrategoTerm[]{term}); if(term == null) - break Fail108; - context.popOnSuccess(); + break Fail175; if(true) return term; } + context.push("origin_file_0_0"); context.popOnFailure(); return null; } diff --git a/coolf/src/main/java/cool/origin_location_0_0.java b/coolf/src/main/java/cool/origin_location_0_0.java new file mode 100644 index 0000000..ddf9344 --- /dev/null +++ b/coolf/src/main/java/cool/origin_location_0_0.java @@ -0,0 +1,34 @@ +package cool; + +import org.strategoxt.stratego_lib.*; +import org.strategoxt.java_front.*; +import org.strategoxt.stratego_gpp.*; +import org.strategoxt.stratego_sglr.*; +import org.strategoxt.lang.*; +import org.spoofax.interpreter.terms.*; +import static org.strategoxt.lang.Term.*; +import org.spoofax.interpreter.library.AbstractPrimitive; +import java.util.ArrayList; +import java.lang.ref.WeakReference; + +@SuppressWarnings("all") public class origin_location_0_0 extends Strategy +{ + public static origin_location_0_0 instance = new origin_location_0_0(); + + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) + { + Fail174: + { + IStrategoTerm q_36 = null; + q_36 = term; + term = context.invokePrimitive("SSL_EXT_origin_location", q_36, NO_STRATEGIES, new IStrategoTerm[]{term}); + if(term == null) + break Fail174; + if(true) + return term; + } + context.push("origin_location_0_0"); + context.popOnFailure(); + return null; + } +} \ No newline at end of file diff --git a/coolf/src/main/java/cool/pp_aspectj_string_0_0.java b/coolf/src/main/java/cool/pp_aspectj_string_0_0.java deleted file mode 100644 index f59b391..0000000 --- a/coolf/src/main/java/cool/pp_aspectj_string_0_0.java +++ /dev/null @@ -1,38 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") public class pp_aspectj_string_0_0 extends Strategy -{ - public static pp_aspectj_string_0_0 instance = new pp_aspectj_string_0_0(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - context.push("pp_aspectj_string_0_0"); - Fail111: - { - IStrategoTerm y_22 = null; - term = pp_aspectj_box_0_0.instance.invoke(context, term); - if(term == null) - break Fail111; - y_22 = term; - term = box2text_string_0_1.instance.invoke(context, y_22, cool.const68); - if(term == null) - break Fail111; - context.popOnSuccess(); - if(true) - return term; - } - context.popOnFailure(); - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/pp_type_0_0.java b/coolf/src/main/java/cool/pp_type_0_0.java index 0664827..67c0b7a 100644 --- a/coolf/src/main/java/cool/pp_type_0_0.java +++ b/coolf/src/main/java/cool/pp_type_0_0.java @@ -19,165 +19,165 @@ { ITermFactory termFactory = context.getFactory(); context.push("pp_type_0_0"); - Fail118: + Fail4: { - IStrategoTerm term109 = term; - Success106: + IStrategoTerm term3 = term; + Success3: { - Fail119: + Fail5: { - IStrategoTerm b_24 = null; - IStrategoTerm c_24 = null; - IStrategoTerm d_24 = null; - b_24 = term; - d_24 = term; - c_24 = b_24; - term = d_24; - IStrategoTerm term110 = term; - Success107: + IStrategoTerm c_8 = null; + IStrategoTerm d_8 = null; + IStrategoTerm e_8 = null; + c_8 = term; + e_8 = term; + d_8 = c_8; + term = e_8; + IStrategoTerm term4 = term; + Success4: { - Fail120: + Fail6: { - IStrategoTerm e_24 = null; - e_24 = term; - term = c_24; + IStrategoTerm f_8 = null; + f_8 = term; + term = d_8; if(term.getTermType() != IStrategoTerm.APPL || transform._consByte_0 != ((IStrategoAppl)term).getConstructor()) - break Fail120; - term = e_24; + break Fail6; + term = f_8; { - term = cool.const69; + term = cool.const1; if(true) - break Success107; + break Success4; } } - term = term110; - IStrategoTerm term111 = term; - Success108: + term = term4; + IStrategoTerm term5 = term; + Success5: { - Fail121: + Fail7: { - IStrategoTerm f_24 = null; - f_24 = term; - term = c_24; + IStrategoTerm g_8 = null; + g_8 = term; + term = d_8; if(term.getTermType() != IStrategoTerm.APPL || transform._consChar_0 != ((IStrategoAppl)term).getConstructor()) - break Fail121; - term = f_24; + break Fail7; + term = g_8; { - term = cool.const70; + term = cool.const2; if(true) - break Success108; + break Success5; } } - term = term111; - IStrategoTerm term112 = term; - Success109: + term = term5; + IStrategoTerm term6 = term; + Success6: { - Fail122: + Fail8: { - IStrategoTerm g_24 = null; - g_24 = term; - term = c_24; + IStrategoTerm h_8 = null; + h_8 = term; + term = d_8; if(term.getTermType() != IStrategoTerm.APPL || transform._consBoolean_0 != ((IStrategoAppl)term).getConstructor()) - break Fail122; - term = g_24; + break Fail8; + term = h_8; { - term = cool.const71; + term = cool.const3; if(true) - break Success109; + break Success6; } } - term = term112; - IStrategoTerm term113 = term; - Success110: + term = term6; + IStrategoTerm term7 = term; + Success7: { - Fail123: + Fail9: { - IStrategoTerm h_24 = null; - h_24 = term; - term = c_24; + IStrategoTerm i_8 = null; + i_8 = term; + term = d_8; if(term.getTermType() != IStrategoTerm.APPL || transform._consShort_0 != ((IStrategoAppl)term).getConstructor()) - break Fail123; - term = h_24; + break Fail9; + term = i_8; { - term = cool.const72; + term = cool.const4; if(true) - break Success110; + break Success7; } } - term = term113; - IStrategoTerm term114 = term; - Success111: + term = term7; + IStrategoTerm term8 = term; + Success8: { - Fail124: + Fail10: { - IStrategoTerm i_24 = null; - i_24 = term; - term = c_24; + IStrategoTerm j_8 = null; + j_8 = term; + term = d_8; if(term.getTermType() != IStrategoTerm.APPL || transform._consInt_0 != ((IStrategoAppl)term).getConstructor()) - break Fail124; - term = i_24; + break Fail10; + term = j_8; { - term = cool.const73; + term = cool.const5; if(true) - break Success111; + break Success8; } } - term = term114; - IStrategoTerm term115 = term; - Success112: + term = term8; + IStrategoTerm term9 = term; + Success9: { - Fail125: + Fail11: { - IStrategoTerm j_24 = null; - j_24 = term; - term = c_24; + IStrategoTerm k_8 = null; + k_8 = term; + term = d_8; if(term.getTermType() != IStrategoTerm.APPL || transform._consLong_0 != ((IStrategoAppl)term).getConstructor()) - break Fail125; - term = j_24; + break Fail11; + term = k_8; { - term = cool.const74; + term = cool.const6; if(true) - break Success112; + break Success9; } } - term = term115; - IStrategoTerm term116 = term; - Success113: + term = term9; + IStrategoTerm term10 = term; + Success10: { - Fail126: + Fail12: { - IStrategoTerm k_24 = null; - k_24 = term; - term = c_24; + IStrategoTerm l_8 = null; + l_8 = term; + term = d_8; if(term.getTermType() != IStrategoTerm.APPL || transform._consFloat_0 != ((IStrategoAppl)term).getConstructor()) - break Fail126; - term = k_24; + break Fail12; + term = l_8; { - term = cool.const75; + term = cool.const7; if(true) - break Success113; + break Success10; } } - term = term116; - Success114: + term = term10; + Success11: { - Fail127: + Fail13: { - IStrategoTerm l_24 = null; - l_24 = term; - term = c_24; + IStrategoTerm m_8 = null; + m_8 = term; + term = d_8; if(term.getTermType() != IStrategoTerm.APPL || transform._consDouble_0 != ((IStrategoAppl)term).getConstructor()) - break Fail127; - term = l_24; + break Fail13; + term = m_8; { - term = cool.const76; + term = cool.const8; if(true) - break Success114; + break Success11; } } - term = cool.const77; + term = cool.const9; if(true) - break Fail119; + break Fail5; } } } @@ -187,116 +187,116 @@ } } if(true) - break Success106; + break Success3; } - term = term109; - IStrategoTerm term118 = term; - IStrategoConstructor cons9 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success115: + term = term3; + IStrategoTerm term12 = term; + IStrategoConstructor cons1 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; + Success12: { - if(cons9 == transform._consArrayType_1) + if(cons1 == transform._consArrayType_1) { - Fail128: + Fail14: { - IStrategoTerm y_23 = null; - y_23 = term.getSubterm(0); - term = this.invoke(context, y_23); + IStrategoTerm z_7 = null; + z_7 = term.getSubterm(0); + term = this.invoke(context, z_7); if(term == null) - break Fail128; - term = (IStrategoTerm)termFactory.makeListCons(term, (IStrategoList)cool.constCons18); + break Fail14; + term = (IStrategoTerm)termFactory.makeListCons(term, (IStrategoList)cool.constCons0); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail128; + break Fail14; if(true) - break Success115; + break Success12; } - term = term118; + term = term12; } - Success116: + Success13: { - if(cons9 == transform._consClassOrInterfaceType_2) + if(cons1 == transform._consClassOrInterfaceType_2) { - Fail129: + Fail15: { - IStrategoTerm x_23 = null; - IStrategoTerm arg18 = term.getSubterm(0); - if(arg18.getTermType() != IStrategoTerm.APPL || transform._consTypeName_1 != ((IStrategoAppl)arg18).getConstructor()) - break Fail129; - IStrategoTerm arg19 = arg18.getSubterm(0); - if(arg19.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg19).getConstructor()) - break Fail129; - x_23 = arg19.getSubterm(0); - term = x_23; + IStrategoTerm y_7 = null; + IStrategoTerm arg4 = term.getSubterm(0); + if(arg4.getTermType() != IStrategoTerm.APPL || transform._consTypeName_1 != ((IStrategoAppl)arg4).getConstructor()) + break Fail15; + IStrategoTerm arg5 = arg4.getSubterm(0); + if(arg5.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg5).getConstructor()) + break Fail15; + y_7 = arg5.getSubterm(0); + term = y_7; if(true) - break Success116; + break Success13; } - term = term118; + term = term12; } - Success117: + Success14: { - if(cons9 == transform._consClassOrInterfaceType_2) + if(cons1 == transform._consClassOrInterfaceType_2) { - Fail130: + Fail16: { - IStrategoTerm t_23 = null; - IStrategoTerm u_23 = null; - IStrategoTerm arg21 = term.getSubterm(0); - if(arg21.getTermType() != IStrategoTerm.APPL || transform._consTypeName_2 != ((IStrategoAppl)arg21).getConstructor()) - break Fail130; - t_23 = arg21.getSubterm(0); - IStrategoTerm arg22 = arg21.getSubterm(1); - if(arg22.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg22).getConstructor()) - break Fail130; - u_23 = arg22.getSubterm(0); - term = this.invoke(context, t_23); + IStrategoTerm u_7 = null; + IStrategoTerm v_7 = null; + IStrategoTerm arg7 = term.getSubterm(0); + if(arg7.getTermType() != IStrategoTerm.APPL || transform._consTypeName_2 != ((IStrategoAppl)arg7).getConstructor()) + break Fail16; + u_7 = arg7.getSubterm(0); + IStrategoTerm arg8 = arg7.getSubterm(1); + if(arg8.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg8).getConstructor()) + break Fail16; + v_7 = arg8.getSubterm(0); + term = this.invoke(context, u_7); if(term == null) - break Fail130; - term = (IStrategoTerm)termFactory.makeListCons(term, termFactory.makeListCons(cool.const24, termFactory.makeListCons(u_23, (IStrategoList)cool.constNil0))); + break Fail16; + term = (IStrategoTerm)termFactory.makeListCons(term, termFactory.makeListCons(cool.const0, termFactory.makeListCons(v_7, (IStrategoList)cool.constNil0))); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail130; + break Fail16; if(true) - break Success117; + break Success14; } - term = term118; + term = term12; } - Success118: + Success15: { - if(cons9 == transform._consPackageOrTypeName_1) + if(cons1 == transform._consPackageOrTypeName_1) { - Fail131: + Fail17: { - IStrategoTerm s_23 = null; - IStrategoTerm arg24 = term.getSubterm(0); - if(arg24.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg24).getConstructor()) - break Fail131; - s_23 = arg24.getSubterm(0); - term = s_23; + IStrategoTerm t_7 = null; + IStrategoTerm arg10 = term.getSubterm(0); + if(arg10.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg10).getConstructor()) + break Fail17; + t_7 = arg10.getSubterm(0); + term = t_7; if(true) - break Success118; + break Success15; } - term = term118; + term = term12; } - if(cons9 == transform._consPackageOrTypeName_2) + if(cons1 == transform._consPackageOrTypeName_2) { - IStrategoTerm o_23 = null; - IStrategoTerm p_23 = null; - o_23 = term.getSubterm(0); - IStrategoTerm arg25 = term.getSubterm(1); - if(arg25.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg25).getConstructor()) - break Fail118; - p_23 = arg25.getSubterm(0); - term = this.invoke(context, o_23); + IStrategoTerm p_7 = null; + IStrategoTerm q_7 = null; + p_7 = term.getSubterm(0); + IStrategoTerm arg11 = term.getSubterm(1); + if(arg11.getTermType() != IStrategoTerm.APPL || transform._consId_1 != ((IStrategoAppl)arg11).getConstructor()) + break Fail4; + q_7 = arg11.getSubterm(0); + term = this.invoke(context, p_7); if(term == null) - break Fail118; - term = (IStrategoTerm)termFactory.makeListCons(term, termFactory.makeListCons(cool.const24, termFactory.makeListCons(p_23, (IStrategoList)cool.constNil0))); + break Fail4; + term = (IStrategoTerm)termFactory.makeListCons(term, termFactory.makeListCons(cool.const0, termFactory.makeListCons(q_7, (IStrategoList)cool.constNil0))); term = concat_strings_0_0.instance.invoke(context, term); if(term == null) - break Fail118; + break Fail4; } else { - break Fail118; + break Fail4; } } } diff --git a/coolf/src/main/java/cool/t_22.java b/coolf/src/main/java/cool/t_22.java deleted file mode 100644 index e0c0551..0000000 --- a/coolf/src/main/java/cool/t_22.java +++ /dev/null @@ -1,55 +0,0 @@ -package cool; - -import org.strategoxt.stratego_lib.*; -import org.strategoxt.java_front.*; -import org.strategoxt.stratego_gpp.*; -import org.strategoxt.stratego_sglr.*; -import org.strategoxt.lang.*; -import org.spoofax.interpreter.terms.*; -import static org.strategoxt.lang.Term.*; -import org.spoofax.interpreter.library.AbstractPrimitive; -import java.util.ArrayList; -import java.lang.ref.WeakReference; - -@SuppressWarnings("all") final class t_22 extends Strategy -{ - public static final t_22 instance = new t_22(); - - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) - { - Fail514: - { - IStrategoTerm term101 = term; - Success313: - { - Fail515: - { - term = $Not$Comp_1_0.instance.invoke(context, term, _Id.instance); - if(term == null) - break Fail515; - if(true) - break Success313; - } - term = term101; - IStrategoTerm term102 = term; - Success314: - { - Fail516: - { - term = $And$Comp_2_0.instance.invoke(context, term, this, _Id.instance); - if(term == null) - break Fail516; - if(true) - break Success314; - } - term = $Or$Comp_2_0.instance.invoke(context, term102, this, _Id.instance); - if(term == null) - break Fail514; - } - } - if(true) - return term; - } - return null; - } -} \ No newline at end of file diff --git a/coolf/src/main/java/cool/transform.java b/coolf/src/main/java/cool/transform.java index 1fe11cd..82ceff3 100644 --- a/coolf/src/main/java/cool/transform.java +++ b/coolf/src/main/java/cool/transform.java @@ -21,57 +21,57 @@ private static boolean isIniting; - protected static IStrategoTerm const137; + protected static IStrategoTerm const81; protected static IStrategoTerm constMarkerAnno1; protected static IStrategoTerm constTypeName13; - protected static IStrategoTerm constId36; + protected static IStrategoTerm constId41; - protected static IStrategoTerm const136; + protected static IStrategoTerm const80; - protected static IStrategoTerm const135; + protected static IStrategoTerm const79; - protected static IStrategoTerm constCons44; + protected static IStrategoTerm constCons26; - protected static IStrategoTerm constCons43; + protected static IStrategoTerm constCons25; protected static IStrategoTerm constMarkerAnno0; protected static IStrategoTerm constTypeName12; - protected static IStrategoTerm constId35; + protected static IStrategoTerm constId40; - protected static IStrategoTerm const134; + protected static IStrategoTerm const78; - protected static IStrategoTerm const133; + protected static IStrategoTerm const77; - protected static IStrategoTerm const132; + protected static IStrategoTerm const76; - protected static IStrategoTerm const131; + protected static IStrategoTerm const75; protected static IStrategoTerm constTypeName11; - protected static IStrategoTerm constId34; + protected static IStrategoTerm constId39; - protected static IStrategoTerm const130; + protected static IStrategoTerm const74; - protected static IStrategoTerm constId33; + protected static IStrategoTerm constId38; - protected static IStrategoTerm const129; + protected static IStrategoTerm const73; - protected static IStrategoTerm constCons42; + protected static IStrategoTerm constCons24; protected static IStrategoTerm constTry0; - protected static IStrategoTerm constCons41; + protected static IStrategoTerm constCons23; protected static IStrategoTerm constCatch0; protected static IStrategoTerm constBlock2; - protected static IStrategoTerm constCons40; + protected static IStrategoTerm constCons22; protected static IStrategoTerm constThrow0; @@ -81,27 +81,27 @@ protected static IStrategoTerm constTypeName10; - protected static IStrategoTerm constId32; + protected static IStrategoTerm constId37; - protected static IStrategoTerm const128; + protected static IStrategoTerm const72; protected static IStrategoTerm constParam1; - protected static IStrategoTerm constId31; + protected static IStrategoTerm constId36; - protected static IStrategoTerm const127; + protected static IStrategoTerm const71; protected static IStrategoTerm constClassOrInterfaceType3; protected static IStrategoTerm constTypeName9; - protected static IStrategoTerm constId30; + protected static IStrategoTerm constId35; - protected static IStrategoTerm const126; + protected static IStrategoTerm const70; protected static IStrategoTerm constBlock1; - protected static IStrategoTerm constCons39; + protected static IStrategoTerm constCons21; protected static IStrategoTerm constExprStm1; @@ -111,19 +111,25 @@ protected static IStrategoTerm constMethodName6; - protected static IStrategoTerm constId29; + protected static IStrategoTerm constId34; - protected static IStrategoTerm const125; + protected static IStrategoTerm const69; + + protected static IStrategoTerm const68; protected static IStrategoTerm constMethod5; protected static IStrategoTerm constMethodName5; - protected static IStrategoTerm const124; + protected static IStrategoTerm const67; - protected static IStrategoTerm const123; + protected static IStrategoTerm const66; + + protected static IStrategoTerm const65; - protected static IStrategoTerm constCons38; + protected static IStrategoTerm const64; + + protected static IStrategoTerm constCons20; protected static IStrategoTerm constExprStm0; @@ -133,85 +139,103 @@ protected static IStrategoTerm constMethodName4; - protected static IStrategoTerm constId28; + protected static IStrategoTerm constId33; - protected static IStrategoTerm const122; + protected static IStrategoTerm const63; - protected static IStrategoTerm constId27; + protected static IStrategoTerm constId32; - protected static IStrategoTerm const121; + protected static IStrategoTerm const62; protected static IStrategoTerm constTypeName8; - protected static IStrategoTerm constId26; + protected static IStrategoTerm constId31; - protected static IStrategoTerm const120; + protected static IStrategoTerm const61; - protected static IStrategoTerm constCons37; + protected static IStrategoTerm constCons19; - protected static IStrategoTerm constCons36; + protected static IStrategoTerm constCons18; protected static IStrategoTerm constSynchronized0; - protected static IStrategoTerm const119; + protected static IStrategoTerm const60; - protected static IStrategoTerm const118; + protected static IStrategoTerm const59; - protected static IStrategoTerm const117; + protected static IStrategoTerm const58; - protected static IStrategoTerm constCons35; + protected static IStrategoTerm constCons17; protected static IStrategoTerm constTypeImportOnDemandDec1; protected static IStrategoTerm constPackageName1; - protected static IStrategoTerm constCons34; + protected static IStrategoTerm constCons16; - protected static IStrategoTerm constId25; + protected static IStrategoTerm constId30; - protected static IStrategoTerm const116; + protected static IStrategoTerm const57; - protected static IStrategoTerm constCons33; + protected static IStrategoTerm constCons15; - protected static IStrategoTerm constId24; + protected static IStrategoTerm constId29; - protected static IStrategoTerm const115; + protected static IStrategoTerm const56; - protected static IStrategoTerm constCons32; + protected static IStrategoTerm constCons14; protected static IStrategoTerm constTypeImportOnDemandDec0; protected static IStrategoTerm constPackageName0; - protected static IStrategoTerm constCons31; - - protected static IStrategoTerm constId23; + protected static IStrategoTerm constCons13; - protected static IStrategoTerm const114; + protected static IStrategoTerm constId28; - protected static IStrategoTerm constCons30; + protected static IStrategoTerm constCons12; - protected static IStrategoTerm constId22; + protected static IStrategoTerm constId27; - protected static IStrategoTerm const113; + protected static IStrategoTerm const55; protected static IStrategoTerm constTypeName7; - protected static IStrategoTerm constId21; + protected static IStrategoTerm constId26; - protected static IStrategoTerm const112; + protected static IStrategoTerm const54; protected static IStrategoTerm constVoid0; protected static IStrategoTerm constTypeName6; + protected static IStrategoTerm constId25; + + protected static IStrategoTerm const53; + + protected static IStrategoTerm constId24; + + protected static IStrategoTerm const52; + + protected static IStrategoTerm constId23; + + protected static IStrategoTerm const51; + + protected static IStrategoTerm constId22; + + protected static IStrategoTerm const50; + + protected static IStrategoTerm constId21; + + protected static IStrategoTerm const49; + protected static IStrategoTerm constId20; - protected static IStrategoTerm const111; + protected static IStrategoTerm const48; protected static IStrategoTerm constId19; - protected static IStrategoTerm const110; + protected static IStrategoTerm const47; protected static IStrategoTerm constElemValPair0; @@ -221,45 +245,41 @@ protected static IStrategoTerm constId18; - protected static IStrategoTerm const109; + protected static IStrategoTerm const46; protected static IStrategoTerm constTypeName5; protected static IStrategoTerm constId17; - protected static IStrategoTerm const108; - - protected static IStrategoTerm constCons29; - - protected static IStrategoTerm const107; + protected static IStrategoTerm const45; protected static IStrategoTerm constId16; - protected static IStrategoTerm const106; + protected static IStrategoTerm const44; protected static IStrategoTerm constTypeName4; protected static IStrategoTerm constId15; - protected static IStrategoTerm const105; + protected static IStrategoTerm const43; - protected static IStrategoTerm constCons28; + protected static IStrategoTerm constCons11; protected static IStrategoTerm constPublic0; - protected static IStrategoTerm const104; + protected static IStrategoTerm const42; - protected static IStrategoTerm const103; + protected static IStrategoTerm const41; - protected static IStrategoTerm const102; + protected static IStrategoTerm const40; - protected static IStrategoTerm constCons27; + protected static IStrategoTerm constCons10; - protected static IStrategoTerm const101; + protected static IStrategoTerm const39; protected static IStrategoTerm constInvoke3; - protected static IStrategoTerm constCons26; + protected static IStrategoTerm constCons9; protected static IStrategoTerm constNewInstance0; @@ -269,7 +289,7 @@ protected static IStrategoTerm constId14; - protected static IStrategoTerm const100; + protected static IStrategoTerm const38; protected static IStrategoTerm constMethod3; @@ -277,13 +297,13 @@ protected static IStrategoTerm constId13; - protected static IStrategoTerm const99; + protected static IStrategoTerm const37; protected static IStrategoTerm constAmbName2; protected static IStrategoTerm constId12; - protected static IStrategoTerm const98; + protected static IStrategoTerm const36; protected static IStrategoTerm constClassOrInterfaceType1; @@ -291,7 +311,7 @@ protected static IStrategoTerm constBlock0; - protected static IStrategoTerm constCons25; + protected static IStrategoTerm constCons8; protected static IStrategoTerm constReturn0; @@ -303,7 +323,7 @@ protected static IStrategoTerm constInvoke2; - protected static IStrategoTerm constCons24; + protected static IStrategoTerm constCons7; protected static IStrategoTerm constInvoke1; @@ -313,13 +333,13 @@ protected static IStrategoTerm constId11; - protected static IStrategoTerm const97; + protected static IStrategoTerm const35; protected static IStrategoTerm constAmbName1; protected static IStrategoTerm constId10; - protected static IStrategoTerm const96; + protected static IStrategoTerm const34; protected static IStrategoTerm constMethod1; @@ -327,583 +347,179 @@ protected static IStrategoTerm constId9; - protected static IStrategoTerm const95; + protected static IStrategoTerm const33; protected static IStrategoTerm constNot0; - protected static IStrategoTerm constInvoke0; - - protected static IStrategoTerm constMethod0; - - protected static IStrategoTerm constMethodName0; - - protected static IStrategoTerm constId8; - - protected static IStrategoTerm const94; - - protected static IStrategoTerm constAmbName0; - - protected static IStrategoTerm constMethodDecHead0; - - protected static IStrategoTerm constCons23; - - protected static IStrategoTerm constParam0; - - protected static IStrategoTerm constId7; - - protected static IStrategoTerm const93; - - protected static IStrategoTerm constTypeName2; - - protected static IStrategoTerm constId6; - - protected static IStrategoTerm const92; - - protected static IStrategoTerm constId5; - - protected static IStrategoTerm const91; - - protected static IStrategoTerm constCons22; - - protected static IStrategoTerm constCons21; - - protected static IStrategoTerm constStatic0; - - public static IStrategoTerm getCoolTbl() - { - return constCoolTbl; - } - - protected static ImportTerm constCoolTbl; - - protected static IStrategoTerm constId4; - - protected static IStrategoTerm const90; - - protected static IStrategoTerm constId3; - - protected static IStrategoTerm const89; - - protected static IStrategoTerm constTypeName1; - - protected static IStrategoTerm constId2; - - protected static IStrategoTerm const88; - - protected static IStrategoTerm constCons20; - - protected static IStrategoTerm constPrivate0; - - protected static IStrategoTerm constLit3; - - protected static IStrategoTerm constNull0; - - protected static IStrategoTerm constClassOrInterfaceType0; - - protected static IStrategoTerm constTypeName0; - - protected static IStrategoTerm constId1; - - protected static IStrategoTerm const87; - - protected static IStrategoTerm constLit2; - - protected static IStrategoTerm constDeci1; - - protected static IStrategoTerm const86; - - protected static IStrategoTerm constLit1; - - protected static IStrategoTerm constBool0; - - protected static IStrategoTerm constLit0; - - protected static IStrategoTerm constDeci0; - - protected static IStrategoTerm const85; - - protected static IStrategoTerm const84; - - protected static IStrategoTerm const83; - - protected static IStrategoTerm constCons19; - - protected static IStrategoTerm constExprName0; - - protected static IStrategoTerm constId0; - - protected static IStrategoTerm const82; - - protected static IStrategoTerm const81; - - protected static IStrategoTerm constShort0; - - protected static IStrategoTerm constChar0; - - protected static IStrategoTerm constByte0; - - protected static IStrategoTerm constFloat0; - - protected static IStrategoTerm constInt0; - - protected static IStrategoTerm const80; - - protected static IStrategoTerm const79; - - protected static IStrategoTerm constBoolean0; - - protected static IStrategoTerm constLong0; - - protected static IStrategoTerm constDouble0; - - protected static IStrategoTerm constTrue0; - - protected static IStrategoTerm constFalse0; - - protected static IStrategoTerm constNone0; - - protected static IStrategoTerm constCons18; - - protected static IStrategoTerm const78; - - protected static IStrategoTerm const77; - - protected static IStrategoTerm const76; - - protected static IStrategoTerm const75; - - protected static IStrategoTerm const74; - - protected static IStrategoTerm const73; - - protected static IStrategoTerm const72; - - protected static IStrategoTerm const71; - - protected static IStrategoTerm const70; - - protected static IStrategoTerm const69; - - protected static IStrategoTerm const68; - - protected static IStrategoTerm constFBOX47; - - protected static IStrategoTerm constS64; - - protected static IStrategoTerm const67; - - protected static IStrategoTerm constFBOX46; - - protected static IStrategoTerm constS63; - - protected static IStrategoTerm const66; - - protected static IStrategoTerm constFBOX45; - - protected static IStrategoTerm constS62; - - protected static IStrategoTerm const65; - - protected static IStrategoTerm constFBOX44; - - protected static IStrategoTerm constS61; - - protected static IStrategoTerm const64; - - protected static IStrategoTerm constFBOX43; - - protected static IStrategoTerm constS60; - - protected static IStrategoTerm const63; - - protected static IStrategoTerm constCons17; - - protected static IStrategoTerm constSOpt4; - - protected static IStrategoTerm constCons16; - - protected static IStrategoTerm constCons15; - - protected static IStrategoTerm constSOpt3; - - protected static IStrategoTerm const62; - - protected static IStrategoTerm constIS0; - - protected static IStrategoTerm constCons14; - - protected static IStrategoTerm constFBOX42; - - protected static IStrategoTerm constS59; - - protected static IStrategoTerm const61; - - protected static IStrategoTerm constFBOX41; - - protected static IStrategoTerm constS58; - - protected static IStrategoTerm const60; - - protected static IStrategoTerm constFBOX40; - - protected static IStrategoTerm constS57; - - protected static IStrategoTerm const59; - - protected static IStrategoTerm constFBOX39; - - protected static IStrategoTerm constS56; - - protected static IStrategoTerm const58; - - protected static IStrategoTerm constFBOX38; - - protected static IStrategoTerm constS55; - - protected static IStrategoTerm const57; - - protected static IStrategoTerm constFBOX37; - - protected static IStrategoTerm constS54; - - protected static IStrategoTerm const56; - - protected static IStrategoTerm constFBOX36; - - protected static IStrategoTerm constS53; - - protected static IStrategoTerm const55; - - protected static IStrategoTerm constFBOX35; - - protected static IStrategoTerm constS52; - - protected static IStrategoTerm const54; - - protected static IStrategoTerm constS51; - - protected static IStrategoTerm const53; - - protected static IStrategoTerm constS50; - - protected static IStrategoTerm const52; - - protected static IStrategoTerm constS49; - - protected static IStrategoTerm const51; - - protected static IStrategoTerm constS48; - - protected static IStrategoTerm const50; - - protected static IStrategoTerm constFBOX34; - - protected static IStrategoTerm constS47; - - protected static IStrategoTerm const49; - - protected static IStrategoTerm constFBOX33; - - protected static IStrategoTerm constS46; - - protected static IStrategoTerm const48; - - protected static IStrategoTerm constFBOX32; - - protected static IStrategoTerm constS45; - - protected static IStrategoTerm const47; - - protected static IStrategoTerm constFBOX31; - - protected static IStrategoTerm constS44; - - protected static IStrategoTerm const46; - - protected static IStrategoTerm constFBOX30; - - protected static IStrategoTerm constS43; - - protected static IStrategoTerm const45; - - protected static IStrategoTerm constFBOX29; - - protected static IStrategoTerm constS42; - - protected static IStrategoTerm const44; - - protected static IStrategoTerm constCons13; - - protected static IStrategoTerm constFBOX28; - - protected static IStrategoTerm constS41; - - protected static IStrategoTerm const43; - - protected static IStrategoTerm constFBOX27; - - protected static IStrategoTerm constS40; - - protected static IStrategoTerm const42; - - protected static IStrategoTerm constFBOX26; - - protected static IStrategoTerm constS39; - - protected static IStrategoTerm const41; - - protected static IStrategoTerm constFBOX25; - - protected static IStrategoTerm constS38; - - protected static IStrategoTerm const40; - - protected static IStrategoTerm constFBOX24; - - protected static IStrategoTerm constS37; - - protected static IStrategoTerm const39; - - protected static IStrategoTerm constFBOX23; - - protected static IStrategoTerm constCons12; - - protected static IStrategoTerm constFBOX22; - - protected static IStrategoTerm constFBOX21; - - protected static IStrategoTerm constCons11; - - protected static IStrategoTerm constSOpt2; - - protected static IStrategoTerm constVS0; - - protected static IStrategoTerm constS36; - - protected static IStrategoTerm const38; - - protected static IStrategoTerm constS35; - - protected static IStrategoTerm const37; - - protected static IStrategoTerm constS34; - - protected static IStrategoTerm const36; - - protected static IStrategoTerm constFBOX20; - - protected static IStrategoTerm constS33; - - protected static IStrategoTerm const35; - - protected static IStrategoTerm constS32; - - protected static IStrategoTerm const34; - - protected static IStrategoTerm constCons10; + protected static IStrategoTerm constInvoke0; - protected static IStrategoTerm constCons9; + protected static IStrategoTerm constMethod0; - protected static IStrategoTerm constCons8; + protected static IStrategoTerm constMethodName0; - protected static IStrategoTerm constFBOX19; + protected static IStrategoTerm constId8; - protected static IStrategoTerm constS31; + protected static IStrategoTerm const32; - protected static IStrategoTerm const33; + protected static IStrategoTerm constAmbName0; - protected static IStrategoTerm constS30; + protected static IStrategoTerm constMethodDecHead0; - protected static IStrategoTerm const32; + protected static IStrategoTerm constCons6; - protected static IStrategoTerm constCons7; + protected static IStrategoTerm constParam0; - protected static IStrategoTerm constS29; + protected static IStrategoTerm constId7; protected static IStrategoTerm const31; - protected static IStrategoTerm constFBOX18; + protected static IStrategoTerm constTypeName2; - protected static IStrategoTerm constS28; + protected static IStrategoTerm constId6; protected static IStrategoTerm const30; - protected static IStrategoTerm constFBOX17; - - protected static IStrategoTerm constCons6; - - protected static IStrategoTerm constS27; + protected static IStrategoTerm constId5; protected static IStrategoTerm const29; - protected static IStrategoTerm constFBOX16; + protected static IStrategoTerm constCons5; - protected static IStrategoTerm constS26; + protected static IStrategoTerm constCons4; - protected static IStrategoTerm const28; + protected static IStrategoTerm constStatic0; - protected static IStrategoTerm constCons5; + public static IStrategoTerm getCoolTbl() + { + return constCoolTbl; + } - protected static IStrategoTerm constS25; + protected static ImportTerm constCoolTbl; - protected static IStrategoTerm const27; + protected static IStrategoTerm const28; - protected static IStrategoTerm constFBOX15; + protected static IStrategoTerm const27; - protected static IStrategoTerm constS24; + protected static IStrategoTerm constCons3; protected static IStrategoTerm const26; - protected static IStrategoTerm constCons4; - - protected static IStrategoTerm constSOpt1; - protected static IStrategoTerm const25; - protected static IStrategoTerm constS23; + protected static IStrategoTerm constId4; protected static IStrategoTerm const24; - protected static IStrategoTerm constS22; + protected static IStrategoTerm constId3; protected static IStrategoTerm const23; - protected static IStrategoTerm constS21; + protected static IStrategoTerm constTypeName1; - protected static IStrategoTerm const22; + protected static IStrategoTerm constId2; - protected static IStrategoTerm constS20; + protected static IStrategoTerm const22; - protected static IStrategoTerm const21; + protected static IStrategoTerm constCons2; - protected static IStrategoTerm constS19; + protected static IStrategoTerm constPrivate0; - protected static IStrategoTerm const20; + protected static IStrategoTerm constLit3; - protected static IStrategoTerm constS18; + protected static IStrategoTerm constNull0; - protected static IStrategoTerm const19; + protected static IStrategoTerm constClassOrInterfaceType0; - protected static IStrategoTerm constS17; + protected static IStrategoTerm constTypeName0; - protected static IStrategoTerm const18; + protected static IStrategoTerm constId1; - protected static IStrategoTerm constFBOX14; + protected static IStrategoTerm const21; - protected static IStrategoTerm constS16; + protected static IStrategoTerm constLit2; - protected static IStrategoTerm const17; + protected static IStrategoTerm constDeci1; - protected static IStrategoTerm constFBOX13; + protected static IStrategoTerm const20; - protected static IStrategoTerm constS15; + protected static IStrategoTerm constLit1; - protected static IStrategoTerm const16; + protected static IStrategoTerm constBool0; - protected static IStrategoTerm constFBOX12; + protected static IStrategoTerm constLit0; - protected static IStrategoTerm constS14; + protected static IStrategoTerm constDeci0; - protected static IStrategoTerm const15; + protected static IStrategoTerm const19; - protected static IStrategoTerm constFBOX11; + protected static IStrategoTerm const18; - protected static IStrategoTerm constS13; + protected static IStrategoTerm const17; - protected static IStrategoTerm const14; + protected static IStrategoTerm const16; - protected static IStrategoTerm constFBOX10; + protected static IStrategoTerm constCons1; - protected static IStrategoTerm constS12; + protected static IStrategoTerm constExprName0; - protected static IStrategoTerm const13; + protected static IStrategoTerm constId0; - protected static IStrategoTerm constFBOX9; + protected static IStrategoTerm const15; - protected static IStrategoTerm constS11; + protected static IStrategoTerm const14; - protected static IStrategoTerm const12; + protected static IStrategoTerm const13; - protected static IStrategoTerm constFBOX8; + protected static IStrategoTerm constShort0; - protected static IStrategoTerm constS10; + protected static IStrategoTerm constChar0; - protected static IStrategoTerm const11; + protected static IStrategoTerm constByte0; - protected static IStrategoTerm constFBOX7; + protected static IStrategoTerm constFloat0; - protected static IStrategoTerm constS9; + protected static IStrategoTerm constInt0; - protected static IStrategoTerm const10; + protected static IStrategoTerm const12; - protected static IStrategoTerm constH0; + protected static IStrategoTerm const11; - protected static IStrategoTerm constCons3; + protected static IStrategoTerm constBoolean0; - protected static IStrategoTerm constFBOX6; + protected static IStrategoTerm constLong0; - protected static IStrategoTerm constS8; + protected static IStrategoTerm constDouble0; - protected static IStrategoTerm const9; + protected static IStrategoTerm constTrue0; - protected static IStrategoTerm constCons2; + protected static IStrategoTerm constFalse0; - protected static IStrategoTerm constFBOX5; + protected static IStrategoTerm constNone0; - protected static IStrategoTerm constS7; + protected static IStrategoTerm constCons0; - protected static IStrategoTerm const8; + protected static IStrategoTerm const10; - protected static IStrategoTerm constFBOX4; + protected static IStrategoTerm const9; - protected static IStrategoTerm constS6; + protected static IStrategoTerm const8; protected static IStrategoTerm const7; - protected static IStrategoTerm constFBOX3; - - protected static IStrategoTerm constS5; - protected static IStrategoTerm const6; - protected static IStrategoTerm constFBOX2; - - protected static IStrategoTerm constS4; - protected static IStrategoTerm const5; - protected static IStrategoTerm constFBOX1; - - protected static IStrategoTerm constS3; - protected static IStrategoTerm const4; - protected static IStrategoTerm constFBOX0; - - protected static IStrategoTerm constS2; - protected static IStrategoTerm const3; - protected static IStrategoTerm constKW0; - - protected static IStrategoTerm constS1; - protected static IStrategoTerm const2; - protected static IStrategoTerm constCons1; - - protected static IStrategoTerm constS0; - protected static IStrategoTerm const1; - protected static IStrategoTerm constCons0; - - protected static IStrategoTerm constSOpt0; - protected static IStrategoTerm const0; - protected static IStrategoTerm constHS0; - protected static IStrategoTerm constNil0; public static IStrategoConstructor _consConc_2; @@ -948,6 +564,8 @@ public static IStrategoTerm getCoolTbl() protected static IStrategoConstructor _consAmbName_2; + protected static IStrategoConstructor _consSome_1; + protected static IStrategoConstructor _consReturn_1; protected static IStrategoConstructor _consChars_1; @@ -1040,6 +658,8 @@ public static IStrategoTerm getCoolTbl() protected static IStrategoConstructor _consMinus_1; + protected static IStrategoConstructor _consNot_1; + protected static IStrategoConstructor _consPostDecr_1; protected static IStrategoConstructor _consPreDecr_1; @@ -1098,8 +718,12 @@ public static IStrategoTerm getCoolTbl() protected static IStrategoConstructor _consMethodDec_2; + protected static IStrategoConstructor _consBlock_1; + protected static IStrategoConstructor _consFalse_0; + protected static IStrategoConstructor _consNone_0; + protected static IStrategoConstructor _consClassBody_1; protected static IStrategoConstructor _consClassOrInterfaceType_2; @@ -1128,45 +752,9 @@ public static IStrategoTerm getCoolTbl() protected static IStrategoConstructor _consTypeName_1; - protected static IStrategoConstructor _consTypeName_2; - - protected static IStrategoConstructor _consNone_0; - - protected static IStrategoConstructor _consSome_1; - - protected static IStrategoConstructor _consIS_0; - protected static IStrategoConstructor _consId_1; - protected static IStrategoConstructor _consNoMethodBody_0; - - protected static IStrategoConstructor _consVS_0; - - protected static IStrategoConstructor _consV_2; - - protected static IStrategoConstructor _consBlock_1; - - protected static IStrategoConstructor _consNot_1; - - protected static IStrategoConstructor _consKW_0; - - protected static IStrategoConstructor _consFBOX_2; - - protected static IStrategoConstructor _consS_1; - - protected static IStrategoConstructor _consHS_0; - - protected static IStrategoConstructor _consSOpt_2; - - protected static IStrategoConstructor _consH_2; - - public static IStrategoConstructor _consDecError_2; - - public static IStrategoConstructor _consDecSoft_2; - - public static IStrategoConstructor _consRegularTypePattern_1; - - public static IStrategoConstructor _consSimpleAnnoPatternValue_2; + protected static IStrategoConstructor _consTypeName_2; public static IStrategoConstructor _consCoordinatorDec_2; @@ -1190,196 +778,6 @@ public static IStrategoTerm getCoolTbl() public static IStrategoConstructor _consOnExit_1; - public static IStrategoConstructor _consDecParent_3; - - public static IStrategoConstructor _consDecWarning_3; - - public static IStrategoConstructor _consDecPrecedence_2; - - public static IStrategoConstructor _consDecAnno_4; - - public static IStrategoConstructor _consDecAnnoType_0; - - public static IStrategoConstructor _consDecAnnoConstructor_0; - - public static IStrategoConstructor _consDecAnnoMethod_0; - - public static IStrategoConstructor _consDecAnnoField_0; - - public static IStrategoConstructor _consAdviceDec_5; - - public static IStrategoConstructor _consBefore_1; - - public static IStrategoConstructor _consAfter_2; - - public static IStrategoConstructor _consAround_2; - - public static IStrategoConstructor _consReturning_0; - - public static IStrategoConstructor _consReturning_1; - - public static IStrategoConstructor _consThrowing_0; - - public static IStrategoConstructor _consThrowing_1; - - public static IStrategoConstructor _consIntertypeMethodDec_2; - - public static IStrategoConstructor _consIntertypeConstrDec_2; - - public static IStrategoConstructor _consIntertypeFieldDec_5; - - public static IStrategoConstructor _consIntertypeMethodDecHead_8; - - public static IStrategoConstructor _consIntertypeConstrDecHead_6; - - public static IStrategoConstructor _consAspectDec_2; - - public static IStrategoConstructor _consAspectDecHead_6; - - public static IStrategoConstructor _consPerTarget_1; - - public static IStrategoConstructor _consPerThis_1; - - public static IStrategoConstructor _consPerCFlow_1; - - public static IStrategoConstructor _consPerCFlowBelow_1; - - public static IStrategoConstructor _consPerTypeWithin_1; - - public static IStrategoConstructor _consIsSingleton_0; - - public static IStrategoConstructor _consAspectBody_1; - - public static IStrategoConstructor _consPrivileged_0; - - public static IStrategoConstructor _consSimpleNamePattern_1; - - public static IStrategoConstructor _consFormalWildcard_0; - - public static IStrategoConstructor _consVarArityParamPattern_1; - - public static IStrategoConstructor _consGenericTypePattern_2; - - public static IStrategoConstructor _consGenericSubtypePattern_2; - - public static IStrategoConstructor _consNamePattern_1; - - public static IStrategoConstructor _consNamePattern_2; - - public static IStrategoConstructor _consWildcardNamePattern_2; - - public static IStrategoConstructor _consRefTypePattern_1; - - public static IStrategoConstructor _consPrimTypePattern_1; - - public static IStrategoConstructor _consAnnoTypePattern_2; - - public static IStrategoConstructor _consMethodPattern_6; - - public static IStrategoConstructor _consConstrPattern_5; - - public static IStrategoConstructor _consFieldPattern_4; - - public static IStrategoConstructor _consMemberName_1; - - public static IStrategoConstructor _consMemberName_2; - - public static IStrategoConstructor _consWildcardMemberName_2; - - public static IStrategoConstructor _consConstrName_0; - - public static IStrategoConstructor _consConstrName_1; - - public static IStrategoConstructor _consWildcardConstrName_1; - - public static IStrategoConstructor _consModPattern_1; - - public static IStrategoConstructor _consThrowsPattern_1; - - public static IStrategoConstructor _consNotThrowsCondition_1; - - public static IStrategoConstructor _consThrowsCondition_1; - - public static IStrategoConstructor _consSimpleAnnoPattern_1; - - public static IStrategoConstructor _consSimpleAnnoPatternExact_1; - - public static IStrategoConstructor _consAnnoPattern_1; - - public static IStrategoConstructor _consPointcutDec_2; - - public static IStrategoConstructor _consPointcutDecHead_3; - - public static IStrategoConstructor _consPointcutBody_1; - - public static IStrategoConstructor _consNoPointcutBody_0; - - public static IStrategoConstructor _consNotComp_1; - - public static IStrategoConstructor _consAndComp_2; - - public static IStrategoConstructor _consOrComp_2; - - public static IStrategoConstructor _consCall_1; - - public static IStrategoConstructor _consExec_1; - - public static IStrategoConstructor _consInitExec_1; - - public static IStrategoConstructor _consPreInitExec_1; - - public static IStrategoConstructor _consStaticInitExec_1; - - public static IStrategoConstructor _consGetField_1; - - public static IStrategoConstructor _consSetField_1; - - public static IStrategoConstructor _consHandler_1; - - public static IStrategoConstructor _consAdviceExec_0; - - public static IStrategoConstructor _consWithin_1; - - public static IStrategoConstructor _consWithinCode_1; - - public static IStrategoConstructor _consCFlow_1; - - public static IStrategoConstructor _consCFlowBelow_1; - - public static IStrategoConstructor _consIf_1; - - public static IStrategoConstructor _consThis_1; - - public static IStrategoConstructor _consTarget_1; - - public static IStrategoConstructor _consArgs_1; - - public static IStrategoConstructor _consAtThis_1; - - public static IStrategoConstructor _consAtTarget_1; - - public static IStrategoConstructor _consAtWithin_1; - - public static IStrategoConstructor _consAtWithinCode_1; - - public static IStrategoConstructor _consAtAnno_1; - - public static IStrategoConstructor _consAtArgs_1; - - public static IStrategoConstructor _consNamedPointcut_2; - - public static IStrategoConstructor _consPointcutName_1; - - public static IStrategoConstructor _consPointcutName_2; - - public static IStrategoConstructor _consWildcard_0; - - public static IStrategoConstructor _consDotWildcard_0; - - public static IStrategoConstructor _consSubtype_1; - - public static IStrategoConstructor _consProceed_0; - public static Context init(Context context) { synchronized(transform.class) @@ -1428,7 +826,7 @@ public static void main(String args[]) IStrategoTerm result; try { - result = context.invokeStrategyCLI(transform_0_0.instance, "transform", args); + result = context.invokeStrategyCLI(main_0_0.instance, "transform", args); } finally { @@ -1471,7 +869,7 @@ public static IStrategoTerm mainNoExit(Context context, String ... args) throws try { init(context); - return context.invokeStrategyCLI(transform_0_0.instance, "transform", args); + return context.invokeStrategyCLI(main_0_0.instance, "transform", args); } finally { @@ -1481,7 +879,7 @@ public static IStrategoTerm mainNoExit(Context context, String ... args) throws public static Strategy getMainStrategy() { - return transform_0_0.instance; + return main_0_0.instance; } public static void initConstructors(ITermFactory termFactory) @@ -1507,6 +905,7 @@ public static void initConstructors(ITermFactory termFactory) _consStatic_0 = termFactory.makeConstructor("Static", 0); _consAmbName_1 = termFactory.makeConstructor("AmbName", 1); _consAmbName_2 = termFactory.makeConstructor("AmbName", 2); + _consSome_1 = termFactory.makeConstructor("Some", 1); _consReturn_1 = termFactory.makeConstructor("Return", 1); _consChars_1 = termFactory.makeConstructor("Chars", 1); _consString_1 = termFactory.makeConstructor("String", 1); @@ -1553,6 +952,7 @@ public static void initConstructors(ITermFactory termFactory) _consComplement_1 = termFactory.makeConstructor("Complement", 1); _consPlus_1 = termFactory.makeConstructor("Plus", 1); _consMinus_1 = termFactory.makeConstructor("Minus", 1); + _consNot_1 = termFactory.makeConstructor("Not", 1); _consPostDecr_1 = termFactory.makeConstructor("PostDecr", 1); _consPreDecr_1 = termFactory.makeConstructor("PreDecr", 1); _consPostIncr_1 = termFactory.makeConstructor("PostIncr", 1); @@ -1582,7 +982,9 @@ public static void initConstructors(ITermFactory termFactory) _consExprName_1 = termFactory.makeConstructor("ExprName", 1); _consTrue_0 = termFactory.makeConstructor("True", 0); _consMethodDec_2 = termFactory.makeConstructor("MethodDec", 2); + _consBlock_1 = termFactory.makeConstructor("Block", 1); _consFalse_0 = termFactory.makeConstructor("False", 0); + _consNone_0 = termFactory.makeConstructor("None", 0); _consClassBody_1 = termFactory.makeConstructor("ClassBody", 1); _consClassOrInterfaceType_2 = termFactory.makeConstructor("ClassOrInterfaceType", 2); _consArrayType_1 = termFactory.makeConstructor("ArrayType", 1); @@ -1597,26 +999,8 @@ public static void initConstructors(ITermFactory termFactory) _consPackageOrTypeName_2 = termFactory.makeConstructor("PackageOrTypeName", 2); _consPackageOrTypeName_1 = termFactory.makeConstructor("PackageOrTypeName", 1); _consTypeName_1 = termFactory.makeConstructor("TypeName", 1); - _consTypeName_2 = termFactory.makeConstructor("TypeName", 2); - _consNone_0 = termFactory.makeConstructor("None", 0); - _consSome_1 = termFactory.makeConstructor("Some", 1); - _consIS_0 = termFactory.makeConstructor("IS", 0); _consId_1 = termFactory.makeConstructor("Id", 1); - _consNoMethodBody_0 = termFactory.makeConstructor("NoMethodBody", 0); - _consVS_0 = termFactory.makeConstructor("VS", 0); - _consV_2 = termFactory.makeConstructor("V", 2); - _consBlock_1 = termFactory.makeConstructor("Block", 1); - _consNot_1 = termFactory.makeConstructor("Not", 1); - _consKW_0 = termFactory.makeConstructor("KW", 0); - _consFBOX_2 = termFactory.makeConstructor("FBOX", 2); - _consS_1 = termFactory.makeConstructor("S", 1); - _consHS_0 = termFactory.makeConstructor("HS", 0); - _consSOpt_2 = termFactory.makeConstructor("SOpt", 2); - _consH_2 = termFactory.makeConstructor("H", 2); - _consDecError_2 = termFactory.makeConstructor("DecError", 2); - _consDecSoft_2 = termFactory.makeConstructor("DecSoft", 2); - _consRegularTypePattern_1 = termFactory.makeConstructor("RegularTypePattern", 1); - _consSimpleAnnoPatternValue_2 = termFactory.makeConstructor("SimpleAnnoPatternValue", 2); + _consTypeName_2 = termFactory.makeConstructor("TypeName", 2); _consCoordinatorDec_2 = termFactory.makeConstructor("CoordinatorDec", 2); _consCoordinatorDecHead_1 = termFactory.makeConstructor("CoordinatorDecHead", 1); _consCoordinatorBody_1 = termFactory.makeConstructor("CoordinatorBody", 1); @@ -1628,545 +1012,258 @@ public static void initConstructors(ITermFactory termFactory) _consRequires_1 = termFactory.makeConstructor("Requires", 1); _consOnEntry_1 = termFactory.makeConstructor("OnEntry", 1); _consOnExit_1 = termFactory.makeConstructor("OnExit", 1); - _consDecParent_3 = termFactory.makeConstructor("DecParent", 3); - _consDecWarning_3 = termFactory.makeConstructor("DecWarning", 3); - _consDecPrecedence_2 = termFactory.makeConstructor("DecPrecedence", 2); - _consDecAnno_4 = termFactory.makeConstructor("DecAnno", 4); - _consDecAnnoType_0 = termFactory.makeConstructor("DecAnnoType", 0); - _consDecAnnoConstructor_0 = termFactory.makeConstructor("DecAnnoConstructor", 0); - _consDecAnnoMethod_0 = termFactory.makeConstructor("DecAnnoMethod", 0); - _consDecAnnoField_0 = termFactory.makeConstructor("DecAnnoField", 0); - _consAdviceDec_5 = termFactory.makeConstructor("AdviceDec", 5); - _consBefore_1 = termFactory.makeConstructor("Before", 1); - _consAfter_2 = termFactory.makeConstructor("After", 2); - _consAround_2 = termFactory.makeConstructor("Around", 2); - _consReturning_0 = termFactory.makeConstructor("Returning", 0); - _consReturning_1 = termFactory.makeConstructor("Returning", 1); - _consThrowing_0 = termFactory.makeConstructor("Throwing", 0); - _consThrowing_1 = termFactory.makeConstructor("Throwing", 1); - _consIntertypeMethodDec_2 = termFactory.makeConstructor("IntertypeMethodDec", 2); - _consIntertypeConstrDec_2 = termFactory.makeConstructor("IntertypeConstrDec", 2); - _consIntertypeFieldDec_5 = termFactory.makeConstructor("IntertypeFieldDec", 5); - _consIntertypeMethodDecHead_8 = termFactory.makeConstructor("IntertypeMethodDecHead", 8); - _consIntertypeConstrDecHead_6 = termFactory.makeConstructor("IntertypeConstrDecHead", 6); - _consAspectDec_2 = termFactory.makeConstructor("AspectDec", 2); - _consAspectDecHead_6 = termFactory.makeConstructor("AspectDecHead", 6); - _consPerTarget_1 = termFactory.makeConstructor("PerTarget", 1); - _consPerThis_1 = termFactory.makeConstructor("PerThis", 1); - _consPerCFlow_1 = termFactory.makeConstructor("PerCFlow", 1); - _consPerCFlowBelow_1 = termFactory.makeConstructor("PerCFlowBelow", 1); - _consPerTypeWithin_1 = termFactory.makeConstructor("PerTypeWithin", 1); - _consIsSingleton_0 = termFactory.makeConstructor("IsSingleton", 0); - _consAspectBody_1 = termFactory.makeConstructor("AspectBody", 1); - _consPrivileged_0 = termFactory.makeConstructor("Privileged", 0); - _consSimpleNamePattern_1 = termFactory.makeConstructor("SimpleNamePattern", 1); - _consFormalWildcard_0 = termFactory.makeConstructor("FormalWildcard", 0); - _consVarArityParamPattern_1 = termFactory.makeConstructor("VarArityParamPattern", 1); - _consGenericTypePattern_2 = termFactory.makeConstructor("GenericTypePattern", 2); - _consGenericSubtypePattern_2 = termFactory.makeConstructor("GenericSubtypePattern", 2); - _consNamePattern_1 = termFactory.makeConstructor("NamePattern", 1); - _consNamePattern_2 = termFactory.makeConstructor("NamePattern", 2); - _consWildcardNamePattern_2 = termFactory.makeConstructor("WildcardNamePattern", 2); - _consRefTypePattern_1 = termFactory.makeConstructor("RefTypePattern", 1); - _consPrimTypePattern_1 = termFactory.makeConstructor("PrimTypePattern", 1); - _consAnnoTypePattern_2 = termFactory.makeConstructor("AnnoTypePattern", 2); - _consMethodPattern_6 = termFactory.makeConstructor("MethodPattern", 6); - _consConstrPattern_5 = termFactory.makeConstructor("ConstrPattern", 5); - _consFieldPattern_4 = termFactory.makeConstructor("FieldPattern", 4); - _consMemberName_1 = termFactory.makeConstructor("MemberName", 1); - _consMemberName_2 = termFactory.makeConstructor("MemberName", 2); - _consWildcardMemberName_2 = termFactory.makeConstructor("WildcardMemberName", 2); - _consConstrName_0 = termFactory.makeConstructor("ConstrName", 0); - _consConstrName_1 = termFactory.makeConstructor("ConstrName", 1); - _consWildcardConstrName_1 = termFactory.makeConstructor("WildcardConstrName", 1); - _consModPattern_1 = termFactory.makeConstructor("ModPattern", 1); - _consThrowsPattern_1 = termFactory.makeConstructor("ThrowsPattern", 1); - _consNotThrowsCondition_1 = termFactory.makeConstructor("NotThrowsCondition", 1); - _consThrowsCondition_1 = termFactory.makeConstructor("ThrowsCondition", 1); - _consSimpleAnnoPattern_1 = termFactory.makeConstructor("SimpleAnnoPattern", 1); - _consSimpleAnnoPatternExact_1 = termFactory.makeConstructor("SimpleAnnoPatternExact", 1); - _consAnnoPattern_1 = termFactory.makeConstructor("AnnoPattern", 1); - _consPointcutDec_2 = termFactory.makeConstructor("PointcutDec", 2); - _consPointcutDecHead_3 = termFactory.makeConstructor("PointcutDecHead", 3); - _consPointcutBody_1 = termFactory.makeConstructor("PointcutBody", 1); - _consNoPointcutBody_0 = termFactory.makeConstructor("NoPointcutBody", 0); - _consNotComp_1 = termFactory.makeConstructor("NotComp", 1); - _consAndComp_2 = termFactory.makeConstructor("AndComp", 2); - _consOrComp_2 = termFactory.makeConstructor("OrComp", 2); - _consCall_1 = termFactory.makeConstructor("Call", 1); - _consExec_1 = termFactory.makeConstructor("Exec", 1); - _consInitExec_1 = termFactory.makeConstructor("InitExec", 1); - _consPreInitExec_1 = termFactory.makeConstructor("PreInitExec", 1); - _consStaticInitExec_1 = termFactory.makeConstructor("StaticInitExec", 1); - _consGetField_1 = termFactory.makeConstructor("GetField", 1); - _consSetField_1 = termFactory.makeConstructor("SetField", 1); - _consHandler_1 = termFactory.makeConstructor("Handler", 1); - _consAdviceExec_0 = termFactory.makeConstructor("AdviceExec", 0); - _consWithin_1 = termFactory.makeConstructor("Within", 1); - _consWithinCode_1 = termFactory.makeConstructor("WithinCode", 1); - _consCFlow_1 = termFactory.makeConstructor("CFlow", 1); - _consCFlowBelow_1 = termFactory.makeConstructor("CFlowBelow", 1); - _consIf_1 = termFactory.makeConstructor("If", 1); - _consThis_1 = termFactory.makeConstructor("This", 1); - _consTarget_1 = termFactory.makeConstructor("Target", 1); - _consArgs_1 = termFactory.makeConstructor("Args", 1); - _consAtThis_1 = termFactory.makeConstructor("AtThis", 1); - _consAtTarget_1 = termFactory.makeConstructor("AtTarget", 1); - _consAtWithin_1 = termFactory.makeConstructor("AtWithin", 1); - _consAtWithinCode_1 = termFactory.makeConstructor("AtWithinCode", 1); - _consAtAnno_1 = termFactory.makeConstructor("AtAnno", 1); - _consAtArgs_1 = termFactory.makeConstructor("AtArgs", 1); - _consNamedPointcut_2 = termFactory.makeConstructor("NamedPointcut", 2); - _consPointcutName_1 = termFactory.makeConstructor("PointcutName", 1); - _consPointcutName_2 = termFactory.makeConstructor("PointcutName", 2); - _consWildcard_0 = termFactory.makeConstructor("Wildcard", 0); - _consDotWildcard_0 = termFactory.makeConstructor("DotWildcard", 0); - _consSubtype_1 = termFactory.makeConstructor("Subtype", 1); - _consProceed_0 = termFactory.makeConstructor("Proceed", 0); } public static void initConstants(ITermFactory termFactory) { constNil0 = (IStrategoTerm)termFactory.makeList(Term.NO_TERMS); - constHS0 = termFactory.makeAppl(transform._consHS_0, NO_TERMS); - const0 = termFactory.makeString("0"); - constSOpt0 = termFactory.makeAppl(transform._consSOpt_2, new IStrategoTerm[]{cool.constHS0, cool.const0}); - constCons0 = (IStrategoTerm)termFactory.makeListCons(cool.constSOpt0, (IStrategoList)cool.constNil0); - const1 = termFactory.makeString(")"); - constS0 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const1}); - constCons1 = (IStrategoTerm)termFactory.makeListCons(cool.constS0, (IStrategoList)cool.constNil0); - const2 = termFactory.makeString("("); - constS1 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const2}); - constKW0 = termFactory.makeAppl(transform._consKW_0, NO_TERMS); - const3 = termFactory.makeString("initialization"); - constS2 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const3}); - constFBOX0 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS2}); - const4 = termFactory.makeString("preinitialization"); - constS3 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const4}); - constFBOX1 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS3}); - const5 = termFactory.makeString("staticinitialization"); - constS4 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const5}); - constFBOX2 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS4}); - const6 = termFactory.makeString("get"); - constS5 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const6}); - constFBOX3 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS5}); - const7 = termFactory.makeString("set"); - constS6 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const7}); - constFBOX4 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS6}); - const8 = termFactory.makeString("handler"); - constS7 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const8}); - constFBOX5 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS7}); - constCons2 = (IStrategoTerm)termFactory.makeListCons(cool.constS1, (IStrategoList)cool.constCons1); - const9 = termFactory.makeString("adviceexecution"); - constS8 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const9}); - constFBOX6 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS8}); - constCons3 = (IStrategoTerm)termFactory.makeListCons(cool.constFBOX6, (IStrategoList)cool.constCons2); - constH0 = termFactory.makeAppl(transform._consH_2, new IStrategoTerm[]{cool.constCons0, cool.constCons3}); - const10 = termFactory.makeString("within"); - constS9 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const10}); - constFBOX7 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS9}); - const11 = termFactory.makeString("withincode"); - constS10 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const11}); - constFBOX8 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS10}); - const12 = termFactory.makeString("cflow"); - constS11 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const12}); - constFBOX9 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS11}); - const13 = termFactory.makeString("cflowbelow"); - constS12 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const13}); - constFBOX10 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS12}); - const14 = termFactory.makeString("if"); - constS13 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const14}); - constFBOX11 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS13}); - const15 = termFactory.makeString("this"); - constS14 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const15}); - constFBOX12 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS14}); - const16 = termFactory.makeString("target"); - constS15 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const16}); - constFBOX13 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS15}); - const17 = termFactory.makeString("args"); - constS16 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const17}); - constFBOX14 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS16}); - const18 = termFactory.makeString("@this"); - constS17 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const18}); - const19 = termFactory.makeString("@target"); - constS18 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const19}); - const20 = termFactory.makeString("@within"); - constS19 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const20}); - const21 = termFactory.makeString("@withincode"); - constS20 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const21}); - const22 = termFactory.makeString("@annotation"); - constS21 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const22}); - const23 = termFactory.makeString("@args"); - constS22 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const23}); - const24 = termFactory.makeString("."); - constS23 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const24}); - const25 = termFactory.makeString("1"); - constSOpt1 = termFactory.makeAppl(transform._consSOpt_2, new IStrategoTerm[]{cool.constHS0, cool.const25}); - constCons4 = (IStrategoTerm)termFactory.makeListCons(cool.constSOpt1, (IStrategoList)cool.constNil0); - const26 = termFactory.makeString("pointcut"); - constS24 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const26}); - constFBOX15 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS24}); - const27 = termFactory.makeString(";"); - constS25 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const27}); - constCons5 = (IStrategoTerm)termFactory.makeListCons(cool.constS25, (IStrategoList)cool.constNil0); - const28 = termFactory.makeString(":"); - constS26 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const28}); - constFBOX16 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS25}); - const29 = termFactory.makeString("+"); - constS27 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const29}); - constCons6 = (IStrategoTerm)termFactory.makeListCons(cool.constS27, (IStrategoList)cool.constNil0); - constFBOX17 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS23}); - const30 = termFactory.makeString(".."); - constS28 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const30}); - constFBOX18 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS28}); - const31 = termFactory.makeString("..."); - constS29 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const31}); - constCons7 = (IStrategoTerm)termFactory.makeListCons(cool.constS29, (IStrategoList)cool.constNil0); - const32 = termFactory.makeString("*"); - constS30 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const32}); - const33 = termFactory.makeString("new"); - constS31 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const33}); - constFBOX19 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS31}); - constCons8 = (IStrategoTerm)termFactory.makeListCons(cool.constFBOX19, (IStrategoList)cool.constNil0); - constCons9 = (IStrategoTerm)termFactory.makeListCons(cool.constS23, (IStrategoList)cool.constCons8); - constCons10 = (IStrategoTerm)termFactory.makeListCons(cool.constS28, (IStrategoList)cool.constCons8); - const34 = termFactory.makeString("!"); - constS32 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const34}); - const35 = termFactory.makeString("throws"); - constS33 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const35}); - constFBOX20 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS33}); - const36 = termFactory.makeString("@"); - constS34 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const36}); - const37 = termFactory.makeString("&&"); - constS35 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const37}); - const38 = termFactory.makeString("||"); - constS36 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const38}); - constVS0 = termFactory.makeAppl(transform._consVS_0, NO_TERMS); - constSOpt2 = termFactory.makeAppl(transform._consSOpt_2, new IStrategoTerm[]{cool.constVS0, cool.const0}); - constCons11 = (IStrategoTerm)termFactory.makeListCons(cool.constSOpt2, (IStrategoList)cool.constNil0); - constFBOX21 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS26}); - constFBOX22 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS0}); - constCons12 = (IStrategoTerm)termFactory.makeListCons(cool.constFBOX22, (IStrategoList)cool.constNil0); - constFBOX23 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS1}); - const39 = termFactory.makeString("before"); - constS37 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const39}); - constFBOX24 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS37}); - const40 = termFactory.makeString("after"); - constS38 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const40}); - constFBOX25 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS38}); - const41 = termFactory.makeString("around"); - constS39 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const41}); - constFBOX26 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS39}); - const42 = termFactory.makeString("returning"); - constS40 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const42}); - constFBOX27 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS40}); - const43 = termFactory.makeString("throwing"); - constS41 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const43}); - constFBOX28 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS41}); - constCons13 = (IStrategoTerm)termFactory.makeListCons(cool.constFBOX16, (IStrategoList)cool.constNil0); - const44 = termFactory.makeString("parents"); - constS42 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const44}); - constFBOX29 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS42}); - const45 = termFactory.makeString("declare"); - constS43 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const45}); - constFBOX30 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS43}); - const46 = termFactory.makeString("warning"); - constS44 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const46}); - constFBOX31 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS44}); - const47 = termFactory.makeString("error"); - constS45 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const47}); - constFBOX32 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS45}); - const48 = termFactory.makeString("soft"); - constS46 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const48}); - constFBOX33 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS46}); - const49 = termFactory.makeString("precedence"); - constS47 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const49}); - constFBOX34 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS47}); - const50 = termFactory.makeString("@type"); - constS48 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const50}); - const51 = termFactory.makeString("@constructor"); - constS49 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const51}); - const52 = termFactory.makeString("@method"); - constS50 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const52}); - const53 = termFactory.makeString("@field"); - constS51 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const53}); - const54 = termFactory.makeString("aspect"); - constS52 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const54}); - constFBOX35 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS52}); - const55 = termFactory.makeString("pertarget"); - constS53 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const55}); - constFBOX36 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS53}); - const56 = termFactory.makeString("perthis"); - constS54 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const56}); - constFBOX37 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS54}); - const57 = termFactory.makeString("percflow"); - constS55 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const57}); - constFBOX38 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS55}); - const58 = termFactory.makeString("percflowbelow"); - constS56 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const58}); - constFBOX39 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS56}); - const59 = termFactory.makeString("pertypewithin"); - constS57 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const59}); - constFBOX40 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS57}); - const60 = termFactory.makeString("issingleton"); - constS58 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const60}); - constFBOX41 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS58}); - const61 = termFactory.makeString("}"); - constS59 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const61}); - constFBOX42 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS59}); - constCons14 = (IStrategoTerm)termFactory.makeListCons(cool.constFBOX42, (IStrategoList)cool.constNil0); - constIS0 = termFactory.makeAppl(transform._consIS_0, NO_TERMS); - const62 = termFactory.makeString("2"); - constSOpt3 = termFactory.makeAppl(transform._consSOpt_2, new IStrategoTerm[]{cool.constIS0, cool.const62}); - constCons15 = (IStrategoTerm)termFactory.makeListCons(cool.constSOpt3, (IStrategoList)cool.constNil0); - constCons16 = (IStrategoTerm)termFactory.makeListCons(cool.constSOpt2, (IStrategoList)cool.constCons15); - constSOpt4 = termFactory.makeAppl(transform._consSOpt_2, new IStrategoTerm[]{cool.constVS0, cool.const25}); - constCons17 = (IStrategoTerm)termFactory.makeListCons(cool.constSOpt4, (IStrategoList)cool.constNil0); - const63 = termFactory.makeString("{"); - constS60 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const63}); - constFBOX43 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS60}); - const64 = termFactory.makeString("privileged"); - constS61 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const64}); - constFBOX44 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS61}); - const65 = termFactory.makeString("proceed"); - constS62 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const65}); - constFBOX45 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS62}); - const66 = termFactory.makeString("call"); - constS63 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const66}); - constFBOX46 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS63}); - const67 = termFactory.makeString("execution"); - constS64 = termFactory.makeAppl(transform._consS_1, new IStrategoTerm[]{cool.const67}); - constFBOX47 = termFactory.makeAppl(transform._consFBOX_2, new IStrategoTerm[]{cool.constKW0, cool.constS64}); - const68 = termFactory.makeInt(80); - const69 = termFactory.makeString("byte"); - const70 = termFactory.makeString("char"); - const71 = termFactory.makeString("boolean"); - const72 = termFactory.makeString("short"); - const73 = termFactory.makeString("int"); - const74 = termFactory.makeString("long"); - const75 = termFactory.makeString("float"); - const76 = termFactory.makeString("double"); - const77 = termFactory.makeString(""); - const78 = termFactory.makeString("[]"); - constCons18 = (IStrategoTerm)termFactory.makeListCons(cool.const78, (IStrategoList)cool.constNil0); + const0 = termFactory.makeString("."); + const1 = termFactory.makeString("byte"); + const2 = termFactory.makeString("char"); + const3 = termFactory.makeString("boolean"); + const4 = termFactory.makeString("short"); + const5 = termFactory.makeString("int"); + const6 = termFactory.makeString("long"); + const7 = termFactory.makeString("float"); + const8 = termFactory.makeString("double"); + const9 = termFactory.makeString(""); + const10 = termFactory.makeString("[]"); + constCons0 = (IStrategoTerm)termFactory.makeListCons(cool.const10, (IStrategoList)cool.constNil0); constNone0 = termFactory.makeAppl(transform._consNone_0, NO_TERMS); constFalse0 = termFactory.makeAppl(transform._consFalse_0, NO_TERMS); constTrue0 = termFactory.makeAppl(transform._consTrue_0, NO_TERMS); constDouble0 = termFactory.makeAppl(transform._consDouble_0, NO_TERMS); constLong0 = termFactory.makeAppl(transform._consLong_0, NO_TERMS); constBoolean0 = termFactory.makeAppl(transform._consBoolean_0, NO_TERMS); - const79 = termFactory.makeString("Didn't find any type.."); - const80 = termFactory.makeString("Got:"); + const11 = termFactory.makeString("Didn't find any type.."); + const12 = termFactory.makeString("Got:"); constInt0 = termFactory.makeAppl(transform._consInt_0, NO_TERMS); constFloat0 = termFactory.makeAppl(transform._consFloat_0, NO_TERMS); constByte0 = termFactory.makeAppl(transform._consByte_0, NO_TERMS); constChar0 = termFactory.makeAppl(transform._consChar_0, NO_TERMS); constShort0 = termFactory.makeAppl(transform._consShort_0, NO_TERMS); - const81 = termFactory.makeString("LHS can't be:"); - const82 = termFactory.makeString("Unknown variable:"); - constId0 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const16}); + const13 = termFactory.makeString("LHS can't be:"); + const14 = termFactory.makeString("Unknown variable:"); + const15 = termFactory.makeString("target"); + constId0 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const15}); constExprName0 = termFactory.makeAppl(transform._consExprName_1, new IStrategoTerm[]{cool.constId0}); - constCons19 = (IStrategoTerm)termFactory.makeListCons(cool.constExprName0, (IStrategoList)cool.constNil0); - const83 = termFactory.makeInt(1); - const84 = termFactory.makeString("_ref"); - const85 = termFactory.makeInt(0); - constDeci0 = termFactory.makeAppl(transform._consDeci_1, new IStrategoTerm[]{cool.const0}); + constCons1 = (IStrategoTerm)termFactory.makeListCons(cool.constExprName0, (IStrategoList)cool.constNil0); + const16 = termFactory.makeInt(1); + const17 = termFactory.makeString("_ref"); + const18 = termFactory.makeInt(0); + const19 = termFactory.makeString("0"); + constDeci0 = termFactory.makeAppl(transform._consDeci_1, new IStrategoTerm[]{cool.const19}); constLit0 = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{cool.constDeci0}); constBool0 = termFactory.makeAppl(transform._consBool_1, new IStrategoTerm[]{cool.constFalse0}); constLit1 = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{cool.constBool0}); - const86 = termFactory.makeString("0.0"); - constDeci1 = termFactory.makeAppl(transform._consDeci_1, new IStrategoTerm[]{cool.const86}); + const20 = termFactory.makeString("0.0"); + constDeci1 = termFactory.makeAppl(transform._consDeci_1, new IStrategoTerm[]{cool.const20}); constLit2 = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{cool.constDeci1}); - const87 = termFactory.makeString("Object"); - constId1 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const87}); + const21 = termFactory.makeString("Object"); + constId1 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const21}); constTypeName0 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId1}); constClassOrInterfaceType0 = termFactory.makeAppl(transform._consClassOrInterfaceType_2, new IStrategoTerm[]{cool.constTypeName0, cool.constNone0}); constNull0 = termFactory.makeAppl(transform._consNull_0, NO_TERMS); constLit3 = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{cool.constNull0}); constPrivate0 = termFactory.makeAppl(transform._consPrivate_0, NO_TERMS); - constCons20 = (IStrategoTerm)termFactory.makeListCons(cool.constPrivate0, (IStrategoList)cool.constNil0); - const88 = termFactory.makeString("COOLExternalRef"); - constId2 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const88}); + constCons2 = (IStrategoTerm)termFactory.makeListCons(cool.constPrivate0, (IStrategoList)cool.constNil0); + const22 = termFactory.makeString("COOLExternalRef"); + constId2 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const22}); constTypeName1 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId2}); - const89 = termFactory.makeString("expr"); - constId3 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const89}); - const90 = termFactory.makeString("thiz"); - constId4 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const90}); + const23 = termFactory.makeString("expr"); + constId3 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const23}); + const24 = termFactory.makeString("thiz"); + constId4 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const24}); + const25 = termFactory.makeString("arguments:"); + const26 = termFactory.makeString("Coord"); + constCons3 = (IStrategoTerm)termFactory.makeListCons(cool.const26, (IStrategoList)cool.constNil0); + const27 = termFactory.makeString("java"); + const28 = termFactory.makeString("w"); constCoolTbl = new ImportTerm(termFactory, cool.class, "/cool/", "cool.tbl"); constStatic0 = termFactory.makeAppl(transform._consStatic_0, NO_TERMS); - constCons21 = (IStrategoTerm)termFactory.makeListCons(cool.constStatic0, (IStrategoList)cool.constNil0); - constCons22 = (IStrategoTerm)termFactory.makeListCons(cool.constPrivate0, (IStrategoList)cool.constCons21); - const91 = termFactory.makeString("isRunByOthers"); - constId5 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const91}); - const92 = termFactory.makeString("List"); - constId6 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const92}); + constCons4 = (IStrategoTerm)termFactory.makeListCons(cool.constStatic0, (IStrategoList)cool.constNil0); + constCons5 = (IStrategoTerm)termFactory.makeListCons(cool.constPrivate0, (IStrategoList)cool.constCons4); + const29 = termFactory.makeString("isRunByOthers"); + constId5 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const29}); + const30 = termFactory.makeString("List"); + constId6 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const30}); constTypeName2 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId6}); - const93 = termFactory.makeString("methState"); - constId7 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const93}); + const31 = termFactory.makeString("methState"); + constId7 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const31}); constParam0 = termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, cool.constTypeName2, cool.constId7}); - constCons23 = (IStrategoTerm)termFactory.makeListCons(cool.constParam0, (IStrategoList)cool.constNil0); - constMethodDecHead0 = termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{cool.constCons22, cool.constNone0, cool.constBoolean0, cool.constId5, cool.constCons23, cool.constNone0}); + constCons6 = (IStrategoTerm)termFactory.makeListCons(cool.constParam0, (IStrategoList)cool.constNil0); + constMethodDecHead0 = termFactory.makeAppl(transform._consMethodDecHead_6, new IStrategoTerm[]{cool.constCons5, cool.constNone0, cool.constBoolean0, cool.constId5, cool.constCons6, cool.constNone0}); constAmbName0 = termFactory.makeAppl(transform._consAmbName_1, new IStrategoTerm[]{cool.constId7}); - const94 = termFactory.makeString("isEmpty"); - constId8 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const94}); + const32 = termFactory.makeString("isEmpty"); + constId8 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const32}); constMethodName0 = termFactory.makeAppl(transform._consMethodName_2, new IStrategoTerm[]{cool.constAmbName0, cool.constId8}); constMethod0 = termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{cool.constMethodName0}); constInvoke0 = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{cool.constMethod0, cool.constNil0}); constNot0 = termFactory.makeAppl(transform._consNot_1, new IStrategoTerm[]{cool.constInvoke0}); - const95 = termFactory.makeString("contains"); - constId9 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const95}); + const33 = termFactory.makeString("contains"); + constId9 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const33}); constMethodName1 = termFactory.makeAppl(transform._consMethodName_2, new IStrategoTerm[]{cool.constAmbName0, cool.constId9}); constMethod1 = termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{cool.constMethodName1}); - const96 = termFactory.makeString("Thread"); - constId10 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const96}); + const34 = termFactory.makeString("Thread"); + constId10 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const34}); constAmbName1 = termFactory.makeAppl(transform._consAmbName_1, new IStrategoTerm[]{cool.constId10}); - const97 = termFactory.makeString("currentThread"); - constId11 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const97}); + const35 = termFactory.makeString("currentThread"); + constId11 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const35}); constMethodName2 = termFactory.makeAppl(transform._consMethodName_2, new IStrategoTerm[]{cool.constAmbName1, cool.constId11}); constMethod2 = termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{cool.constMethodName2}); constInvoke1 = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{cool.constMethod2, cool.constNil0}); - constCons24 = (IStrategoTerm)termFactory.makeListCons(cool.constInvoke1, (IStrategoList)cool.constNil0); - constInvoke2 = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{cool.constMethod1, cool.constCons24}); + constCons7 = (IStrategoTerm)termFactory.makeListCons(cool.constInvoke1, (IStrategoList)cool.constNil0); + constInvoke2 = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{cool.constMethod1, cool.constCons7}); constNot1 = termFactory.makeAppl(transform._consNot_1, new IStrategoTerm[]{cool.constInvoke2}); constLazyAnd0 = termFactory.makeAppl(transform._consLazyAnd_2, new IStrategoTerm[]{cool.constNot0, cool.constNot1}); constSome0 = termFactory.makeAppl(transform._consSome_1, new IStrategoTerm[]{cool.constLazyAnd0}); constReturn0 = termFactory.makeAppl(transform._consReturn_1, new IStrategoTerm[]{cool.constSome0}); - constCons25 = (IStrategoTerm)termFactory.makeListCons(cool.constReturn0, (IStrategoList)cool.constNil0); - constBlock0 = termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{cool.constCons25}); + constCons8 = (IStrategoTerm)termFactory.makeListCons(cool.constReturn0, (IStrategoList)cool.constNil0); + constBlock0 = termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{cool.constCons8}); constMethodDec0 = termFactory.makeAppl(transform._consMethodDec_2, new IStrategoTerm[]{cool.constMethodDecHead0, cool.constBlock0}); constClassOrInterfaceType1 = termFactory.makeAppl(transform._consClassOrInterfaceType_2, new IStrategoTerm[]{cool.constTypeName2, cool.constNone0}); - const98 = termFactory.makeString("Collections"); - constId12 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const98}); + const36 = termFactory.makeString("Collections"); + constId12 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const36}); constAmbName2 = termFactory.makeAppl(transform._consAmbName_1, new IStrategoTerm[]{cool.constId12}); - const99 = termFactory.makeString("synchronizedList"); - constId13 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const99}); + const37 = termFactory.makeString("synchronizedList"); + constId13 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const37}); constMethodName3 = termFactory.makeAppl(transform._consMethodName_2, new IStrategoTerm[]{cool.constAmbName2, cool.constId13}); constMethod3 = termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{cool.constMethodName3}); - const100 = termFactory.makeString("Vector"); - constId14 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const100}); + const38 = termFactory.makeString("Vector"); + constId14 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const38}); constTypeName3 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId14}); constClassOrInterfaceType2 = termFactory.makeAppl(transform._consClassOrInterfaceType_2, new IStrategoTerm[]{cool.constTypeName3, cool.constNone0}); constNewInstance0 = termFactory.makeAppl(transform._consNewInstance_4, new IStrategoTerm[]{cool.constNone0, cool.constClassOrInterfaceType2, cool.constNil0, cool.constNone0}); - constCons26 = (IStrategoTerm)termFactory.makeListCons(cool.constNewInstance0, (IStrategoList)cool.constNil0); - constInvoke3 = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{cool.constMethod3, cool.constCons26}); - const101 = termFactory.makeString("State"); - constCons27 = (IStrategoTerm)termFactory.makeListCons(cool.const101, (IStrategoList)cool.constNil0); - const102 = termFactory.makeString("requires_"); - const103 = termFactory.makeString("on_entry_"); - const104 = termFactory.makeString("on_exit_"); + constCons9 = (IStrategoTerm)termFactory.makeListCons(cool.constNewInstance0, (IStrategoList)cool.constNil0); + constInvoke3 = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{cool.constMethod3, cool.constCons9}); + const39 = termFactory.makeString("State"); + constCons10 = (IStrategoTerm)termFactory.makeListCons(cool.const39, (IStrategoList)cool.constNil0); + const40 = termFactory.makeString("requires_"); + const41 = termFactory.makeString("on_entry_"); + const42 = termFactory.makeString("on_exit_"); constPublic0 = termFactory.makeAppl(transform._consPublic_0, NO_TERMS); - constCons28 = (IStrategoTerm)termFactory.makeListCons(cool.constPublic0, (IStrategoList)cool.constNil0); - const105 = termFactory.makeString("COOLAspect"); - constId15 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const105}); + constCons11 = (IStrategoTerm)termFactory.makeListCons(cool.constPublic0, (IStrategoList)cool.constNil0); + const43 = termFactory.makeString("COOLAspect"); + constId15 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const43}); constTypeName4 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId15}); - const106 = termFactory.makeString("className"); - constId16 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const106}); - const107 = termFactory.makeString("Coord"); - constCons29 = (IStrategoTerm)termFactory.makeListCons(cool.const107, (IStrategoList)cool.constNil0); - const108 = termFactory.makeString("COOLRequires"); - constId17 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const108}); + const44 = termFactory.makeString("className"); + constId16 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const44}); + const45 = termFactory.makeString("COOLRequires"); + constId17 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const45}); constTypeName5 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId17}); - const109 = termFactory.makeString("parameterTypes"); - constId18 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const109}); + const46 = termFactory.makeString("parameterTypes"); + constId18 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const46}); constString0 = termFactory.makeAppl(transform._consString_1, new IStrategoTerm[]{cool.constNil0}); constLit4 = termFactory.makeAppl(transform._consLit_1, new IStrategoTerm[]{cool.constString0}); constElemValPair0 = termFactory.makeAppl(transform._consElemValPair_2, new IStrategoTerm[]{cool.constId16, cool.constLit4}); - const110 = termFactory.makeString("methodName"); - constId19 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const110}); - const111 = termFactory.makeString("COOLOnEntry"); - constId20 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const111}); - constTypeName6 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId20}); + const47 = termFactory.makeString("methodName"); + constId19 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const47}); + const48 = termFactory.makeString("offset"); + constId20 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const48}); + const49 = termFactory.makeString("column"); + constId21 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const49}); + const50 = termFactory.makeString("endLine"); + constId22 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const50}); + const51 = termFactory.makeString("startLine"); + constId23 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const51}); + const52 = termFactory.makeString("file"); + constId24 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const52}); + const53 = termFactory.makeString("COOLOnEntry"); + constId25 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const53}); + constTypeName6 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId25}); constVoid0 = termFactory.makeAppl(transform._consVoid_0, NO_TERMS); - const112 = termFactory.makeString("COOLOnExit"); - constId21 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const112}); - constTypeName7 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId21}); - const113 = termFactory.makeString("util"); - constId22 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const113}); - constCons30 = (IStrategoTerm)termFactory.makeListCons(cool.constId22, (IStrategoList)cool.constNil0); - const114 = termFactory.makeString("java"); - constId23 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const114}); - constCons31 = (IStrategoTerm)termFactory.makeListCons(cool.constId23, (IStrategoList)cool.constCons30); - constPackageName0 = termFactory.makeAppl(transform._consPackageName_1, new IStrategoTerm[]{cool.constCons31}); + const54 = termFactory.makeString("COOLOnExit"); + constId26 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const54}); + constTypeName7 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId26}); + const55 = termFactory.makeString("util"); + constId27 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const55}); + constCons12 = (IStrategoTerm)termFactory.makeListCons(cool.constId27, (IStrategoList)cool.constNil0); + constId28 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const27}); + constCons13 = (IStrategoTerm)termFactory.makeListCons(cool.constId28, (IStrategoList)cool.constCons12); + constPackageName0 = termFactory.makeAppl(transform._consPackageName_1, new IStrategoTerm[]{cool.constCons13}); constTypeImportOnDemandDec0 = termFactory.makeAppl(transform._consTypeImportOnDemandDec_1, new IStrategoTerm[]{cool.constPackageName0}); - constCons32 = (IStrategoTerm)termFactory.makeListCons(cool.constTypeImportOnDemandDec0, (IStrategoList)cool.constNil0); - const115 = termFactory.makeString("runtime"); - constId24 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const115}); - constCons33 = (IStrategoTerm)termFactory.makeListCons(cool.constId24, (IStrategoList)cool.constNil0); - const116 = termFactory.makeString("cool"); - constId25 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const116}); - constCons34 = (IStrategoTerm)termFactory.makeListCons(cool.constId25, (IStrategoList)cool.constCons33); - constPackageName1 = termFactory.makeAppl(transform._consPackageName_1, new IStrategoTerm[]{cool.constCons34}); + constCons14 = (IStrategoTerm)termFactory.makeListCons(cool.constTypeImportOnDemandDec0, (IStrategoList)cool.constNil0); + const56 = termFactory.makeString("runtime"); + constId29 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const56}); + constCons15 = (IStrategoTerm)termFactory.makeListCons(cool.constId29, (IStrategoList)cool.constNil0); + const57 = termFactory.makeString("cool"); + constId30 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const57}); + constCons16 = (IStrategoTerm)termFactory.makeListCons(cool.constId30, (IStrategoList)cool.constCons15); + constPackageName1 = termFactory.makeAppl(transform._consPackageName_1, new IStrategoTerm[]{cool.constCons16}); constTypeImportOnDemandDec1 = termFactory.makeAppl(transform._consTypeImportOnDemandDec_1, new IStrategoTerm[]{cool.constPackageName1}); - constCons35 = (IStrategoTerm)termFactory.makeListCons(cool.constTypeImportOnDemandDec1, (IStrategoList)cool.constNil0); - const117 = termFactory.makeString("'convert-coordinator-declaration'"); - const118 = termFactory.makeString("'gen-coordinator-body'"); - const119 = termFactory.makeString("'make-lock-and-unlock-methods'"); + constCons17 = (IStrategoTerm)termFactory.makeListCons(cool.constTypeImportOnDemandDec1, (IStrategoList)cool.constNil0); + const58 = termFactory.makeString("'convert-coordinator-declaration'"); + const59 = termFactory.makeString("'gen-coordinator-body'"); + const60 = termFactory.makeString("'make-lock-and-unlock-methods'"); constSynchronized0 = termFactory.makeAppl(transform._consSynchronized_0, NO_TERMS); - constCons36 = (IStrategoTerm)termFactory.makeListCons(cool.constSynchronized0, (IStrategoList)cool.constNil0); - constCons37 = (IStrategoTerm)termFactory.makeListCons(cool.constPublic0, (IStrategoList)cool.constCons36); - const120 = termFactory.makeString("COOLUnlock"); - constId26 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const120}); - constTypeName8 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId26}); - const121 = termFactory.makeString("remove"); - constId27 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const121}); - const122 = termFactory.makeString("notifyAll"); - constId28 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const122}); - constMethodName4 = termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{cool.constId28}); + constCons18 = (IStrategoTerm)termFactory.makeListCons(cool.constSynchronized0, (IStrategoList)cool.constNil0); + constCons19 = (IStrategoTerm)termFactory.makeListCons(cool.constPublic0, (IStrategoList)cool.constCons18); + const61 = termFactory.makeString("COOLUnlock"); + constId31 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const61}); + constTypeName8 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId31}); + const62 = termFactory.makeString("remove"); + constId32 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const62}); + const63 = termFactory.makeString("notifyAll"); + constId33 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const63}); + constMethodName4 = termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{cool.constId33}); constMethod4 = termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{cool.constMethodName4}); constInvoke4 = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{cool.constMethod4, cool.constNil0}); constExprStm0 = termFactory.makeAppl(transform._consExprStm_1, new IStrategoTerm[]{cool.constInvoke4}); - constCons38 = (IStrategoTerm)termFactory.makeListCons(cool.constExprStm0, (IStrategoList)cool.constNil0); - const123 = termFactory.makeString("'make-unlock-method'"); - const124 = termFactory.makeString("unlock_"); + constCons20 = (IStrategoTerm)termFactory.makeListCons(cool.constExprStm0, (IStrategoList)cool.constNil0); + const64 = termFactory.makeString("'make-unlock-method'"); + const65 = termFactory.makeString("unlock_"); + const66 = termFactory.makeString("COOLMutexLocation"); + const67 = termFactory.makeString("COOLSelfexLocation"); constMethodName5 = termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{cool.constId5}); constMethod5 = termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{cool.constMethodName5}); - const125 = termFactory.makeString("wait"); - constId29 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const125}); - constMethodName6 = termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{cool.constId29}); + const68 = termFactory.makeString("COOLAdditionsLocation"); + const69 = termFactory.makeString("wait"); + constId34 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const69}); + constMethodName6 = termFactory.makeAppl(transform._consMethodName_1, new IStrategoTerm[]{cool.constId34}); constMethod6 = termFactory.makeAppl(transform._consMethod_1, new IStrategoTerm[]{cool.constMethodName6}); constInvoke5 = termFactory.makeAppl(transform._consInvoke_2, new IStrategoTerm[]{cool.constMethod6, cool.constNil0}); constExprStm1 = termFactory.makeAppl(transform._consExprStm_1, new IStrategoTerm[]{cool.constInvoke5}); - constCons39 = (IStrategoTerm)termFactory.makeListCons(cool.constExprStm1, (IStrategoList)cool.constNil0); - constBlock1 = termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{cool.constCons39}); - const126 = termFactory.makeString("InterruptedException"); - constId30 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const126}); - constTypeName9 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId30}); + constCons21 = (IStrategoTerm)termFactory.makeListCons(cool.constExprStm1, (IStrategoList)cool.constNil0); + constBlock1 = termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{cool.constCons21}); + const70 = termFactory.makeString("InterruptedException"); + constId35 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const70}); + constTypeName9 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId35}); constClassOrInterfaceType3 = termFactory.makeAppl(transform._consClassOrInterfaceType_2, new IStrategoTerm[]{cool.constTypeName9, cool.constNone0}); - const127 = termFactory.makeString("e"); - constId31 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const127}); - constParam1 = termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, cool.constClassOrInterfaceType3, cool.constId31}); - const128 = termFactory.makeString("RuntimeException"); - constId32 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const128}); - constTypeName10 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId32}); + const71 = termFactory.makeString("e"); + constId36 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const71}); + constParam1 = termFactory.makeAppl(transform._consParam_3, new IStrategoTerm[]{cool.constNil0, cool.constClassOrInterfaceType3, cool.constId36}); + const72 = termFactory.makeString("RuntimeException"); + constId37 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const72}); + constTypeName10 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId37}); constClassOrInterfaceType4 = termFactory.makeAppl(transform._consClassOrInterfaceType_2, new IStrategoTerm[]{cool.constTypeName10, cool.constNone0}); constNewInstance1 = termFactory.makeAppl(transform._consNewInstance_4, new IStrategoTerm[]{cool.constNone0, cool.constClassOrInterfaceType4, cool.constNil0, cool.constNone0}); constThrow0 = termFactory.makeAppl(transform._consThrow_1, new IStrategoTerm[]{cool.constNewInstance1}); - constCons40 = (IStrategoTerm)termFactory.makeListCons(cool.constThrow0, (IStrategoList)cool.constNil0); - constBlock2 = termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{cool.constCons40}); + constCons22 = (IStrategoTerm)termFactory.makeListCons(cool.constThrow0, (IStrategoList)cool.constNil0); + constBlock2 = termFactory.makeAppl(transform._consBlock_1, new IStrategoTerm[]{cool.constCons22}); constCatch0 = termFactory.makeAppl(transform._consCatch_2, new IStrategoTerm[]{cool.constParam1, cool.constBlock2}); - constCons41 = (IStrategoTerm)termFactory.makeListCons(cool.constCatch0, (IStrategoList)cool.constNil0); - constTry0 = termFactory.makeAppl(transform._consTry_2, new IStrategoTerm[]{cool.constBlock1, cool.constCons41}); - constCons42 = (IStrategoTerm)termFactory.makeListCons(cool.constTry0, (IStrategoList)cool.constNil0); - const129 = termFactory.makeString("add"); - constId33 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const129}); - const130 = termFactory.makeString("COOLLock"); - constId34 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const130}); - constTypeName11 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId34}); - const131 = termFactory.makeString("'make-lock-method'"); - const132 = termFactory.makeString("lock_"); - const133 = termFactory.makeString("'fillMethodMaps'"); - const134 = termFactory.makeString("COOLConditionField"); - constId35 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const134}); - constTypeName12 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId35}); + constCons23 = (IStrategoTerm)termFactory.makeListCons(cool.constCatch0, (IStrategoList)cool.constNil0); + constTry0 = termFactory.makeAppl(transform._consTry_2, new IStrategoTerm[]{cool.constBlock1, cool.constCons23}); + constCons24 = (IStrategoTerm)termFactory.makeListCons(cool.constTry0, (IStrategoList)cool.constNil0); + const73 = termFactory.makeString("add"); + constId38 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const73}); + const74 = termFactory.makeString("COOLLock"); + constId39 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const74}); + constTypeName11 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId39}); + const75 = termFactory.makeString("'make-lock-method'"); + const76 = termFactory.makeString("lock_"); + const77 = termFactory.makeString("'fillMethodMaps'"); + const78 = termFactory.makeString("COOLConditionField"); + constId40 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const78}); + constTypeName12 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId40}); constMarkerAnno0 = termFactory.makeAppl(transform._consMarkerAnno_1, new IStrategoTerm[]{cool.constTypeName12}); - constCons43 = (IStrategoTerm)termFactory.makeListCons(cool.constMarkerAnno0, (IStrategoList)cool.constNil0); - constCons44 = (IStrategoTerm)termFactory.makeListCons(cool.constPrivate0, (IStrategoList)cool.constCons43); - const135 = termFactory.makeString("'add-condition-fields'"); - const136 = termFactory.makeString("COOLCoordinatorField"); - constId36 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const136}); - constTypeName13 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId36}); + constCons25 = (IStrategoTerm)termFactory.makeListCons(cool.constMarkerAnno0, (IStrategoList)cool.constNil0); + constCons26 = (IStrategoTerm)termFactory.makeListCons(cool.constPrivate0, (IStrategoList)cool.constCons25); + const79 = termFactory.makeString("'add-condition-fields'"); + const80 = termFactory.makeString("COOLCoordinatorField"); + constId41 = termFactory.makeAppl(transform._consId_1, new IStrategoTerm[]{cool.const80}); + constTypeName13 = termFactory.makeAppl(transform._consTypeName_1, new IStrategoTerm[]{cool.constId41}); constMarkerAnno1 = termFactory.makeAppl(transform._consMarkerAnno_1, new IStrategoTerm[]{cool.constTypeName13}); - const137 = termFactory.makeString("'add-coordinator-fields'"); + const81 = termFactory.makeString("'add-coordinator-fields'"); } public static void registerInterop(org.spoofax.interpreter.core.IContext context, Context compiledContext) diff --git a/coolf/src/main/java/cool/transform.java.dep b/coolf/src/main/java/cool/transform.java.dep index c34c8cd..f26e882 100644 --- a/coolf/src/main/java/cool/transform.java.dep +++ b/coolf/src/main/java/cool/transform.java.dep @@ -1,24 +1,6 @@ -COOL.old/dist/transform.java: \ - COOL.old/trans/aspectj/pp/pointcut/Expression.str \ - COOL.old/trans/Stratego-Box.tbl \ - COOL.old/trans/aspectj/pp/pointcut/Declaration.str \ - COOL.old/trans/aspectj/pp/pattern/Type.str \ - COOL.old/trans/aspectj/pp/pattern/Name.str \ - COOL.old/trans/aspectj/pp/pattern/FormalParameter.str \ - COOL.old/trans/aspectj/pp/pattern/ClassName.str \ - COOL.old/trans/aspectj/pp/pattern/ClassMember.str \ - COOL.old/trans/aspectj/pp/pattern/Annotation.str \ - COOL.old/trans/aspectj/pp/common/BooleanComposition.str \ - COOL.old/trans/aspectj/pp/aspect/IntertypeMemberDeclaration.str \ - COOL.old/trans/aspectj/pp/aspect/AdviceDeclaration.str \ - COOL.old/trans/aspectj/pp/aspect/DeclareDeclaration.str \ - COOL.old/trans/aspectj/pp/aspect/Declaration.str \ - COOL.old/trans/aspectj/pp/JavaExtension.str \ - COOL.old/trans/aspectj/signature.str \ - COOL.old/trans/aspectj/pp/Main.str \ - COOL.old/trans/aspectj/pretty-print.str \ +COOL/dist/transform.java: \ \ - COOL.old/trans/tools.str \ - COOL.old/trans/externals.str \ - COOL.old/include/cool.str \ - ./COOL.old/trans/transform.str \ No newline at end of file + COOL/trans/tools.str \ + COOL/trans/externals.str \ + COOL/include/cool.str \ + ./COOL/trans/transform.str \ No newline at end of file diff --git a/coolf/src/main/java/cool/transform_0_0.java b/coolf/src/main/java/cool/transform_0_0.java index c1d6f30..ecd64ec 100644 --- a/coolf/src/main/java/cool/transform_0_0.java +++ b/coolf/src/main/java/cool/transform_0_0.java @@ -18,23 +18,26 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("transform_0_0"); - Fail283: + Fail171: { - IStrategoTerm g_51 = null; - IStrategoTerm j_51 = null; - IStrategoTerm k_51 = null; - g_51 = term; - j_51 = g_51; - k_51 = cool.constCoolTbl; - term = parse_file_0_1.instance.invoke(context, j_51, k_51); + IStrategoTerm a_36 = null; + IStrategoTerm d_36 = null; + IStrategoTerm e_36 = null; + a_36 = term; + d_36 = a_36; + e_36 = cool.constCoolTbl; + term = parse_file_0_1.instance.invoke(context, d_36, e_36); if(term == null) - break Fail283; + break Fail171; + term = topdown_1_0.instance.invoke(context, term, lifted102.instance); + if(term == null) + break Fail171; term = transform_ast_0_0.instance.invoke(context, term); if(term == null) - break Fail283; - term = pp_aspectj_string_0_0.instance.invoke(context, term); + break Fail171; + term = pp_java5_to_string_0_0.instance.invoke(context, term); if(term == null) - break Fail283; + break Fail171; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/transform_ast_0_0.java b/coolf/src/main/java/cool/transform_ast_0_0.java index 3246be6..2a39318 100644 --- a/coolf/src/main/java/cool/transform_ast_0_0.java +++ b/coolf/src/main/java/cool/transform_ast_0_0.java @@ -18,11 +18,11 @@ @Override public IStrategoTerm invoke(Context context, IStrategoTerm term) { context.push("transform_ast_0_0"); - Fail284: + Fail172: { term = convert_0_0.instance.invoke(context, term); if(term == null) - break Fail284; + break Fail172; context.popOnSuccess(); if(true) return term; diff --git a/coolf/src/main/java/cool/try_to_get_type_0_3.java b/coolf/src/main/java/cool/try_to_get_type_0_3.java index 56e7414..017eac8 100644 --- a/coolf/src/main/java/cool/try_to_get_type_0_3.java +++ b/coolf/src/main/java/cool/try_to_get_type_0_3.java @@ -15,96 +15,96 @@ { public static try_to_get_type_0_3 instance = new try_to_get_type_0_3(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm z_37, IStrategoTerm a_38, IStrategoTerm b_38) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm a_22, IStrategoTerm b_22, IStrategoTerm c_22) { ITermFactory termFactory = context.getFactory(); context.push("try_to_get_type_0_3"); - Fail154: + Fail40: { - IStrategoTerm c_38 = null; - IStrategoTerm d_38 = null; - IStrategoTerm e_38 = null; - IStrategoTerm f_38 = null; + IStrategoTerm d_22 = null; + IStrategoTerm e_22 = null; + IStrategoTerm f_22 = null; + IStrategoTerm g_22 = null; if(term.getTermType() != IStrategoTerm.TUPLE || term.getSubtermCount() != 2) - break Fail154; - c_38 = term.getSubterm(0); - e_38 = term.getSubterm(1); - term = get_type_of_0_3.instance.invoke(context, c_38, z_37, a_38, b_38); + break Fail40; + d_22 = term.getSubterm(0); + f_22 = term.getSubterm(1); + term = get_type_of_0_3.instance.invoke(context, d_22, a_22, b_22, c_22); if(term == null) - break Fail154; - d_38 = term; - Success135: + break Fail40; + e_22 = term; + Success32: { - Fail155: + Fail41: { - IStrategoTerm g_38 = null; - g_38 = term; - IStrategoTerm term181 = term; - Success136: + IStrategoTerm h_22 = null; + h_22 = term; + IStrategoTerm term75 = term; + Success33: { - Fail156: + Fail42: { - term = termFactory.makeTuple(d_38, cool.constNone0); + term = termFactory.makeTuple(e_22, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail156; + break Fail42; { if(true) - break Fail155; + break Fail41; if(true) - break Success136; + break Success33; } } - term = term181; + term = term75; } - term = g_38; + term = h_22; { - term = d_38; + term = e_22; if(true) - break Success135; + break Success32; } } - term = get_type_of_0_3.instance.invoke(context, e_38, z_37, a_38, b_38); + term = get_type_of_0_3.instance.invoke(context, f_22, a_22, b_22, c_22); if(term == null) - break Fail154; - f_38 = term; - Success137: + break Fail40; + g_22 = term; + Success34: { - Fail157: + Fail43: { - IStrategoTerm h_38 = null; - h_38 = term; - IStrategoTerm term183 = term; - Success138: + IStrategoTerm i_22 = null; + i_22 = term; + IStrategoTerm term77 = term; + Success35: { - Fail158: + Fail44: { - term = termFactory.makeTuple(f_38, cool.constNone0); + term = termFactory.makeTuple(g_22, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail158; + break Fail44; { if(true) - break Fail157; + break Fail43; if(true) - break Success138; + break Success35; } } - term = term183; + term = term77; } - term = h_38; + term = i_22; { - term = f_38; + term = g_22; if(true) - break Success137; + break Success34; } } - term = debug_0_0.instance.invoke(context, cool.const79); + term = debug_0_0.instance.invoke(context, cool.const11); if(term == null) - break Fail154; - term = cool.const77; + break Fail40; + term = cool.const9; if(true) - break Fail154; + break Fail40; } } context.popOnSuccess(); diff --git a/coolf/src/main/java/cool/type_of_0_3.java b/coolf/src/main/java/cool/type_of_0_3.java index ff673a3..09c0239 100644 --- a/coolf/src/main/java/cool/type_of_0_3.java +++ b/coolf/src/main/java/cool/type_of_0_3.java @@ -15,721 +15,721 @@ { public static type_of_0_3 instance = new type_of_0_3(); - @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm f_88, IStrategoTerm g_88, IStrategoTerm h_88) + @Override public IStrategoTerm invoke(Context context, IStrategoTerm term, IStrategoTerm t_53, IStrategoTerm u_53, IStrategoTerm v_53) { ITermFactory termFactory = context.getFactory(); context.push("type_of_0_3"); - Fail235: + Fail121: { - IStrategoTerm term245 = term; - Success200: + IStrategoTerm term139 = term; + Success97: { - Fail236: + Fail122: { if(term.getTermType() != IStrategoTerm.APPL || transform._consComplement_1 != ((IStrategoAppl)term).getConstructor()) - break Fail236; - Success201: + break Fail122; + Success98: { - Fail237: + Fail123: { - IStrategoTerm s_50 = null; - s_50 = term; - term = termFactory.makeTuple(f_88, cool.constNone0); + IStrategoTerm r_34 = null; + r_34 = term; + term = termFactory.makeTuple(t_53, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail237; - term = s_50; + break Fail123; + term = r_34; { term = cool.constLong0; if(true) - break Success201; + break Success98; } } - term = f_88; + term = t_53; } if(true) - break Success200; + break Success97; } - term = term245; - IStrategoTerm term247 = term; - Success202: + term = term139; + IStrategoTerm term141 = term; + Success99: { - Fail238: + Fail124: { - term = or_2_0.instance.invoke(context, term, lifted86.instance, lifted87.instance); + term = or_2_0.instance.invoke(context, term, lifted82.instance, lifted83.instance); if(term == null) - break Fail238; - Success203: + break Fail124; + Success100: { - Fail239: + Fail125: { - IStrategoTerm o_50 = null; - o_50 = term; - term = termFactory.makeTuple(f_88, cool.constNone0); + IStrategoTerm n_34 = null; + n_34 = term; + term = termFactory.makeTuple(t_53, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail239; - term = o_50; + break Fail125; + term = n_34; { term = cool.constDouble0; if(true) - break Success203; + break Success100; } } - term = f_88; + term = t_53; } if(true) - break Success202; + break Success99; } - term = term247; - IStrategoTerm term249 = term; - Success204: + term = term141; + IStrategoTerm term143 = term; + Success101: { - Fail240: + Fail126: { - term = or_2_0.instance.invoke(context, term, lifted88.instance, lifted95.instance); + term = or_2_0.instance.invoke(context, term, lifted84.instance, lifted91.instance); if(term == null) - break Fail240; - Success205: + break Fail126; + Success102: { - Fail241: + Fail127: { - IStrategoTerm j_50 = null; - j_50 = term; - term = termFactory.makeTuple(f_88, cool.constNone0); + IStrategoTerm j_34 = null; + j_34 = term; + term = termFactory.makeTuple(t_53, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail241; - term = j_50; + break Fail127; + term = j_34; { term = cool.constDouble0; if(true) - break Success205; + break Success102; } } - term = cast_bounded_arithmetic_type_0_0.instance.invoke(context, f_88); + term = cast_bounded_arithmetic_type_0_0.instance.invoke(context, t_53); if(term == null) - break Fail240; + break Fail126; } if(true) - break Success204; + break Success101; } - term = term249; - IStrategoTerm term251 = term; - Success206: + term = term143; + IStrategoTerm term145 = term; + Success103: { - Fail242: + Fail128: { - TermReference e_50 = new TermReference(); - lifted99 lifted990 = new lifted99(); - lifted96 lifted960 = new lifted96(); - lifted990.e_50 = e_50; - lifted960.e_50 = e_50; - term = or_2_0.instance.invoke(context, term, lifted960, lifted990); + TermReference e_34 = new TermReference(); + lifted95 lifted950 = new lifted95(); + lifted92 lifted920 = new lifted92(); + lifted950.e_34 = e_34; + lifted920.e_34 = e_34; + term = or_2_0.instance.invoke(context, term, lifted920, lifted950); if(term == null) - break Fail242; - Success207: + break Fail128; + Success104: { - Fail243: + Fail129: { - IStrategoTerm f_50 = null; - f_50 = term; - term = termFactory.makeTuple(f_88, cool.constNone0); + IStrategoTerm f_34 = null; + f_34 = term; + term = termFactory.makeTuple(t_53, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail243; - term = f_50; + break Fail129; + term = f_34; { - if(e_50.value == null) - break Fail242; - term = get_type_of_0_3.instance.invoke(context, e_50.value, f_88, g_88, h_88); + if(e_34.value == null) + break Fail128; + term = get_type_of_0_3.instance.invoke(context, e_34.value, t_53, u_53, v_53); if(term == null) - break Fail242; + break Fail128; term = cast_shift_type_0_0.instance.invoke(context, term); if(term == null) - break Fail242; + break Fail128; if(true) - break Success207; + break Success104; } } - term = cast_shift_type_0_0.instance.invoke(context, f_88); + term = cast_shift_type_0_0.instance.invoke(context, t_53); if(term == null) - break Fail242; + break Fail128; } if(true) - break Success206; + break Success103; } - term = term251; - IStrategoTerm term253 = term; - IStrategoConstructor cons11 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success208: + term = term145; + IStrategoTerm term147 = term; + IStrategoConstructor cons3 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; + Success105: { - if(cons11 == transform._consAnd_2) + if(cons3 == transform._consAnd_2) { - Fail244: + Fail130: { - IStrategoTerm x_49 = null; - IStrategoTerm y_49 = null; - x_49 = term.getSubterm(0); - y_49 = term.getSubterm(1); - Success209: + IStrategoTerm y_33 = null; + IStrategoTerm z_33 = null; + y_33 = term.getSubterm(0); + z_33 = term.getSubterm(1); + Success106: { - Fail245: + Fail131: { - IStrategoTerm z_49 = null; - z_49 = term; - term = termFactory.makeTuple(f_88, cool.constNone0); + IStrategoTerm a_34 = null; + a_34 = term; + term = termFactory.makeTuple(t_53, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail245; - term = z_49; + break Fail131; + term = a_34; { - term = termFactory.makeTuple(x_49, y_49); - term = try_to_get_type_0_3.instance.invoke(context, term, f_88, g_88, h_88); + term = termFactory.makeTuple(y_33, z_33); + term = try_to_get_type_0_3.instance.invoke(context, term, t_53, u_53, v_53); if(term == null) - break Fail244; + break Fail130; term = cast_conditional_type_0_0.instance.invoke(context, term); if(term == null) - break Fail244; + break Fail130; if(true) - break Success209; + break Success106; } } - term = cast_bounded_conditional_type_0_0.instance.invoke(context, f_88); + term = cast_bounded_conditional_type_0_0.instance.invoke(context, t_53); if(term == null) - break Fail244; + break Fail130; } if(true) - break Success208; + break Success105; } - term = term253; + term = term147; } - Success210: + Success107: { - if(cons11 == transform._consExcOr_2) + if(cons3 == transform._consExcOr_2) { - Fail246: + Fail132: { - IStrategoTerm r_49 = null; - IStrategoTerm s_49 = null; - r_49 = term.getSubterm(0); - s_49 = term.getSubterm(1); - Success211: + IStrategoTerm s_33 = null; + IStrategoTerm t_33 = null; + s_33 = term.getSubterm(0); + t_33 = term.getSubterm(1); + Success108: { - Fail247: + Fail133: { - IStrategoTerm t_49 = null; - t_49 = term; - term = termFactory.makeTuple(f_88, cool.constNone0); + IStrategoTerm u_33 = null; + u_33 = term; + term = termFactory.makeTuple(t_53, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail247; - term = t_49; + break Fail133; + term = u_33; { - term = termFactory.makeTuple(r_49, s_49); - term = try_to_get_type_0_3.instance.invoke(context, term, f_88, g_88, h_88); + term = termFactory.makeTuple(s_33, t_33); + term = try_to_get_type_0_3.instance.invoke(context, term, t_53, u_53, v_53); if(term == null) - break Fail246; + break Fail132; term = cast_conditional_type_0_0.instance.invoke(context, term); if(term == null) - break Fail246; + break Fail132; if(true) - break Success211; + break Success108; } } - term = cast_bounded_conditional_type_0_0.instance.invoke(context, f_88); + term = cast_bounded_conditional_type_0_0.instance.invoke(context, t_53); if(term == null) - break Fail246; + break Fail132; } if(true) - break Success210; + break Success107; } - term = term253; + term = term147; } - Success212: + Success109: { - if(cons11 == transform._consOr_2) + if(cons3 == transform._consOr_2) { - Fail248: + Fail134: { - IStrategoTerm l_49 = null; - IStrategoTerm m_49 = null; - l_49 = term.getSubterm(0); - m_49 = term.getSubterm(1); - Success213: + IStrategoTerm m_33 = null; + IStrategoTerm n_33 = null; + m_33 = term.getSubterm(0); + n_33 = term.getSubterm(1); + Success110: { - Fail249: + Fail135: { - IStrategoTerm n_49 = null; - n_49 = term; - term = termFactory.makeTuple(f_88, cool.constNone0); + IStrategoTerm o_33 = null; + o_33 = term; + term = termFactory.makeTuple(t_53, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail249; - term = n_49; + break Fail135; + term = o_33; { - term = termFactory.makeTuple(l_49, m_49); - term = try_to_get_type_0_3.instance.invoke(context, term, f_88, g_88, h_88); + term = termFactory.makeTuple(m_33, n_33); + term = try_to_get_type_0_3.instance.invoke(context, term, t_53, u_53, v_53); if(term == null) - break Fail248; + break Fail134; term = cast_conditional_type_0_0.instance.invoke(context, term); if(term == null) - break Fail248; + break Fail134; if(true) - break Success213; + break Success110; } } - term = cast_bounded_conditional_type_0_0.instance.invoke(context, f_88); + term = cast_bounded_conditional_type_0_0.instance.invoke(context, t_53); if(term == null) - break Fail248; + break Fail134; } if(true) - break Success212; + break Success109; } - term = term253; + term = term147; } - IStrategoTerm term259 = term; - Success214: + IStrategoTerm term153 = term; + Success111: { - Fail250: + Fail136: { - TermReference e_49 = new TermReference(); - IStrategoTerm f_49 = null; - lifted103 lifted1030 = new lifted103(); - lifted100 lifted1000 = new lifted100(); - lifted1030.e_49 = e_49; - lifted1000.e_49 = e_49; - term = or_2_0.instance.invoke(context, term, lifted1000, lifted1030); + TermReference f_33 = new TermReference(); + IStrategoTerm g_33 = null; + lifted99 lifted990 = new lifted99(); + lifted96 lifted960 = new lifted96(); + lifted990.f_33 = f_33; + lifted960.f_33 = f_33; + term = or_2_0.instance.invoke(context, term, lifted960, lifted990); if(term == null) - break Fail250; - if(e_49.value == null) - break Fail250; - term = get_type_of_0_3.instance.invoke(context, e_49.value, f_88, g_88, h_88); + break Fail136; + if(f_33.value == null) + break Fail136; + term = get_type_of_0_3.instance.invoke(context, f_33.value, t_53, u_53, v_53); if(term == null) - break Fail250; - f_49 = term; - Success215: + break Fail136; + g_33 = term; + Success112: { - Fail251: + Fail137: { - IStrategoTerm g_49 = null; - g_49 = term; - term = termFactory.makeTuple(f_49, cool.constNone0); + IStrategoTerm h_33 = null; + h_33 = term; + term = termFactory.makeTuple(g_33, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail251; - term = g_49; + break Fail137; + term = h_33; { - Success216: + Success113: { - Fail252: + Fail138: { - IStrategoTerm h_49 = null; - h_49 = term; - term = termFactory.makeTuple(f_88, cool.constNone0); + IStrategoTerm i_33 = null; + i_33 = term; + term = termFactory.makeTuple(t_53, cool.constNone0); term = equal_0_0.instance.invoke(context, term); if(term == null) - break Fail252; - term = h_49; + break Fail138; + term = i_33; { term = cool.constDouble0; if(true) - break Success216; + break Success113; } } - term = ensure__number_0_0.instance.invoke(context, f_88); + term = ensure__number_0_0.instance.invoke(context, t_53); if(term == null) - break Fail250; + break Fail136; } if(true) - break Success215; + break Success112; } } - term = ensure__number_0_0.instance.invoke(context, f_49); + term = ensure__number_0_0.instance.invoke(context, g_33); if(term == null) - break Fail250; + break Fail136; } if(true) - break Success214; + break Success111; } - term = term259; - IStrategoTerm term262 = term; - IStrategoConstructor cons12 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; - Success217: + term = term153; + IStrategoTerm term156 = term; + IStrategoConstructor cons4 = term.getTermType() == IStrategoTerm.APPL ? ((IStrategoAppl)term).getConstructor() : null; + Success114: { - if(cons12 == transform._consExprName_1) + if(cons4 == transform._consExprName_1) { - Fail253: + Fail139: { - IStrategoTerm y_48 = null; - y_48 = term; + IStrategoTerm z_32 = null; + z_32 = term; term = fetch_0_0.instance.invoke(context, term); if(term == null) - break Fail253; - term = get_expr_type_0_3.instance.invoke(context, y_48, term, g_88, h_88); + break Fail139; + term = get_expr_type_0_3.instance.invoke(context, z_32, term, u_53, v_53); if(term == null) - break Fail253; + break Fail139; if(true) - break Success217; + break Success114; } - term = term262; + term = term156; } - Success218: + Success115: { - if(cons12 == transform._consExprName_2) + if(cons4 == transform._consExprName_2) { - Fail254: + Fail140: { - IStrategoTerm o_48 = null; - o_48 = term; + IStrategoTerm p_32 = null; + p_32 = term; term = fetch_0_0.instance.invoke(context, term); if(term == null) - break Fail254; - term = get_expr_type_0_3.instance.invoke(context, o_48, term, g_88, h_88); + break Fail140; + term = get_expr_type_0_3.instance.invoke(context, p_32, term, u_53, v_53); if(term == null) - break Fail254; + break Fail140; if(true) - break Success218; + break Success115; } - term = term262; + term = term156; } - Success219: + Success116: { - if(cons12 == transform._consLit_1) + if(cons4 == transform._consLit_1) { - Fail255: + Fail141: { - IStrategoTerm f_48 = null; - f_48 = term.getSubterm(0); - term = f_48; + IStrategoTerm g_32 = null; + g_32 = term.getSubterm(0); + term = g_32; if(true) - break Success219; + break Success116; } - term = term262; + term = term156; } - Success220: + Success117: { - if(cons12 == transform._consNot_1) + if(cons4 == transform._consNot_1) { - Fail256: + Fail142: { term = cool.constBoolean0; if(true) - break Success220; + break Success117; } - term = term262; + term = term156; } - Success221: + Success118: { - if(cons12 == transform._consLt_2) + if(cons4 == transform._consLt_2) { - Fail257: + Fail143: { term = cool.constBoolean0; if(true) - break Success221; + break Success118; } - term = term262; + term = term156; } - Success222: + Success119: { - if(cons12 == transform._consGt_2) + if(cons4 == transform._consGt_2) { - Fail258: + Fail144: { term = cool.constBoolean0; if(true) - break Success222; + break Success119; } - term = term262; + term = term156; } - Success223: + Success120: { - if(cons12 == transform._consLtEq_2) + if(cons4 == transform._consLtEq_2) { - Fail259: + Fail145: { term = cool.constBoolean0; if(true) - break Success223; + break Success120; } - term = term262; + term = term156; } - Success224: + Success121: { - if(cons12 == transform._consGtEq_2) + if(cons4 == transform._consGtEq_2) { - Fail260: + Fail146: { term = cool.constBoolean0; if(true) - break Success224; + break Success121; } - term = term262; + term = term156; } - Success225: + Success122: { - if(cons12 == transform._consEq_2) + if(cons4 == transform._consEq_2) { - Fail261: + Fail147: { term = cool.constBoolean0; if(true) - break Success225; + break Success122; } - term = term262; + term = term156; } - Success226: + Success123: { - if(cons12 == transform._consNotEq_2) + if(cons4 == transform._consNotEq_2) { - Fail262: + Fail148: { term = cool.constBoolean0; if(true) - break Success226; + break Success123; } - term = term262; + term = term156; } - Success227: + Success124: { - if(cons12 == transform._consLazyAnd_2) + if(cons4 == transform._consLazyAnd_2) { - Fail263: + Fail149: { term = cool.constBoolean0; if(true) - break Success227; + break Success124; } - term = term262; + term = term156; } - Success228: + Success125: { - if(cons12 == transform._consLazyOr_2) + if(cons4 == transform._consLazyOr_2) { - Fail264: + Fail150: { term = cool.constBoolean0; if(true) - break Success228; + break Success125; } - term = term262; + term = term156; } - Success229: + Success126: { - if(cons12 == transform._consAssign_2) + if(cons4 == transform._consAssign_2) { - Fail265: + Fail151: { - IStrategoTerm a_47 = null; - a_47 = term.getSubterm(0); - term = this.invoke(context, a_47, f_88, g_88, h_88); + IStrategoTerm b_31 = null; + b_31 = term.getSubterm(0); + term = this.invoke(context, b_31, t_53, u_53, v_53); if(term == null) - break Fail265; + break Fail151; if(true) - break Success229; + break Success126; } - term = term262; + term = term156; } - Success230: + Success127: { - if(cons12 == transform._consAssignMul_2) + if(cons4 == transform._consAssignMul_2) { - Fail266: + Fail152: { - IStrategoTerm w_46 = null; - w_46 = term.getSubterm(0); - term = this.invoke(context, w_46, f_88, g_88, h_88); + IStrategoTerm x_30 = null; + x_30 = term.getSubterm(0); + term = this.invoke(context, x_30, t_53, u_53, v_53); if(term == null) - break Fail266; + break Fail152; if(true) - break Success230; + break Success127; } - term = term262; + term = term156; } - Success231: + Success128: { - if(cons12 == transform._consAssignDiv_2) + if(cons4 == transform._consAssignDiv_2) { - Fail267: + Fail153: { - IStrategoTerm s_46 = null; - s_46 = term.getSubterm(0); - term = this.invoke(context, s_46, f_88, g_88, h_88); + IStrategoTerm t_30 = null; + t_30 = term.getSubterm(0); + term = this.invoke(context, t_30, t_53, u_53, v_53); if(term == null) - break Fail267; + break Fail153; if(true) - break Success231; + break Success128; } - term = term262; + term = term156; } - Success232: + Success129: { - if(cons12 == transform._consAssignRemain_2) + if(cons4 == transform._consAssignRemain_2) { - Fail268: + Fail154: { - IStrategoTerm o_46 = null; - o_46 = term.getSubterm(0); - term = this.invoke(context, o_46, f_88, g_88, h_88); + IStrategoTerm p_30 = null; + p_30 = term.getSubterm(0); + term = this.invoke(context, p_30, t_53, u_53, v_53); if(term == null) - break Fail268; + break Fail154; if(true) - break Success232; + break Success129; } - term = term262; + term = term156; } - Success233: + Success130: { - if(cons12 == transform._consAssignPlus_2) + if(cons4 == transform._consAssignPlus_2) { - Fail269: + Fail155: { - IStrategoTerm k_46 = null; - k_46 = term.getSubterm(0); - term = this.invoke(context, k_46, f_88, g_88, h_88); + IStrategoTerm l_30 = null; + l_30 = term.getSubterm(0); + term = this.invoke(context, l_30, t_53, u_53, v_53); if(term == null) - break Fail269; + break Fail155; if(true) - break Success233; + break Success130; } - term = term262; + term = term156; } - Success234: + Success131: { - if(cons12 == transform._consAssignMinus_2) + if(cons4 == transform._consAssignMinus_2) { - Fail270: + Fail156: { - IStrategoTerm g_46 = null; - g_46 = term.getSubterm(0); - term = this.invoke(context, g_46, f_88, g_88, h_88); + IStrategoTerm h_30 = null; + h_30 = term.getSubterm(0); + term = this.invoke(context, h_30, t_53, u_53, v_53); if(term == null) - break Fail270; + break Fail156; if(true) - break Success234; + break Success131; } - term = term262; + term = term156; } - Success235: + Success132: { - if(cons12 == transform._consAssignLeftShift_2) + if(cons4 == transform._consAssignLeftShift_2) { - Fail271: + Fail157: { - IStrategoTerm c_46 = null; - c_46 = term.getSubterm(0); - term = this.invoke(context, c_46, f_88, g_88, h_88); + IStrategoTerm d_30 = null; + d_30 = term.getSubterm(0); + term = this.invoke(context, d_30, t_53, u_53, v_53); if(term == null) - break Fail271; + break Fail157; if(true) - break Success235; + break Success132; } - term = term262; + term = term156; } - Success236: + Success133: { - if(cons12 == transform._consAssignRightShift_2) + if(cons4 == transform._consAssignRightShift_2) { - Fail272: + Fail158: { - IStrategoTerm y_45 = null; - y_45 = term.getSubterm(0); - term = this.invoke(context, y_45, f_88, g_88, h_88); + IStrategoTerm z_29 = null; + z_29 = term.getSubterm(0); + term = this.invoke(context, z_29, t_53, u_53, v_53); if(term == null) - break Fail272; + break Fail158; if(true) - break Success236; + break Success133; } - term = term262; + term = term156; } - Success237: + Success134: { - if(cons12 == transform._consAssignURightShift_2) + if(cons4 == transform._consAssignURightShift_2) { - Fail273: + Fail159: { - IStrategoTerm u_45 = null; - u_45 = term.getSubterm(0); - term = this.invoke(context, u_45, f_88, g_88, h_88); + IStrategoTerm v_29 = null; + v_29 = term.getSubterm(0); + term = this.invoke(context, v_29, t_53, u_53, v_53); if(term == null) - break Fail273; + break Fail159; if(true) - break Success237; + break Success134; } - term = term262; + term = term156; } - Success238: + Success135: { - if(cons12 == transform._consAssignAnd_2) + if(cons4 == transform._consAssignAnd_2) { - Fail274: + Fail160: { - IStrategoTerm q_45 = null; - q_45 = term.getSubterm(0); - term = this.invoke(context, q_45, f_88, g_88, h_88); + IStrategoTerm r_29 = null; + r_29 = term.getSubterm(0); + term = this.invoke(context, r_29, t_53, u_53, v_53); if(term == null) - break Fail274; + break Fail160; if(true) - break Success238; + break Success135; } - term = term262; + term = term156; } - Success239: + Success136: { - if(cons12 == transform._consAssignExcOr_2) + if(cons4 == transform._consAssignExcOr_2) { - Fail275: + Fail161: { - IStrategoTerm m_45 = null; - m_45 = term.getSubterm(0); - term = this.invoke(context, m_45, f_88, g_88, h_88); + IStrategoTerm n_29 = null; + n_29 = term.getSubterm(0); + term = this.invoke(context, n_29, t_53, u_53, v_53); if(term == null) - break Fail275; + break Fail161; if(true) - break Success239; + break Success136; } - term = term262; + term = term156; } - Success240: + Success137: { - if(cons12 == transform._consAssignOr_2) + if(cons4 == transform._consAssignOr_2) { - Fail276: + Fail162: { - IStrategoTerm i_45 = null; - i_45 = term.getSubterm(0); - term = this.invoke(context, i_45, f_88, g_88, h_88); + IStrategoTerm j_29 = null; + j_29 = term.getSubterm(0); + term = this.invoke(context, j_29, t_53, u_53, v_53); if(term == null) - break Fail276; + break Fail162; if(true) - break Success240; + break Success137; } - term = term262; + term = term156; } - Success241: + Success138: { - if(cons12 == transform._consCastPrim_2) + if(cons4 == transform._consCastPrim_2) { - Fail277: + Fail163: { - IStrategoTerm e_45 = null; - e_45 = term.getSubterm(0); - term = e_45; + IStrategoTerm f_29 = null; + f_29 = term.getSubterm(0); + term = f_29; if(true) - break Success241; + break Success138; } - term = term262; + term = term156; } - if(cons12 == transform._consCastRef_2) + if(cons4 == transform._consCastRef_2) { - IStrategoTerm a_45 = null; - a_45 = term.getSubterm(0); - term = a_45; + IStrategoTerm b_29 = null; + b_29 = term.getSubterm(0); + term = b_29; } else { - break Fail235; + break Fail121; } } }