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 ABAP 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 GC_CLOSE Constant Public Type reference (TYPE) STRING ')' ')' 20091216
2 GC_CONSTANT_E Constant Public Type reference (TYPE) STRING 'e' 'e' 20091216
3 GC_CONSTANT_I Constant Public Type reference (TYPE) STRING 'i' 'i' 20091216
4 GC_CONSTANT_PI Constant Public Type reference (TYPE) STRING 'pi' 'pi' 20091216
5 GC_DECIMAL_1 Constant Public Type reference (TYPE) STRING '.' '.' 20091216
6 GC_DECIMAL_2 Constant Public Type reference (TYPE) STRING ',' ',' 20091216
7 GC_FUNCTION_ACOS Constant Public Type reference (TYPE) STRING 'acos' 'acos' 20091216
8 GC_FUNCTION_ARCCOS Constant Public Type reference (TYPE) STRING 'arccos' 'arccos' 20091216
9 GC_FUNCTION_ARCSIN Constant Public Type reference (TYPE) STRING 'arcsin' 'arcsin' 20091216
10 GC_FUNCTION_ARCTAN Constant Public Type reference (TYPE) STRING 'arctan' 'arctan' 20091216
11 GC_FUNCTION_ASIN Constant Public Type reference (TYPE) STRING 'asin' 'asin' 20091216
12 GC_FUNCTION_ATAN Constant Public Type reference (TYPE) STRING 'atan' 'atan' 20091216
13 GC_FUNCTION_COS Constant Public Type reference (TYPE) STRING 'cos' 'cos' 20091216
14 GC_FUNCTION_COSH Constant Public Type reference (TYPE) STRING 'cosh' 'cosh' 20091216
15 GC_FUNCTION_CTAN Constant Public Type reference (TYPE) STRING 'ctan' 'ctan' 20091216
16 GC_FUNCTION_EXP Constant Public Type reference (TYPE) STRING 'exp' 'exp' 20091216
17 GC_FUNCTION_LG Constant Public Type reference (TYPE) STRING 'lg' 'lg' 20091216
18 GC_FUNCTION_LN Constant Public Type reference (TYPE) STRING 'ln' 'ln' 20091216
19 GC_FUNCTION_LOG Constant Public Type reference (TYPE) STRING 'log' 'log' 20091216
20 GC_FUNCTION_SEC Constant Public Type reference (TYPE) STRING 'sec' 'sec' 20091216
21 GC_FUNCTION_SIN Constant Public Type reference (TYPE) STRING 'sin' 'sin' 20091216
22 GC_FUNCTION_SINH Constant Public Type reference (TYPE) STRING 'sinh' 'sinh' 20091216
23 GC_FUNCTION_SQRT Constant Public Type reference (TYPE) STRING 'sqrt' 'sqrt' 20091216
24 GC_FUNCTION_TAN Constant Public Type reference (TYPE) STRING 'tan' 'tan' 20091216
25 GC_FUNCTION_TANH Constant Public Type reference (TYPE) STRING 'tanh' 'tanh' 20091216
26 GC_OPEN Constant Public Type reference (TYPE) STRING '(' '(' 20091216
27 GC_OPERATION_FACTORIAL Constant Public Type reference (TYPE) STRING '!' '!' 20091216
28 GC_OPERATOR_DIVIDE_1 Constant Public Type reference (TYPE) STRING '/' '/' 20091216
29 GC_OPERATOR_DIVIDE_2 Constant Public Type reference (TYPE) STRING ':' ':' 20091216
30 GC_OPERATOR_DIVIDE_3 Constant Public Type reference (TYPE) STRING 'over' 'over' 20091216
31 GC_OPERATOR_DIVIDE_4 Constant Public Type reference (TYPE) STRING 'divided by' 'divided by' 20091216
32 GC_OPERATOR_DIVIDE_5 Constant Public Type reference (TYPE) STRING 'geteilt durch' 'geteilt durch' 20091216
33 GC_OPERATOR_DIVIDE_6 Constant Public Type reference (TYPE) STRING 'par' 'par' 20091216
34 GC_OPERATOR_MINUS_1 Constant Public Type reference (TYPE) STRING '-' '-' 20091216
35 GC_OPERATOR_MINUS_2 Constant Public Type reference (TYPE) STRING 'minus' 'minus' 20091216
36 GC_OPERATOR_MINUS_3 Constant Public Type reference (TYPE) STRING 'weniger' 'weniger' 20091216
37 GC_OPERATOR_MINUS_4 Constant Public Type reference (TYPE) STRING 'moins' 'moins' 20091216
38 GC_OPERATOR_MODULUS_1 Constant Public Type reference (TYPE) STRING '%' '%' 20091216
39 GC_OPERATOR_MODULUS_2 Constant Public Type reference (TYPE) STRING 'mod' 'mod' 20091216
40 GC_OPERATOR_PLUS_1 Constant Public Type reference (TYPE) STRING '+' '+' 20091216
41 GC_OPERATOR_PLUS_2 Constant Public Type reference (TYPE) STRING 'plus' 'plus' 20091216
42 GC_OPERATOR_PLUS_3 Constant Public Type reference (TYPE) STRING 'and' 'and' 20091216
43 GC_OPERATOR_PLUS_4 Constant Public Type reference (TYPE) STRING 'und' 'und' 20091216
44 GC_OPERATOR_POWER_1 Constant Public Type reference (TYPE) STRING '**' '**' 20091216
45 GC_OPERATOR_POWER_2 Constant Public Type reference (TYPE) STRING '^' '^' 20091216
46 GC_OPERATOR_TIMES_1 Constant Public Type reference (TYPE) STRING '*' '*' 20091216
47 GC_OPERATOR_TIMES_2 Constant Public Type reference (TYPE) STRING 'times' 'times' 20091216
48 GC_OPERATOR_TIMES_3 Constant Public Type reference (TYPE) STRING 'mal' 'mal' 20091216
49 GC_OPERATOR_TIMES_4 Constant Public Type reference (TYPE) STRING 'fois' 'fois' 20091216
50 GC_TOKEN_TYPE_BRACKET_C Constant Public Type reference (TYPE) CHAR1 'Y' 'Y' 20091216
51 GC_TOKEN_TYPE_BRACKET_O Constant Public Type reference (TYPE) CHAR1 'X' 'X' 20091216
52 GC_TOKEN_TYPE_CONSTANT Constant Public Type reference (TYPE) CHAR1 'C' 'C' 20091216
53 GC_TOKEN_TYPE_FACTORIAL Constant Public Type reference (TYPE) CHAR1 'G' 'G' 20091216
54 GC_TOKEN_TYPE_FUNCTION Constant Public Type reference (TYPE) CHAR1 'F' 'F' 20091216
55 GC_TOKEN_TYPE_OPERATOR Constant Public Type reference (TYPE) CHAR1 'O' 'O' 20091216
56 GC_TOKEN_TYPE_UNKNOWN Constant Public Type reference (TYPE) CHAR1 'U' 'U' 20091216
57 GT_CONSTANTS Static Attribute Private Type reference (TYPE) LTY_T_STRING_TYPE 20091216
58 GT_END_TOKEN_TYPES Static Attribute Private Type reference (TYPE) LTY_T_CHAR1_TYPE 20091216
59 GT_FUNCTIONS Static Attribute Private Type reference (TYPE) LTY_T_STRING_TYPE 20091216
60 GT_OPERATORS Static Attribute Private Type reference (TYPE) LTY_T_STRING_TYPE 20091216
61 GT_START_TOKEN_TYPES Static Attribute Private Type reference (TYPE) LTY_T_CHAR1_TYPE 20091216
62 GT_TOKEN_SEQUENCE Static Attribute Private Type reference (TYPE) LTY_T_TOKEN_SEQUENCE_TYPE 20091216
63 GV_TOKEN_STRING Static Attribute Private Type reference (TYPE) STRING 20091216
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor Class constructor 20091216
2 COMPUTE_EXPRESSION Static method Public Method Compute the expression 20091216
3 IS_MATH_EXPRESSION Static method Public Method Check for valid math expression (incl. normalization) 20091216
4 IS_MATH_EXPRESSION_CHECK_ONLY Static method Public Method Check for valid math expression (w/o normalization) 20091216
5 IS_MATH_EXPRESSION_INT 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 Exporting EV_ERROR Call by reference Type reference (TYPE) ABAP_BOOL 20091216
2 Exporting EV_RESULT Call by reference Type reference (TYPE) STRING 20091216
3 Importing 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 Exporting EV_EXPRESSION Call by reference Type reference (TYPE) STRING Normalized expression 20091216
2 Exporting EV_IS_MATH_EXPRESSION Call by reference Type reference (TYPE) ABAP_BOOL Flag: is mathematical expression 20091216
3 Importing 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 Importing IV_EXPRESSION Call by reference Type reference (TYPE) STRING 20091216
2 Returning 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 Importing IT_TOKENS Call by reference Type reference (TYPE) LTY_T_TOKEN_TYPE 20091216
2 Returning 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