SAP ABAP Class CL_RFAC_STATEMENT_MATCHER (match tokens of a statement against predefined templates)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-AIE-REF (Application Component) Tools for Refactoring ABAP Artifacts
     SRFAC_BLACKBOARD (Package) Refactoring Blackboard
Properties
Class CL_RFAC_STATEMENT_MATCHER  
Short Description match tokens of a statement against predefined templates    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SRFAC_BLACKBOARD   Refactoring Blackboard 
Created 20121001   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_RFAC_STATEMENT_MATCHER has no forward declaration.
Interfaces
Class CL_RFAC_STATEMENT_MATCHER has no interface implemented.
Friends
Class CL_RFAC_STATEMENT_MATCHER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MATCH_RESULTS Instance attribute Private Type reference (TYPE) LCL_STATEMENT_PART=>TY_MATCH_RESULTS 20121002
2 SUBSEQENCE Static Attribute Public See coding 20121004
3 SYNTAX_RULES Static Attribute Public See coding 20121002
4 TEMPLATE Instance attribute Private Object reference (TYPE REF TO) LCL_STATEMENT_PART 20121002
5 TEMPLATES Static Attribute Public See coding 20121002
6 TOKENS_OF_STMNT Instance attribute Private Type reference (TYPE) IF_RIS_ADT_SOURCE_HANDLER=>TY_T_TOKEN 20121025
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor 20121002
2 CREATE Static method Public Method 20121002
3 DOES_SEQUENCE_MATCH Instance method Public Method 20121002
4 DOES_STATEMENT_MATCH Instance method Public Method 20121002
5 FIND_MATCH_DETAIL Instance method Private Method 20121002
6 FIND_SUBSEQUENCE_MATCH Static method Public Method 20121004
7 GET_ALL_IDS_IN_SEQUENCE Instance method Public Method 20121002
8 GET_KEYWORD_IN_SEQUENCE Instance method Public Method 20121002
9 GET_SINGLE_ID_IN_SEQUENCE Instance method Public Method 20121002
10 GET_TOKEN_INDEX_IN_SEQUENCE Instance method Public Method 20121025
11 GET_TOKEN_INDICES_IN_SEQUENCE Instance method Public Method 20121025
Events
Class CL_RFAC_STATEMENT_MATCHER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_INT_TABLE Public See coding 20121025 ty_int_table type table of i with default key
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_RFAC_STATEMENT_MATCHER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_RFAC_STATEMENT_MATCHER has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TEMPLATE Call by reference Object reference (TYPE REF TO) IF_RFAC_STATEMENT_TEMPLATE 20121002
2 Returning R_INSTANCE Value transfer Object reference (TYPE REF TO) CL_RFAC_STATEMENT_MATCHER 20121002

Method CREATE on class CL_RFAC_STATEMENT_MATCHER has no exception.

Method DOES_SEQUENCE_MATCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SEQUENCE Call by reference Type reference (TYPE) STRING 20121002
2 Returning R_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20121002
# Exception Resumable Description Created on
1 CX_RFAC_DYNAMIC 20121002

Method DOES_STATEMENT_MATCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_QUALIFIED_TOKENS Call by reference Type reference (TYPE) IF_RIS_ADT_SOURCE_HANDLER=>TY_T_TOKEN 20121002
2 Returning R_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20121002

Method DOES_STATEMENT_MATCH on class CL_RFAC_STATEMENT_MATCHER has no exception.

Method FIND_MATCH_DETAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CATEGORY Call by reference Type reference (TYPE) STRING 20121002
2 Importing I_INDEX Call by reference Type reference (TYPE) I 20121002
3 Importing I_SEQUENCE Call by reference Type reference (TYPE) STRING 20121002
4 Returning R_RESULT Value transfer Type reference (TYPE) LCL_STATEMENT_PART=>TY_MATCH_DETAIL 20121002
# Exception Resumable Description Created on
1 CX_RFAC_DYNAMIC 20121002

Method FIND_SUBSEQUENCE_MATCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IDENTIFIER_INDEX Call by reference Type reference (TYPE) I 1 20121004
2 Importing I_RELATIVE_TOKEN_INDEX Call by reference Type reference (TYPE) I 20121004
3 Importing I_SUB_SEQUENCE Call by reference Type reference (TYPE) STRING 20121004
4 Importing I_TOKENS_OF_STMNT Call by reference Type reference (TYPE) IF_RIS_ADT_SOURCE_HANDLER=>TY_T_TOKEN 20121004
5 Returning R_RESULT Value transfer Type reference (TYPE) STRING 20121004

Method FIND_SUBSEQUENCE_MATCH on class CL_RFAC_STATEMENT_MATCHER has no exception.

Method GET_ALL_IDS_IN_SEQUENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX Call by reference Type reference (TYPE) I 1 20121002
2 Importing I_SEQUENCE Call by reference Type reference (TYPE) STRING 20121002
3 Returning R_RESULT Value transfer Type reference (TYPE) STRING_TABLE 20121002
# Exception Resumable Description Created on
1 CX_RFAC_DYNAMIC 20121002

Method GET_KEYWORD_IN_SEQUENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX Call by reference Type reference (TYPE) I 1 20121002
2 Importing I_SEQUENCE Call by reference Type reference (TYPE) STRING 20121002
3 Returning R_RESULT Value transfer Type reference (TYPE) STRING 20121002
# Exception Resumable Description Created on
1 CX_RFAC_DYNAMIC 20121002

Method GET_SINGLE_ID_IN_SEQUENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX Call by reference Type reference (TYPE) I 1 20121002
2 Importing I_SEQUENCE Call by reference Type reference (TYPE) STRING 20121002
3 Returning R_RESULT Value transfer Type reference (TYPE) STRING 20121002
# Exception Resumable Description Created on
1 CX_RFAC_DYNAMIC 20121002

Method GET_TOKEN_INDEX_IN_SEQUENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX Call by reference Type reference (TYPE) I 1 20121025
2 Importing I_SEQUENCE Call by reference Type reference (TYPE) STRING 20121025
3 Returning R_RESULT Value transfer Type reference (TYPE) I 20121025
# Exception Resumable Description Created on
1 CX_RFAC_DYNAMIC 20121025

Method GET_TOKEN_INDICES_IN_SEQUENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_INDEX Call by reference Type reference (TYPE) I 1 20121025
2 Importing I_SEQUENCE Call by reference Type reference (TYPE) STRING 20121025
3 Returning R_RESULT Value transfer Type reference (TYPE) TY_INT_TABLE 20121025
# Exception Resumable Description Created on
1 CX_RFAC_DYNAMIC 20121025
History
Last changed by/on SAP  20140121 
SAP Release Created in 740