SAP ABAP Class CL_ADT_SOURCE_TRIMMER (CL_ADT_SOURCE_TRIMMER)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-AIE (Application Component) Installation and Infrastructure for ABAP Tools in Eclipse
     SADT_UTILITIES (Package) ADT Utilities
Properties
Class CL_ADT_SOURCE_TRIMMER  
Short Description    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SADT_UTILITIES   ADT Utilities 
Created 20110725   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ADT_SOURCE_TRIMMER has no forward declaration.
Interfaces
Class CL_ADT_SOURCE_TRIMMER has no interface implemented.
Friends
Class CL_ADT_SOURCE_TRIMMER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_CLASS Constant Private Type reference (TYPE) STRING 'CLASS' 20111205
2 CO_ENDCLASS Constant Private Type reference (TYPE) STRING 'ENDCLASS' 20111205
3 CO_ENDMETHOD Constant Private Type reference (TYPE) STRING 'ENDMETHOD' 20111205
4 CO_IMPLEMENTATION Constant Private Type reference (TYPE) STRING 'IMPLEMENTATION' 20111205
5 CO_METHOD Constant Private Type reference (TYPE) STRING 'METHOD' 20111205
6 CO_TRIM_AT_CODE_LINES_SIZE Constant Public Type reference (TYPE) I 150 20111205
Methods
# Method Level Visibility Method type Description Created on
1 DELETE_CODE_BLOCK Static method Private Method 20111205
2 DELETE_CODE_BLOCKS_AFTER Static method Private Method 20111205
3 DELETE_CODE_BLOCKS_BEFORE Static method Private Method 20111205
4 FIND_CODE_BLOCKS Static method Private Method 20111205
5 TRIM_SOURCE Static method Public Method Removes unwanted code blocks 20111205
Events
Class CL_ADT_SOURCE_TRIMMER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_CODE_BLOCK Private See coding 20111205 BEGIN OF ty_code_block, from_row TYPE i, from_col TYPE i, to_row TYPE i, to_col TYPE i, END OF ty_code_block
2 TY_CODE_BLOCKS Private See coding 20111205 ty_code_blocks TYPE STANDARD TABLE OF ty_code_block WITH DEFAULT KEY
3 TY_CODE_BLOCKS_INFO Private See coding 20111205 BEGIN OF ty_code_blocks_info, code_blocks TYPE ty_code_blocks, inside_code_block_index TYPE i, between_code_block_from TYPE i, between_code_block_to TYPE i, END OF ty_code_blocks_info
Method Signatures

Method DELETE_CODE_BLOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CODE_BLOCK Call by reference Type reference (TYPE) TY_CODE_BLOCK 20111205
2 Changing SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20111205

Method DELETE_CODE_BLOCK on class CL_ADT_SOURCE_TRIMMER has no exception.

Method DELETE_CODE_BLOCKS_AFTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CODE_BLOCKS_INFO Call by reference Type reference (TYPE) TY_CODE_BLOCKS_INFO 20111205
2 Changing SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20111205

Method DELETE_CODE_BLOCKS_AFTER on class CL_ADT_SOURCE_TRIMMER has no exception.

Method DELETE_CODE_BLOCKS_BEFORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CODE_BLOCKS_INFO Call by reference Type reference (TYPE) TY_CODE_BLOCKS_INFO 20111205
2 Changing SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20111205
3 Changing XPOS Call by reference Type reference (TYPE) I 20111205
4 Changing YPOS Call by reference Type reference (TYPE) I 20111205

Method DELETE_CODE_BLOCKS_BEFORE on class CL_ADT_SOURCE_TRIMMER has no exception.

Method FIND_CODE_BLOCKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BEG_FROM_DELTA Call by reference Type reference (TYPE) I 20111205
2 Importing BEG_STR Call by reference Type reference (TYPE) STRING 20111205
3 Importing BEG_TO_DELTA Call by reference Type reference (TYPE) I 20111205
4 Exporting CODE_BLOCKS_INFO Call by reference Type reference (TYPE) TY_CODE_BLOCKS_INFO 20111205
5 Importing END_FROM_DELTA Call by reference Type reference (TYPE) I 20111205
6 Importing END_STR Call by reference Type reference (TYPE) STRING 20111205
7 Importing END_TO_DELTA Call by reference Type reference (TYPE) I 20111205
8 Importing IN_CODE_BLOCK Call by reference Type reference (TYPE) TY_CODE_BLOCK 20111205
9 Importing STATEMENTS Call by reference Type reference (TYPE) SEDI_STM 20111205
10 Importing TOKENS Call by reference Type reference (TYPE) SEDI_TK 20111205
11 Importing XPOS Call by reference Type reference (TYPE) I 20111205
12 Importing YPOS Call by reference Type reference (TYPE) I 20111205
# Exception Resumable Description Created on
1 LCX_INVALID_SOURCE 20111205

Method TRIM_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20111205
2 Changing XPOS Call by reference Type reference (TYPE) I 20111205
3 Changing YPOS Call by reference Type reference (TYPE) I 20111205

Method TRIM_SOURCE on class CL_ADT_SOURCE_TRIMMER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740