@abaplint/core 2.102.38 → 2.102.39
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.
|
@@ -122,8 +122,14 @@ class BuiltIn {
|
|
|
122
122
|
}
|
|
123
123
|
getTypes() {
|
|
124
124
|
const ret = this.buildSY();
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
{
|
|
126
|
+
const id = new tokens_1.Identifier(new position_1.Position(1, 1), "abap_bool");
|
|
127
|
+
ret.push(new _typed_identifier_1.TypedIdentifier(id, BuiltIn.filename, new basic_1.CharacterType(1, { qualifiedName: "ABAP_BOOL", ddicName: "ABAP_BOOL" })));
|
|
128
|
+
}
|
|
129
|
+
{
|
|
130
|
+
const id = new tokens_1.Identifier(new position_1.Position(1, 1), "cursor");
|
|
131
|
+
ret.push(new _typed_identifier_1.TypedIdentifier(id, BuiltIn.filename, basic_1.IntegerType.get({ qualifiedName: "CURSOR", ddicName: "CURSOR" })));
|
|
132
|
+
}
|
|
127
133
|
return ret;
|
|
128
134
|
}
|
|
129
135
|
get(extras) {
|
|
@@ -26,8 +26,12 @@ class AbstractFile {
|
|
|
26
26
|
// handle additional escaping
|
|
27
27
|
split[0] = split[0].replace(/%3e/g, ">");
|
|
28
28
|
split[0] = split[0].replace(/%3c/g, "<");
|
|
29
|
-
// handle namespace
|
|
30
|
-
|
|
29
|
+
// handle abapGit namespace
|
|
30
|
+
split[0] = split[0].toUpperCase().replace(/#/g, "/");
|
|
31
|
+
// handle AFF namespace
|
|
32
|
+
split[0] = split[0].replace("(", "/");
|
|
33
|
+
split[0] = split[0].replace(")", "/");
|
|
34
|
+
return split[0];
|
|
31
35
|
}
|
|
32
36
|
}
|
|
33
37
|
exports.AbstractFile = AbstractFile;
|
package/build/src/registry.js
CHANGED