gitlab.rlp.net will be temporarily unavailable for maintenance reasons on 2021-01-15 21:00 - 23:00

gitlab.rlp.net will be temporarily unavailable for maintenance reasons on 2021-01-15 21:00 - 23:00

Commit b7d03e0f authored by André Pacak's avatar André Pacak

untested implementation of fo recursive type checker in IncA

parent 345377ca
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
<modulePath path="$PROJECT_DIR$/languages/ProductTypes/ProductTypes.mpl" folder="" /> <modulePath path="$PROJECT_DIR$/languages/ProductTypes/ProductTypes.mpl" folder="" />
<modulePath path="$PROJECT_DIR$/languages/RecordTypes/RecordTypes.mpl" folder="" /> <modulePath path="$PROJECT_DIR$/languages/RecordTypes/RecordTypes.mpl" folder="" />
<modulePath path="$PROJECT_DIR$/languages/VariantTypes/VariantTypes.mpl" folder="" /> <modulePath path="$PROJECT_DIR$/languages/VariantTypes/VariantTypes.mpl" folder="" />
<modulePath path="$PROJECT_DIR$/solutions/FORecursiveTypes_Checker/FORecursiveTypes_Checker.msd" folder="" />
<modulePath path="$PROJECT_DIR$/solutions/RecordTypes_Checker/RecordTypes_Checker.msd" folder="" /> <modulePath path="$PROJECT_DIR$/solutions/RecordTypes_Checker/RecordTypes_Checker.msd" folder="" />
<modulePath path="$PROJECT_DIR$/solutions/SumTypes_Checker/SumTypes_Checker.msd" folder="." /> <modulePath path="$PROJECT_DIR$/solutions/SumTypes_Checker/SumTypes_Checker.msd" folder="." />
<modulePath path="$PROJECT_DIR$/solutions/VariantTypes_Checker/VariantTypes_Checker.msd" folder="" /> <modulePath path="$PROJECT_DIR$/solutions/VariantTypes_Checker/VariantTypes_Checker.msd" folder="" />
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1153952380246:jetbrains.mps.baseLanguage.structure.TryStatement" /> <concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1153952380246:jetbrains.mps.baseLanguage.structure.TryStatement" />
<root> <root>
<file name="EditorAspectDescriptorImpl.java"> <file name="EditorAspectDescriptorImpl.java">
<unit at="18,0,158,0" name="FORecursiveTypes.editor.EditorAspectDescriptorImpl" /> <unit at="18,0,162,0" name="FORecursiveTypes.editor.EditorAspectDescriptorImpl" />
</file> </file>
<file name="GrammarActionsDescriptor.java"> <file name="GrammarActionsDescriptor.java">
<unit at="858,51,862,5" name="FORecursiveTypes.editor.GrammarActionsDescriptor$12" /> <unit at="858,51,862,5" name="FORecursiveTypes.editor.GrammarActionsDescriptor$12" />
...@@ -159,6 +159,10 @@ ...@@ -159,6 +159,10 @@
<unit at="45,0,55,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_TypeVar$GrammarCellsSubstituteMenuPart_nasubc_a" /> <unit at="45,0,55,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_TypeVar$GrammarCellsSubstituteMenuPart_nasubc_a" />
<unit at="20,0,56,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_TypeVar" /> <unit at="20,0,56,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_TypeVar" />
</file> </file>
<file name="GrammarCellsSubstituteMenu_UnitTerm.java">
<unit at="45,0,55,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitTerm$GrammarCellsSubstituteMenuPart_f5wgwm_a" />
<unit at="20,0,56,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitTerm" />
</file>
<file name="GrammarCellsSubstituteMenu_UnitType.java"> <file name="GrammarCellsSubstituteMenu_UnitType.java">
<unit at="45,0,55,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType$GrammarCellsSubstituteMenuPart_f5woal_a" /> <unit at="45,0,55,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType$GrammarCellsSubstituteMenuPart_f5woal_a" />
<unit at="20,0,56,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType" /> <unit at="20,0,56,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType" />
...@@ -8000,5 +8004,48 @@ ...@@ -8000,5 +8004,48 @@
<unit id="8032141838602455031" at="48,0,544,0" name="FORecursiveTypes.editor.LetType_EditorBuilder_a" /> <unit id="8032141838602455031" at="48,0,544,0" name="FORecursiveTypes.editor.LetType_EditorBuilder_a" />
</file> </file>
</root> </root>
<root nodeRef="r:e04d5d3a-ed4c-4c4e-9fd2-08a19036ac61(FORecursiveTypes.editor)/8032141838602814370">
<file name="UnitTerm_Editor.java">
<node id="8032141838602814370" at="11,79,12,74" concept="8" />
<node id="8032141838602814370" at="11,0,14,0" concept="6" trace="createEditorCell#(Ljetbrains/mps/openapi/editor/EditorContext;Lorg/jetbrains/mps/openapi/model/SNode;)Ljetbrains/mps/openapi/editor/cells/EditorCell;" />
<scope id="8032141838602814370" at="11,79,12,74" />
<scope id="8032141838602814370" at="11,0,14,0">
<var name="editorContext" id="8032141838602814370" />
<var name="node" id="8032141838602814370" />
</scope>
<unit id="8032141838602814370" at="10,0,15,0" name="FORecursiveTypes.editor.UnitTerm_Editor" />
</file>
<file name="UnitTerm_EditorBuilder_a.java">
<node id="8032141838602814370" at="16,88,17,19" concept="11" />
<node id="8032141838602814370" at="17,19,18,18" concept="2" />
<node id="8032141838602814370" at="23,26,24,18" concept="8" />
<node id="8032141838602814370" at="27,39,28,30" concept="8" />
<node id="8032141838602814372" at="31,41,32,97" concept="7" />
<node id="8032141838602814372" at="32,97,33,46" concept="2" />
<node id="8032141838602814372" at="33,46,34,28" concept="2" />
<node id="8032141838602814372" at="34,28,35,31" concept="2" />
<node id="8032141838602814372" at="35,31,36,34" concept="2" />
<node id="8032141838602814372" at="36,34,37,22" concept="8" />
<node id="8032141838602814370" at="13,0,15,0" concept="3" trace="myNode" />
<node id="8032141838602814370" at="27,0,30,0" concept="6" trace="createCell#()Ljetbrains/mps/openapi/editor/cells/EditorCell;" />
<node id="8032141838602814370" at="16,0,20,0" concept="1" trace="UnitTerm_EditorBuilder_a#(Ljetbrains/mps/openapi/editor/EditorContext;Lorg/jetbrains/mps/openapi/model/SNode;)V" />
<node id="8032141838602814370" at="21,0,26,0" concept="6" trace="getNode#()Lorg/jetbrains/mps/openapi/model/SNode;" />
<node id="8032141838602814372" at="31,0,39,0" concept="6" trace="createConstant_0#()Ljetbrains/mps/openapi/editor/cells/EditorCell;" />
<scope id="8032141838602814370" at="23,26,24,18" />
<scope id="8032141838602814370" at="27,39,28,30" />
<scope id="8032141838602814370" at="16,88,18,18" />
<scope id="8032141838602814370" at="27,0,30,0" />
<scope id="8032141838602814370" at="16,0,20,0">
<var name="context" id="8032141838602814370" />
<var name="node" id="8032141838602814370" />
</scope>
<scope id="8032141838602814370" at="21,0,26,0" />
<scope id="8032141838602814372" at="31,41,37,22">
<var name="editorCell" id="8032141838602814372" />
</scope>
<scope id="8032141838602814372" at="31,0,39,0" />
<unit id="8032141838602814370" at="12,0,40,0" name="FORecursiveTypes.editor.UnitTerm_EditorBuilder_a" />
</file>
</root>
</debug-info> </debug-info>
...@@ -188,6 +188,7 @@ ...@@ -188,6 +188,7 @@
<classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_Term" /> <classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_Term" />
<classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_Type" /> <classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_Type" />
<classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_TypeVar" /> <classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_TypeVar" />
<classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitTerm" />
<classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType" /> <classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType" />
<classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_Var" /> <classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_Var" />
<classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_VariantType" /> <classNode dependClassName="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_VariantType" />
...@@ -208,6 +209,7 @@ ...@@ -208,6 +209,7 @@
<classNode dependClassName="FORecursiveTypes.editor.Succ_Editor" /> <classNode dependClassName="FORecursiveTypes.editor.Succ_Editor" />
<classNode dependClassName="FORecursiveTypes.editor.Tag_Editor" /> <classNode dependClassName="FORecursiveTypes.editor.Tag_Editor" />
<classNode dependClassName="FORecursiveTypes.editor.TypeVar_Editor" /> <classNode dependClassName="FORecursiveTypes.editor.TypeVar_Editor" />
<classNode dependClassName="FORecursiveTypes.editor.UnitTerm_Editor" />
<classNode dependClassName="FORecursiveTypes.editor.UnitType_Editor" /> <classNode dependClassName="FORecursiveTypes.editor.UnitType_Editor" />
<classNode dependClassName="FORecursiveTypes.editor.Var_Editor" /> <classNode dependClassName="FORecursiveTypes.editor.Var_Editor" />
<classNode dependClassName="FORecursiveTypes.editor.VariantTypeEntry_Editor" /> <classNode dependClassName="FORecursiveTypes.editor.VariantTypeEntry_Editor" />
...@@ -729,6 +731,23 @@ ...@@ -729,6 +731,23 @@
<classNode dependClassName="org.jetbrains.mps.openapi.persistence.PersistenceFacade" /> <classNode dependClassName="org.jetbrains.mps.openapi.persistence.PersistenceFacade" />
<classNode extendsClassName="jetbrains.mps.nodeEditor.menus.substitute.SubstituteMenuBase" /> <classNode extendsClassName="jetbrains.mps.nodeEditor.menus.substitute.SubstituteMenuBase" />
</dependency> </dependency>
<dependency className="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitTerm">
<classNode dependClassName="com.mbeddr.mpsutil.grammarcells.runtime.menu.GrammarCellsSubstituteMenuPart" />
<classNode dependClassName="java.lang.Override" />
<classNode dependClassName="java.util.ArrayList" />
<classNode dependClassName="java.util.List" />
<classNode dependClassName="jetbrains.mps.lang.editor.menus.EditorMenuDescriptorBase" />
<classNode dependClassName="jetbrains.mps.lang.editor.menus.MenuPart" />
<classNode dependClassName="jetbrains.mps.openapi.editor.menus.substitute.SubstituteMenuContext" />
<classNode dependClassName="jetbrains.mps.openapi.editor.menus.substitute.SubstituteMenuItem" />
<classNode dependClassName="jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory" />
<classNode dependClassName="org.jetbrains.annotations.NotNull" />
<classNode dependClassName="org.jetbrains.mps.openapi.language.SAbstractConcept" />
<classNode dependClassName="org.jetbrains.mps.openapi.module.SModule" />
<classNode dependClassName="org.jetbrains.mps.openapi.module.SRepository" />
<classNode dependClassName="org.jetbrains.mps.openapi.persistence.PersistenceFacade" />
<classNode extendsClassName="jetbrains.mps.nodeEditor.menus.substitute.SubstituteMenuBase" />
</dependency>
<dependency className="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType"> <dependency className="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType">
<classNode dependClassName="com.mbeddr.mpsutil.grammarcells.runtime.menu.GrammarCellsSubstituteMenuPart" /> <classNode dependClassName="com.mbeddr.mpsutil.grammarcells.runtime.menu.GrammarCellsSubstituteMenuPart" />
<classNode dependClassName="java.lang.Override" /> <classNode dependClassName="java.lang.Override" />
...@@ -1364,6 +1383,22 @@ ...@@ -1364,6 +1383,22 @@
<classNode dependClassName="org.jetbrains.mps.openapi.model.SNode" /> <classNode dependClassName="org.jetbrains.mps.openapi.model.SNode" />
<classNode extendsClassName="jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder" /> <classNode extendsClassName="jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder" />
</dependency> </dependency>
<dependency className="FORecursiveTypes.editor.UnitTerm_Editor">
<classNode dependClassName="FORecursiveTypes.editor.UnitTerm_EditorBuilder_a" />
<classNode dependClassName="jetbrains.mps.openapi.editor.EditorContext" />
<classNode dependClassName="jetbrains.mps.openapi.editor.cells.EditorCell" />
<classNode dependClassName="org.jetbrains.mps.openapi.model.SNode" />
<classNode extendsClassName="jetbrains.mps.nodeEditor.DefaultNodeEditor" />
</dependency>
<dependency className="FORecursiveTypes.editor.UnitTerm_EditorBuilder_a">
<classNode dependClassName="java.lang.Override" />
<classNode dependClassName="jetbrains.mps.nodeEditor.cells.EditorCell_Constant" />
<classNode dependClassName="jetbrains.mps.openapi.editor.EditorContext" />
<classNode dependClassName="jetbrains.mps.openapi.editor.cells.EditorCell" />
<classNode dependClassName="org.jetbrains.annotations.NotNull" />
<classNode dependClassName="org.jetbrains.mps.openapi.model.SNode" />
<classNode extendsClassName="jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder" />
</dependency>
<dependency className="FORecursiveTypes.editor.UnitType_Editor"> <dependency className="FORecursiveTypes.editor.UnitType_Editor">
<classNode dependClassName="FORecursiveTypes.editor.UnitType_EditorBuilder_a" /> <classNode dependClassName="FORecursiveTypes.editor.UnitType_EditorBuilder_a" />
<classNode dependClassName="jetbrains.mps.openapi.editor.EditorContext" /> <classNode dependClassName="jetbrains.mps.openapi.editor.EditorContext" />
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<product version="3" modelHash="-9vtg9kfobzqpccbxgyce9wo7u4wxt0f"> <product version="3" modelHash="7ee9xvnhord90wp8apfuhkscgg6hmao">
<files names="Add_Editor.java:Add_EditorBuilder_a.java:Anno_Editor.java:Anno_EditorBuilder_a.java:App_Editor.java:App_EditorBuilder_a.java:Case_Editor.java:Case_EditorBuilder_a.java:EditorAspectDescriptorImpl.java:Fun_Editor.java:Fun_EditorBuilder_a.java:GrammarActionsDescriptor.java:GrammarCellsSubstituteMenu_Add.java:GrammarCellsSubstituteMenu_Anno.java:GrammarCellsSubstituteMenu_App.java:GrammarCellsSubstituteMenu_Case.java:GrammarCellsSubstituteMenu_Fun.java:GrammarCellsSubstituteMenu_IModuleElem.java:GrammarCellsSubstituteMenu_Lam.java:GrammarCellsSubstituteMenu_Let.java:GrammarCellsSubstituteMenu_LetType.java:GrammarCellsSubstituteMenu_Match.java:GrammarCellsSubstituteMenu_Module.java:GrammarCellsSubstituteMenu_ModuleElemDef.java:GrammarCellsSubstituteMenu_ModuleElemEmpty.java:GrammarCellsSubstituteMenu_ModuleImport.java:GrammarCellsSubstituteMenu_Mult.java:GrammarCellsSubstituteMenu_Nat.java:GrammarCellsSubstituteMenu_ParensTerm.java:GrammarCellsSubstituteMenu_ParensType.java:GrammarCellsSubstituteMenu_Succ.java:GrammarCellsSubstituteMenu_Tag.java:GrammarCellsSubstituteMenu_Term.java:GrammarCellsSubstituteMenu_Type.java:GrammarCellsSubstituteMenu_TypeVar.java:GrammarCellsSubstituteMenu_UnitType.java:GrammarCellsSubstituteMenu_Var.java:GrammarCellsSubstituteMenu_VariantType.java:GrammarCellsSubstituteMenu_VariantTypeEntry.java:GrammarCellsSubstituteMenu_Zero.java:Lam_Editor.java:Lam_EditorBuilder_a.java:LetType_Editor.java:LetType_EditorBuilder_a.java:Let_Editor.java:Let_EditorBuilder_a.java:Match_Editor.java:Match_EditorBuilder_a.java:ModuleElemDef_Editor.java:ModuleElemDef_EditorBuilder_a.java:ModuleElemEmpty_SubstituteMenu.java:ModuleImport_Editor.java:ModuleImport_EditorBuilder_a.java:Module_Editor.java:Module_EditorBuilder_a.java:Mult_Editor.java:Mult_EditorBuilder_a.java:Nat_Editor.java:Nat_EditorBuilder_a.java:ParensTerm_Editor.java:ParensTerm_EditorBuilder_a.java:ParensType_Editor.java:ParensType_EditorBuilder_a.java:Succ_Editor.java:Succ_EditorBuilder_a.java:Tag_Editor.java:Tag_EditorBuilder_a.java:TypeVar_Editor.java:TypeVar_EditorBuilder_a.java:UnitType_Editor.java:UnitType_EditorBuilder_a.java:Var_Editor.java:Var_EditorBuilder_a.java:VariantTypeEntry_Editor.java:VariantTypeEntry_EditorBuilder_a.java:VariantType_Editor.java:VariantType_EditorBuilder_a.java:Zero_Editor.java:Zero_EditorBuilder_a.java:template_GrammarCellsSideTransformationsMenu.java" /> <files names="Add_Editor.java:Add_EditorBuilder_a.java:Anno_Editor.java:Anno_EditorBuilder_a.java:App_Editor.java:App_EditorBuilder_a.java:Case_Editor.java:Case_EditorBuilder_a.java:EditorAspectDescriptorImpl.java:Fun_Editor.java:Fun_EditorBuilder_a.java:GrammarActionsDescriptor.java:GrammarCellsSubstituteMenu_Add.java:GrammarCellsSubstituteMenu_Anno.java:GrammarCellsSubstituteMenu_App.java:GrammarCellsSubstituteMenu_Case.java:GrammarCellsSubstituteMenu_Fun.java:GrammarCellsSubstituteMenu_IModuleElem.java:GrammarCellsSubstituteMenu_Lam.java:GrammarCellsSubstituteMenu_Let.java:GrammarCellsSubstituteMenu_LetType.java:GrammarCellsSubstituteMenu_Match.java:GrammarCellsSubstituteMenu_Module.java:GrammarCellsSubstituteMenu_ModuleElemDef.java:GrammarCellsSubstituteMenu_ModuleElemEmpty.java:GrammarCellsSubstituteMenu_ModuleImport.java:GrammarCellsSubstituteMenu_Mult.java:GrammarCellsSubstituteMenu_Nat.java:GrammarCellsSubstituteMenu_ParensTerm.java:GrammarCellsSubstituteMenu_ParensType.java:GrammarCellsSubstituteMenu_Succ.java:GrammarCellsSubstituteMenu_Tag.java:GrammarCellsSubstituteMenu_Term.java:GrammarCellsSubstituteMenu_Type.java:GrammarCellsSubstituteMenu_TypeVar.java:GrammarCellsSubstituteMenu_UnitTerm.java:GrammarCellsSubstituteMenu_UnitType.java:GrammarCellsSubstituteMenu_Var.java:GrammarCellsSubstituteMenu_VariantType.java:GrammarCellsSubstituteMenu_VariantTypeEntry.java:GrammarCellsSubstituteMenu_Zero.java:Lam_Editor.java:Lam_EditorBuilder_a.java:LetType_Editor.java:LetType_EditorBuilder_a.java:Let_Editor.java:Let_EditorBuilder_a.java:Match_Editor.java:Match_EditorBuilder_a.java:ModuleElemDef_Editor.java:ModuleElemDef_EditorBuilder_a.java:ModuleElemEmpty_SubstituteMenu.java:ModuleImport_Editor.java:ModuleImport_EditorBuilder_a.java:Module_Editor.java:Module_EditorBuilder_a.java:Mult_Editor.java:Mult_EditorBuilder_a.java:Nat_Editor.java:Nat_EditorBuilder_a.java:ParensTerm_Editor.java:ParensTerm_EditorBuilder_a.java:ParensType_Editor.java:ParensType_EditorBuilder_a.java:Succ_Editor.java:Succ_EditorBuilder_a.java:Tag_Editor.java:Tag_EditorBuilder_a.java:TypeVar_Editor.java:TypeVar_EditorBuilder_a.java:UnitTerm_Editor.java:UnitTerm_EditorBuilder_a.java:UnitType_Editor.java:UnitType_EditorBuilder_a.java:Var_Editor.java:Var_EditorBuilder_a.java:VariantTypeEntry_Editor.java:VariantTypeEntry_EditorBuilder_a.java:VariantType_Editor.java:VariantType_EditorBuilder_a.java:Zero_Editor.java:Zero_EditorBuilder_a.java:template_GrammarCellsSideTransformationsMenu.java" />
</product> </product>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<product version="3" modelHash="e70j5gmxiye4aart33v3pnd50wns9wk"> <product version="3" modelHash="-aiary2y1quar5v7z08gm245a1yjju6j">
<files names="Language.java" /> <files names="Language.java" />
</product> </product>
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<product version="3" modelHash="-53ensqckq49c0wc9ne5czqhxmtcmbkt"> <product version="3" modelHash="-b8duzatn7b155dta7d00w0hjek1eikt">
<files names="ConceptPresentationAspectImpl.java:LanguageConceptSwitch.java:StructureAspectDescriptor.java" /> <files names="ConceptPresentationAspectImpl.java:LanguageConceptSwitch.java:StructureAspectDescriptor.java" />
</product> </product>
...@@ -59,14 +59,16 @@ public class EditorAspectDescriptorImpl extends EditorAspectDescriptorBase { ...@@ -59,14 +59,16 @@ public class EditorAspectDescriptorImpl extends EditorAspectDescriptorBase {
case 18: case 18:
return Collections.<ConceptEditor>singletonList(new TypeVar_Editor()); return Collections.<ConceptEditor>singletonList(new TypeVar_Editor());
case 19: case 19:
return Collections.<ConceptEditor>singletonList(new UnitType_Editor()); return Collections.<ConceptEditor>singletonList(new UnitTerm_Editor());
case 20: case 20:
return Collections.<ConceptEditor>singletonList(new Var_Editor()); return Collections.<ConceptEditor>singletonList(new UnitType_Editor());
case 21: case 21:
return Collections.<ConceptEditor>singletonList(new VariantType_Editor()); return Collections.<ConceptEditor>singletonList(new Var_Editor());
case 22: case 22:
return Collections.<ConceptEditor>singletonList(new VariantTypeEntry_Editor()); return Collections.<ConceptEditor>singletonList(new VariantType_Editor());
case 23: case 23:
return Collections.<ConceptEditor>singletonList(new VariantTypeEntry_Editor());
case 24:
return Collections.<ConceptEditor>singletonList(new Zero_Editor()); return Collections.<ConceptEditor>singletonList(new Zero_Editor());
default: default:
} }
...@@ -137,21 +139,23 @@ public class EditorAspectDescriptorImpl extends EditorAspectDescriptorBase { ...@@ -137,21 +139,23 @@ public class EditorAspectDescriptorImpl extends EditorAspectDescriptorBase {
case 22: case 22:
return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_TypeVar()); return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_TypeVar());
case 23: case 23:
return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_UnitType()); return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_UnitTerm());
case 24: case 24:
return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_Var()); return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_UnitType());
case 25: case 25:
return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_VariantType()); return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_Var());
case 26: case 26:
return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_VariantTypeEntry()); return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_VariantType());
case 27: case 27:
return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_VariantTypeEntry());
case 28:
return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_Zero()); return Collections.<SubstituteMenu>singletonList(new GrammarCellsSubstituteMenu_Zero());
default: default:
} }
return Collections.<SubstituteMenu>emptyList(); return Collections.<SubstituteMenu>emptyList();
} }
private static final ConceptSwitchIndex conceptIndex = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9302L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb937fL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb936bL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f721L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9390L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9322L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb933aL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6f77e6723373c7bfL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f61cL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x505c3e530010046cL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c94d790bL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c94d78b7L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9312L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93ecL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93f1L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93faL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92d7L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f573L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1bed4182f53cde9eL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1bed4182f53cde79L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92e0L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1fd8e2cf9df802c6L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1fd8e2cf9df802cfL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92d2L)).seal(); private static final ConceptSwitchIndex conceptIndex = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9302L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb937fL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb936bL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f721L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9390L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9322L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb933aL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6f77e6723373c7bfL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f61cL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x505c3e530010046cL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c94d790bL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c94d78b7L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9312L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93ecL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93f1L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93faL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92d7L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f573L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1bed4182f53cde9eL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6f77e67233794384L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1bed4182f53cde79L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92e0L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1fd8e2cf9df802c6L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1fd8e2cf9df802cfL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92d2L)).seal();
private static final ConceptSwitchIndex conceptIndex1 = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x10802efe25aL)).seal(); private static final ConceptSwitchIndex conceptIndex1 = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x10802efe25aL)).seal();
private static final ConceptSwitchIndex conceptIndex2 = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9302L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb937fL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb936bL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f721L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9390L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c953ef86L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9322L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb933aL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6f77e6723373c7bfL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f61cL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x505c3e530010046cL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c94d790bL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c91f3ab7L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c94d78b7L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9312L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93ecL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93f1L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93faL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92d7L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f573L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92d1L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb938fL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1bed4182f53cde9eL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1bed4182f53cde79L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92e0L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1fd8e2cf9df802c6L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1fd8e2cf9df802cfL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92d2L)).seal(); private static final ConceptSwitchIndex conceptIndex2 = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9302L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb937fL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb936bL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f721L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9390L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c953ef86L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9322L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb933aL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6f77e6723373c7bfL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f61cL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x505c3e530010046cL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c94d790bL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c91f3ab7L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6efbff39c94d78b7L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb9312L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93ecL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93f1L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb93faL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92d7L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x9229981a3b8f573L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92d1L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb938fL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1bed4182f53cde9eL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6f77e67233794384L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1bed4182f53cde79L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92e0L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1fd8e2cf9df802c6L), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1fd8e2cf9df802cfL), MetaIdFactory.conceptId(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x1a4a252762eb92d2L)).seal();
} }
package FORecursiveTypes.editor;
/*Generated by MPS */
import jetbrains.mps.nodeEditor.menus.substitute.SubstituteMenuBase;
import org.jetbrains.annotations.NotNull;
import java.util.List;
import jetbrains.mps.lang.editor.menus.MenuPart;
import jetbrains.mps.openapi.editor.menus.substitute.SubstituteMenuItem;
import jetbrains.mps.openapi.editor.menus.substitute.SubstituteMenuContext;
import java.util.ArrayList;
import jetbrains.mps.lang.editor.menus.EditorMenuDescriptorBase;
import com.mbeddr.mpsutil.grammarcells.runtime.menu.GrammarCellsSubstituteMenuPart;
import org.jetbrains.mps.openapi.module.SModule;
import org.jetbrains.mps.openapi.module.SRepository;
import org.jetbrains.mps.openapi.persistence.PersistenceFacade;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
public class GrammarCellsSubstituteMenu_UnitTerm extends SubstituteMenuBase {
public GrammarCellsSubstituteMenu_UnitTerm() {
super(true);
}
@NotNull
@Override
protected List<MenuPart<SubstituteMenuItem, SubstituteMenuContext>> getParts(final SubstituteMenuContext _context) {
List<MenuPart<SubstituteMenuItem, SubstituteMenuContext>> result = new ArrayList<MenuPart<SubstituteMenuItem, SubstituteMenuContext>>();
result.add(new GrammarCellsSubstituteMenu_UnitTerm.GrammarCellsSubstituteMenuPart_f5wgwm_a());
return result;
}
@NotNull
@Override
public List<SubstituteMenuItem> createMenuItems(@NotNull SubstituteMenuContext context) {
context.getEditorMenuTrace().pushTraceInfo();
context.getEditorMenuTrace().setDescriptor(new EditorMenuDescriptorBase("contribution to the " + "default substitute menu for " + "UnitTerm", null));
try {
return super.createMenuItems(context);
} finally {
context.getEditorMenuTrace().popTraceInfo();
}
}
private class GrammarCellsSubstituteMenuPart_f5wgwm_a extends GrammarCellsSubstituteMenuPart {
@Override
public SModule getModule(SRepository repository) {
return PersistenceFacade.getInstance().createModuleReference("83519d5a-e8d8-40b1-b958-7bbbda82ff24(FORecursiveTypes)").resolve(repository);
}
@Override
public SAbstractConcept getExpectedOutputConcept() {
return MetaAdapterFactory.getConcept(0x83519d5ae8d840b1L, 0xb9587bbbda82ff24L, 0x6f77e67233794384L, "FORecursiveTypes.structure.UnitTerm");
}
}
}
package FORecursiveTypes.editor;
/*Generated by MPS */
import jetbrains.mps.nodeEditor.DefaultNodeEditor;
import jetbrains.mps.openapi.editor.cells.EditorCell;
import jetbrains.mps.openapi.editor.EditorContext;
import org.jetbrains.mps.openapi.model.SNode;
public class UnitTerm_Editor extends DefaultNodeEditor {
public EditorCell createEditorCell(EditorContext editorContext, SNode node) {
return new UnitTerm_EditorBuilder_a(editorContext, node).createCell();
}
}
package FORecursiveTypes.editor;
/*Generated by MPS */
import jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.openapi.editor.EditorContext;
import jetbrains.mps.openapi.editor.cells.EditorCell;
import jetbrains.mps.nodeEditor.cells.EditorCell_Constant;
/*package*/ class UnitTerm_EditorBuilder_a extends AbstractEditorBuilder {
@NotNull
private SNode myNode;
public UnitTerm_EditorBuilder_a(@NotNull EditorContext context, @NotNull SNode node) {
super(context);
myNode = node;
}
@NotNull
@Override
public SNode getNode() {
return myNode;
}
/*package*/ EditorCell createCell() {
return createConstant_0();
}
private EditorCell createConstant_0() {
EditorCell_Constant editorCell = new EditorCell_Constant(getEditorContext(), myNode, "unit");
editorCell.setCellId("Constant_sj0f9a_a");
editorCell.setBig(true);
setCellContext(editorCell);
editorCell.setDefaultText("");
return editorCell;
}
}
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1153952380246:jetbrains.mps.baseLanguage.structure.TryStatement" /> <concept fqn="c:f3061a53-9226-4cc5-a443-f952ceaf5816/1153952380246:jetbrains.mps.baseLanguage.structure.TryStatement" />
<root> <root>
<file name="EditorAspectDescriptorImpl.java"> <file name="EditorAspectDescriptorImpl.java">
<unit at="18,0,158,0" name="FORecursiveTypes.editor.EditorAspectDescriptorImpl" /> <unit at="18,0,162,0" name="FORecursiveTypes.editor.EditorAspectDescriptorImpl" />
</file> </file>
<file name="GrammarActionsDescriptor.java"> <file name="GrammarActionsDescriptor.java">
<unit at="858,51,862,5" name="FORecursiveTypes.editor.GrammarActionsDescriptor$12" /> <unit at="858,51,862,5" name="FORecursiveTypes.editor.GrammarActionsDescriptor$12" />
...@@ -159,6 +159,10 @@ ...@@ -159,6 +159,10 @@
<unit at="45,0,55,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_TypeVar$GrammarCellsSubstituteMenuPart_nasubc_a" /> <unit at="45,0,55,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_TypeVar$GrammarCellsSubstituteMenuPart_nasubc_a" />
<unit at="20,0,56,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_TypeVar" /> <unit at="20,0,56,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_TypeVar" />
</file> </file>
<file name="GrammarCellsSubstituteMenu_UnitTerm.java">
<unit at="45,0,55,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitTerm$GrammarCellsSubstituteMenuPart_f5wgwm_a" />
<unit at="20,0,56,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitTerm" />
</file>
<file name="GrammarCellsSubstituteMenu_UnitType.java"> <file name="GrammarCellsSubstituteMenu_UnitType.java">
<unit at="45,0,55,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType$GrammarCellsSubstituteMenuPart_f5woal_a" /> <unit at="45,0,55,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType$GrammarCellsSubstituteMenuPart_f5woal_a" />
<unit at="20,0,56,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType" /> <unit at="20,0,56,0" name="FORecursiveTypes.editor.GrammarCellsSubstituteMenu_UnitType" />
...@@ -8000,5 +8004,48 @@ ...@@ -8000,5 +8004,48 @@
<unit id="8032141838602455031" at="48,0,544,0" name="FORecursiveTypes.editor.LetType_EditorBuilder_a" /> <unit id="8032141838602455031" at="48,0,544,0" name="FORecursiveTypes.editor.LetType_EditorBuilder_a" />
</file> </file>
</root> </root>
<root nodeRef="r:e04d5d3a-ed4c-4c4e-9fd2-08a19036ac61(FORecursiveTypes.editor)/8032141838602814370">
<file name="UnitTerm_Editor.java">
<node id="8032141838602814370" at="11,79,12,74" concept="8" />
<node id="8032141838602814370" at="11,0,14,0" concept="6" trace="createEditorCell#(Ljetbrains/mps/openapi/editor/EditorContext;Lorg/jetbrains/mps/openapi/model/SNode;)Ljetbrains/mps/openapi/editor/cells/EditorCell;" />
<scope id="8032141838602814370" at="11,79,12,74" />
<scope id="8032141838602814370" at="11,0,14,0">
<var name="editorContext" id="8032141838602814370" />
<var name="node" id="8032141838602814370" />
</scope>
<unit id="8032141838602814370" at="10,0,15,0" name="FORecursiveTypes.editor.UnitTerm_Editor" />
</file>
<file name="UnitTerm_EditorBuilder_a.java">
<node id="8032141838602814370" at="16,88,17,19" concept="11" />
<node id="8032141838602814370" at="17,19,18,18" concept="2" />
<node id="8032141838602814370" at="23,26,24,18" concept="8" />
<node id="8032141838602814370" at="27,39,28,30" concept="8" />
<node id="8032141838602814372" at="31,41,32,97" concept="7" />
<node id="8032141838602814372" at="32,97,33,46" concept="2" />
<node id="8032141838602814372" at="33,46,34,28" concept="2" />
<node id="8032141838602814372" at="34,28,35,31" concept="2" />
<node id="8032141838602814372" at="35,31,36,34" concept="2" />
<node id="8032141838602814372" at="36,34,37,22" concept="8" />
<node id="8032141838602814370" at="13,0,15,0" concept="3" trace="myNode" />
<node id="8032141838602814370" at="27,0,30,0" concept="6" trace="createCell#()Ljetbrains/mps/openapi/editor/cells/EditorCell;" />
<node id="8032141838602814370" at="16,0,20,0" concept="1" trace="UnitTerm_EditorBuilder_a#(Ljetbrains/mps/openapi/editor/EditorContext;Lorg/jetbrains/mps/openapi/model/SNode;)V" />
<node id="8032141838602814370" at="21,0,26,0" concept="6" trace="getNode#()Lorg/jetbrains/mps/openapi/model/SNode;" />
<node id="8032141838602814372" at="31,0,39,0" concept="6" trace="createConstant_0#()Ljetbrains/mps/openapi/editor/cells/EditorCell;" />
<scope id="8032141838602814370" at="23,26,24,18" />
<scope id="8032141838602814370" at="27,39,28,30" />
<scope id="8032141838602814370" at="16,88,18,18" />
<scope id="8032141838602814370" at="27,0,30,0" />
<scope id="8032141838602814370" at="16,0,20,0">
<var name="context" id="8032141838602814370" />
<var name="node" id="8032141838602814370" />
</scope>
<scope id="8032141838602814370" at="21,0,26,0" />
<scope id="8032141838602814372" at="31,41,37,22">
<var name="editorCell" id="8032141838602814372" />
</scope>
<scope id="8032141838602814372" at="31,0,39,0" />
<unit id="8032141838602814370" at="12,0,40,0" name="FORecursiveTypes.editor.UnitTerm_EditorBuilder_a" />
</file>
</root>
</debug-info> </debug-info>
...@@ -32,6 +32,7 @@ public class ConceptPresentationAspectImpl extends ConceptPresentationAspectBase ...@@ -32,6 +32,7 @@ public class ConceptPresentationAspectImpl extends ConceptPresentationAspectBase
private ConceptPresentation props_Term; private ConceptPresentation props_Term;
private ConceptPresentation props_Type; private ConceptPresentation props_Type;
private ConceptPresentation props_TypeVar; private ConceptPresentation props_TypeVar;
private ConceptPresentation props_UnitTerm;
private ConceptPresentation props_UnitType; private ConceptPresentation props_UnitType;
private ConceptPresentation props_Var; private ConceptPresentation props_Var;
private ConceptPresentation props_VariantType; private ConceptPresentation props_VariantType;
...@@ -201,6 +202,13 @@ public class ConceptPresentationAspectImpl extends ConceptPresentationAspectBase ...@@ -201,6 +202,13 @@ public class ConceptPresentationAspectImpl extends ConceptPresentationAspectBase
props_TypeVar = cpb.create(); props_TypeVar = cpb.create();
} }
return props_TypeVar; return props_TypeVar;
case LanguageConceptSwitch.UnitTerm:
if (props_UnitTerm == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("UnitTerm");
props_UnitTerm = cpb.create();
}
return props_UnitTerm;
case LanguageConceptSwitch.UnitType: case LanguageConceptSwitch.UnitType:
if (props_UnitType == null) { if (props_UnitType == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder(); ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
......
...@@ -32,11 +32,12 @@ public final class LanguageConceptSwitch { ...@@ -32,11 +32,12 @@ public final class LanguageConceptSwitch {
public static final int Term = 20; public static final int Term = 20;
public static final int Type = 21; public static final int Type = 21;
public static final int TypeVar = 22; public static final int TypeVar = 22;
public static final int UnitType = 23; public static final int UnitTerm = 23;
public static final int Var = 24; public static final int UnitType = 24;
public static final int VariantType = 25; public static final int Var = 25;
public static final int VariantTypeEntry = 26; public static final int VariantType = 26;
public static final int Zero = 27; public static final int VariantTypeEntry = 27;