Name aliasing
If you use a name that is not valid in the target generation language, the generator creates and uses an alias for the name in the generated code.
A name may be aliased for the following reasons:
- Differences in identifier characters allowed
- Differences in length limitations
- Differences in support for uppercase and lowercase characters
- Using a word that is a reserved word in the generated language
- Using a word that clashes with the name alias syntax (for example, class$ is aliased because class$ is the alias for class in Java generation)
An alias may be generated by substituting a valid set of characters for an invalid character, by truncating names that are too long, by adding a prefix or suffix to a name, or by producing a completely different name such as EZE00123.
Related concepts
Related tasks
Creating an EGL program part
Related reference
How names are aliased
Naming conventions