Skip to main content



      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 07:54 Go to next message
Eclipse UserFriend
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 08:23 Go to previous message
Eclipse UserFriend
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: Wed Jul 02 19:50:12 EDT 2025

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

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

Back to the top