ceylon / ceylon.ast

Apache License 2.0
18 stars 3 forks source link

Identifier prefix redesign #62

Closed lucaswerkmeister closed 10 years ago

lucaswerkmeister commented 10 years ago

Currently, Identifier has two attributes related to the \i/\I prefix:

These are partially redundant, and it’s impossible to recover the enforcePrefix parameter if the name require the prefix anyways (as I found out when I investigated the RedHat AST conversion).

Instead, I believe the following would be better: