whalesong/js-assembler/runtime-src/baselib-inspectors.js
2011-08-07 23:46:20 -04:00

29 lines
553 B
JavaScript

/*jslint vars: true, maxerr: 50, indent: 4 */
// Structure types
(function (baselib) {
'use strict';
var exports = {};
baselib.inspectors = exports;
var Inspector = function () {
};
var DEFAULT_INSPECTOR = new Inspector();
Inspector.prototype.toString = function () {
return "#<inspector>";
};
var isInspector = baselib.makeClassPredicate(Inspector);
exports.Inspector = Inspector;
exports.DEFAULT_INSPECTOR = DEFAULT_INSPECTOR;
exports.isInspector = isInspector;
}(this.plt.baselib));