UNPKG

@eagleoutice/flowr

Version:

Static Dataflow Analyzer and Program Slicer for the R Programming Language

19 lines 710 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DEFAULT_INFERENCE_LIMIT = void 0; exports.domainElementToString = domainElementToString; /** * The default limit of inferred constraints in {@link AbstractDomain|AbstractDomains}. */ exports.DEFAULT_INFERENCE_LIMIT = 50; /** * Converts an element of an abstract domain into a string. */ function domainElementToString(value) { if (typeof value === 'object' && value !== null && value.toString !== Object.prototype.toString) { // eslint-disable-next-line @typescript-eslint/no-base-to-string return value.toString(); } return JSON.stringify(value); } //# sourceMappingURL=abstract-domain.js.map