SAP ABAP Class CL_LTR_CODE_GENERATOR (Code generator)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷
CA-EUR (Application Component) European Monetary Union: Euro
⤷
LTR_DELIM (Package) SAP LT: Delimitation Engine for LT Repository
⤷
⤷
Properties
| Class | CL_LTR_CODE_GENERATOR | |
| Short Description | Code generator | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | LTR_DELIM | SAP LT: Delimitation Engine for LT Repository |
| Created | 20110303 | SAP |
| Last change | 20141030 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_LTR_CODE_GENERATOR has no interface implemented.
Friends
Class CL_LTR_CODE_GENERATOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | CHAR01 | '*' | Comment sign | 20110303 | ||
| 2 | Constant | Private | Type reference (TYPE) | CHAR72 | '§EDIT_BEGIN§' | Start of editable section | 20110303 | ||
| 3 | Constant | Private | Type reference (TYPE) | CHAR72 | '§EDIT_END§' | End of editable section | 20110303 | ||
| 4 | Constant | Private | Type reference (TYPE) | CHAR72 | '@' | Tag opener | 20110303 | ||
| 5 | Constant | Private | Type reference (TYPE) | CHAR72 | '@$' | Tag is complex | 20110303 | ||
| 6 | Constant | Private | Type reference (TYPE) | CHAR72 | '@' | Tag opener | 20110303 | ||
| 7 | Constant | Private | Type reference (TYPE) | CHAR72 | '@' | Tag is complex | 20110303 | ||
| 8 | Constant | Private | Type reference (TYPE) | CHAR72 | '@TEMPL@' | Tag Template begin | 20110303 | ||
| 9 | Constant | Private | Type reference (TYPE) | CHAR72 | '@TEMPL_END@' | Tag Template end | 20110303 | ||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_LTR_ROUTINE_GENERATOR | Routine Generator | 20110303 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | TT_TEMPLATE | Coding templates | 20110303 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 'X' | No Edit Flag | 20110303 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20110303 | |
| 2 | Instance method | Public | Method | Add static code line | 20110303 | |
| 3 | Static method | Public | Method | Build line index | 20110303 | |
| 4 | Instance method | Private | Method | Search string for tag | 20110303 | |
| 5 | Instance method | Public | Method | Apply template | 20110303 |
Events
Class CL_LTR_CODE_GENERATOR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_CODE72 | Private | See coding | 20110309 | |
||
| 2 | TS_TEMPLATE | Private | See coding | 20110309 | |
||
| 3 | TT_CODE72 | Private | See coding | 20110309 | |
||
| 4 | TT_TEMPLATE | Private | See coding | 20110309 | |
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_USER | Call by reference | Object reference (TYPE REF TO) | IF_LTR_ROUTINE_GENERATOR | Routine Generator | 20110303 | |||
| 2 | IV_TEMPLATE_INCLUDE | Call by reference | Type reference (TYPE) | PROGNAME | ABAP program name | 20110303 |
Method CONSTRUCTOR on class CL_LTR_CODE_GENERATOR has no exception.
Method LINE_ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_CODE | Call by reference | Type reference (TYPE) | LTR_T_RTN_L | Routine code line (sorted) | 20110303 | |||
| 2 | IV_CODE | Call by reference | Type reference (TYPE) | ANY | Coding Line | 20110303 | |||
| 3 | IV_NO_EDIT_FLAG | Call by reference | Type reference (TYPE) | ABAP_BOOL | No Edit Flag | 20110303 |
Method LINE_ADD on class CL_LTR_CODE_GENERATOR has no exception.
Method LINE_INDEX_BUILD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LINE_INDEX | Call by reference | Type reference (TYPE) | SEDI_LINDEX | LIne index | 20110303 | |||
| 2 | IT_CODE72 | Call by reference | Type reference (TYPE) | SEDI_SOURCE | Source Code | 20110303 |
Method LINE_INDEX_BUILD on class CL_LTR_CODE_GENERATOR has no exception.
Method TAG_SEARCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NAME | Call by reference | Type reference (TYPE) | CHAR72 | Name of found tag | 20110303 | |||
| 2 | IV_CODE | Call by reference | Type reference (TYPE) | CHAR72 | Coding Line | 20110303 | |||
| 3 | IV_TAG | Call by reference | Type reference (TYPE) | CHAR72 | Tag | 20110303 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Tag was not found | 20110303 |
Method TEMPLATE_APPLY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_CODE | Call by reference | Type reference (TYPE) | LTR_T_RTN_L | Routine code line (sorted) | 20110303 | |||
| 2 | IT_PARAMETER | Call by reference | Type reference (TYPE) | LTR_T_CODE_GEN_PARAM_H | Code generation parameter | 20110303 | |||
| 3 | IV_TEMPLATE | Call by reference | Type reference (TYPE) | CHAR72 | Template | 20110303 |
Method TEMPLATE_APPLY on class CL_LTR_CODE_GENERATOR has no exception.
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2010_1_620 |