UNPKG

@specs-feup/lara

Version:

A js port of the popular framework for building source-to-source compilers

24 lines 437 B
/** * Data about a metric. */ export default class MetricResult { value; unit; constructor(value, unit) { this.value = value; this.unit = unit; } /** * @returns The value of the metric */ getValue() { return this.value; } /** * @returns The unit of the metric value */ getUnit() { return this.unit; } } //# sourceMappingURL=MetricResult.js.map