AdaCore / langkit

Language creation framework.
https://www.adacore.com
Other
78 stars 35 forks source link

Generic API: bind the Is_Equivalent token predicate #639

Closed pmderodat closed 2 years ago

pmderodat commented 2 years ago

As discussed live, this function may not be very useful in its current form: for Ada we may want two tokens with different casing to be equivalent. But just doing this at the token level may not be possible: depending on the syntactic use, casing may matter or not for string literals. So let’s just forget about that for now.