UNPKG

@phosphor/coreutils

Version:
30 lines (29 loc) 958 B
"use strict"; /*----------------------------------------------------------------------------- | Copyright (c) 2014-2017, PhosphorJS Contributors | | Distributed under the terms of the BSD 3-Clause License. | | The full license is in the file LICENSE, distributed with this software. |----------------------------------------------------------------------------*/ Object.defineProperty(exports, "__esModule", { value: true }); /** * A runtime object which captures compile-time type information. * * #### Notes * A token captures the compile-time type of an interface or class in * an object which can be used at runtime in a type-safe fashion. */ var Token = /** @class */ (function () { /** * Construct a new token. * * @param name - A human readable name for the token. */ function Token(name) { this.name = name; this._tokenStructuralPropertyT = null; } return Token; }()); exports.Token = Token;