forked from pool/python-textX
58327fb08d2affb6220cd6e46961bb13d3730d82dd946a95db212b2514e65703
- `textx generate`. Documented passing in arbitrary parameters which can be
used in the generator function. Also, implemented passing of model
parameters defined in the meta-model (`model_param_defs` and
`_tx_model_params`) ([#299])
- `get_location` function for producing `line/col/filename` from any textX
object. ([#294])
- `builtin_models` of type `ModelRepository` to meta-model constructor. Used
to supply pre-loaded models for `ImportURI` based scoping providers as a
fallback to search into. ([#284])
- Initial implementation of TEP-001 ([#111]) allowing to specify scope
provider behavior within the grammar itself. [#274] and [#287] introduce
the RREL (reference resolving expression language) to define how
references are resolved. Details see `rrel.md`.
- Parameter `should_follow` of callable type to `get_children` and
`get_children_of_type` model API calls to decide if the element should be
traversed. ([#281])
- Fixed:
- Fixed bug with Falsy user classes in `get_children` ([#288])
- Fixed bug with unhashable objects during dot export ([#283])
- Fixed bug where (Ext)RelativeName scope providers accepted any referenced
object that contained the lookup name in its name. Thanks ipa-mdl@GitHub
([#267])
- Fixed bug in `flow_dsl` test project causing static files not being included
in package build/installation. Thanks sebix@GitHub ([#272]).
- Fixed bug, where user classes not used in the grammar caused exceptions
([#270]): now, when passing a list of user classes, you need to use them in
your grammar. You can alternatively also pass a callable (see metamodel.md;
[#273]). Also, using base classes for rules from imported grammars in
conjunction with user classes is not allowed and results in an exception.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textX?expand=0&rev=31
Description
No description provided
Languages
RPM Spec
100%