SAP ABAP Class CL_FB_FUNC_SOURCE_CONVERTER (Convert sourcebased- to comment-code)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-AIE-SRC (Application Component) ABAP Source Code editors in ABAP in Eclipse
     SFUNC_ADT (Package) ABAP Develeopment Tools integration for Function Builder
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SEDI_SOURCE_POS_CONVERTER Conversion of source code positions 20121024
Properties
Class CL_FB_FUNC_SOURCE_CONVERTER  
Short Description Convert sourcebased- to comment-code    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFUNC_ADT   ABAP Develeopment Tools integration for Function Builder 
Created 20100927   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_FB_FUNC_SOURCE_CONVERTER has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_SEDI_SOURCE_POS_CONVERTER Conversion of source code positions 20121024
Friends
Class CL_FB_FUNC_SOURCE_CONVERTER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 COMPLETE_SOURCE Instance attribute Private Type reference (TYPE) RSWSOURCET ABAP Source 20100928
2 DEFINITION_LINE_DIFFERENCE Instance attribute Private Type reference (TYPE) I 20101201
3 DOLLAR_SOURCE Instance attribute Private Type reference (TYPE) RSWSOURCET ABAP Source 20110201
4 FUNCNAME Instance attribute Private Type reference (TYPE) RS38L-NAME 20100927
5 FUNCTION_IMPLEM_ROW Instance attribute Private Type reference (TYPE) I 20101004
6 FUNCTION_ROW Instance attribute Private Type reference (TYPE) I 20100927
7 FUNCTION_ROW_END Instance attribute Private Type reference (TYPE) I 20101201
8 FUNC_HEADER Instance attribute Private Type reference (TYPE) HEADER_FB 20120828
9 IMPLEMENTATION_LINE_DIFFERENCE Instance attribute Private Type reference (TYPE) I 20101201
10 INCLUDENAME Instance attribute Private Type reference (TYPE) RS38L-INCLUDE ABAP Program Name 20101123
11 SET_SRC_FOR_SYNTAX_CHECK Instance attribute Private Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20120828
12 SIGN_SOURCE_FROM_COMPLSRC Instance attribute Private Type reference (TYPE) RSWSOURCET 20110201
13 SOURCE_WITH_COMMENTS Instance attribute Private Type reference (TYPE) RSWSOURCET ABAP Source 20100928
14 SOURCE_WITH_COMMENTS_SET Instance attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE X when set_source got the source in form based sight 20110201
15 TAB_STATEMNTS_COMMENTSRC Instance attribute Private See coding 20110201
16 TAB_STATEMNTS_DOLLAR Instance attribute Private See coding 20110201
17 TAB_STATEMNTS_SIGNSRC Instance attribute Private See coding 20110201
18 TAB_TOKENS_COMMENTSRC Instance attribute Private See coding 20110201
19 TAB_TOKENS_DOLLAR Instance attribute Private See coding 20110201
20 TAB_TOKENS_SIGNSRC Instance attribute Private See coding 20110201
21 UINCL_SOURCE_FROM_COMPLSRC Instance attribute Private Type reference (TYPE) RSWSOURCET 20110201
Methods
# Method Level Visibility Method type Description Created on
1 CONCATENATE_SOURCE Instance method Public Method Delivers the source based sight of a function module 20110201
2 CREATE_INSTANCE Static method Public Method Provides an instance of the class 20100927
3 DETERMINE_COMMENT_BLOCK Instance method Private Method 20110323
4 DETERMINE_COMMENT_TOKENS Instance method Private Method 20110201
5 FDIR_TO_RS38L_MOVE Static method Private Method Moves TFDIR/RSINFDIR Attributes to RS38L 20120828
6 FILL_FB_DATA_FROM_SOURCE Instance method Private Method Provides the function module information from the sourcecode 20110201
7 GET_FUNCTION_NAME Instance method Public Method 20120319
8 GET_FUNCTION_ROW Instance method Public Method Returns the row of FUNCTION statement in complete_source 20100927
9 GET_FUPARAREF Instance method Public Method Returns the FUPARAREF entries from the signature source 20100927
10 GET_INCLUDES_4_SYNTAX_CHECK Instance method Public Method Provides the includes of a FUNC for the syntax-check 20110201
11 GET_SOURCE_WITH_COMMENTS Instance method Public Method Returns the source_with_comments from complete_source 20100927
12 MAP_POS_SOURCEBASED_2_UINCLUDE Instance method Public Method Maps the position from source based to form based 20110201
13 MAP_POS_UINCLUDE_2_SOURCEBASED Instance method Public Method Maps the position from form based to source based 20110201
14 SET_SOURCE Instance method Public Method Set the source code 20110201
15 SET_SOURCE_WITH_COMMENTS Instance method Public Method Fills the attribute source_with_comments 20100928
16 SPLIT_SOURCE Instance method Public Method Splits complete_source in signature- and implementation-part 20100927
Events
Class CL_FB_FUNC_SOURCE_CONVERTER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 SSTMNT_T Private See coding 20110201 sstmnt_t type table of sstmnt
2 STOKESX_T Private See coding 20110201 stokesx_t type standard table of stokesx
Method Signatures

