Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Dot-notation and recursive calls in scoping provider (Dot-notation and recursive calls in scoping provider)
Dot-notation and recursive calls in scoping provider [message #508427] Mon, 18 January 2010 13:18 Go to previous message
Eclipse UserFriend
Hi all

I have a grammar in which I now want to add a dot-notation
I added the below rule

DotRule
: left=[Property] ('.' right=DotRule)?;

The rule works fine, but now I want to add scoping but am encountering problems when trying to access "left". It recursively calls left over and over again.

My question is then, Is there something fundamentally wrong with my rule, or do I have to access left in a different way in my ScopeProvider?

Thank you in advance
Ivanhoe
 
Read Message
Read Message
Read Message
Previous Topic:Xtext profiler not found
Next Topic:Xtext 0.8M4 / ContentAssistParserGeneratorFragment: bug with $ in keywords
Goto Forum:
  


Current Time: Fri Nov 07 20:14:33 EST 2025

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

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

Back to the top