UNPKG

error-polyfill

Version:
30 lines (28 loc) 907 B
var Class = require("o3").Class, abstractMethod = require("o3").abstractMethod; var Frame = Class(Object, { prototype: { init: Class.prototype.merge, frameString: undefined, toString: function () { return this.frameString; }, functionValue: undefined, getThis: abstractMethod, getTypeName: abstractMethod, getFunction: function () { return this.functionValue; }, getFunctionName: abstractMethod, getMethodName: abstractMethod, getFileName: abstractMethod, getLineNumber: abstractMethod, getColumnNumber: abstractMethod, getEvalOrigin: abstractMethod, isTopLevel: abstractMethod, isEval: abstractMethod, isNative: abstractMethod, isConstructor: abstractMethod } }); module.exports = Frame;