SAP ABAP Class CL_SEDI_PRETTY_PRINTER (Code Pretty Printer Service)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-ABA (Application Component) ABAP Editor
⤷
SEDI (Package) PROGRAM EDITOR
⤷
⤷
Properties
| Class | CL_SEDI_PRETTY_PRINTER | |
| Short Description | Code Pretty Printer Service | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SEDI | PROGRAM EDITOR |
| Created | 20110704 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SEDI_PRETTY_PRINTER has no forward declaration.
Interfaces
Class CL_SEDI_PRETTY_PRINTER has no interface implemented.
Friends
Class CL_SEDI_PRETTY_PRINTER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'EMPTY' | 20120611 | |||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'HIKEY' | 20120611 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'LOKEY' | 20120611 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'LOWER' | 20120611 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'UPPER' | 20120611 | |||
| 6 | Constant | Private | Type reference (TYPE) | I | 2 | 20120611 | |||
| 7 | Constant | Private | Type reference (TYPE) | I | 1 | 20120611 | |||
| 8 | Constant | Private | Type reference (TYPE) | I | 0 | 20120611 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | RSWSOURCET | ABAP Source | 20110928 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | RSEUMOD | Settings for ABAP Workbench | 20110928 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Format Source / Keywords and Indentations | 20110928 | |
| 2 | Instance method | Public | Method | 20120611 | ||
| 3 | Instance method | Private | Method | Indent | 20110928 | |
| 4 | Instance method | Private | Method | Read Workbench Settings | 20110928 | |
| 5 | Instance method | Public | Method | 20120611 | ||
| 6 | Instance method | Private | Method | 20110928 |
Events
Class CL_SEDI_PRETTY_PRINTER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_SETTINGS | Public | See coding | 20120611 | BEGIN OF ts_settings,
indent TYPE abap_bool,
comment TYPE xsdboolean,
case_mode TYPE string,
END OF ts_settings
|
Method Signatures
Method FORMAT_SOURCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_SOURCE | Call by reference | Type reference (TYPE) | RSWSOURCET | ABAP-Source | 20110928 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Formatierung der Source | 20110928 |
Method GET_WB_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_SETTINGS | Value transfer | Type reference (TYPE) | TS_SETTINGS | 20120611 |
Method GET_WB_SETTINGS on class CL_SEDI_PRETTY_PRINTER has no exception.
Method INDENT Signature
Method INDENT on class CL_SEDI_PRETTY_PRINTER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei der Formatierung der Source | 20110928 |
Method READ_WB_SETTINGS Signature
Method READ_WB_SETTINGS on class CL_SEDI_PRETTY_PRINTER has no parameter.
Method READ_WB_SETTINGS on class CL_SEDI_PRETTY_PRINTER has no exception.
Method SET_WB_SETTINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SETTINGS | Call by reference | Type reference (TYPE) | TS_SETTINGS | 20120611 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error During Formatting of Source | 20120611 |
Method TRANSFORM Signature
Method TRANSFORM on class CL_SEDI_PRETTY_PRINTER has no parameter.
Method TRANSFORM on class CL_SEDI_PRETTY_PRINTER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |