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 | Instance attribute | Private | Type reference (TYPE) | RSWSOURCET | ABAP Source | 20100928 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | I | 20101201 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | RSWSOURCET | ABAP Source | 20110201 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | RS38L-NAME | 20100927 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | I | 20101004 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | I | 20100927 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | 20101201 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | HEADER_FB | 20120828 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | I | 20101201 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | RS38L-INCLUDE | ABAP Program Name | 20101123 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120828 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | RSWSOURCET | 20110201 | ||||
| 13 | Instance attribute | Private | Type reference (TYPE) | RSWSOURCET | ABAP Source | 20100928 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | X when set_source got the source in form based sight | 20110201 | ||
| 15 | Instance attribute | Private | See coding | 20110201 | |||||
| 16 | Instance attribute | Private | See coding | 20110201 | |||||
| 17 | Instance attribute | Private | See coding | 20110201 | |||||
| 18 | Instance attribute | Private | See coding | 20110201 | |||||
| 19 | Instance attribute | Private | See coding | 20110201 | |||||
| 20 | Instance attribute | Private | See coding | 20110201 | |||||
| 21 | Instance attribute | Private | Type reference (TYPE) | RSWSOURCET | 20110201 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Delivers the source based sight of a function module | 20110201 | |
| 2 | Static method | Public | Method | Provides an instance of the class | 20100927 | |
| 3 | Instance method | Private | Method | 20110323 | ||
| 4 | Instance method | Private | Method | 20110201 | ||
| 5 | Static method | Private | Method | Moves TFDIR/RSINFDIR Attributes to RS38L | 20120828 | |
| 6 | Instance method | Private | Method | Provides the function module information from the sourcecode | 20110201 | |
| 7 | Instance method | Public | Method | 20120319 | ||
| 8 | Instance method | Public | Method | Returns the row of FUNCTION statement in complete_source | 20100927 | |
| 9 | Instance method | Public | Method | Returns the FUPARAREF entries from the signature source | 20100927 | |
| 10 | Instance method | Public | Method | Provides the includes of a FUNC for the syntax-check | 20110201 | |
| 11 | Instance method | Public | Method | Returns the source_with_comments from complete_source | 20100927 | |
| 12 | Instance method | Public | Method | Maps the position from source based to form based | 20110201 | |
| 13 | Instance method | Public | Method | Maps the position from form based to source based | 20110201 | |
| 14 | Instance method | Public | Method | Set the source code | 20110201 | |
| 15 | Instance method | Public | Method | Fills the attribute source_with_comments | 20100928 | |
| 16 | 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 | COMPOUND_SOURCE | Value transfer | Type reference (TYPE) | RSWSOURCET | ABAP Source | 20110201 | |||
| 2 | FUNCNAME | Call by reference | Type reference (TYPE) | RS38L-NAME | 20110201 | ||||
| 3 | HEADER | Call by reference | Type reference (TYPE) | HEADER_FB | Header Data From Function Builder | 20110201 | |||
| 4 | PARAMETERS | Call by reference | Type reference (TYPE) | RSFB_PARAM | Parameters | 20110201 | |||
| 5 | 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 | FB_HEADER | Call by reference | Type reference (TYPE) | HEADER_FB | Header Data From Function Builder | 20120829 | |||
| 2 | FUNCNAME | Call by reference | Type reference (TYPE) | RS38L-NAME | 20100927 | ||||
| 3 | INCLUDENAME | Call by reference | Type reference (TYPE) | RS38L-INCLUDE | ABAP Program Name | 20101123 | |||
| 4 | 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 | FUNC_STATEMENT | Value transfer | Type reference (TYPE) | SSTMNT | Description of an ABAP/4 Source Analysis Statement | 20110323 | |||
| 2 | FUNC_TOKEN | Value transfer | Type reference (TYPE) | STOKESX | Extended String Description of Token in ABAP Source Analysis | 20110323 | |||
| 3 | LAST_COMMENT_TOKEN | Value transfer | Type reference (TYPE) | STOKESX | 20110323 | ||||
| 4 | TAB_STATEMENTS | Value transfer | Type reference (TYPE) | SSTMNT_T | 20110323 | ||||
| 5 | 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 | LAST_COMMENT_TOKEN | Value transfer | Type reference (TYPE) | STOKESX | 20110201 | ||||
| 2 | TAB_COMMENT_TOKENS | Value transfer | Type reference (TYPE) | STOKESX_T | 20110201 | ||||
| 3 | TAB_SSTMNT | Value transfer | Type reference (TYPE) | SSTMNT_T | 20110201 | ||||
| 4 | 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 | APPL | Call by reference | Type reference (TYPE) | TFDIR-APPL | Application | 20120828 | |||
| 2 | FMODE | Call by reference | Type reference (TYPE) | TFDIR-FMODE | Remote Call | 20120828 | |||
| 3 | HEADER | Call by reference | Type reference (TYPE) | HEADER_FB | Header | 20120828 | |||
| 4 | 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 | FB_HEADER | Value transfer | Type reference (TYPE) | HEADER_FB | 20110201 | ||||
| 2 | FB_INTERFACE | Value transfer | Type reference (TYPE) | RSFBINTFV | 20110201 | ||||
| 3 | FOR_CHECK | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110201 | |||
| 4 | FUNCTION_ROW | Value transfer | Type reference (TYPE) | I | 20110201 | ||||
| 5 | SIGN_SOURCE | Value transfer | Type reference (TYPE) | RSWSOURCET | 20110201 | ||||
| 6 | UINCL_SOURCE | Value transfer | Type reference (TYPE) | RSWSOURCET | 20110201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110201 |
Method GET_FUNCTION_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | CLASS_BASED_EXCEPTIONS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100927 | ||||
| 2 | FUNCNAME | Call by reference | Type reference (TYPE) | RS38L-NAME | 20100927 | ||||
| 3 | SIGNATURE_SOURCE | Call by reference | Type reference (TYPE) | RSWSOURCET | 20100927 | ||||
| 4 | TAB_FUPARAREF | Call by reference | Type reference (TYPE) | RSFB_PARAM | 20100927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100927 |
Method GET_INCLUDES_4_SYNTAX_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FB_HEADER | Call by reference | Type reference (TYPE) | HEADER_FB | Header Data From Function Builder | 20110201 | |||
| 2 | FB_INTERFACE | Call by reference | Type reference (TYPE) | RSFBINTFV | Interface of a Function Module | 20110201 | |||
| 3 | GLOBAL_CHECK | Value transfer | Type reference (TYPE) | CHAR1 | SPACE | Single-Character Flag | 20110201 | ||
| 4 | REPLACING_TAB | Call by reference | Type reference (TYPE) | SREPTAB | 20110201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110201 |
Method GET_SOURCE_WITH_COMMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMPLETE_SOURCE | Value transfer | Type reference (TYPE) | RSWSOURCET | 20100927 | ||||
| 2 | DOLLAR_SOURCE | Value transfer | Type reference (TYPE) | RSWSOURCET | 20101203 | ||||
| 3 | SOURCE_WITH_COMMENTS | Value transfer | Type reference (TYPE) | RSWSOURCET | 20100927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100927 |
Method MAP_POS_SOURCEBASED_2_UINCLUDE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DINCLUDE_SOURCE | Value transfer | Type reference (TYPE) | RSWSOURCET | ABAP Source | 20110211 | |||
| 2 | INCLUDE_COL | Value transfer | Type reference (TYPE) | I | 20110201 | ||||
| 3 | INCLUDE_NAME | Value transfer | Type reference (TYPE) | PROGNAME | 20110201 | ||||
| 4 | INCLUDE_ROW | Value transfer | Type reference (TYPE) | I | 20110201 | ||||
| 5 | SOURCEBASED_COL | Value transfer | Type reference (TYPE) | I | 20110201 | ||||
| 6 | SOURCEBASED_ROW | Value transfer | Type reference (TYPE) | I | 20110201 | ||||
| 7 | UINCLUDE_COL | Value transfer | Type reference (TYPE) | I | 20110201 | ||||
| 8 | UINCLUDE_ROW | Value transfer | Type reference (TYPE) | I | 20110201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110201 |
Method MAP_POS_UINCLUDE_2_SOURCEBASED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INCLUDE_COL | Value transfer | Type reference (TYPE) | I | 20110201 | ||||
| 2 | INCLUDE_NAME | Value transfer | Type reference (TYPE) | PROGNAME | ABAP Program Name | 20110201 | |||
| 3 | INCLUDE_ROW | Value transfer | Type reference (TYPE) | I | 20110201 | ||||
| 4 | SOURCEBASED_COL | Value transfer | Type reference (TYPE) | I | 20110201 | ||||
| 5 | SOURCEBASED_ROW | Value transfer | Type reference (TYPE) | I | 20110201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110201 |
Method SET_SOURCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FOR_SYNTAX_CHECK | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110201 | |||
| 2 | SOURCE | Value transfer | Type reference (TYPE) | RSWSOURCET | 20110201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110201 |
Method SET_SOURCE_WITH_COMMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FOR_SYNTAX_CHECK | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110201 | |||
| 2 | SOURCE | Value transfer | Type reference (TYPE) | RSWSOURCET | 20110201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20110201 |
Method SPLIT_SOURCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMPOUND_SOURCE | Call by reference | Type reference (TYPE) | RSWSOURCET | 20100927 | ||||
| 2 | FOR_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | X = for syntax-check | 20100927 | ||
| 3 | FUNCNAME | Call by reference | Type reference (TYPE) | RS38L-NAME | 20100927 | ||||
| 4 | FUNCTION_IMPLEM_ROW | Call by reference | Type reference (TYPE) | I | 20101004 | ||||
| 5 | FUNCTION_ROW | Call by reference | Type reference (TYPE) | I | 20100927 | ||||
| 6 | FUNCTION_ROW_END | Call by reference | Type reference (TYPE) | I | 20100928 | ||||
| 7 | SIGN_SOURCE | Call by reference | Type reference (TYPE) | RSWSOURCET | 20100927 | ||||
| 8 | UINCL_SOURCE | Call by reference | Type reference (TYPE) | RSWSOURCET | 20100927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unexpected Token during scan | 20100929 | ||
| 2 | Unexpected Token during scan | 20100929 | ||
| 3 | 20100929 | |||
| 4 | Unexpected Token during scan | 20100929 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 800 |