@abaplint/cli 2.113.242 → 2.113.244
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.
- package/build/cli.js +11 -6
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -8366,11 +8366,14 @@ class SQLField extends combi_1.Expression {
|
|
|
8366
8366
|
getRunnable() {
|
|
8367
8367
|
const abap = (0, combi_1.ver)(version_1.Version.v740sp05, (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WAt), _1.SimpleFieldChain2), version_1.Version.OpenABAP);
|
|
8368
8368
|
const as = (0, combi_1.seq)("AS", _1.SQLAsName);
|
|
8369
|
-
const
|
|
8370
|
-
const field = (0, combi_1.altPrio)(_1.SQLAggregation, _1.SQLCase, _1.SQLCast, sql_function_1.SQLFunction, sql_path_1.SQLPath, _1.SQLFieldName, abap, _1.Constant,
|
|
8371
|
-
const
|
|
8369
|
+
const parenFieldName = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WParenLeftW), _1.SQLFieldName, (0, combi_1.altPrio)((0, combi_1.tok)(tokens_1.WParenRightW), (0, combi_1.tok)(tokens_1.WParenRight)));
|
|
8370
|
+
const field = (0, combi_1.altPrio)(_1.SQLAggregation, _1.SQLCase, _1.SQLCast, sql_function_1.SQLFunction, sql_path_1.SQLPath, _1.SQLFieldName, abap, _1.Constant, parenFieldName);
|
|
8371
|
+
const parenField = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WParenLeftW), field, (0, combi_1.tok)(tokens_1.WParenRightW));
|
|
8372
|
+
const sub = (0, combi_1.plusPrio)((0, combi_1.seq)((0, combi_1.altPrio)("+", "-", "*", "/", "&&"), (0, combi_1.altPrio)(parenField, field)));
|
|
8372
8373
|
const arith = (0, combi_1.ver)(version_1.Version.v740sp05, sub);
|
|
8373
|
-
|
|
8374
|
+
const arithSequence = (0, combi_1.seq)(field, (0, combi_1.optPrio)(arith));
|
|
8375
|
+
const parenArithSequence = (0, combi_1.seq)((0, combi_1.tok)(tokens_1.WParenLeftW), arithSequence, (0, combi_1.tok)(tokens_1.WParenRightW));
|
|
8376
|
+
return (0, combi_1.seq)((0, combi_1.altPrio)(parenArithSequence, arithSequence), (0, combi_1.optPrio)(as));
|
|
8374
8377
|
}
|
|
8375
8378
|
}
|
|
8376
8379
|
exports.SQLField = SQLField;
|
|
@@ -25624,7 +25627,9 @@ class ComponentName {
|
|
|
25624
25627
|
return ret;
|
|
25625
25628
|
}
|
|
25626
25629
|
}
|
|
25627
|
-
|
|
25630
|
+
if (!(context instanceof Basic.UnknownType)) {
|
|
25631
|
+
input.issues.push((0, _syntax_input_1.syntaxIssue)(input, nameToken, "Not a structure, ComponentName, \"" + name + "\", (" + (context === null || context === void 0 ? void 0 : context.constructor.name) + ")"));
|
|
25632
|
+
}
|
|
25628
25633
|
return Basic.VoidType.get(_syntax_input_1.CheckSyntaxKey);
|
|
25629
25634
|
}
|
|
25630
25635
|
}
|
|
@@ -54884,7 +54889,7 @@ class Registry {
|
|
|
54884
54889
|
}
|
|
54885
54890
|
static abaplintVersion() {
|
|
54886
54891
|
// magic, see build script "version.sh"
|
|
54887
|
-
return "2.113.
|
|
54892
|
+
return "2.113.244";
|
|
54888
54893
|
}
|
|
54889
54894
|
getDDICReferences() {
|
|
54890
54895
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.244",
|
|
4
4
|
"description": "abaplint - Command Line Interface",
|
|
5
5
|
"funding": "https://github.com/sponsors/larshp",
|
|
6
6
|
"bin": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://abaplint.org",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@abaplint/core": "^2.113.
|
|
41
|
+
"@abaplint/core": "^2.113.244",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|