SAP ABAP Class CL_ESH_TAU_EXPRESSION_PARSER (Expression Parser)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
⤷
S_ESH_TST_AUTOMATION (Package) Test Automation
⤷
⤷
Properties
| Class | CL_ESH_TAU_EXPRESSION_PARSER | |
| Short Description | Expression Parser | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_ESH_TST_AUTOMATION | Test Automation |
| Created | 20091216 | SAP |
| Last change | 20110908 | 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) |
Interfaces
Class CL_ESH_TAU_EXPRESSION_PARSER has no interface implemented.
Friends
Class CL_ESH_TAU_EXPRESSION_PARSER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | ')' | ')' | 20091216 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'e' | 'e' | 20091216 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'i' | 'i' | 20091216 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'pi' | 'pi' | 20091216 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | '.' | '.' | 20091216 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | ',' | ',' | 20091216 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'acos' | 'acos' | 20091216 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'arccos' | 'arccos' | 20091216 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'arcsin' | 'arcsin' | 20091216 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'arctan' | 'arctan' | 20091216 | ||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'asin' | 'asin' | 20091216 | ||
| 12 | Constant | Public | Type reference (TYPE) | STRING | 'atan' | 'atan' | 20091216 | ||
| 13 | Constant | Public | Type reference (TYPE) | STRING | 'cos' | 'cos' | 20091216 | ||
| 14 | Constant | Public | Type reference (TYPE) | STRING | 'cosh' | 'cosh' | 20091216 | ||
| 15 | Constant | Public | Type reference (TYPE) | STRING | 'ctan' | 'ctan' | 20091216 | ||
| 16 | Constant | Public | Type reference (TYPE) | STRING | 'exp' | 'exp' | 20091216 | ||
| 17 | Constant | Public | Type reference (TYPE) | STRING | 'lg' | 'lg' | 20091216 | ||
| 18 | Constant | Public | Type reference (TYPE) | STRING | 'ln' | 'ln' | 20091216 | ||
| 19 | Constant | Public | Type reference (TYPE) | STRING | 'log' | 'log' | 20091216 | ||
| 20 | Constant | Public | Type reference (TYPE) | STRING | 'sec' | 'sec' | 20091216 | ||
| 21 | Constant | Public | Type reference (TYPE) | STRING | 'sin' | 'sin' | 20091216 | ||
| 22 | Constant | Public | Type reference (TYPE) | STRING | 'sinh' | 'sinh' | 20091216 | ||
| 23 | Constant | Public | Type reference (TYPE) | STRING | 'sqrt' | 'sqrt' | 20091216 | ||
| 24 | Constant | Public | Type reference (TYPE) | STRING | 'tan' | 'tan' | 20091216 | ||
| 25 | Constant | Public | Type reference (TYPE) | STRING | 'tanh' | 'tanh' | 20091216 | ||
| 26 | Constant | Public | Type reference (TYPE) | STRING | '(' | '(' | 20091216 | ||
| 27 | Constant | Public | Type reference (TYPE) | STRING | '!' | '!' | 20091216 | ||
| 28 | Constant | Public | Type reference (TYPE) | STRING | '/' | '/' | 20091216 | ||
| 29 | Constant | Public | Type reference (TYPE) | STRING | ':' | ':' | 20091216 | ||
| 30 | Constant | Public | Type reference (TYPE) | STRING | 'over' | 'over' | 20091216 | ||
| 31 | Constant | Public | Type reference (TYPE) | STRING | 'divided by' | 'divided by' | 20091216 | ||
| 32 | Constant | Public | Type reference (TYPE) | STRING | 'geteilt durch' | 'geteilt durch' | 20091216 | ||
| 33 | Constant | Public | Type reference (TYPE) | STRING | 'par' | 'par' | 20091216 | ||
| 34 | Constant | Public | Type reference (TYPE) | STRING | '-' | '-' | 20091216 | ||
| 35 | Constant | Public | Type reference (TYPE) | STRING | 'minus' | 'minus' | 20091216 | ||
| 36 | Constant | Public | Type reference (TYPE) | STRING | 'weniger' | 'weniger' | 20091216 | ||
| 37 | Constant | Public | Type reference (TYPE) | STRING | 'moins' | 'moins' | 20091216 | ||
| 38 | Constant | Public | Type reference (TYPE) | STRING | '%' | '%' | 20091216 | ||
| 39 | Constant | Public | Type reference (TYPE) | STRING | 'mod' | 'mod' | 20091216 | ||
| 40 | Constant | Public | Type reference (TYPE) | STRING | '+' | '+' | 20091216 | ||
| 41 | Constant | Public | Type reference (TYPE) | STRING | 'plus' | 'plus' | 20091216 | ||
| 42 | Constant | Public | Type reference (TYPE) | STRING | 'and' | 'and' | 20091216 | ||
| 43 | Constant | Public | Type reference (TYPE) | STRING | 'und' | 'und' | 20091216 | ||
| 44 | Constant | Public | Type reference (TYPE) | STRING | '**' | '**' | 20091216 | ||
| 45 | Constant | Public | Type reference (TYPE) | STRING | '^' | '^' | 20091216 | ||
| 46 | Constant | Public | Type reference (TYPE) | STRING | '*' | '*' | 20091216 | ||
| 47 | Constant | Public | Type reference (TYPE) | STRING | 'times' | 'times' | 20091216 | ||
| 48 | Constant | Public | Type reference (TYPE) | STRING | 'mal' | 'mal' | 20091216 | ||
| 49 | Constant | Public | Type reference (TYPE) | STRING | 'fois' | 'fois' | 20091216 | ||
| 50 | Constant | Public | Type reference (TYPE) | CHAR1 | 'Y' | 'Y' | 20091216 | ||
| 51 | Constant | Public | Type reference (TYPE) | CHAR1 | 'X' | 'X' | 20091216 | ||
| 52 | Constant | Public | Type reference (TYPE) | CHAR1 | 'C' | 'C' | 20091216 | ||
| 53 | Constant | Public | Type reference (TYPE) | CHAR1 | 'G' | 'G' | 20091216 | ||
| 54 | Constant | Public | Type reference (TYPE) | CHAR1 | 'F' | 'F' | 20091216 | ||
| 55 | Constant | Public | Type reference (TYPE) | CHAR1 | 'O' | 'O' | 20091216 | ||
| 56 | Constant | Public | Type reference (TYPE) | CHAR1 | 'U' | 'U' | 20091216 | ||
| 57 | Static Attribute | Private | Type reference (TYPE) | LTY_T_STRING_TYPE | 20091216 | ||||
| 58 | Static Attribute | Private | Type reference (TYPE) | LTY_T_CHAR1_TYPE | 20091216 | ||||
| 59 | Static Attribute | Private | Type reference (TYPE) | LTY_T_STRING_TYPE | 20091216 | ||||
| 60 | Static Attribute | Private | Type reference (TYPE) | LTY_T_STRING_TYPE | 20091216 | ||||
| 61 | Static Attribute | Private | Type reference (TYPE) | LTY_T_CHAR1_TYPE | 20091216 | ||||
| 62 | Static Attribute | Private | Type reference (TYPE) | LTY_T_TOKEN_SEQUENCE_TYPE | 20091216 | ||||
| 63 | Static Attribute | Private | Type reference (TYPE) | STRING | 20091216 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | Class constructor | 20091216 | |
| 2 | Static method | Public | Method | Compute the expression | 20091216 | |
| 3 | Static method | Public | Method | Check for valid math expression (incl. normalization) | 20091216 | |
| 4 | Static method | Public | Method | Check for valid math expression (w/o normalization) | 20091216 | |
| 5 | Static method | Private | Method | Check if the specified expression is a valid math expression | 20091216 |
Events
Class CL_ESH_TAU_EXPRESSION_PARSER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | LTY_TOKEN_SEQUENCE_TYPE | Public | See coding | 20091216 | |
||
| 2 | LTY_TOKEN_TYPE | Public | See coding | 20091216 | |
||
| 3 | LTY_T_CHAR1_TYPE | Public | See coding | 20091216 | |
||
| 4 | LTY_T_STRING_TYPE | Public | See coding | 20091216 | |
||
| 5 | LTY_T_TOKEN_SEQUENCE_TYPE | Public | See coding | 20091216 | |
||
| 6 | LTY_T_TOKEN_TYPE | Public | See coding | 20091216 | |
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_ESH_TAU_EXPRESSION_PARSER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ESH_TAU_EXPRESSION_PARSER has no exception.
Method COMPUTE_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_ERROR | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091216 | ||||
| 2 | EV_RESULT | Call by reference | Type reference (TYPE) | STRING | 20091216 | ||||
| 3 | IV_EXPRESSION | Call by reference | Type reference (TYPE) | STRING | 20091216 |
Method COMPUTE_EXPRESSION on class CL_ESH_TAU_EXPRESSION_PARSER has no exception.
Method IS_MATH_EXPRESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EXPRESSION | Call by reference | Type reference (TYPE) | STRING | Normalized expression | 20091216 | |||
| 2 | EV_IS_MATH_EXPRESSION | Call by reference | Type reference (TYPE) | ABAP_BOOL | Flag: is mathematical expression | 20091216 | |||
| 3 | IV_EXPRESSION | Call by reference | Type reference (TYPE) | STRING | Expression | 20091216 |
Method IS_MATH_EXPRESSION on class CL_ESH_TAU_EXPRESSION_PARSER has no exception.
Method IS_MATH_EXPRESSION_CHECK_ONLY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXPRESSION | Call by reference | Type reference (TYPE) | STRING | 20091216 | ||||
| 2 | RV_IS_MATH_EXPRESSION | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20091216 |
Method IS_MATH_EXPRESSION_CHECK_ONLY on class CL_ESH_TAU_EXPRESSION_PARSER has no exception.
Method IS_MATH_EXPRESSION_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TOKENS | Call by reference | Type reference (TYPE) | LTY_T_TOKEN_TYPE | 20091216 | ||||
| 2 | RV_IS_MATH_EXPRESSION | Value transfer | Type reference (TYPE) | ABAP_BOOL | Flag: The specified | 20091216 |
Method IS_MATH_EXPRESSION_INT on class CL_ESH_TAU_EXPRESSION_PARSER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |