Hierarchy

⤷

⤷

Properties
Class | CL_FDT_FORMULA_PARSER | |
Short Description | FDT: Formula Parser Class | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SFDT_EXPRESSIONS | BRFplus: Expressions |
Created | 20110504 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
4 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
5 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
6 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_FDT_FORMULA_PARSER has no interface implemented.
Friends
Class CL_FDT_FORMULA_PARSER has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A,' | 20110505 | ||
2 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR1 | '"' | 20110505 | ||
3 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR1 | '''' | 20110505 | ||
4 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'DIMEN_CONFLICT' | 20110928 | ||
5 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'FOLLOW_SET' | 20110920 | ||
6 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'POST_PARSING' | 20110920 | ||
7 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR2 | '''''' | 20110505 | ||
8 | ![]() |
Static Attribute | Private | Type reference (TYPE) | I | 61 | 20110505 | ||
9 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'DIV_RES_RNTIME_DEPENDENT' | 20111027 | ||
10 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A[()]' | 20110505 | ||
11 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A,' | 20110505 | ||
12 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | '' | 20110505 | ||
13 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | '' | 20120710 | ||
14 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | '' | 20120710 | ||
15 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A(''''{FDT_BOOLEAN}|''X''{FDT_BOOLEAN})' | 20110505 | ||
16 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A''[A-Z]{1,5}''{FDT_CURRENCY}' | 20110505 | ||
17 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A(([0-9]+([,.][0-9]+)?([,.][0-9]+)?(E[+-]?[0-9]+)?|[0-9]+))>(-)?' | 20120710 | ||
18 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A((-)?([0-9]+([,.][0-9]+)?([,.][0-9]+)?(E[+-]?[0-9]+)?|[0-9]+))>' | 20120710 | ||
19 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | '' | 20120710 | ||
20 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | '' | 20120710 | ||
21 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | '' | 20110505 | ||
22 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A''[A-Z0-9]{1,5}''{FDT_UNIT}' | 20110505 | ||
23 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A[A-Za-z][A-Za-z0-9_]*' | 20110505 | ||
24 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A[0-9A-F]{32}>' | 20110505 | ||
25 | ![]() |
Static Attribute | Private | Type reference (TYPE) | STRING | '' | 20110505 | ||
26 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A([+-*/&^<>=]|[<>]=|<>)' | 20110505 | ||
27 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'A[ ]+' | 20110505 | ||
28 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR1 | 'F' | 20110504 | ||
29 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR2 | 'BL' | 20110504 | ||
30 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR2 | 'BR' | 20110504 | ||
31 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR30 | 'brackets' | 30 Characters | 20120216 | |
32 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR30 | 'elementary' | 30 Characters | 20120216 | |
33 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR30 | 'functional' | Character Field Length = 10 | 20120216 | |
34 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR30 | 'param' | 30 Characters | 20120216 | |
35 | ![]() |
Static Attribute | Public | Type reference (TYPE) | T_FOLLOW_SET | 20110505 | |||
36 | ![]() |
Static Attribute | Public | Type reference (TYPE) | T_OPERATOR_PRIORITIES | 20110505 | |||
37 | ![]() |
Static Attribute | Public | Type reference (TYPE) | T_PRODUCTIONS | 20110505 | |||
38 | ![]() |
Instance attribute | Private | Type reference (TYPE) | IF_FDT_FORMULA=>T_FUNCTIONAL_DEF | Functional Definitions (formula function) | 20110510 | ||
39 | ![]() |
Instance attribute | Private | Type reference (TYPE) | T_TYPE_ID_BUFFER | 20110509 | |||
40 | ![]() |
Instance attribute | Private | Type reference (TYPE) | IF_FDT_TYPES=>ID | Formula ID | 20110510 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Method | Build formula table and check types when reducing symbols | 20110510 |
2 | ![]() |
Instance method | Private | Method | Checks compatibility of operands in addition/subtraction | 20110509 |
3 | ![]() |
Instance method | Private | Method | Checks compatibility of operands in comparison | 20110509 |
4 | ![]() |
Instance method | Private | Method | Checks compatibility of operands in division | 20110509 |
5 | ![]() |
Instance method | Private | Method | Get type information on elementary token | 20110512 |
6 | ![]() |
Instance method | Private | Method | Checks compatibility of operands in power | 20110509 |
7 | ![]() |
Instance method | Private | Method | Checks whether next symbol is contained in follow set | 20110504 |
8 | ![]() |
Instance method | Private | Method | Checks correctness of functional call | 20110512 |
9 | ![]() |
Instance method | Private | Method | Get type information on a binary operator | 20110512 |
10 | ![]() |
Instance method | Private | Method | Checks compatibility of operands in multiplication | 20110509 |
11 | ![]() |
Instance method | Private | Method | Checks if parsing is successful | 20110509 |
12 | ![]() |
Instance method | Public | Constructor | Constructor | 20110504 |
13 | ![]() |
Instance method | Private | Method | Finds regex match and appends it to the match table | 20110505 |
14 | ![]() |
Instance method | Private | Method | Get the longest regex match starting at the parameter string | 20110505 |
15 | ![]() |
Instance method | Private | Method | Get text for operators ( '+', '-', etc.. ) | 20110916 |
16 | ![]() |
Instance method | Private | Method | Needed during REVERSE_PSORT for finding a parameter in table | 20110509 |
17 | ![]() |
Instance method | Private | Method | Get table line properties | 20120216 |
18 | ![]() |
Instance method | Private | Method | Creates a string describing expected symbols in case of err | 20110510 |
19 | ![]() |
Instance method | Private | Method | Get data object instance | 20110509 |
20 | ![]() |
Instance method | Private | Method | Converts data object type to internal formula repr | 20110614 |
21 | ![]() |
Instance method | Private | Method | Checks consistency with ddic type | 20110510 |
22 | ![]() |
Instance method | Private | Method | Checks whether stack can be reduced,considers operator prios | 20110505 |
23 | ![]() |
Instance method | Private | Method | Determines whether only the start symbol is on the stack | 20110505 |
24 | ![]() |
Instance method | Private | Method | Checks if table is unstructured | 20110510 |
25 | ![]() |
Instance method | Private | Method | Loads grammer productions, follow sets | 20110505 |
26 | ![]() |
Instance method | Public | Method | Parse table of tokens | 20110505 |
27 | ![]() |
Instance method | Private | Method | Method for parsing formula with token table / formula string | 20110505 |
28 | ![]() |
Instance method | Private | Method | Reduces the stack with help of grammar rules (productions) | 20110504 |
29 | ![]() |
Instance method | Private | Method | Builds the psort so that the rpn (upn) is created | 20110504 |
30 | ![]() |
Instance method | Private | Method | Shifts a token onto the stack | 20110504 |
31 | ![]() |
Instance method | Private | Method | Tokenize Formula string into table of tokens | 20110505 |
32 | ![]() |
Instance method | Private | Method | Returns the grammar symbol on position pos from token table | 20110504 |
33 | ![]() |
Instance method | Private | Method | Returns error messages based on syntax checks | 20110804 |
34 | ![]() |
Instance method | Private | Method | Check for BRF+ specific functions | 20110613 |
35 | ![]() |
Instance method | Private | Method | Check consistency of table functionals in BRFplus Standard | 20120809 |
Events
Class CL_FDT_FORMULA_PARSER has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | ERROR_PURPOSE | Private | Type reference (TYPE) | STRING | 20110920 |
|
|
2 | GRAMMAR_SYMBOL | Public | See coding | 20110505 | grammar_symbol TYPE c LENGTH 10
|
||
3 | PRODUCTION_RIGHT_SIDE | Public | See coding | 20110505 | production_right_side TYPE c LENGTH 25
|
||
4 | S_FOLLOW_SET | Public | See coding | 20110505 | BEGIN OF s_follow_set,
symbol TYPE grammar_symbol,
follow_set TYPE string,
END OF s_follow_set
|
||
5 | S_OPERATOR_PRIORITY | Public | See coding | 20110505 | BEGIN OF s_operator_priority,
operator TYPE char2,
prio TYPE i,
associativity TYPE char5,
left_operand TYPE grammar_symbol, "grammer symbol that is left oprand of the operator in grammar (needed for priority check)
END OF s_operator_priority
|
||
6 | S_PROC_TOKEN | Public | See coding | 20110609 | BEGIN OF s_proc_token.
INCLUDE TYPE cl_fdt_formula_element=>ty_s_token.
TYPES: line TYPE fdt_expr_1401s-line.
TYPES: END OF s_proc_token
|
||
7 | S_PRODUCTION | Public | See coding | 20110505 | BEGIN OF s_production,
left_side TYPE grammar_symbol,
right_side_reversed TYPE production_right_side,
right_side_symbol_count TYPE i,
right_side_char_count TYPE i,
semantic_action TYPE c LENGTH 10, "semantic action executed when using this production for reduce
END OF s_production
|
||
8 | S_REGEX_MATCH | Private | See coding | 20110505 | BEGIN OF s_regex_match,
token_type TYPE fdt_formula_token_type,
token TYPE string,
string_from TYPE i,
string_to TYPE i,
match_len TYPE i,
prio TYPE i,
END OF s_regex_match
|
||
9 | S_STACK | Public | See coding | 20110505 | BEGIN OF s_stack,
grammar_symbol TYPE grammar_symbol,
token TYPE string,
token_semantic TYPE c LENGTH 10,
add_info TYPE string,
line TYPE i,
string_from TYPE i,
string_to TYPE i,
data_object_type TYPE if_fdt_types=>data_object_type,
element_type TYPE if_fdt_types=>element_type,
generic TYPE abap_bool,
END OF s_stack
|
||
10 | S_TOKEN | Public | See coding | 20110505 | BEGIN OF s_token,
token_type TYPE fdt_formula_token_type,
token TYPE string,
string_from TYPE i,
string_to TYPE i,
add_info TYPE string,
END OF s_token
|
||
11 | S_TYPE_ID_BUFFER | Private | See coding | 20110509 | begin of s_type_id_buffer,
data_object_type type if_fdt_types=>data_object_type,
element_type type fdt_expr_1401s-type,
id type if_fdt_types=>id,
end of s_type_id_buffer
|
||
12 | T_FOLLOW_SET | Public | See coding | 20110505 | t_follow_set TYPE STANDARD TABLE OF s_follow_set WITH KEY symbol
|
||
13 | T_OPERATOR_PRIORITIES | Public | See coding | 20110505 | t_operator_priorities TYPE STANDARD TABLE OF s_operator_priority WITH KEY operator
|
||
14 | T_PROC_TOKEN | Public | See coding | 20110609 | t_proc_token TYPE STANDARD TABLE OF s_proc_token WITH
NON-UNIQUE DEFAULT KEY
|
||
15 | T_PRODUCTIONS | Public | See coding | 20110505 | t_productions TYPE STANDARD TABLE OF s_production WITH DEFAULT KEY
|
||
16 | T_REGEX_MATCH | Private | See coding | 20110505 | t_regex_match TYPE STANDARD TABLE OF s_regex_match WITH DEFAULT KEY
|
||
17 | T_STACK | Public | See coding | 20110505 | t_stack TYPE STANDARD TABLE OF s_stack WITH DEFAULT KEY
|
||
18 | T_TOKEN | Public | See coding | 20110505 | t_token TYPE STANDARD TABLE OF s_token WITH DEFAULT KEY
|
||
19 | T_TYPE_ID_BUFFER | Private | See coding | 20110509 | t_type_id_buffer type standard table of s_type_id_buffer with key data_object_type element_type
|
Method Signatures
Method BUILD_FORMULA_TAB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | Table of formula tokens / elements | 20110510 | ||
2 | ![]() |
CT_PARAMETER_STACK | Call by reference | Type reference (TYPE) | T_STACK | 20110510 | |||
3 | ![]() |
CT_STACK | Call by reference | Type reference (TYPE) | T_STACK | 20110510 | |||
4 | ![]() |
CV_CURRENT_PSORT_NUM | Call by reference | Type reference (TYPE) | I | 20110510 | |||
5 | ![]() |
CV_PRODUCTION_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120327 | |||
6 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110513 | ||
7 | ![]() |
IS_PRODUCTION | Call by reference | Type reference (TYPE) | S_PRODUCTION | 20110510 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110525 |
Method CHECK_ADDITION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_FORMULA_LINE | Call by reference | Type reference (TYPE) | S_PROC_TOKEN | Formula token / element with all info for processing | 20110509 | ||
2 | ![]() |
CS_NEW_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110509 | |||
3 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110511 | ||
4 | ![]() |
IS_OPERAND_LEFT | Call by reference | Type reference (TYPE) | S_STACK | 20110510 | |||
5 | ![]() |
IS_OPERAND_RIGHT | Call by reference | Type reference (TYPE) | S_STACK | 20110510 | |||
6 | ![]() |
IV_OPERATOR_TOKEN | Call by reference | Type reference (TYPE) | S_STACK-TOKEN | 20110803 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110613 |
Method CHECK_COMPARISON Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_FORMULA_LINE | Call by reference | Type reference (TYPE) | S_PROC_TOKEN | Formula token / element with all info for processing | 20110509 | ||
2 | ![]() |
CS_NEW_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110509 | |||
3 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110511 | ||
4 | ![]() |
IS_OPERAND_LEFT | Call by reference | Type reference (TYPE) | S_STACK | 20110510 | |||
5 | ![]() |
IS_OPERAND_RIGHT | Call by reference | Type reference (TYPE) | S_STACK | 20110510 | |||
6 | ![]() |
IV_OPERATOR_TOKEN | Call by reference | Type reference (TYPE) | S_STACK-TOKEN | 20110912 |
Method CHECK_COMPARISON on class CL_FDT_FORMULA_PARSER has no exception.
Method CHECK_DIVISION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_FORMULA_LINE | Call by reference | Type reference (TYPE) | S_PROC_TOKEN | Formula token / element with all info for processing | 20110509 | ||
2 | ![]() |
CS_NEW_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110509 | |||
3 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110511 | ||
4 | ![]() |
IS_OPERAND_LEFT | Call by reference | Type reference (TYPE) | S_STACK | 20110510 | |||
5 | ![]() |
IS_OPERAND_RIGHT | Call by reference | Type reference (TYPE) | S_STACK | 20110510 |
Method CHECK_DIVISION on class CL_FDT_FORMULA_PARSER has no exception.
Method CHECK_ELEMENTARY_OPD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | Current Symbol | 20110512 | ||
2 | ![]() |
CT_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | Parsed Formula | 20110512 | ||
3 | ![]() |
CV_CURRENT_PSORT_NUM | Call by reference | Type reference (TYPE) | I | 20110512 | |||
4 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110512 |
Method CHECK_ELEMENTARY_OPD on class CL_FDT_FORMULA_PARSER has no exception.
Method CHECK_EXPONENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_FORMULA_LINE | Call by reference | Type reference (TYPE) | S_PROC_TOKEN | Formula token / element with all info for processing | 20110509 | ||
2 | ![]() |
CS_NEW_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110509 | |||
3 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110511 | ||
4 | ![]() |
IS_OPERAND_LEFT | Call by reference | Type reference (TYPE) | S_STACK | 20110510 | |||
5 | ![]() |
IS_OPERAND_RIGHT | Call by reference | Type reference (TYPE) | S_STACK | 20110510 |
Method CHECK_EXPONENT on class CL_FDT_FORMULA_PARSER has no exception.
Method CHECK_FOLLOW_SET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110509 | ||
2 | ![]() |
IS_CURRENT_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | Current Symbol on the processing stack | 20110504 | ||
3 | ![]() |
IS_NEXT_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | Next Symbol on the processing stack | 20110504 |
Method CHECK_FOLLOW_SET on class CL_FDT_FORMULA_PARSER has no exception.
Method CHECK_FUNCTIONAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_NEW_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110512 | |||
2 | ![]() |
CT_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | Table of formula tokens / elements | 20110512 | ||
3 | ![]() |
CT_PARAMETER_STACK | Call by reference | Type reference (TYPE) | T_STACK | 20110512 | |||
4 | ![]() |
CV_CURRENT_PSORT_NUM | Call by reference | Type reference (TYPE) | I | 20110512 | |||
5 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110512 | ||
6 | ![]() |
IS_SYMBOL_FIRST_PARAM | Call by reference | Type reference (TYPE) | S_STACK | 20110512 | |||
7 | ![]() |
IS_SYMBOL_FUNCTIONAL | Call by reference | Type reference (TYPE) | S_STACK | 20110512 | |||
8 | ![]() |
IV_PARAM_CNT_IN_FORMULA | Call by reference | Type reference (TYPE) | I | 20110512 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110527 |
Method CHECK_INFIX_OP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_NEW_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110512 | |||
2 | ![]() |
CT_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | Parsed formula | 20110512 | ||
3 | ![]() |
CV_CURRENT_PSORT_NUM | Call by reference | Type reference (TYPE) | I | 20110512 | |||
4 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110512 | ||
5 | ![]() |
IS_OPERAND_LEFT | Call by reference | Type reference (TYPE) | S_STACK | Operand to the left of the operator | 20110512 | ||
6 | ![]() |
IS_OPERAND_RIGHT | Call by reference | Type reference (TYPE) | S_STACK | Operand to the right of the operator | 20110512 | ||
7 | ![]() |
IS_SYMBOL_OPERATOR | Call by reference | Type reference (TYPE) | S_STACK | Operator | 20110512 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20110512 |
Method CHECK_MULTIPLICATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_FORMULA_LINE | Call by reference | Type reference (TYPE) | S_PROC_TOKEN | Formula token / element with all info for processing | 20110509 | ||
2 | ![]() |
CS_NEW_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110509 | |||
3 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110511 | ||
4 | ![]() |
IS_OPERAND_LEFT | Call by reference | Type reference (TYPE) | S_STACK | 20110510 | |||
5 | ![]() |
IS_OPERAND_RIGHT | Call by reference | Type reference (TYPE) | S_STACK | 20110510 | |||
6 | ![]() |
IV_OPERATOR_TOKEN | Call by reference | Type reference (TYPE) | S_STACK-TOKEN | CL_FDT_FORMULA_ELEMENT=>GC_TOKEN_MULTIPLY | 20110916 |
Method CHECK_MULTIPLICATION on class CL_FDT_FORMULA_PARSER has no exception.
Method CHECK_POST_PARSING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_PARSED_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | formula table; used for persisting and executing formula | 20110509 | ||
2 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110510 | ||
3 | ![]() |
IT_STACK | Call by reference | Type reference (TYPE) | T_STACK | 20110509 | |||
4 | ![]() |
IV_CURRENT_TOKEN_INDEX | Call by reference | Type reference (TYPE) | I | 20110509 | |||
5 | ![]() |
IV_TOKEN_COUNT | Call by reference | Type reference (TYPE) | I | 20110509 |
Method CHECK_POST_PARSING on class CL_FDT_FORMULA_PARSER has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_FORMULA_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | FDT: Formula | 20110510 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110510 |
Method FIND_REGEX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MATCH | Call by reference | Type reference (TYPE) | T_REGEX_MATCH | Table of Matches Found | 20110505 | ||
2 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110510 | ||
3 | ![]() |
IV_POS | Call by reference | Type reference (TYPE) | I | Current Position | 20110505 | ||
4 | ![]() |
IV_PRIO | Call by reference | Type reference (TYPE) | I | Priority | 20110505 | ||
5 | ![]() |
IV_REGEX | Call by reference | Type reference (TYPE) | STRING | Regular Expression | 20110505 | ||
6 | ![]() |
IV_STRING | Call by reference | Type reference (TYPE) | STRING | Formula string to be parsed | 20110505 | ||
7 | ![]() |
IV_TOKEN_TYPE | Call by reference | Type reference (TYPE) | FDT_FORMULA_TOKEN_TYPE | FDT: Type of a formula token | 20110505 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110510 |
Method GET_LONGEST_MATCH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_LONG_MATCH | Call by reference | Type reference (TYPE) | S_REGEX_MATCH | Longest Match found | 20110510 | ||
2 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110510 | ||
3 | ![]() |
IV_POS | Call by reference | Type reference (TYPE) | I | Current Position | 20110505 | ||
4 | ![]() |
IV_STRING | Call by reference | Type reference (TYPE) | STRING | Formula String to be parsed | 20110505 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110510 |
Method GET_OPERATOR_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_OPERATOR | Call by reference | Type reference (TYPE) | CSEQUENCE | Operator | 20110916 | ||
2 | ![]() |
RV_TEXT | Value transfer | Type reference (TYPE) | STRING | Operator text | 20110916 |
Method GET_OPERATOR_TEXT on class CL_FDT_FORMULA_PARSER has no exception.
Method GET_PARAM_INDEX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CV_FORMULA_INDEX | Call by reference | Type reference (TYPE) | I | 20110510 | |||
2 | ![]() |
IT_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | formula table; used for persisting and executing formula | 20110509 | ||
3 | ![]() |
IV_ARITY | Call by reference | Type reference (TYPE) | FDT_EXPR_1401S-ARITY | FoBuEv: No. of Operands in a Function Symbol | 20110509 |
Method GET_PARAM_INDEX on class CL_FDT_FORMULA_PARSER has no exception.
Method GET_TABLE_LINE_PROPERTIES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_ELEMENT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | Line type of table | 20120216 | ||
2 | ![]() |
IV_TABLE_TYPE | Call by reference | Type reference (TYPE) | RS38L_TYP | Dictionary type of table | 20120216 |
Method GET_TABLE_LINE_PROPERTIES on class CL_FDT_FORMULA_PARSER has no exception.
Method GET_TEXT_FOR_SYMBOL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_STRING | Call by reference | Type reference (TYPE) | STRING | 20110510 | |||
2 | ![]() |
IV_SYMBOL | Call by reference | Type reference (TYPE) | GRAMMAR_SYMBOL | 20110510 | |||
3 | ![]() |
RV_STRING | Value transfer | Type reference (TYPE) | STRING | 20110510 |
Method GET_TEXT_FOR_SYMBOL on class CL_FDT_FORMULA_PARSER has no exception.
Method GET_TYPE_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DATA_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>DATA_OBJECT_TYPE | IF_FDT_CONSTANTS=>GC_DATA_OBJECT_TYPE_ELEMENT | Data Object Type | 20110509 | |
2 | ![]() |
IV_ELEMENT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | FoBuEv: Type Name | 20110509 | ||
3 | ![]() |
RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_FDT_DATA_OBJECT | FDT: Abstract Data Object Class | 20110513 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110712 |
Method GET_TYPE_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110614 | |||
2 | ![]() |
IV_TYPE | Call by reference | Type reference (TYPE) | CLIKE | Type Name | 20110624 | ||
3 | ![]() |
RV_TEXT | Value transfer | Type reference (TYPE) | STRING | Type Text | 20110614 |
Method GET_TYPE_TEXT on class CL_FDT_FORMULA_PARSER has no exception.
Method IS_COMPATIBLE_TO_DDIC_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110510 | |||
2 | ![]() |
IV_DDIC_TYPENAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20110510 | |||
3 | ![]() |
RV_COMPATIBLE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110510 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20120528 |
Method IS_REDUCE_ALLOWED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_STACK | Call by reference | Type reference (TYPE) | T_STACK | 20110505 | |||
2 | ![]() |
IV_NEXT_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110505 | |||
3 | ![]() |
RV_REDUCE_ALLOWED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110510 |
Method IS_REDUCE_ALLOWED on class CL_FDT_FORMULA_PARSER has no exception.
Method IS_START_SYMBOL_ON_STACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_STACK | Call by reference | Type reference (TYPE) | T_STACK | 20110505 | |||
2 | ![]() |
RV_IS_ON_STACK | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110510 |
Method IS_START_SYMBOL_ON_STACK on class CL_FDT_FORMULA_PARSER has no exception.
Method IS_TABLE_UNSTRUCTURED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110510 | |||
2 | ![]() |
RV_UNSTRUCTURED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110510 |
Method IS_TABLE_UNSTRUCTURED on class CL_FDT_FORMULA_PARSER has no exception.
Method LOAD_HELPER Signature
Method LOAD_HELPER on class CL_FDT_FORMULA_PARSER has no parameter.
Method LOAD_HELPER on class CL_FDT_FORMULA_PARSER has no exception.
Method PARSE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110513 | ||
2 | ![]() |
ET_PARSED_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | Table of formula tokens / elements | 20110513 | ||
3 | ![]() |
IT_TOKEN | Call by reference | Type reference (TYPE) | IF_FDT_FORMULA=>T_TOKEN | Formula token table | 20110513 | ||
4 | ![]() |
IV_FORMULA | Call by reference | Type reference (TYPE) | STRING | Formula String | 20110513 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110510 |
Method PARSE_INTERNAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110513 | ||
2 | ![]() |
ET_PARSED_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | Table of formula tokens / elements | 20110513 | ||
3 | ![]() |
IT_TOKEN | Call by reference | Type reference (TYPE) | T_TOKEN | Table of tokens | 20110505 | ||
4 | ![]() |
IV_STRING | Call by reference | Type reference (TYPE) | STRING | Formula string to be parsed | 20110505 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110509 |
Method REDUCE_STACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | Table of formula tokens / elements | 20110504 | ||
2 | ![]() |
CT_PARAMETER_STACK | Call by reference | Type reference (TYPE) | T_STACK | 20110504 | |||
3 | ![]() |
CT_STACK | Call by reference | Type reference (TYPE) | T_STACK | 20110504 | |||
4 | ![]() |
CV_CURRENT_PSORT_NUM | Call by reference | Type reference (TYPE) | I | 20110504 | |||
5 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110513 | ||
6 | ![]() |
IS_NEXT_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110504 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110512 |
Method REVERSE_PSORT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | formula table; used for persisting and executing formula | 20110504 | ||
2 | ![]() |
CV_PSORT_NUM | Call by reference | Type reference (TYPE) | I | 20110504 | |||
3 | ![]() |
IV_ARITY | Call by reference | Type reference (TYPE) | FDT_EXPR_1401S-ARITY | FoBuEv: No. of Operands in a Function Symbol | 20110504 | ||
4 | ![]() |
IV_FORMULA_INDEX | Call by reference | Type reference (TYPE) | I | 20110510 |
Method REVERSE_PSORT on class CL_FDT_FORMULA_PARSER has no exception.
Method SHIFT_ONTO_STACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_STACK | Call by reference | Type reference (TYPE) | T_STACK | 20110504 | |||
2 | ![]() |
IS_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110504 |
Method SHIFT_ONTO_STACK on class CL_FDT_FORMULA_PARSER has no exception.
Method TOKENIZE_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_TOKEN | Call by reference | Type reference (TYPE) | T_TOKEN | Table of Tokens | 20110505 | ||
2 | ![]() |
IV_FORMULA | Call by reference | Type reference (TYPE) | STRING | Formula String | 20110505 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20110510 |
Method TOKEN_TO_GRAMMAR_SYMBOL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110504 | |||
2 | ![]() |
CT_FORMULA | Call by reference | Type reference (TYPE) | T_PROC_TOKEN | Table of formula tokens / elements | 20110504 | ||
3 | ![]() |
CV_TOKEN_INDEX | Call by reference | Type reference (TYPE) | I | 20110504 | |||
4 | ![]() |
IT_TOKEN | Call by reference | Type reference (TYPE) | T_TOKEN | token table when parsing table | 20110505 |
Method TOKEN_TO_GRAMMAR_SYMBOL on class CL_FDT_FORMULA_PARSER has no exception.
Method _CHECK_ERROR_SEMANTIC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_CURRENT_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110804 | |||
2 | ![]() |
IS_NEXT_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110804 | |||
3 | ![]() |
IV_ERROR_PURPOSE | Call by reference | Type reference (TYPE) | ERROR_PURPOSE | 20110920 | |||
4 | ![]() |
RT_MESSAGE | Value transfer | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110804 |
Method _CHECK_ERROR_SEMANTIC on class CL_FDT_FORMULA_PARSER has no exception.
Method _CHECK_FUNCTIONAL_INTERNAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CS_NEW_SYMBOL | Call by reference | Type reference (TYPE) | S_STACK | 20110707 | |||
2 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20110613 | ||
3 | ![]() |
IT_PARAMETER | Call by reference | Type reference (TYPE) | T_STACK | List of parameters | 20110613 | ||
4 | ![]() |
IV_FUNC_NAME | Call by reference | Type reference (TYPE) | STRING | Functional name | 20110613 |
Method _CHECK_FUNCTIONAL_INTERNAL on class CL_FDT_FORMULA_PARSER has no exception.
Method _CHECK_TABLE_FUNCTIONAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Error messages | 20120809 | ||
2 | ![]() |
IS_COLUMN_PARAM | Call by reference | Type reference (TYPE) | S_STACK | Column name | 20120809 | ||
3 | ![]() |
IS_TABLE_PARAM | Call by reference | Type reference (TYPE) | S_STACK | Table parameter | 20120809 |
Method _CHECK_TABLE_FUNCTIONAL on class CL_FDT_FORMULA_PARSER has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 731 |