| TetraComponents | Top Previous Next | 
| 
 The TetraComponents allow to use TextTransformer projects in Delphi and CBuilder programs. They are executed (interpreted) with the freely available tetra_engine.dll. The components encapsulate this dll. 
 Among other things some parse-events can be handled by the components. Thereby numbers are passed for tokens and productions (in OnAcceptToken and OnEnterProduction). 
 These enumeriated values are written by default into the frame "enums_pas.frm": 
 
 unit -->NameSpace; 
 interface 
 type 
 EToken = ( -->TokenEnums ); 
 EProduction = ( -->ProductionEnums ); 
 
 const 
 Tokens := TStringList.Create; -->TokenNames ); 
 Productions := TStringList.Create; -->ProductionNames ); 
 implementation 
 end. 
 The arrow "-->" and the following key word indicate the positions, where the TextTransformer inserts special code for a project. The frame can be edited. 
 
 
 | 
| This page belongs to the TextTransformer Documentation | Home Content German |