Skip to content

Commit

Permalink
Added repeated ref type rule. Cleaned the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelpg committed Nov 19, 2020
1 parent a376a1e commit 7fbb391
Show file tree
Hide file tree
Showing 6 changed files with 351 additions and 422 deletions.
67 changes: 0 additions & 67 deletions languages/Component/models/behavior.mps
Original file line number Diff line number Diff line change
Expand Up @@ -3700,72 +3700,5 @@
</node>
</node>
</node>
<node concept="13h7C7" id="4ZG2dyAW11D">
<property role="3GE5qa" value="References" />
<ref role="13h7C2" to="l1zz:64jCRrVjJGi" resolve="SourceRef" />
<node concept="13hLZK" id="4ZG2dyAW11E" role="13h7CW">
<node concept="3clFbS" id="4ZG2dyAW11F" role="2VODD2" />
</node>
</node>
<node concept="13h7C7" id="4ZG2dyAW1bF">
<property role="3GE5qa" value="References" />
<ref role="13h7C2" to="l1zz:64jCRrVjJGl" resolve="TargetRef" />
<node concept="13hLZK" id="4ZG2dyAW1bG" role="13h7CW">
<node concept="3clFbS" id="4ZG2dyAW1bH" role="2VODD2" />
</node>
</node>
<node concept="13h7C7" id="7xTfi9HWCQi">
<ref role="13h7C2" to="l1zz:1u89nBaZcNs" resolve="Connection" />
<node concept="1X3_iC" id="7xTfi9IjudV" role="lGtFl">
<property role="3V$3am" value="method" />
<property role="3V$3ak" value="af65afd8-f0dd-4942-87d9-63a55f2a9db1/1225194240794/1225194240805" />
<node concept="13i0hz" id="7xTfi9IhNqG" role="8Wnug">
<property role="13i0it" value="true" />
<property role="TrG5h" value="getScope" />
<ref role="13i0hy" to="tpcu:52_Geb4QDV$" resolve="getScope" />
<node concept="3clFbS" id="7xTfi9IhNqJ" role="3clF47">
<node concept="2xdQw9" id="7xTfi9IhNsv" role="3cqZAp">
<property role="2xdLsb" value="h1akgim/info" />
<node concept="3cpWs3" id="7xTfi9IhO4b" role="9lYJi">
<node concept="37vLTw" id="7xTfi9IhO9i" role="3uHU7w">
<ref role="3cqZAo" node="7xTfi9IhNs9" resolve="child" />
</node>
<node concept="3cpWs3" id="7xTfi9IhO3g" role="3uHU7B">
<node concept="3cpWs3" id="7xTfi9IhNUH" role="3uHU7B">
<node concept="Xl_RD" id="7xTfi9IhNBT" role="3uHU7B">
<property role="Xl_RC" value="Connection scope" />
</node>
<node concept="37vLTw" id="7xTfi9IhNVb" role="3uHU7w">
<ref role="3cqZAo" node="7xTfi9IhNs7" resolve="kind" />
</node>
</node>
<node concept="Xl_RD" id="7xTfi9IhO3j" role="3uHU7w">
<property role="Xl_RC" value=" " />
</node>
</node>
</node>
</node>
<node concept="3cpWs6" id="7xTfi9IhOav" role="3cqZAp">
<node concept="iy90A" id="7xTfi9IhObn" role="3cqZAk" />
</node>
</node>
<node concept="37vLTG" id="7xTfi9IhNs7" role="3clF46">
<property role="TrG5h" value="kind" />
<node concept="3bZ5Sz" id="7xTfi9IhNs8" role="1tU5fm" />
</node>
<node concept="37vLTG" id="7xTfi9IhNs9" role="3clF46">
<property role="TrG5h" value="child" />
<node concept="3Tqbb2" id="7xTfi9IhNsa" role="1tU5fm" />
</node>
<node concept="3uibUv" id="7xTfi9IhNsb" role="3clF45">
<ref role="3uigEE" to="o8zo:3fifI_xCtN$" resolve="Scope" />
</node>
<node concept="3Tm1VV" id="7xTfi9IhNsc" role="1B3o_S" />
</node>
</node>
<node concept="13hLZK" id="7xTfi9HWCQj" role="13h7CW">
<node concept="3clFbS" id="7xTfi9HWCQk" role="2VODD2" />
</node>
</node>
</model>

