Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Couldn't resolve reference to EnumElem 'bottle'(Problems with references)
Couldn't resolve reference to EnumElem 'bottle' [message #1775299] Fri, 27 October 2017 11:11 Go to next message
Pedro Sánchez is currently offline Pedro SánchezFriend
Messages: 4
Registered: October 2017
Junior Member
Dear friend,
I obtain the error while using the DSL "Couldn't resolve reference to EnumElem 'bottle'"

// in the DSL
thing ::= bottle drop

The grammar fragment of interest is the following:

name=ID '::=' (r+=EnumElem)*


Value: {Value}
INT | value=[EnumElem]

// and the rule where EnumElem's are not recognized:
'remember' p=Value

It allows INT values but not enum ones.

Several days with this and no solution :(
Many thanks in advance.
Re: Couldn't resolve reference to EnumElem 'bottle' [message #1775313 is a reply to message #1775299] Fri, 27 October 2017 13:34 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14682
Registered: July 2009
Senior Member

Is short for


Which means an Id is parsed which does not allow dots

But the default reference names are


So you may use



FQN: ID ("." ID)* ;

Or you need to adapt IQualifiedBameProvider

Twitter : @chrdietrich
Blog :
Previous Topic:how to retrieve the Injector
Next Topic:Exclude generated JAR files from indexing
Goto Forum:

Current Time: Sat May 25 08:18:40 GMT 2024

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

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

Back to the top