Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Resolve proxies
Resolve proxies [message #973984] Tue, 06 November 2012 14:29 Go to previous message
Zlatka Manas is currently offline Zlatka Manas
Messages: 26
Registered: March 2012
Junior Member
Hi,
I am trying to resolve the proxies I get in my DSL.
The problem is that the resourceDescriptionsProvider is null so I cannot get the resource descriptions.
I am trying to define type check rules for my DSL, so I have a class DSLTypeSystem that extends from the Switch class. In one of the overridden methods I need to know the actual name of the referenced element.

Th part of the grammar related to my problem is the following:
PrimaryExpression: ((minusSign?='-') | '+')? primary=Primary (methodCall+=DataMethodCall)* ;
DataMethodCall: (useCaret?='^')? method=[DataMethod|IDENTIFIER] ('(' (arguments=ListOfExpressions)? ')')?;

I need to know the name of the method referenced in DataMethodCall.

Any idea why this is null?

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Duplicate entries / namespace problems
Next Topic:inject extension not injected in JUnit test
Goto Forum:
  


Current Time: Sun May 19 16:35:36 EDT 2013

Powered by FUDForum. Page generated in 0.05279 seconds