Commit graph

7452 commits

Author SHA1 Message Date
overflowerror
b4deb67876 fixed problem with recursive rule calls in debug function 2021-11-30 19:54:38 +01:00
overflowerror
a6993a01f7 refactoring, better exception handling, changes to error detection
exception messages now contain the the rule that caused the problem
2021-11-29 21:12:02 +01:00
overflowerror
5aba8ab724 collapse nested alternatives to reduce generated code
doesn't work if nested alternative is in nested group
doesn't work if nested alternative is in merged path
2021-11-29 18:33:45 +01:00
overflowerror
2dc2b23ad9 added test cases for simplifying nested alternatives & unordered groups 2021-11-29 18:20:08 +01:00
overflowerror
8d5af71314 added basic support (sub optimal) support for unordered groups 2021-11-27 20:30:31 +01:00
overflowerror
5110d180b7 added hosting test for unordered groups 2021-11-27 19:50:44 +01:00
overflowerror
ef91f872ef added support for enum rules in hoisting code 2021-11-27 19:44:38 +01:00
overflowerror
7f352990a4 added test cases for enum rules 2021-11-27 19:25:25 +01:00
overflowerror
7925e2040f return alternative guard analysis if all paths are trivial 2021-11-27 19:23:43 +01:00
overflowerror
5fdb3424ac refactoring of hoisting code 2021-11-27 18:37:24 +01:00
overflowerror
cb606d6937 add test for alternatives with only unguarded paths 2021-11-27 16:55:38 +01:00
overflowerror
61847d2d82 added limit cache for mindiff analysis
save first index that causes the tokens to be exhausted as the new limit
2021-11-27 16:50:37 +01:00
overflowerror
6055348451 added alternative guard conditions for
AntlrContentAssistGrammarGenerator
2021-11-27 16:25:16 +01:00
overflowerror
58e3bba502 changed check for token-based path identity to be boundary test
+ changed default token limit to 10
+ prepared test for symbolic identity analysis
2021-11-27 16:04:53 +01:00
overflowerror
cd0629d828 fixed testAlternaitves in FirstSetComputationTest 2021-11-27 15:37:55 +01:00
overflowerror
bf970d77fd fixed hoisting processor to corresponding tests succeed 2021-11-25 16:58:37 +01:00
overflowerror
21125ebc46 added test cases for hoisting processor 2021-11-25 16:57:26 +01:00
overflowerror
b442f27a0f added disambiguating predicates to code generation and hoisting
at the moment they are treated like gated semantic predicates
2021-11-23 18:24:13 +01:00
overflowerror
6378a70180 added disambiguating semantic predicates to model and grammar 2021-11-23 18:23:32 +01:00
overflowerror
ad5a6b33f5 added init blocks to antlr code generation 2021-11-23 18:04:22 +01:00
overflowerror
69b5babb91 added grammar init block to model and xtext grammar 2021-11-23 17:32:09 +01:00
overflowerror
a1db3fe348 added support for cardinalities + fixed problem with cardinalities in
token analysis
2021-11-20 19:25:56 +01:00
overflowerror
4a1efd5670 fixed recursive updates in cache maps 2021-11-19 15:36:44 +01:00
overflowerror
b8f405811a added java actions to code generation and hoisting 2021-11-19 15:05:36 +01:00
overflowerror
f2e581d026 added java actions to ecore model and grammar 2021-11-19 15:03:24 +01:00
overflowerror
e2737eed25 analysis of path sets works now 2021-11-18 18:42:36 +01:00
overflowerror
639c908c44 fixed: minimal token difference returning wrong token 2021-11-18 18:16:58 +01:00
overflowerror
7154bf276c removed java code delimiters 2021-11-18 17:36:17 +01:00
overflowerror
aae59c9805 added hoisting to generator 2021-11-18 17:18:23 +01:00
overflowerror
1cf3028bfa fixed problems error in minimal path difference code; added debugging
output
2021-11-18 17:18:07 +01:00
overflowerror
984d27b57c added code generation for predicate hoisting 2021-11-17 20:00:28 +01:00
overflowerror
add044ef5e hoisting algorithms are done (except symbolic analysis & hoisting
support for predicates in non-trivial cardinalities)

