1 | ;
|
2 | /*-----------------------------------------------------------------------------
|
3 | | Copyright (c) 2014-2017, PhosphorJS Contributors
|
4 | |
|
5 | | Distributed under the terms of the BSD 3-Clause License.
|
6 | |
|
7 | | The full license is in the file LICENSE, distributed with this software.
|
8 | |----------------------------------------------------------------------------*/
|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
10 | /**
|
11 | * A runtime object which captures compile-time type information.
|
12 | *
|
13 | * #### Notes
|
14 | * A token captures the compile-time type of an interface or class in
|
15 | * an object which can be used at runtime in a type-safe fashion.
|
16 | */
|
17 | var Token = /** @class */ (function () {
|
18 | /**
|
19 | * Construct a new token.
|
20 | *
|
21 | * @param name - A human readable name for the token.
|
22 | */
|
23 | function Token(name) {
|
24 | this.name = name;
|
25 | this._tokenStructuralPropertyT = null;
|
26 | }
|
27 | return Token;
|
28 | }());
|
29 | exports.Token = Token;
|