Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Cross-referencing overloaded methods of a DSL program
Cross-referencing overloaded methods of a DSL program [message #1663381] Tue, 10 March 2015 11:53 Go to next message
Didier Garcin is currently offline Didier GarcinFriend
Messages: 68
Registered: April 2013
Member
Hi,

I wonder if the cross-referencing function of Xtext is able to automatically handle calls to overloaded methods and how it achieves this function.

Thanks for your answer.
Re: Cross-referencing overloaded methods of a DSL program [message #1663423 is a reply to message #1663381] Tue, 10 March 2015 12:20 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
Hi,

this depends: if you use xbase the answer is yes. if not: you have to adapt (batch)linkingservice and/or scoping (depends on your type system)


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Tue, 10 March 2015 12:28]

Report message to a moderator

Re: Cross-referencing overloaded methods of a DSL program [message #1663964 is a reply to message #1663423] Tue, 10 March 2015 17:27 Go to previous messageGo to next message
Didier Garcin is currently offline Didier GarcinFriend
Messages: 68
Registered: April 2013
Member
This means that Xbase should be part of my DSL, I guess.

What do you mean by batch ?

[Updated on: Tue, 10 March 2015 17:29]

Report message to a moderator

Re: Cross-referencing overloaded methods of a DSL program [message #1664016 is a reply to message #1663964] Tue, 10 March 2015 17:58 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
Habe a Look at the classes in xbase

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Don't create Xtend classes with the same name as data rules
Next Topic:Problems with Xtext and XBase in version 2.8.0.v201503090534
Goto Forum:
  


Current Time: Sun Apr 18 09:01:22 GMT 2021

Powered by FUDForum. Page generated in 0.01896 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top