Commit e961a976 authored by André Pacak's avatar André Pacak
Browse files

change lookup function (has ITerm as toplevel to distinguish between cases and...

change lookup function (has ITerm as toplevel to distinguish between cases and other parts of the language (ExpTerm)
parent c2722538
<?xml version="1.0" encoding="UTF-8"?>
<product version="3" modelHash="65ix6l1feodjzi0djd8lzodxvwzqlrg" />
<product version="3" modelHash="7v8yim2dozt66lahfvwazszvidjayra" />
<?xml version="1.0" encoding="UTF-8"?>
<product version="3" modelHash="w1upr2oah2bo072giunxqsav2g67w7" />
<product version="3" modelHash="5brneidlim805gj69n457vcu20le6zd" />
<?xml version="1.0" encoding="UTF-8"?>
<product version="3" modelHash="-7yxtdcc1gmaeyhua9802la0uiixjl6s" />
......@@ -33,32 +33,32 @@ public final class QuerySpecificationHints extends MPSQuerySpecificationHints {
this.dataTypes.add(UniqueDataType.from("jetbrains.mps.lang.core.structure.string"));
this.conceptFeatures = new HashSet<SConceptFeature>();
this.conceptFeatures.add(MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
this.conceptFeatures.add(MetaAdapterFactory.getProperty(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f721L, 0x9229981a3b8f726L, "label"));
this.conceptFeatures.add(MetaAdapterFactory.getProperty(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f721L, 0x9229981a3b8f72aL, "name"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f61cL, 0x9229981a3b8f62fL, "cases"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802c6L, 0x1fd8e2cf9df802cbL, "elems"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9378L, "t2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb930bL, "t2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f573L, 0x9229981a3b8f58bL, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb93f1L, 0x1a4a252762eb93f6L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb93faL, 0x1a4a252762eb93ffL, "ty"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d7L, 0x1a4a252762eb92dcL, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getReferenceLink(0xb802a05692a24fbcL, 0x902ef8e5004c331fL, 0x7980b687ac7456feL, 0x7980b687ac7456ffL, "parent"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb9317L, "t1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb931bL, "t2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9390L, 0x1a4a252762eb9395L, "ty1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb93f1L, 0x1a4a252762eb93f6L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb933aL, 0x1a4a252762eb934eL, "bound"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb933aL, 0x1a4a252762eb9352L, "body"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802cfL, 0x1fd8e2cf9df802d4L, "ty"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d7L, 0x1a4a252762eb92dcL, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb9307L, "t1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f61cL, 0x9229981a3b8f621L, "matchee"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f61cL, 0x9229981a3b8f62fL, "cases"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9378L, "t2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb9317L, "t1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb933aL, 0x1a4a252762eb934eL, "bound"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9322L, 0x1a4a252762eb9336L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f573L, 0x9229981a3b8f58bL, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9374L, "t1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, 0x1a4a252762eb93d5L, "ty"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, 0x1a4a252762eb9384L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9390L, 0x1a4a252762eb9399L, "ty2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb9307L, "t1"));
this.conceptFeatures.add(MetaAdapterFactory.getReferenceLink(0xb802a05692a24fbcL, 0x902ef8e5004c331fL, 0x7980b687ac7456feL, 0x7980b687ac7456ffL, "parent"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f721L, 0x9229981a3b8f731L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, 0x1a4a252762eb93d5L, "ty"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9322L, 0x1a4a252762eb9336L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9390L, 0x1a4a252762eb9399L, "ty2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9390L, 0x1a4a252762eb9395L, "ty1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb930bL, "t2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802c6L, 0x1fd8e2cf9df802cbL, "elems"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb933aL, 0x1a4a252762eb9352L, "body"));
this.languages = new HashSet<SLanguage>();
this.languages.add(MetaAdapterFactory.getLanguage(0xb802a05692a24fbcL, 0x902ef8e5004c331fL, "ceab5195-25ea-4f22-9b92-103b95ca8c0c"));
......
......@@ -68,7 +68,7 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
private static final class GeneratedPQuery extends AbstractPQuery {
private final PParameter p_term = new PParameter("term", "VariantTypes.structure.Term", new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
private final PParameter p_term = new PParameter("term", "VariantTypes.structure.ITerm", new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));
private final PParameter p_out_1 = new PParameter("out_1", "VariantTypes.structure.Var", new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
private static final Typing_AllvarsQuerySpecification.GeneratedPQuery INSTANCE = new Typing_AllvarsQuerySpecification.GeneratedPQuery();
......@@ -87,15 +87,15 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__match_a0a0k = body.getOrCreateVariableByName("match_a0a0k");
PVariable var__match_a0a0m = body.getOrCreateVariableByName("match_a0a0m");
PVariable var__v = body.getOrCreateVariableByName("v");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_Allvars_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__match_a0a0k, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a0a0k), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new Equality(body, var__v, var__match_a0a0k);
new Equality(body, var__match_a0a0m, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a0a0m), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new Equality(body, var__v, var__match_a0a0m);
new Equality(body, var__v, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
......@@ -110,22 +110,22 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__match_a1a0m = body.getOrCreateVariableByName("match_a1a0m");
PVariable var__t = body.getOrCreateVariableByName("t");
PVariable var__match_a1a0k = body.getOrCreateVariableByName("match_a1a0k");
PVariable var__tmp_124 = body.getOrCreateVariableByName("tmp_124");
PVariable var__match_a0b0a01 = body.getOrCreateVariableByName("match_a0b0a01");
PVariable var__tmp_123 = body.getOrCreateVariableByName("tmp_123");
PVariable var__tmp_125 = body.getOrCreateVariableByName("tmp_125");
PVariable var__match_a0b0a21 = body.getOrCreateVariableByName("match_a0b0a21");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_Allvars_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__match_a1a0k, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a1a0k), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d7L, "VariantTypes.structure.Succ")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a1a0k, var__tmp_123), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d7L, 0x1a4a252762eb92dcL, "t")));
new Equality(body, var__match_a0b0a01, var__tmp_123);
new Equality(body, var__t, var__match_a0b0a01);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t, var__tmp_124), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_124, var_out_1);
new Equality(body, var__match_a1a0m, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a1a0m), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d7L, "VariantTypes.structure.Succ")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a1a0m, var__tmp_124), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d7L, 0x1a4a252762eb92dcL, "t")));
new Equality(body, var__match_a0b0a21, var__tmp_124);
new Equality(body, var__t, var__match_a0b0a21);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t, var__tmp_125), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_125, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
}
......@@ -139,28 +139,28 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__match_a0c0a01 = body.getOrCreateVariableByName("match_a0c0a01");
PVariable var__match_a2a0k = body.getOrCreateVariableByName("match_a2a0k");
PVariable var__tmp_125 = body.getOrCreateVariableByName("tmp_125");
PVariable var__match_a2a0m = body.getOrCreateVariableByName("match_a2a0m");
PVariable var__match_a0c0a21 = body.getOrCreateVariableByName("match_a0c0a21");
PVariable var__tmp_128 = body.getOrCreateVariableByName("tmp_128");
PVariable var__match_b0c0a21 = body.getOrCreateVariableByName("match_b0c0a21");
PVariable var__tmp_126 = body.getOrCreateVariableByName("tmp_126");
PVariable var__match_b0c0a01 = body.getOrCreateVariableByName("match_b0c0a01");
PVariable var__tmp_127 = body.getOrCreateVariableByName("tmp_127");
PVariable var__t1 = body.getOrCreateVariableByName("t1");
PVariable var__t2 = body.getOrCreateVariableByName("t2");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_Allvars_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__match_a2a0k, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a2a0k), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, "VariantTypes.structure.Add")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a2a0k, var__tmp_125), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb9307L, "t1")));
new Equality(body, var__match_a0c0a01, var__tmp_125);
new Equality(body, var__t1, var__match_a0c0a01);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a2a0k, var__tmp_126), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb930bL, "t2")));
new Equality(body, var__match_b0c0a01, var__tmp_126);
new Equality(body, var__t2, var__match_b0c0a01);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t1, var__tmp_127), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_127, var_out_1);
new Equality(body, var__match_a2a0m, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a2a0m), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, "VariantTypes.structure.Add")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a2a0m, var__tmp_126), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb9307L, "t1")));
new Equality(body, var__match_a0c0a21, var__tmp_126);
new Equality(body, var__t1, var__match_a0c0a21);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a2a0m, var__tmp_127), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb930bL, "t2")));
new Equality(body, var__match_b0c0a21, var__tmp_127);
new Equality(body, var__t2, var__match_b0c0a21);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t1, var__tmp_128), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_128, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
}
......@@ -174,28 +174,28 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__match_a0c0a01 = body.getOrCreateVariableByName("match_a0c0a01");
PVariable var__match_a2a0m = body.getOrCreateVariableByName("match_a2a0m");
PVariable var__tmp_130 = body.getOrCreateVariableByName("tmp_130");
PVariable var__tmp_128 = body.getOrCreateVariableByName("tmp_128");
PVariable var__match_a0c0a21 = body.getOrCreateVariableByName("match_a0c0a21");
PVariable var__tmp_129 = body.getOrCreateVariableByName("tmp_129");
PVariable var__match_a2a0k = body.getOrCreateVariableByName("match_a2a0k");
PVariable var__match_b0c0a01 = body.getOrCreateVariableByName("match_b0c0a01");
PVariable var__match_b0c0a21 = body.getOrCreateVariableByName("match_b0c0a21");
PVariable var__t1 = body.getOrCreateVariableByName("t1");
PVariable var__tmp_131 = body.getOrCreateVariableByName("tmp_131");
PVariable var__t2 = body.getOrCreateVariableByName("t2");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_Allvars_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__match_a2a0k, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a2a0k), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, "VariantTypes.structure.Add")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a2a0k, var__tmp_128), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb9307L, "t1")));
new Equality(body, var__match_a0c0a01, var__tmp_128);
new Equality(body, var__t1, var__match_a0c0a01);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a2a0k, var__tmp_129), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb930bL, "t2")));
new Equality(body, var__match_b0c0a01, var__tmp_129);
new Equality(body, var__t2, var__match_b0c0a01);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t2, var__tmp_130), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_130, var_out_1);
new Equality(body, var__match_a2a0m, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a2a0m), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, "VariantTypes.structure.Add")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a2a0m, var__tmp_129), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb9307L, "t1")));
new Equality(body, var__match_a0c0a21, var__tmp_129);
new Equality(body, var__t1, var__match_a0c0a21);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a2a0m, var__tmp_130), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb930bL, "t2")));
new Equality(body, var__match_b0c0a21, var__tmp_130);
new Equality(body, var__t2, var__match_b0c0a21);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t2, var__tmp_131), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_131, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
}
......@@ -209,28 +209,28 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__match_a0d0a01 = body.getOrCreateVariableByName("match_a0d0a01");
PVariable var__match_a3a0k = body.getOrCreateVariableByName("match_a3a0k");
PVariable var__match_b0d0a01 = body.getOrCreateVariableByName("match_b0d0a01");
PVariable var__tmp_131 = body.getOrCreateVariableByName("tmp_131");
PVariable var__match_a0d0a21 = body.getOrCreateVariableByName("match_a0d0a21");
PVariable var__match_a3a0m = body.getOrCreateVariableByName("match_a3a0m");
PVariable var__match_b0d0a21 = body.getOrCreateVariableByName("match_b0d0a21");
PVariable var__t1 = body.getOrCreateVariableByName("t1");
PVariable var__tmp_132 = body.getOrCreateVariableByName("tmp_132");
PVariable var__t2 = body.getOrCreateVariableByName("t2");
PVariable var__tmp_133 = body.getOrCreateVariableByName("tmp_133");
PVariable var__tmp_134 = body.getOrCreateVariableByName("tmp_134");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_Allvars_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__match_a3a0k, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a3a0k), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, "VariantTypes.structure.Mult")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a3a0k, var__tmp_131), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb9317L, "t1")));
new Equality(body, var__match_a0d0a01, var__tmp_131);
new Equality(body, var__t1, var__match_a0d0a01);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a3a0k, var__tmp_132), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb931bL, "t2")));
new Equality(body, var__match_b0d0a01, var__tmp_132);
new Equality(body, var__t2, var__match_b0d0a01);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t1, var__tmp_133), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_133, var_out_1);
new Equality(body, var__match_a3a0m, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a3a0m), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, "VariantTypes.structure.Mult")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a3a0m, var__tmp_132), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb9317L, "t1")));
new Equality(body, var__match_a0d0a21, var__tmp_132);
new Equality(body, var__t1, var__match_a0d0a21);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a3a0m, var__tmp_133), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb931bL, "t2")));
new Equality(body, var__match_b0d0a21, var__tmp_133);
new Equality(body, var__t2, var__match_b0d0a21);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t1, var__tmp_134), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_134, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
}
......@@ -244,28 +244,28 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__match_a0d0a01 = body.getOrCreateVariableByName("match_a0d0a01");
PVariable var__match_a3a0k = body.getOrCreateVariableByName("match_a3a0k");
PVariable var__match_a0d0a21 = body.getOrCreateVariableByName("match_a0d0a21");
PVariable var__match_a3a0m = body.getOrCreateVariableByName("match_a3a0m");
PVariable var__tmp_135 = body.getOrCreateVariableByName("tmp_135");
PVariable var__tmp_136 = body.getOrCreateVariableByName("tmp_136");
PVariable var__match_b0d0a01 = body.getOrCreateVariableByName("match_b0d0a01");
PVariable var__match_b0d0a21 = body.getOrCreateVariableByName("match_b0d0a21");
PVariable var__tmp_137 = body.getOrCreateVariableByName("tmp_137");
PVariable var__t1 = body.getOrCreateVariableByName("t1");
PVariable var__t2 = body.getOrCreateVariableByName("t2");
PVariable var__tmp_134 = body.getOrCreateVariableByName("tmp_134");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_Allvars_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__match_a3a0k, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a3a0k), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, "VariantTypes.structure.Mult")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a3a0k, var__tmp_134), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb9317L, "t1")));
new Equality(body, var__match_a0d0a01, var__tmp_134);
new Equality(body, var__t1, var__match_a0d0a01);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a3a0k, var__tmp_135), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb931bL, "t2")));
new Equality(body, var__match_b0d0a01, var__tmp_135);
new Equality(body, var__t2, var__match_b0d0a01);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t2, var__tmp_136), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_136, var_out_1);
new Equality(body, var__match_a3a0m, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a3a0m), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, "VariantTypes.structure.Mult")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a3a0m, var__tmp_135), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb9317L, "t1")));
new Equality(body, var__match_a0d0a21, var__tmp_135);
new Equality(body, var__t1, var__match_a0d0a21);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a3a0m, var__tmp_136), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb931bL, "t2")));
new Equality(body, var__match_b0d0a21, var__tmp_136);
new Equality(body, var__t2, var__match_b0d0a21);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t2, var__tmp_137), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_137, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
}
......@@ -279,22 +279,28 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__match_a0e0a01 = body.getOrCreateVariableByName("match_a0e0a01");
PVariable var__tmp_140 = body.getOrCreateVariableByName("tmp_140");
PVariable var__match_a4a0m = body.getOrCreateVariableByName("match_a4a0m");
PVariable var__tmp_139 = body.getOrCreateVariableByName("tmp_139");
PVariable var__ty = body.getOrCreateVariableByName("ty");
PVariable var__t = body.getOrCreateVariableByName("t");
PVariable var__match_a4a0k = body.getOrCreateVariableByName("match_a4a0k");
PVariable var__tmp_137 = body.getOrCreateVariableByName("tmp_137");
PVariable var__match_a0e0a21 = body.getOrCreateVariableByName("match_a0e0a21");
PVariable var__tmp_138 = body.getOrCreateVariableByName("tmp_138");
PVariable var__match_b0e0a21 = body.getOrCreateVariableByName("match_b0e0a21");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_Allvars_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__match_a4a0k, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a4a0k), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, "VariantTypes.structure.Anno")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a4a0k, var__tmp_137), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, 0x1a4a252762eb9384L, "t")));
new Equality(body, var__match_a0e0a01, var__tmp_137);
new Equality(body, var__t, var__match_a0e0a01);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t, var__tmp_138), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_138, var_out_1);
new Equality(body, var__match_a4a0m, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a4a0m), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, "VariantTypes.structure.Anno")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a4a0m, var__tmp_138), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, 0x1a4a252762eb9384L, "t")));
new Equality(body, var__match_a0e0a21, var__tmp_138);
new Equality(body, var__t, var__match_a0e0a21);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a4a0m, var__tmp_139), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, 0x1a4a252762eb93d5L, "ty")));
new Equality(body, var__match_b0e0a21, var__tmp_139);
new Equality(body, var__ty, var__match_b0e0a21);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t, var__tmp_140), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_140, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
}
......@@ -308,28 +314,28 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__match_b0f0a01 = body.getOrCreateVariableByName("match_b0f0a01");
PVariable var__tmp_140 = body.getOrCreateVariableByName("tmp_140");
PVariable var__tmp_141 = body.getOrCreateVariableByName("tmp_141");
PVariable var__tmp_139 = body.getOrCreateVariableByName("tmp_139");
PVariable var__match_a5a0k = body.getOrCreateVariableByName("match_a5a0k");
PVariable var__match_a0f0a01 = body.getOrCreateVariableByName("match_a0f0a01");
PVariable var__match_a0f0a21 = body.getOrCreateVariableByName("match_a0f0a21");
PVariable var__match_a5a0m = body.getOrCreateVariableByName("match_a5a0m");
PVariable var__t1 = body.getOrCreateVariableByName("t1");
PVariable var__tmp_142 = body.getOrCreateVariableByName("tmp_142");
PVariable var__t2 = body.getOrCreateVariableByName("t2");
PVariable var__tmp_143 = body.getOrCreateVariableByName("tmp_143");
PVariable var__match_b0f0a21 = body.getOrCreateVariableByName("match_b0f0a21");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_Allvars_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__match_a5a0k, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a5a0k), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, "VariantTypes.structure.App")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a5a0k, var__tmp_139), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9374L, "t1")));
new Equality(body, var__match_a0f0a01, var__tmp_139);
new Equality(body, var__t1, var__match_a0f0a01);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a5a0k, var__tmp_140), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9378L, "t2")));
new Equality(body, var__match_b0f0a01, var__tmp_140);
new Equality(body, var__t2, var__match_b0f0a01);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t1, var__tmp_141), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_141, var_out_1);
new Equality(body, var__match_a5a0m, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a5a0m), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, "VariantTypes.structure.App")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a5a0m, var__tmp_141), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9374L, "t1")));
new Equality(body, var__match_a0f0a21, var__tmp_141);
new Equality(body, var__t1, var__match_a0f0a21);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a5a0m, var__tmp_142), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9378L, "t2")));
new Equality(body, var__match_b0f0a21, var__tmp_142);
new Equality(body, var__t2, var__match_b0f0a21);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t1, var__tmp_143), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_143, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
}
......@@ -343,28 +349,28 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__match_b0f0a01 = body.getOrCreateVariableByName("match_b0f0a01");
PVariable var__match_a5a0k = body.getOrCreateVariableByName("match_a5a0k");
PVariable var__match_a0f0a01 = body.getOrCreateVariableByName("match_a0f0a01");
PVariable var__tmp_142 = body.getOrCreateVariableByName("tmp_142");
PVariable var__match_a0f0a21 = body.getOrCreateVariableByName("match_a0f0a21");
PVariable var__match_a5a0m = body.getOrCreateVariableByName("match_a5a0m");
PVariable var__tmp_146 = body.getOrCreateVariableByName("tmp_146");
PVariable var__t1 = body.getOrCreateVariableByName("t1");
PVariable var__tmp_143 = body.getOrCreateVariableByName("tmp_143");
PVariable var__t2 = body.getOrCreateVariableByName("t2");
PVariable var__tmp_144 = body.getOrCreateVariableByName("tmp_144");
PVariable var__tmp_145 = body.getOrCreateVariableByName("tmp_145");
PVariable var__match_b0f0a21 = body.getOrCreateVariableByName("match_b0f0a21");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_Allvars_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__match_a5a0k, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a5a0k), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, "VariantTypes.structure.App")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a5a0k, var__tmp_142), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9374L, "t1")));
new Equality(body, var__match_a0f0a01, var__tmp_142);
new Equality(body, var__t1, var__match_a0f0a01);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a5a0k, var__tmp_143), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9378L, "t2")));
new Equality(body, var__match_b0f0a01, var__tmp_143);
new Equality(body, var__t2, var__match_b0f0a01);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t2, var__tmp_144), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_144, var_out_1);
new Equality(body, var__match_a5a0m, var_term);
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a5a0m), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, "VariantTypes.structure.App")));
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a5a0m, var__tmp_144), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9374L, "t1")));
new Equality(body, var__match_a0f0a21, var__tmp_144);
new Equality(body, var__t1, var__match_a0f0a21);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__match_a5a0m, var__tmp_145), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9378L, "t2")));
new Equality(body, var__match_b0f0a21, var__tmp_145);
new Equality(body, var__t2, var__match_b0f0a21);
new PositivePatternCall(body, Tuples.flatTupleOf(var__t2, var__tmp_146), Typing_AllvarsQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_146, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
}
......@@ -379,33 +385,33 @@ public final class Typing_AllvarsQuerySpecification extends MPSQuerySpecificatio
body.setSymbolicParameters(exportedParameters);
PVariable var__body = body.getOrCreateVariableByName("body");
PVariable var__tmp_150 = body.getOrCreateVariableByName("tmp_150");
PVariable var__bound = body.getOrCreateVariableByName("bound");
PVariable var__match_c0g0a01 = body.getOrCreateVariableByName("match_c0g0a01");
PVariable var__tmp_146 = body.getOrCreateVariableByName("tmp_146");
PVariable var__match_a6a0k = body.getOrCreateVariableByName("match_a6a0k");
PVariable var__match_a0g0a01 = body.getOrCreateVariableByName("match_a0g0a01");
PVariable var__match_c0g0a21 = body.getOrCreateVariableByName("match_c0g0a21");
PVariable var__match_a6a0m = body.getOrCreateVariableByName("match_a6a0m");
PVariable var__match_a0g0a21 = body.getOrCreateVariableByName("match_a0g0a21");
PVariable var__tmp_147 = body.getOrCreateVariableByName("tmp_147");
PVariable var__tmp_148 = body.getOrCreateVariableByName("tmp_148");
PVariable var__tmp_149 = body.getOrCreateVariableByName("tmp_149");
PVariable var__name = body.getOrCreateVariableByName("name");
PVariable var__match_b0g0a01 = body.getOrCreateVariableByName("match_b0g0a01");
PVariable var__tmp_145 = body.getOrCreateVariableByName("tmp_145");
PVariable var__match_b0g0a21 = body.getOrCreateVariableByName("match_b0g0a21");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x31cba602171a9c1L, "VariantTypes.structure.ITerm")));