Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » advanced qualified names
advanced qualified names [message #760815] Mon, 05 December 2011 10:57 Go to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Hi!

My language is using macros not unlike those in C. If the value for a macro is known, then I'd like to be able to use
#macro.object
as a reference. I got it to work in some simple settings by checking in the IQualifiedNameProvider and using the macro's value instead, but the problem is how to do the reverse conversion - I have to keep track of how the name was built... Is this a path I want to take, or does it lead just nowhere?

best regards,
Vlad
Re: advanced qualified names [message #761054 is a reply to message #760815] Mon, 05 December 2011 20:26 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

i do not understand your question. what do you mean with reverse conversion?

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: advanced qualified names [message #761059 is a reply to message #761054] Mon, 05 December 2011 20:42 Go to previous message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 431
Registered: July 2009
Location: Gothenburg
Senior Member
Hi,

Sorry, I didn't mean to be obscure.

While trying to give you an example, I realized that I probably was confused because I had chosen the name QualifiedName for one of my classes and got it mixed up with the one from xtext.

(The original question referred to implementing both methods for IQualifiedNameConverter, QN to string and back)

I will get back if I stumble on something else.

best regards,
Vlad
Previous Topic:Cross-references for multi-word identifiers (cont.)
Next Topic:How to get AST from plugin project
Goto Forum:
  


Current Time: Thu Apr 25 17:55:18 GMT 2024

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

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

Back to the top