pydpm_xl 0.1.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- py_dpm/AST/ASTConstructor.py +503 -0
- py_dpm/AST/ASTObjects.py +827 -0
- py_dpm/AST/ASTTemplate.py +101 -0
- py_dpm/AST/ASTVisitor.py +13 -0
- py_dpm/AST/MLGeneration.py +588 -0
- py_dpm/AST/ModuleAnalyzer.py +79 -0
- py_dpm/AST/ModuleDependencies.py +203 -0
- py_dpm/AST/WhereClauseChecker.py +12 -0
- py_dpm/AST/__init__.py +0 -0
- py_dpm/AST/check_operands.py +302 -0
- py_dpm/DataTypes/ScalarTypes.py +324 -0
- py_dpm/DataTypes/TimeClasses.py +370 -0
- py_dpm/DataTypes/TypePromotion.py +195 -0
- py_dpm/DataTypes/__init__.py +0 -0
- py_dpm/Exceptions/__init__.py +0 -0
- py_dpm/Exceptions/exceptions.py +84 -0
- py_dpm/Exceptions/messages.py +114 -0
- py_dpm/OperationScopes/OperationScopeService.py +247 -0
- py_dpm/OperationScopes/__init__.py +0 -0
- py_dpm/Operators/AggregateOperators.py +138 -0
- py_dpm/Operators/BooleanOperators.py +30 -0
- py_dpm/Operators/ClauseOperators.py +159 -0
- py_dpm/Operators/ComparisonOperators.py +69 -0
- py_dpm/Operators/ConditionalOperators.py +362 -0
- py_dpm/Operators/NumericOperators.py +101 -0
- py_dpm/Operators/Operator.py +388 -0
- py_dpm/Operators/StringOperators.py +27 -0
- py_dpm/Operators/TimeOperators.py +53 -0
- py_dpm/Operators/__init__.py +0 -0
- py_dpm/Utils/ValidationsGenerationUtils.py +429 -0
- py_dpm/Utils/__init__.py +0 -0
- py_dpm/Utils/operands_mapping.py +73 -0
- py_dpm/Utils/operator_mapping.py +89 -0
- py_dpm/Utils/tokens.py +172 -0
- py_dpm/Utils/utils.py +2 -0
- py_dpm/ValidationsGeneration/PropertiesConstraintsProcessor.py +190 -0
- py_dpm/ValidationsGeneration/Utils.py +364 -0
- py_dpm/ValidationsGeneration/VariantsProcessor.py +265 -0
- py_dpm/ValidationsGeneration/__init__.py +0 -0
- py_dpm/ValidationsGeneration/auxiliary_functions.py +98 -0
- py_dpm/__init__.py +61 -0
- py_dpm/api/__init__.py +140 -0
- py_dpm/api/ast_generator.py +438 -0
- py_dpm/api/complete_ast.py +241 -0
- py_dpm/api/data_dictionary_validation.py +577 -0
- py_dpm/api/migration.py +77 -0
- py_dpm/api/semantic.py +224 -0
- py_dpm/api/syntax.py +182 -0
- py_dpm/client.py +106 -0
- py_dpm/data_handlers.py +99 -0
- py_dpm/db_utils.py +117 -0
- py_dpm/grammar/__init__.py +0 -0
- py_dpm/grammar/dist/__init__.py +0 -0
- py_dpm/grammar/dist/dpm_xlLexer.interp +428 -0
- py_dpm/grammar/dist/dpm_xlLexer.py +804 -0
- py_dpm/grammar/dist/dpm_xlLexer.tokens +106 -0
- py_dpm/grammar/dist/dpm_xlParser.interp +249 -0
- py_dpm/grammar/dist/dpm_xlParser.py +5224 -0
- py_dpm/grammar/dist/dpm_xlParser.tokens +106 -0
- py_dpm/grammar/dist/dpm_xlParserListener.py +742 -0
- py_dpm/grammar/dist/dpm_xlParserVisitor.py +419 -0
- py_dpm/grammar/dist/listeners.py +10 -0
- py_dpm/grammar/dpm_xlLexer.g4 +435 -0
- py_dpm/grammar/dpm_xlParser.g4 +260 -0
- py_dpm/migration.py +282 -0
- py_dpm/models.py +2139 -0
- py_dpm/semantics/DAG/DAGAnalyzer.py +158 -0
- py_dpm/semantics/DAG/__init__.py +0 -0
- py_dpm/semantics/SemanticAnalyzer.py +320 -0
- py_dpm/semantics/Symbols.py +223 -0
- py_dpm/semantics/__init__.py +0 -0
- py_dpm/utils/__init__.py +0 -0
- py_dpm/utils/ast_serialization.py +481 -0
- py_dpm/views/data_types.sql +12 -0
- py_dpm/views/datapoints.sql +65 -0
- py_dpm/views/hierarchy_operand_reference.sql +11 -0
- py_dpm/views/hierarchy_preconditions.sql +13 -0
- py_dpm/views/hierarchy_variables.sql +26 -0
- py_dpm/views/hierarchy_variables_context.sql +14 -0
- py_dpm/views/key_components.sql +18 -0
- py_dpm/views/module_from_table.sql +11 -0
- py_dpm/views/open_keys.sql +13 -0
- py_dpm/views/operation_info.sql +27 -0
- py_dpm/views/operation_list.sql +18 -0
- py_dpm/views/operations_versions_from_module_version.sql +30 -0
- py_dpm/views/precondition_info.sql +17 -0
- py_dpm/views/report_type_operand_reference_info.sql +18 -0
- py_dpm/views/subcategory_info.sql +17 -0
- py_dpm/views/table_info.sql +19 -0
- pydpm_xl-0.1.10.dist-info/LICENSE +674 -0
- pydpm_xl-0.1.10.dist-info/METADATA +50 -0
- pydpm_xl-0.1.10.dist-info/RECORD +94 -0
- pydpm_xl-0.1.10.dist-info/WHEEL +4 -0
- pydpm_xl-0.1.10.dist-info/entry_points.txt +3 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
BOOLEAN_LITERAL=1
|
|
2
|
+
AND=2
|
|
3
|
+
OR=3
|
|
4
|
+
XOR=4
|
|
5
|
+
NOT=5
|
|
6
|
+
ASSIGN=6
|
|
7
|
+
PERSISTENT_ASSIGN=7
|
|
8
|
+
EQ=8
|
|
9
|
+
NE=9
|
|
10
|
+
LT=10
|
|
11
|
+
LE=11
|
|
12
|
+
GT=12
|
|
13
|
+
GE=13
|
|
14
|
+
MATCH=14
|
|
15
|
+
WITH=15
|
|
16
|
+
PLUS=16
|
|
17
|
+
MINUS=17
|
|
18
|
+
MULT=18
|
|
19
|
+
DIV=19
|
|
20
|
+
MAX_AGGR=20
|
|
21
|
+
MIN_AGGR=21
|
|
22
|
+
SUM=22
|
|
23
|
+
COUNT=23
|
|
24
|
+
AVG=24
|
|
25
|
+
MEDIAN=25
|
|
26
|
+
GROUP_BY=26
|
|
27
|
+
ABS=27
|
|
28
|
+
ISNULL=28
|
|
29
|
+
EXP=29
|
|
30
|
+
LN=30
|
|
31
|
+
SQRT=31
|
|
32
|
+
POWER=32
|
|
33
|
+
LOG=33
|
|
34
|
+
MAX=34
|
|
35
|
+
MIN=35
|
|
36
|
+
IN=36
|
|
37
|
+
COMMA=37
|
|
38
|
+
COLON=38
|
|
39
|
+
LPAREN=39
|
|
40
|
+
RPAREN=40
|
|
41
|
+
CURLY_BRACKET_LEFT=41
|
|
42
|
+
CURLY_BRACKET_RIGHT=42
|
|
43
|
+
SQUARE_BRACKET_LEFT=43
|
|
44
|
+
SQUARE_BRACKET_RIGHT=44
|
|
45
|
+
IF=45
|
|
46
|
+
ENDIF=46
|
|
47
|
+
THEN=47
|
|
48
|
+
ELSE=48
|
|
49
|
+
NVL=49
|
|
50
|
+
FILTER=50
|
|
51
|
+
WHERE=51
|
|
52
|
+
GET=52
|
|
53
|
+
RENAME=53
|
|
54
|
+
TO=54
|
|
55
|
+
TIME_SHIFT=55
|
|
56
|
+
LEN=56
|
|
57
|
+
CONCAT=57
|
|
58
|
+
TIME_PERIOD=58
|
|
59
|
+
EOL=59
|
|
60
|
+
INTEGER_LITERAL=60
|
|
61
|
+
DECIMAL_LITERAL=61
|
|
62
|
+
PERCENT_LITERAL=62
|
|
63
|
+
NULL_LITERAL=63
|
|
64
|
+
STRING_LITERAL=64
|
|
65
|
+
EMPTY_LITERAL=65
|
|
66
|
+
DATE_LITERAL=66
|
|
67
|
+
TIME_INTERVAL_LITERAL=67
|
|
68
|
+
TIME_PERIOD_LITERAL=68
|
|
69
|
+
CODE=69
|
|
70
|
+
WS=70
|
|
71
|
+
INTERVAL=71
|
|
72
|
+
DEFAULT=72
|
|
73
|
+
ROW=73
|
|
74
|
+
ROW_RANGE=74
|
|
75
|
+
ROW_ALL=75
|
|
76
|
+
COL=76
|
|
77
|
+
COL_RANGE=77
|
|
78
|
+
COL_ALL=78
|
|
79
|
+
SHEET=79
|
|
80
|
+
SHEET_RANGE=80
|
|
81
|
+
SHEET_ALL=81
|
|
82
|
+
TABLE_REFERENCE=82
|
|
83
|
+
TABLE_GROUP_REFERENCE=83
|
|
84
|
+
VAR_REFERENCE=84
|
|
85
|
+
OPERATION_REFERENCE=85
|
|
86
|
+
PRECONDITION_ELEMENT=86
|
|
87
|
+
SELECTION_MODE_WS=87
|
|
88
|
+
ROW_COMPONENT=88
|
|
89
|
+
COL_COMPONENT=89
|
|
90
|
+
SHEET_COMPONENT=90
|
|
91
|
+
ITEM_SIGNATURE=91
|
|
92
|
+
PROPERTY_CODE=92
|
|
93
|
+
CLAUSE_WS=93
|
|
94
|
+
GROUPING_WS=94
|
|
95
|
+
SET_OPERAND_MODE_WS=95
|
|
96
|
+
':='=6
|
|
97
|
+
'<-'=7
|
|
98
|
+
'with'=15
|
|
99
|
+
'group by'=26
|
|
100
|
+
'in'=36
|
|
101
|
+
'{'=41
|
|
102
|
+
'['=43
|
|
103
|
+
';'=59
|
|
104
|
+
'null'=63
|
|
105
|
+
'interval'=71
|
|
106
|
+
'default'=72
|