Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Case-insensitive check for unique names(Checks for unique identifiers within a case-insensitive language do not work)
Case-insensitive check for unique names [message #1123282] Wed, 02 October 2013 11:54 Go to next message
Wolfgang Zeller is currently offline Wolfgang ZellerFriend
Messages: 18
Registered: September 2013
Junior Member
We are currently implementing a case-insensitive language where the following code should lead to an error:

function f
  var
    A : bool;
    a : bool;
  end_var
end_function


Is there a (simple) way to implement such a check with builtin XText functionality?
Re: Case-insensitive check for unique names [message #1123304 is a reply to message #1123282] Wed, 02 October 2013 12:23 Go to previous message
Wolfgang Zeller is currently offline Wolfgang ZellerFriend
Messages: 18
Registered: September 2013
Junior Member
We are already using a validator which wraps org.eclipse.xtext.validation.NamesAreUniqueValidationHelper. The problem is, that the NamesAreUniqueValidationHelper cannot be configured (or at least we have found no way) to be case-insensitive.
Previous Topic:Problem with the generation of the artifact
Next Topic:Code Generator in java
Goto Forum:
  


Current Time: Tue Apr 23 07:09:58 GMT 2024

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

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

Back to the top