176 changes: 0 additions & 176 deletions languages/Component/models/constraints.mps
Original file line number Diff line number Diff line change
Expand Up @@ -111,21 +111,17 @@
<child id="1178549979242" name="visibility" index="1B3o_S" />
</concept>
<concept id="1146644602865" name="jetbrains.mps.baseLanguage.structure.PublicVisibility" flags="nn" index="3Tm1VV" />
<concept id="1080120340718" name="jetbrains.mps.baseLanguage.structure.AndExpression" flags="nn" index="1Wc70l" />
<concept id="1170345865475" name="jetbrains.mps.baseLanguage.structure.AnonymousClass" flags="ig" index="1Y3b0j">
<reference id="1170346070688" name="classifier" index="1Y3XeK" />
</concept>
</language>
<language id="3f4bc5f5-c6c1-4a28-8b10-c83066ffa4a1" name="jetbrains.mps.lang.constraints">
<concept id="6702802731807420587" name="jetbrains.mps.lang.constraints.structure.ConstraintFunction_CanBeAParent" flags="ig" index="9SLcT" />
<concept id="8966504967485224688" name="jetbrains.mps.lang.constraints.structure.ConstraintFunctionParameter_contextNode" flags="nn" index="2rP1CM" />
<concept id="4303308395523343364" name="jetbrains.mps.lang.constraints.structure.ConstraintFunctionParameter_link" flags="ng" index="2DA6wF" />
<concept id="1147467115080" name="jetbrains.mps.lang.constraints.structure.NodePropertyConstraint" flags="ng" index="EnEH3">
<reference id="1147467295099" name="applicableProperty" index="EomxK" />
<child id="1152963095733" name="propertySetter" index="1LXaQT" />
</concept>
<concept id="1147468365020" name="jetbrains.mps.lang.constraints.structure.ConstraintsFunctionParameter_node" flags="nn" index="EsrRn" />
<concept id="6738154313879680265" name="jetbrains.mps.lang.constraints.structure.ConstraintFunctionParameter_childNode" flags="nn" index="2H4GUG" />
<concept id="5564765827938091039" name="jetbrains.mps.lang.constraints.structure.ConstraintFunction_ReferentSearchScope_Scope" flags="ig" index="3dgokm" />
<concept id="8401916545537438642" name="jetbrains.mps.lang.constraints.structure.InheritedNodeScopeFactory" flags="ng" index="1dDu$B">
<reference id="8401916545537438643" name="kind" index="1dDu$A" />
Expand All @@ -142,12 +138,6 @@
</concept>
<concept id="1153138554286" name="jetbrains.mps.lang.constraints.structure.ConstraintsFunctionParameter_propertyValue" flags="nn" index="1Wqviy" />
</language>
<language id="760a0a8c-eabb-4521-8bfd-65db761a9ba3" name="jetbrains.mps.baseLanguage.logging">
<concept id="6332851714983831325" name="jetbrains.mps.baseLanguage.logging.structure.MsgStatement" flags="ng" index="2xdQw9">
<property id="6332851714983843871" name="severity" index="2xdLsb" />
<child id="5721587534047265374" name="message" index="9lYJi" />
</concept>
</language>
<language id="7866978e-a0f0-4cc7-81bc-4d213d9375e1" name="jetbrains.mps.lang.smodel">
<concept id="1177026924588" name="jetbrains.mps.lang.smodel.structure.RefConcept_Reference" flags="nn" index="chp4Y">
<reference id="1177026940964" name="conceptDeclaration" index="cht4Q" />
Expand Down Expand Up @@ -199,18 +189,10 @@
<language id="ceab5195-25ea-4f22-9b92-103b95ca8c0c" name="jetbrains.mps.lang.core">
<concept id="1133920641626" name="jetbrains.mps.lang.core.structure.BaseConcept" flags="ng" index="2VYdi">
<property id="1193676396447" name="virtualPackage" index="3GE5qa" />
<child id="5169995583184591170" name="smodelAttribute" index="lGtFl" />
</concept>
<concept id="1169194658468" name="jetbrains.mps.lang.core.structure.INamedConcept" flags="ng" index="TrEIO">
<property id="1169194664001" name="name" index="TrG5h" />
</concept>
<concept id="709746936026466394" name="jetbrains.mps.lang.core.structure.ChildAttribute" flags="ng" index="3VBwX9">
<property id="709746936026609031" name="linkId" index="3V$3ak" />
<property id="709746936026609029" name="role_DebugInfo" index="3V$3am" />
</concept>
<concept id="4452961908202556907" name="jetbrains.mps.lang.core.structure.BaseCommentAttribute" flags="ng" index="1X3_iC">
<child id="3078666699043039389" name="commentedNode" index="8Wnug" />
</concept>
</language>
<language id="83888646-71ce-4f1c-9c53-c54016f6ad4f" name="jetbrains.mps.baseLanguage.collections">
<concept id="1153943597977" name="jetbrains.mps.baseLanguage.collections.structure.ForEachStatement" flags="nn" index="2Gpval">
Expand Down Expand Up @@ -367,9 +349,6 @@
</node>
</node>
</node>
<node concept="1M2fIO" id="4lyQvwNTnWv">
<ref role="1M2myG" to="l1zz:1u89nBaZcNr" resolve="System" />
</node>
<node concept="1M2fIO" id="kJuU8rAM0Y">
<property role="3GE5qa" value="Instances" />
<ref role="1M2myG" to="l1zz:5g8KHvCW0FH" resolve="ComponentInst" />
Expand Down Expand Up @@ -479,157 +458,6 @@
</node>
</node>
</node>
<node concept="1M2fIO" id="344rOAF7g59">
<ref role="1M2myG" to="l1zz:1u89nBaZcNs" resolve="Connection" />
<node concept="1X3_iC" id="7xTfi9IIfZN" role="lGtFl">
<property role="3V$3am" value="canBeParent" />
<property role="3V$3ak" value="3f4bc5f5-c6c1-4a28-8b10-c83066ffa4a1/1213093968558/6702802731807532712" />
<node concept="9SLcT" id="7xTfi9I_OGC" role="8Wnug">
<node concept="3clFbS" id="7xTfi9I_OGD" role="2VODD2">
<node concept="3cpWs8" id="7xTfi9IEVBV" role="3cqZAp">
<node concept="3cpWsn" id="7xTfi9IEVBW" role="3cpWs9">
<property role="TrG5h" value="result" />
<node concept="10P_77" id="7xTfi9IEVBU" role="1tU5fm" />
<node concept="22lmx$" id="7xTfi9IDheG" role="33vP2m">
<node concept="1eOMI4" id="7xTfi9IDi33" role="3uHU7w">
<node concept="1Wc70l" id="7xTfi9IDjgz" role="1eOMHV">
<node concept="2OqwBi" id="7xTfi9IDkLD" role="3uHU7w">
<node concept="2OqwBi" id="7xTfi9IDjYv" role="2Oq$k0">
<node concept="1PxgMI" id="7xTfi9IDjIe" role="2Oq$k0">
<node concept="chp4Y" id="7xTfi9IDjO6" role="3oSUPX">
<ref role="cht4Q" to="l1zz:30W4IWrNIUo" resolve="IPortRef" />
</node>
<node concept="2H4GUG" id="7xTfi9IDj$f" role="1m5AlR" />
</node>
<node concept="3TrEf2" id="7xTfi9IDkbo" role="2OqNvi">
<ref role="3Tt5mk" to="l1zz:30W4IWrNIUp" resolve="port" />
</node>
</node>
<node concept="1mIQ4w" id="7xTfi9IDl2_" role="2OqNvi">
<node concept="chp4Y" id="7xTfi9IDl8D" role="cj9EA">
<ref role="cht4Q" to="l1zz:1u89nBaZcNt" resolve="InputPort" />
</node>
</node>
</node>
<node concept="2OqwBi" id="7xTfi9IDiz2" role="3uHU7B">
<node concept="2OqwBi" id="7xTfi9IDlzE" role="2Oq$k0">
<node concept="2DA6wF" id="7xTfi9IDi8a" role="2Oq$k0" />
<node concept="liA8E" id="7xTfi9IDmc8" role="2OqNvi">
<ref role="37wK5l" to="wyt6:~Object.toString()" resolve="toString" />
</node>
</node>
<node concept="liA8E" id="7xTfi9IDiRn" role="2OqNvi">
<ref role="37wK5l" to="wyt6:~String.equals(java.lang.Object)" resolve="equals" />
<node concept="Xl_RD" id="7xTfi9IDiTe" role="37wK5m">
<property role="Xl_RC" value="targets" />
</node>
</node>
</node>
</node>
</node>
<node concept="1eOMI4" id="7xTfi9IDhw8" role="3uHU7B">
<node concept="1Wc70l" id="7xTfi9ID9mN" role="1eOMHV">
<node concept="2OqwBi" id="7xTfi9ID8z6" role="3uHU7B">
<node concept="2OqwBi" id="7xTfi9IDmxD" role="2Oq$k0">
<node concept="2DA6wF" id="7xTfi9ID8aO" role="2Oq$k0" />
<node concept="liA8E" id="7xTfi9IDmCB" role="2OqNvi">
<ref role="37wK5l" to="wyt6:~Object.toString()" resolve="toString" />
</node>
</node>
<node concept="liA8E" id="7xTfi9ID8NI" role="2OqNvi">
<ref role="37wK5l" to="wyt6:~String.equals(java.lang.Object)" resolve="equals" />
<node concept="Xl_RD" id="7xTfi9ID8OL" role="37wK5m">
<property role="Xl_RC" value="sources" />
</node>
</node>
</node>
<node concept="2OqwBi" id="7xTfi9IDgsI" role="3uHU7w">
<node concept="2OqwBi" id="7xTfi9ID9KV" role="2Oq$k0">
<node concept="1PxgMI" id="7xTfi9ID9xc" role="2Oq$k0">
<node concept="chp4Y" id="7xTfi9ID9A7" role="3oSUPX">
<ref role="cht4Q" to="l1zz:30W4IWrNIUo" resolve="IPortRef" />
</node>
<node concept="2H4GUG" id="7xTfi9ID9o9" role="1m5AlR" />
</node>
<node concept="3TrEf2" id="7xTfi9IDaaz" role="2OqNvi">
<ref role="3Tt5mk" to="l1zz:30W4IWrNIUp" resolve="port" />
</node>
</node>
<node concept="1mIQ4w" id="7xTfi9IDgNe" role="2OqNvi">
<node concept="chp4Y" id="7xTfi9IDgUs" role="cj9EA">
<ref role="cht4Q" to="l1zz:1u89nBaZcN_" resolve="OutputPort" />
</node>
</node>
</node>
</node>
</node>
</node>
</node>
</node>
<node concept="3clFbJ" id="7xTfi9IEYtY" role="3cqZAp">
<node concept="3clFbS" id="7xTfi9IEYu0" role="3clFbx">
<node concept="2xdQw9" id="7xTfi9IEYSj" role="3cqZAp">
<property role="2xdLsb" value="h1akgim/info" />
<node concept="Xl_RD" id="7xTfi9IEYSl" role="9lYJi">
<property role="Xl_RC" value="true" />
</node>
</node>
<node concept="2xdQw9" id="7xTfi9IGCkg" role="3cqZAp">
<property role="2xdLsb" value="h1akgim/info" />
<node concept="3cpWs3" id="7xTfi9IGE9Y" role="9lYJi">
<node concept="2OqwBi" id="7xTfi9IGG9z" role="3uHU7w">
<node concept="2OqwBi" id="7xTfi9IGFFN" role="2Oq$k0">
<node concept="1PxgMI" id="7xTfi9IGF38" role="2Oq$k0">
<node concept="chp4Y" id="7xTfi9IGFa3" role="3oSUPX">
<ref role="cht4Q" to="l1zz:30W4IWrNIUo" resolve="IPortRef" />
</node>
<node concept="2H4GUG" id="7xTfi9IGEp7" role="1m5AlR" />
</node>
<node concept="3TrEf2" id="7xTfi9IGFTS" role="2OqNvi">
<ref role="3Tt5mk" to="l1zz:30W4IWrNIUp" resolve="port" />
</node>
</node>
<node concept="3TrcHB" id="7xTfi9IGGrM" role="2OqNvi">
<ref role="3TsBF5" to="l1zz:6U$LN6klUVX" resolve="ioType" />
</node>
</node>
<node concept="3cpWs3" id="7xTfi9IGDOg" role="3uHU7B">
<node concept="2OqwBi" id="7xTfi9IGCSU" role="3uHU7B">
<node concept="2DA6wF" id="7xTfi9IGCvS" role="2Oq$k0" />
<node concept="liA8E" id="7xTfi9IGDsd" role="2OqNvi">
<ref role="37wK5l" to="wyt6:~Object.toString()" resolve="toString" />
</node>
</node>
<node concept="Xl_RD" id="7xTfi9IGDUU" role="3uHU7w">
<property role="Xl_RC" value=" " />
</node>
</node>
</node>
</node>
</node>
<node concept="37vLTw" id="7xTfi9IEY$q" role="3clFbw">
<ref role="3cqZAo" node="7xTfi9IEVBW" resolve="result" />
</node>
<node concept="9aQIb" id="7xTfi9IEZ4T" role="9aQIa">
<node concept="3clFbS" id="7xTfi9IEZ4U" role="9aQI4">
<node concept="2xdQw9" id="7xTfi9IEZaG" role="3cqZAp">
<property role="2xdLsb" value="h1akgim/info" />
<node concept="Xl_RD" id="7xTfi9IEZaI" role="9lYJi">
<property role="Xl_RC" value="false" />
</node>
</node>
</node>
</node>
</node>
<node concept="3cpWs6" id="7xTfi9IEWM7" role="3cqZAp">
<node concept="37vLTw" id="7xTfi9IEWSc" role="3cqZAk">
<ref role="3cqZAo" node="7xTfi9IEVBW" resolve="result" />
</node>
</node>
</node>
</node>
</node>
</node>
<node concept="1M2fIO" id="6rijOoKyotn">
<property role="3GE5qa" value="Annotations.Comment" />
<ref role="1M2myG" to="l1zz:6rijOoKun7_" resolve="SingleLineComment" />
Expand Down Expand Up @@ -723,9 +551,5 @@
</node>
</node>
</node>
<node concept="1M2fIO" id="7xTfi9Ijuxp">
<property role="3GE5qa" value="References" />
<ref role="1M2myG" to="l1zz:30W4IWrNIUo" resolve="IPortRef" />
</node>
</model>

11 changes: 0 additions & 11 deletions languages/Component/models/editor.mps
Original file line number Diff line number Diff line change
Expand Up @@ -3529,17 +3529,6 @@
<ref role="3XGfJA" to="l1zz:7xTfi9IJNIV" resolve="ref" />
<node concept="1WAQ3h" id="6N5zjilXuXX" role="1WZ6D9">
<node concept="3clFbS" id="6N5zjilXuXY" role="2VODD2">
<node concept="1X3_iC" id="6N5zjimjSU6" role="lGtFl">
<property role="3V$3am" value="statement" />
<property role="3V$3ak" value="f3061a53-9226-4cc5-a443-f952ceaf5816/1068580123136/1068581517665" />
<node concept="2xdQw9" id="6N5zjimgG86" role="8Wnug">
<property role="2xdLsb" value="h1akgim/info" />
<node concept="2OqwBi" id="6N5zjimiiAi" role="9lYJi">
<node concept="1WAUZh" id="6N5zjimiiom" role="2Oq$k0" />
<node concept="z$bX8" id="6N5zjimij2j" role="2OqNvi" />
</node>
</node>
</node>
<node concept="3clFbJ" id="6N5zjilXv2H" role="3cqZAp">
<node concept="3clFbS" id="6N5zjilXv2I" role="3clFbx">
<node concept="3clFbJ" id="6N5zjilXv2J" role="3cqZAp">
Expand Down
Loading

0 comments on commit 7fbb391

Please sign in to comment.