11 Commits

Author SHA1 Message Date
Clément Fournier
0ff87229ff Remove TokenBasedNode
I don't think we should expose tokens as an API
yet. They're an implementation detail, not used
much, and the AST should be able to reflect all
the information that can be found in the tokens.

The methods of AbstractNode can be pulled down
to AbstractJjtreeNode and made protected.
2020-01-05 23:13:04 +01:00
Clément Fournier
9023d86945 Merge branch 'master' into deprecate-jjtree-methods 2019-12-23 12:41:08 +01:00
Clément Fournier
320339240f [modelica] Small cleanups
* Move AbstractModelicaRule into the `rule` package
* Make the visitor interface mention only published types (ie not
AbstractModelicaNode)
* Other cleanups(eg make interfaces extend ModelicaNode)
2019-12-19 15:24:53 +01:00
Clément Fournier
87eaaef9fd Fix compil 2019-12-18 19:52:02 +01:00
Clément Fournier
627e258458 Revert 2019-12-17 17:49:01 +01:00
Anatoly Trosinenko
6224bd3d77 [modelica] Follow-up fixes for Modelica language module 2019-12-17 19:43:32 +03:00
Clément Fournier
86b274c681 Make generic visitor superclass
Use raw supertype to avoid conflicts
2019-12-17 17:39:13 +01:00
Clément Fournier
baeda3cfe5 Remove the rest
See parent commit
2019-12-17 17:38:17 +01:00
Clément Fournier
305e5ef082 [modelica] Remove source-type attributes in tests xml
This is only needed to select a specific
language version. Tests are failing because
the newer schema has not yet been published.
2019-12-17 17:36:24 +01:00
Andreas Dangel
7bb987fcf4 [modelica] Add rule test for ClassStartNameEqualsEndName 2019-12-17 12:22:54 +01:00
Anatoly Trosinenko
20bf4ad759 [modelica] Initial implementation of Modelica support for PMD 2019-12-16 19:26:32 +03:00