Skip to content

Commit

Permalink
Detect twisted function calls with an arbitrary number of parameters.…
Browse files Browse the repository at this point in the history
… Closes issue #23
  • Loading branch information
mpsDocs committed Aug 3, 2016
1 parent 0a0281b commit 6fa05ca
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions languages/org.campagnelab.metar.R/languageModels/typesystem.mps
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@
<concept id="1136720037777" name="jetbrains.mps.lang.pattern.structure.PatternExpression" flags="in" index="2DMOqp">
<child id="1136720037778" name="patternNode" index="2DMOqq" />
</concept>
<concept id="1136720037779" name="jetbrains.mps.lang.pattern.structure.PatternVariableDeclaration" flags="ng" index="2DMOqr">
<property id="1136720037780" name="varName" index="2DMOqs" />
</concept>
<concept id="1136720037783" name="jetbrains.mps.lang.pattern.structure.WildcardPattern" flags="ng" index="2DMOqv" />
<concept id="1136727061274" name="jetbrains.mps.lang.pattern.structure.ListPattern" flags="ng" index="2EdB8i" />
</language>
<language id="fd392034-7849-419d-9071-12563d152375" name="jetbrains.mps.baseLanguage.closures">
<concept id="1199569711397" name="jetbrains.mps.baseLanguage.closures.structure.ClosureLiteral" flags="nn" index="1bVj0M">
Expand All @@ -127,12 +131,7 @@
<concept id="883407320529276554" name="org.campagnelab.metar.R.structure.ComplexType" flags="ig" index="0oJ3d" />
<concept id="883407320529276552" name="org.campagnelab.metar.R.structure.NumericType" flags="ig" index="0oJ3f" />
<concept id="489068675543418436" name="org.campagnelab.metar.R.structure.SimpleAssignment" flags="ng" index="22gccq" />
<concept id="5770663561153558147" name="org.campagnelab.metar.R.structure.ParameterValue" flags="ng" index="gNblG">
<child id="5770663561153558420" name="value" index="gNbhV" />
</concept>
<concept id="5770663561153557551" name="org.campagnelab.metar.R.structure.ParameterValues" flags="ng" index="gNbv0">
<child id="5770663561153557817" name="values" index="gNbrm" />
</concept>
<concept id="5770663561153557551" name="org.campagnelab.metar.R.structure.ParameterValues" flags="ng" index="gNbv0" />
<concept id="6247096756517946181" name="org.campagnelab.metar.R.structure.BinaryOperatorExpr" flags="ng" index="2v3moz">
<child id="489068675543818492" name="operator" index="22hImy" />
<child id="6247096756517946182" name="left" index="2v3mow" />
Expand All @@ -144,8 +143,6 @@
</concept>
<concept id="6176023809880707754" name="org.campagnelab.metar.R.structure.AssignmentOperatorExpr" flags="ng" index="2PZJp4" />
<concept id="6176023809880707767" name="org.campagnelab.metar.R.structure.Identifier" flags="ng" index="2PZJpp" />
<concept id="6176023809880707737" name="org.campagnelab.metar.R.structure.Expr" flags="ng" index="2PZJpR" />
<concept id="4933197140516011539" name="org.campagnelab.metar.R.structure.PositionalParameterValue" flags="ng" index="V6WaU" />
</language>
<language id="3a13115c-633c-4c5c-bbcc-75c4219e9555" name="jetbrains.mps.lang.quotation">
<concept id="1196350785113" name="jetbrains.mps.lang.quotation.structure.Quotation" flags="nn" index="2c44tf">
Expand Down Expand Up @@ -2054,10 +2051,8 @@
<node concept="2DMOqp" id="1c1rOX4EpMV" role="1YbcFS">
<node concept="2PZJp2" id="1c1rOX4EpOq" role="2DMOqq">
<node concept="gNbv0" id="1c1rOX4EpOr" role="134Gdu">
<node concept="V6WaU" id="1c1rOX4EpOs" role="gNbrm">
<node concept="2PZJpR" id="1c1rOX4EpOu" role="gNbhV">
<node concept="2DMOqv" id="1c1rOX4EpOU" role="lGtFl" />
</node>
<node concept="2EdB8i" id="7B51G8W7KIN" role="lGtFl">
<property role="2DMOqs" value="parameter" />
</node>
</node>
<node concept="2PZJp4" id="1c1rOX4EpP0" role="134Gdo">
Expand Down

0 comments on commit 6fa05ca

Please sign in to comment.