Method CONCATENATE_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning COMPOUND_SOURCE Value transfer Type reference (TYPE) RSWSOURCET ABAP Source 20110201
2 Importing FUNCNAME Call by reference Type reference (TYPE) RS38L-NAME 20110201
3 Importing HEADER Call by reference Type reference (TYPE) HEADER_FB Header Data From Function Builder 20110201
4 Importing PARAMETERS Call by reference Type reference (TYPE) RSFB_PARAM Parameters 20110201
5 Importing UINCL_SOURCE Call by reference Type reference (TYPE) RSWSOURCET ABAP Source 20110201

Method CONCATENATE_SOURCE on class CL_FB_FUNC_SOURCE_CONVERTER has no exception.

Method CREATE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FB_HEADER Call by reference Type reference (TYPE) HEADER_FB Header Data From Function Builder 20120829
2 Importing FUNCNAME Call by reference Type reference (TYPE) RS38L-NAME 20100927
3 Importing INCLUDENAME Call by reference Type reference (TYPE) RS38L-INCLUDE ABAP Program Name 20101123
4 Returning RESULT Value transfer Object reference (TYPE REF TO) CL_FB_FUNC_SOURCE_CONVERTER Convert sourcebased- to comment-code 20100927

Method CREATE_INSTANCE on class CL_FB_FUNC_SOURCE_CONVERTER has no exception.

Method DETERMINE_COMMENT_BLOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting FUNC_STATEMENT Value transfer Type reference (TYPE) SSTMNT Description of an ABAP/4 Source Analysis Statement 20110323
2 Exporting FUNC_TOKEN Value transfer Type reference (TYPE) STOKESX Extended String Description of Token in ABAP Source Analysis 20110323
3 Exporting LAST_COMMENT_TOKEN Value transfer Type reference (TYPE) STOKESX 20110323
4 Importing TAB_STATEMENTS Value transfer Type reference (TYPE) SSTMNT_T 20110323
5 Importing TAB_TOKENS Value transfer Type reference (TYPE) STOKESX_T 20110323

Method DETERMINE_COMMENT_BLOCK on class CL_FB_FUNC_SOURCE_CONVERTER has no exception.

Method DETERMINE_COMMENT_TOKENS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing LAST_COMMENT_TOKEN Value transfer Type reference (TYPE) STOKESX 20110201
2 Changing TAB_COMMENT_TOKENS Value transfer Type reference (TYPE) STOKESX_T 20110201
3 Importing TAB_SSTMNT Value transfer Type reference (TYPE) SSTMNT_T 20110201
4 Importing TAB_TOKENS Value transfer Type reference (TYPE) STOKESX_T 20110201

Method DETERMINE_COMMENT_TOKENS on class CL_FB_FUNC_SOURCE_CONVERTER has no exception.

Method FDIR_TO_RS38L_MOVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing APPL Call by reference Type reference (TYPE) TFDIR-APPL Application 20120828
2 Importing FMODE Call by reference Type reference (TYPE) TFDIR-FMODE Remote Call 20120828
3 Changing HEADER Call by reference Type reference (TYPE) HEADER_FB Header 20120828
4 Importing UTASK Call by reference Type reference (TYPE) TFDIR-UTASK Update task 20120828

Method FDIR_TO_RS38L_MOVE on class CL_FB_FUNC_SOURCE_CONVERTER has no exception.

Method FILL_FB_DATA_FROM_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing FB_HEADER Value transfer Type reference (TYPE) HEADER_FB 20110201
2 Changing FB_INTERFACE Value transfer Type reference (TYPE) RSFBINTFV 20110201
3 Importing FOR_CHECK Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110201
4 Exporting FUNCTION_ROW Value transfer Type reference (TYPE) I 20110201
5 Importing SIGN_SOURCE Value transfer Type reference (TYPE) RSWSOURCET 20110201
6 Importing UINCL_SOURCE Value transfer Type reference (TYPE) RSWSOURCET 20110201
# Exception Resumable Description Created on
1 CX_FB_SCAN_ERROR 20110201

Method GET_FUNCTION_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) RS38L-NAME 20120319

Method GET_FUNCTION_NAME on class CL_FB_FUNC_SOURCE_CONVERTER has no exception.

Method GET_FUNCTION_ROW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) I 20100927

Method GET_FUNCTION_ROW on class CL_FB_FUNC_SOURCE_CONVERTER has no exception.