code generation part is still missing
2021-11-17 19:47:52 +01:00
overflowerror
59a328b139 basic hoisting algorithm
token path analysis still missing; some guard render methods still
missing
2021-11-15 19:49:36 +01:00
overflowerror
0506c40a08 added semantic predicates to ecore model and xtext grammar 2021-11-12 18:43:30 +01:00
genie.xtext
e250e9f060 [release] version 2.22.0
Signed-off-by: genie.xtext <genie.xtext@git.eclipse.org>
2020-06-02 07:09:04 +00:00
Nico Prediger
af8f6942f6
Merge pull request #1505 from eclipse/kt_issue1769_remove_jnlp
[eclipse/xtext#1769] Removed jnlp image name from pod template
2020-05-27 06:33:40 +02:00
Karsten Thoms
dcf483a689
Merge pull request #1504 from eclipse/bot_update_xtext_bootstrap_version
[releng] Bootstrap against 2.22.0.M3
2020-05-26 09:03:39 +02:00
Karsten Thoms
ae10bace43 [eclipse/xtext#1769] Removed jnlp image name from pod template
Signed-off-by: Karsten Thoms <karsten.thoms@karakun.com>
2020-05-25 17:37:51 +02:00
Nico Prediger
111622c92b [releng] Bootstrap against 2.22.0.M3
Signed-off-by: Nico Prediger <mail@nicoprediger.de>
2020-05-25 14:36:52 +00:00
Tamas Miklossy
b5eaca0e8d Formatting QuickOutlineFragment2 and RefactorElementNameFragment2 files.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-24 15:17:44 +02:00
Tamas Miklossy
e1c20601fc [#269] Regenerate Xtext Language via the GenerateXtext.mwe2 workflow.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-21 18:13:33 +02:00
Sebastian Zarnekow
b751b9e2e0
[#1499] Enable JavaDoc validation on org.eclipse.xtext (#1500)
closes #1499
2020-05-20 17:11:07 +02:00
Christian Dietrich
4a89a89657
Merge pull request #1501 from eclipse/cd_mwe2113final
[eclipse/xtext#1770] update to mwe 2.11.3 final
2020-05-20 17:03:03 +02:00
Christian Dietrich
ebe2eaccc7 [eclipse/xtext#1770] update to mwe 2.11.3 final
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-20 16:33:47 +02:00
Tamas Miklossy
f8a8dfa391 Formatting XbaseGeneratorFragment2.xtend file.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-20 08:41:35 +02:00
Tamas Miklossy
04d660f741 Formatting XbaseGeneratorFragment2.xtend file.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-19 21:16:46 +02:00
Tamas Miklossy
c8b51fee59 #[1427] Update last modified year to 2020 in the Copyright headers.
Signed-off-by: Tamas Miklossy <miklossy@itemis.de>
2020-05-18 08:55:12 +02:00
Sebastian Zarnekow
7b5900fc5a
[#1466] Global unique name validator (#1483)
This change introduces an explicit validation context that is used by the INamesAreUniqueValidationHelper. This allows to fine tune the scope of the validation in various ways. Default contexts are available to validation uniqueness in the current container, along the chain of visible containers or local to the current resource (the default).

Local unique name validation can be implemented now based on the LocalUniqueNameContext.

closes #1466
2020-05-15 21:16:47 +02:00
Christian Dietrich
aa01d49a98
Merge pull request #1493 from eclipse/cd_fixJansPR
added missing generated code
2020-05-15 18:44:19 +02:00
Christian Dietrich
0eb0ea3ff3 added missing generated code
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
2020-05-15 17:52:14 +02:00