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 CO_CASE_MODE_EMPTY Constant Public Type reference (TYPE) STRING 'EMPTY' 20120611
2 CO_CASE_MODE_HIKEY Constant Public Type reference (TYPE) STRING 'HIKEY' 20120611
3 CO_CASE_MODE_LOKEY Constant Public Type reference (TYPE) STRING 'LOKEY' 20120611
4 CO_CASE_MODE_LOWER Constant Public Type reference (TYPE) STRING 'LOWER' 20120611
5 CO_CASE_MODE_UPPER Constant Public Type reference (TYPE) STRING 'UPPER' 20120611
6 CO_INDENT Constant Private Type reference (TYPE) I 2 20120611
7 CO_INDENT_AND_COMMENT Constant Private Type reference (TYPE) I 1 20120611
8 CO_INDENT_NO Constant Private Type reference (TYPE) I 0 20120611
9 SOURCE Instance attribute Private Type reference (TYPE) RSWSOURCET ABAP Source 20110928
10 WB_SETTINGS Instance attribute Private Type reference (TYPE) RSEUMOD Settings for ABAP Workbench 20110928
Methods
# Method Level Visibility Method type Description Created on
1 FORMAT_SOURCE Instance method Public Method Format Source / Keywords and Indentations 20110928
2 GET_WB_SETTINGS Instance method Public Method 20120611
3 INDENT Instance method Private Method Indent 20110928
4 READ_WB_SETTINGS Instance method Private Method Read Workbench Settings 20110928
5 SET_WB_SETTINGS Instance method Public Method 20120611
6 TRANSFORM 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 Changing C_SOURCE Call by reference Type reference (TYPE) RSWSOURCET ABAP-Source 20110928
# Exception Resumable Description Created on
1 CX_SEDI_PRETTY_PRINTER 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 Returning 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 CX_SEDI_PRETTY_PRINTER 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 Importing I_SETTINGS Call by reference Type reference (TYPE) TS_SETTINGS 20120611
# Exception Resumable Description Created on
1 CX_SEDI_PRETTY_PRINTER 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