Skip to content

Commit

Permalink
meta/uninstantiated concepts and languages (#254)
Browse files Browse the repository at this point in the history
* outline parameters and scope of unused_languages linter

* uninstantiated languages linter without configurable paramters

* remove instantiationScopeRegex
select language scope for search

* Update documentation text

* arch: implement getPresentation for SingleComponentDependency

* lint: cosmetic improvements for the naming and documentation of "languages_with_no_instantiated_concepts"

---------

Co-authored-by: Daniel Ratiu <[email protected]>
  • Loading branch information
lukewoodcock and Daniel Ratiu authored Dec 3, 2024
1 parent 18f65ea commit a291e4c
Show file tree
Hide file tree
Showing 2 changed files with 654 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<import index="c17a" ref="8865b7a8-5271-43d3-884c-6fd1d9cfdd34/java:org.jetbrains.mps.openapi.language(MPS.OpenAPI/)" />
<import index="tpck" ref="r:00000000-0000-4000-0000-011c89590288(jetbrains.mps.lang.core.structure)" />
<import index="dvox" ref="r:9dfd3567-3b1f-4edb-85a0-3981ca2bfd8c(jetbrains.mps.lang.modelapi.structure)" implicit="true" />
<import index="tpcu" ref="r:00000000-0000-4000-0000-011c89590282(jetbrains.mps.lang.core.behavior)" implicit="true" />
</imports>
<registry>
<language id="af65afd8-f0dd-4942-87d9-63a55f2a9db1" name="jetbrains.mps.lang.behavior">
Expand Down Expand Up @@ -79,6 +80,7 @@
<reference id="1068581517664" name="variableDeclaration" index="3cqZAo" />
</concept>
<concept id="1068498886292" name="jetbrains.mps.baseLanguage.structure.ParameterDeclaration" flags="ir" index="37vLTG" />
<concept id="1225271177708" name="jetbrains.mps.baseLanguage.structure.StringType" flags="in" index="17QB3L" />
<concept id="4972933694980447171" name="jetbrains.mps.baseLanguage.structure.BaseVariableDeclaration" flags="ng" index="19Szcq">
<child id="5680397130376446158" name="type" index="1tU5fm" />
</concept>
Expand All @@ -99,6 +101,7 @@
<concept id="1068580123136" name="jetbrains.mps.baseLanguage.structure.StatementList" flags="sn" stub="5293379017992965193" index="3clFbS">
<child id="1068581517665" name="statement" index="3cqZAp" />
</concept>
<concept id="1068581242875" name="jetbrains.mps.baseLanguage.structure.PlusExpression" flags="nn" index="3cpWs3" />
<concept id="1068581242878" name="jetbrains.mps.baseLanguage.structure.ReturnStatement" flags="nn" index="3cpWs6">
<child id="1068581517676" name="expression" index="3cqZAk" />
</concept>
Expand Down Expand Up @@ -197,6 +200,9 @@
<concept id="1138055754698" name="jetbrains.mps.lang.smodel.structure.SNodeType" flags="in" index="3Tqbb2">
<reference id="1138405853777" name="concept" index="ehGHo" />
</concept>
<concept id="1138056022639" name="jetbrains.mps.lang.smodel.structure.SPropertyAccess" flags="nn" index="3TrcHB">
<reference id="1138056395725" name="property" index="3TsBF5" />
</concept>
<concept id="1138056143562" name="jetbrains.mps.lang.smodel.structure.SLinkAccess" flags="nn" index="3TrEf2">
<reference id="1138056516764" name="link" index="3Tt5mk" />
</concept>
Expand Down Expand Up @@ -2067,6 +2073,59 @@
<node concept="13hLZK" id="4n1yOK3eHiR" role="13h7CW">
<node concept="3clFbS" id="4n1yOK3eHiS" role="2VODD2" />
</node>
<node concept="13i0hz" id="4p1IWUFLXQy" role="13h7CS">
<property role="TrG5h" value="getPresentation" />
<ref role="13i0hy" to="tpcu:hEwIMiw" resolve="getPresentation" />
<node concept="3Tm1VV" id="4p1IWUFLXQX" role="1B3o_S" />
<node concept="3clFbS" id="4p1IWUFLYmp" role="3clF47">
<node concept="3clFbF" id="4p1IWUFLYGA" role="3cqZAp">
<node concept="3cpWs3" id="4p1IWUFM5Ld" role="3clFbG">
<node concept="Xl_RD" id="4p1IWUFM5NE" role="3uHU7w">
<property role="Xl_RC" value="'" />
</node>
<node concept="3cpWs3" id="4p1IWUFM3g$" role="3uHU7B">
<node concept="3cpWs3" id="4p1IWUFM2BL" role="3uHU7B">
<node concept="3cpWs3" id="4p1IWUFM3cF" role="3uHU7B">
<node concept="Xl_RD" id="4p1IWUFM3dw" role="3uHU7B">
<property role="Xl_RC" value="'" />
</node>
<node concept="2OqwBi" id="4p1IWUFM13S" role="3uHU7w">
<node concept="2OqwBi" id="4p1IWUFLYRP" role="2Oq$k0">
<node concept="13iPFW" id="4p1IWUFLYGx" role="2Oq$k0" />
<node concept="2Xjw5R" id="4p1IWUFM0Lc" role="2OqNvi">
<node concept="1xMEDy" id="4p1IWUFM0Le" role="1xVPHs">
<node concept="chp4Y" id="4p1IWUFM0Nz" role="ri$Ld">
<ref role="cht4Q" to="ryx8:6MUZd5Uj9vB" resolve="ComponentDefinition" />
</node>
</node>
</node>
</node>
<node concept="3TrcHB" id="4p1IWUFM1kJ" role="2OqNvi">
<ref role="3TsBF5" to="tpck:h0TrG11" resolve="name" />
</node>
</node>
</node>
<node concept="Xl_RD" id="4p1IWUFM2Cx" role="3uHU7w">
<property role="Xl_RC" value="' is dependent on '" />
</node>
</node>
<node concept="2OqwBi" id="4p1IWUFM4wK" role="3uHU7w">
<node concept="2OqwBi" id="4p1IWUFM3Tn" role="2Oq$k0">
<node concept="13iPFW" id="4p1IWUFM3hC" role="2Oq$k0" />
<node concept="3TrEf2" id="4p1IWUFM4l2" role="2OqNvi">
<ref role="3Tt5mk" to="ryx8:6MUZd5Uj9wm" resolve="component" />
</node>
</node>
<node concept="3TrcHB" id="4p1IWUFM4HC" role="2OqNvi">
<ref role="3TsBF5" to="tpck:h0TrG11" resolve="name" />
</node>
</node>
</node>
</node>
</node>
</node>
<node concept="17QB3L" id="4p1IWUFLYmq" role="3clF45" />
</node>
</node>
</model>

Loading

0 comments on commit a291e4c

Please sign in to comment.