IValidIdentifier very strickt for ClassConcept Names

Hi folks,

i m just wondering if it is possible to get around the IValidIdentifier restriction of MPS.

Hello-World should be a valid identifier for a class concept, however, there is a property restriction. Is there a way to get around that restriction? Of couse, i could build my own ClassConcept and overwrite the property restriction for the name prop. But then, i have to do the same for the constructor - derive my own concept. Is there another road to take?   

 

Cheers, Daniel

0
2 comments

AFAIK dashes are not valid in class names. What makes you think otherwise?

0

Hi Sergej,

you r absolutely right. I checked the oracle docs. Only _ and $ are allowed als additional letters.

Sorry for bothering you.

0

Please sign in to leave a comment.