Substitution options

Top  Previous  Next

User interface > Translation options > Substitution options

The substitution options are part of the translation options and allow to edit lists of identifiers which are used for different kinds of substitutions during the translation process.

 

 

Options_substitutions

 

 

Substitutions by the preprocessor

 

The preprocessor can modify identifiers in two ways:

 

It can normalize the capitalization of selected identifiers.
It can replace identifiers with other identifiers.

 

The preprocessor runs before the Delphi parser. You must therefore ensure that its substitutions leave the Delphi source code syntactically valid.

 

Substitutions by the translator

 

By contrast, substitutions performed by the translator take place after the source code has been parsed. Because the translator has access to the parsed code structure, it can also perform certain types of refactoring.

 

Property prefixes

 

You also can configure the prefixes for special function names here.

 

 

 



This page belongs to the Delphi2C# Documentation

Delphi2C# home  Content