@abaplint/core 2.118.3 → 2.118.4

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.
@@ -491,6 +491,7 @@ declare namespace BasicTypes {
491
491
  DecFloatType,
492
492
  DecFloat16Type,
493
493
  DecFloat34Type,
494
+ EnumType,
494
495
  FloatType,
495
496
  FloatingPointType,
496
497
  GenericObjectReferenceType,
@@ -2264,6 +2265,14 @@ declare class EntityType extends AbstractObject {
2264
2265
  getDescription(): string | undefined;
2265
2266
  }
2266
2267
 
2268
+ declare class EnumType extends AbstractType {
2269
+ toText(): string;
2270
+ isGeneric(): boolean;
2271
+ toABAP(): string;
2272
+ containsVoid(): boolean;
2273
+ toCDS(): string;
2274
+ }
2275
+
2267
2276
  declare class EventBinding extends AbstractObject {
2268
2277
  getType(): string;
2269
2278
  getAllowedNaming(): {
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TypeUtils = void 0;
4
4
  const types_1 = require("../types");
5
5
  const basic_1 = require("../types/basic");
6
+ const enum_type_1 = require("../types/basic/enum_type");
6
7
  const cgeneric_type_1 = require("../types/basic/cgeneric_type");
7
8
  const Expressions = require("../2_statements/expressions");
8
9
  // todo: refactor to static? for performance
@@ -79,7 +80,8 @@ class TypeUtils {
79
80
  || type instanceof basic_1.DataType
80
81
  || type instanceof basic_1.CLikeType
81
82
  || type instanceof basic_1.PackedType
82
- || type instanceof basic_1.TimeType) {
83
+ || type instanceof basic_1.TimeType
84
+ || type instanceof enum_type_1.EnumType) {
83
85
  return true;
84
86
  }
85
87
  return false;
@@ -25,6 +25,7 @@ __exportStar(require("./date_type"), exports);
25
25
  __exportStar(require("./decfloat_type"), exports);
26
26
  __exportStar(require("./decfloat16_type"), exports);
27
27
  __exportStar(require("./decfloat34_type"), exports);
28
+ __exportStar(require("./enum_type"), exports);
28
29
  __exportStar(require("./float_type"), exports);
29
30
  __exportStar(require("./floating_point_type"), exports);
30
31
  __exportStar(require("./generic_object_reference_type"), exports);
@@ -74,7 +74,7 @@ class Registry {
74
74
  }
75
75
  static abaplintVersion() {
76
76
  // magic, see build script "version.sh"
77
- return "2.118.3";
77
+ return "2.118.4";
78
78
  }
79
79
  getDDICReferences() {
80
80
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.118.3",
3
+ "version": "2.118.4",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",