URL:
https://svn.lrde.epita.fr/svn/scool/branches/scool-ng
ChangeLog:
2008-10-06 Maxime van Noppen <yabo(a)lrde.epita.fr>
Handle inheritance from templated classes
* Class.str: Here.
Class.str | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Index: branches/scool-ng/src/scoolt/Class.str
===================================================================
--- branches/scool-ng/src/scoolt/Class.str (revision 106)
+++ branches/scool-ng/src/scoolt/Class.str (revision 107)
@@ -54,12 +54,16 @@
where
<ExactParameter(| cqualif, cxx_idf)> [] => params
+ AddExactParameter(| cqualif, cxx_idf):
+ StaticFunctionCall(idf, Parameters(params)) -> StaticFunctionCall(idf,
Parameters(new_params))
+ where
+ <conc> ([<ExactParameter(| cqualif, cxx_idf)> []], params) =>
new_params
+
ExactParameter(| cqualif, cxx_idf):
_ -> Identifier(idf)
where
<? Some("final")> cqualif
; <? CxxId(idf)> cxx_idf
- // FIXME : I only have the cxx_idf and rather want the scl_idf to build my SFC
ExactParameter(| cqualif, cxx_idf):
_ -> Identifier("Exact")
--
\__/ \__/
(00) Maxime `yabo` van Noppen (00)
___) \ Epita 2009 / (___
(_____/ \_____)