61 lines
1.4 KiB
JavaScript
61 lines
1.4 KiB
JavaScript
// Module ID: 163
|
|
// Function ID: 164
|
|
// Name: PerformanceEntry
|
|
// Dependencies: [41, 42, 126]
|
|
|
|
// Module 163 (PerformanceEntry)
|
|
import PerformanceEntry from "_classCallCheck";
|
|
import setPlatformObject from "setPlatformObject";
|
|
|
|
class PerformanceEntry {
|
|
constructor(arg0, arg1) {
|
|
tmp = PerformanceEntry(this, PerformanceEntry);
|
|
this.__entryType = global;
|
|
({ name: this.__name, startTime: this.__startTime, duration: this.__duration } = arg1);
|
|
return;
|
|
}
|
|
}
|
|
const items = [
|
|
{
|
|
key: "name",
|
|
get() {
|
|
return this.__name;
|
|
}
|
|
},
|
|
{
|
|
key: "entryType",
|
|
get() {
|
|
return this.__entryType;
|
|
}
|
|
},
|
|
{
|
|
key: "startTime",
|
|
get() {
|
|
return this.__startTime;
|
|
}
|
|
},
|
|
{
|
|
key: "duration",
|
|
get() {
|
|
return this.__duration;
|
|
}
|
|
},
|
|
{
|
|
key: "toJSON",
|
|
value: function toJSON() {
|
|
return { name: this.__name, entryType: this.__entryType, startTime: this.__startTime, duration: this.__duration };
|
|
}
|
|
}
|
|
];
|
|
const tmp2 = require("_createClass")(PerformanceEntry, items);
|
|
class PerformanceEntry {
|
|
constructor() {
|
|
typeError = new TypeError("Failed to construct 'PerformanceEntry': Illegal constructor");
|
|
throw typeError;
|
|
}
|
|
}
|
|
PerformanceEntry.prototype = tmp2.prototype;
|
|
setPlatformObject.setPlatformObject(tmp2);
|
|
|
|
export const PerformanceEntry = tmp2;
|
|
export const PerformanceEntry_public = PerformanceEntry;
|