Method GET_FUPARAREF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CLASS_BASED_EXCEPTIONS Call by reference Type reference (TYPE) ABAP_BOOL 20100927
2 Importing FUNCNAME Call by reference Type reference (TYPE) RS38L-NAME 20100927
3 Importing SIGNATURE_SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20100927
4 Exporting TAB_FUPARAREF Call by reference Type reference (TYPE) RSFB_PARAM 20100927
# Exception Resumable Description Created on
1 CX_FB_SCAN_ERROR 20100927

Method GET_INCLUDES_4_SYNTAX_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing FB_HEADER Call by reference Type reference (TYPE) HEADER_FB Header Data From Function Builder 20110201
2 Changing FB_INTERFACE Call by reference Type reference (TYPE) RSFBINTFV Interface of a Function Module 20110201
3 Importing GLOBAL_CHECK Value transfer Type reference (TYPE) CHAR1 SPACE Single-Character Flag 20110201
4 Exporting REPLACING_TAB Call by reference Type reference (TYPE) SREPTAB 20110201
# Exception Resumable Description Created on
1 CX_FB_SCAN_ERROR 20110201

Method GET_SOURCE_WITH_COMMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COMPLETE_SOURCE Value transfer Type reference (TYPE) RSWSOURCET 20100927
2 Exporting DOLLAR_SOURCE Value transfer Type reference (TYPE) RSWSOURCET 20101203
3 Changing SOURCE_WITH_COMMENTS Value transfer Type reference (TYPE) RSWSOURCET 20100927
# Exception Resumable Description Created on
1 CX_FB_SCAN_ERROR 20100927

Method MAP_POS_SOURCEBASED_2_UINCLUDE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DINCLUDE_SOURCE Value transfer Type reference (TYPE) RSWSOURCET ABAP Source 20110211
2 Exporting INCLUDE_COL Value transfer Type reference (TYPE) I 20110201
3 Exporting INCLUDE_NAME Value transfer Type reference (TYPE) PROGNAME 20110201
4 Exporting INCLUDE_ROW Value transfer Type reference (TYPE) I 20110201
5 Importing SOURCEBASED_COL Value transfer Type reference (TYPE) I 20110201
6 Importing SOURCEBASED_ROW Value transfer Type reference (TYPE) I 20110201
7 Exporting UINCLUDE_COL Value transfer Type reference (TYPE) I 20110201
8 Exporting UINCLUDE_ROW Value transfer Type reference (TYPE) I 20110201
# Exception Resumable Description Created on
1 CX_FB_SCAN_ERROR 20110201

Method MAP_POS_UINCLUDE_2_SOURCEBASED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing INCLUDE_COL Value transfer Type reference (TYPE) I 20110201
2 Importing INCLUDE_NAME Value transfer Type reference (TYPE) PROGNAME ABAP Program Name 20110201
3 Importing INCLUDE_ROW Value transfer Type reference (TYPE) I 20110201
4 Exporting SOURCEBASED_COL Value transfer Type reference (TYPE) I 20110201
5 Exporting SOURCEBASED_ROW Value transfer Type reference (TYPE) I 20110201
# Exception Resumable Description Created on
1 CX_FB_SCAN_ERROR 20110201

Method SET_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FOR_SYNTAX_CHECK Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110201
2 Importing SOURCE Value transfer Type reference (TYPE) RSWSOURCET 20110201
# Exception Resumable Description Created on
1 CX_FB_SCAN_ERROR 20110201

Method SET_SOURCE_WITH_COMMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FOR_SYNTAX_CHECK Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20110201
2 Importing SOURCE Value transfer Type reference (TYPE) RSWSOURCET 20110201
# Exception Resumable Description Created on
1 CX_FB_SCAN_ERROR 20110201

Method SPLIT_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COMPOUND_SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20100927
2 Importing FOR_CHECK Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE X = for syntax-check 20100927
3 Importing FUNCNAME Call by reference Type reference (TYPE) RS38L-NAME 20100927
4 Exporting FUNCTION_IMPLEM_ROW Call by reference Type reference (TYPE) I 20101004
5 Exporting FUNCTION_ROW Call by reference Type reference (TYPE) I 20100927
6 Exporting FUNCTION_ROW_END Call by reference Type reference (TYPE) I 20100928
7 Exporting SIGN_SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20100927
8 Exporting UINCL_SOURCE Call by reference Type reference (TYPE) RSWSOURCET 20100927
# Exception Resumable Description Created on
1 CX_FB_SCAN_INVALID_STATEMENT Unexpected Token during scan 20100929
2 CX_FB_SCAN_NO_FUNCTION Unexpected Token during scan 20100929
3 CX_FB_SCAN_UNEXPECTED_FUNCTION 20100929
4 CX_FB_SCAN_UNEXPECTED_TOKEN Unexpected Token during scan 20100929
History
Last changed by/on SAP  20130531 
SAP Release Created in 800