Name Translation
Different programming languages may have different naming conventions prefered or even enforced. Those conventions may contradict one another. The approach named name translation is used to ensure that naming conventions of all targets are respected.
Notation
Notation describes the way names are translated. The following table describes notations supported by Igor:
Notation |
Example: |
Example: |
Example: |
|---|---|---|---|
none |
|
|
|
lowercase |
|
|
|
uppercase |
|
|
|
lower_camel |
|
|
|
upper_camel |
|
|
|
lower_underscore |
|
|
|
upper_underscore |
|
|
|
lower_hyphen |
|
|
|
upper_hyphen |
|
|
|
first_letter_last_word |
|
|
|
It is recommended that Naming Convention is used when writing Igor source files, and name translation is used to translate identifiers to the target language when code is generated.