1 | <!doctype html>
|
2 | <html lang="en">
|
3 | <head>
|
4 | <title>Code coverage report for Token.ts</title>
|
5 | <meta charset="utf-8" />
|
6 | <link rel="stylesheet" href="prettify.css" />
|
7 | <link rel="stylesheet" href="base.css" />
|
8 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
9 | <style type='text/css'>
|
10 | .coverage-summary .sorter {
|
11 | background-image: url(sort-arrow-sprite.png);
|
12 | }
|
13 | </style>
|
14 | </head>
|
15 | <body>
|
16 | <div class='wrapper'>
|
17 | <div class='pad1'>
|
18 | <h1>
|
19 | <a href="index.html">All files</a> Token.ts
|
20 | </h1>
|
21 | <div class='clearfix'>
|
22 | <div class='fl pad1y space-right2'>
|
23 | <span class="strong">100% </span>
|
24 | <span class="quiet">Statements</span>
|
25 | <span class='fraction'>3/3</span>
|
26 | </div>
|
27 | <div class='fl pad1y space-right2'>
|
28 | <span class="strong">100% </span>
|
29 | <span class="quiet">Branches</span>
|
30 | <span class='fraction'>0/0</span>
|
31 | </div>
|
32 | <div class='fl pad1y space-right2'>
|
33 | <span class="strong">100% </span>
|
34 | <span class="quiet">Functions</span>
|
35 | <span class='fraction'>2/2</span>
|
36 | </div>
|
37 | <div class='fl pad1y space-right2'>
|
38 | <span class="strong">100% </span>
|
39 | <span class="quiet">Lines</span>
|
40 | <span class='fraction'>3/3</span>
|
41 | </div>
|
42 | </div>
|
43 | <p class="quiet">
|
44 | Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
45 | </p>
|
46 | </div>
|
47 | <div class='status-line high'></div>
|
48 | <pre><table class="coverage">
|
49 | <tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
50 | <a name='L2'></a><a href='#L2'>2</a>
|
51 | <a name='L3'></a><a href='#L3'>3</a>
|
52 | <a name='L4'></a><a href='#L4'>4</a>
|
53 | <a name='L5'></a><a href='#L5'>5</a>
|
54 | <a name='L6'></a><a href='#L6'>6</a>
|
55 | <a name='L7'></a><a href='#L7'>7</a>
|
56 | <a name='L8'></a><a href='#L8'>8</a>
|
57 | <a name='L9'></a><a href='#L9'>9</a>
|
58 | <a name='L10'></a><a href='#L10'>10</a>
|
59 | <a name='L11'></a><a href='#L11'>11</a>
|
60 | <a name='L12'></a><a href='#L12'>12</a>
|
61 | <a name='L13'></a><a href='#L13'>13</a>
|
62 | <a name='L14'></a><a href='#L14'>14</a>
|
63 | <a name='L15'></a><a href='#L15'>15</a>
|
64 | <a name='L16'></a><a href='#L16'>16</a>
|
65 | <a name='L17'></a><a href='#L17'>17</a>
|
66 | <a name='L18'></a><a href='#L18'>18</a>
|
67 | <a name='L19'></a><a href='#L19'>19</a>
|
68 | <a name='L20'></a><a href='#L20'>20</a>
|
69 | <a name='L21'></a><a href='#L21'>21</a>
|
70 | <a name='L22'></a><a href='#L22'>22</a>
|
71 | <a name='L23'></a><a href='#L23'>23</a>
|
72 | <a name='L24'></a><a href='#L24'>24</a>
|
73 | <a name='L25'></a><a href='#L25'>25</a>
|
74 | <a name='L26'></a><a href='#L26'>26</a>
|
75 | <a name='L27'></a><a href='#L27'>27</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral"> </span>
|
76 | <span class="cline-any cline-neutral"> </span>
|
77 | <span class="cline-any cline-neutral"> </span>
|
78 | <span class="cline-any cline-neutral"> </span>
|
79 | <span class="cline-any cline-neutral"> </span>
|
80 | <span class="cline-any cline-neutral"> </span>
|
81 | <span class="cline-any cline-neutral"> </span>
|
82 | <span class="cline-any cline-neutral"> </span>
|
83 | <span class="cline-any cline-neutral"> </span>
|
84 | <span class="cline-any cline-neutral"> </span>
|
85 | <span class="cline-any cline-neutral"> </span>
|
86 | <span class="cline-any cline-neutral"> </span>
|
87 | <span class="cline-any cline-neutral"> </span>
|
88 | <span class="cline-any cline-neutral"> </span>
|
89 | <span class="cline-any cline-neutral"> </span>
|
90 | <span class="cline-any cline-yes">1x</span>
|
91 | <span class="cline-any cline-neutral"> </span>
|
92 | <span class="cline-any cline-neutral"> </span>
|
93 | <span class="cline-any cline-neutral"> </span>
|
94 | <span class="cline-any cline-yes">9x</span>
|
95 | <span class="cline-any cline-neutral"> </span>
|
96 | <span class="cline-any cline-neutral"> </span>
|
97 | <span class="cline-any cline-neutral"> </span>
|
98 | <span class="cline-any cline-yes">10x</span>
|
99 | <span class="cline-any cline-neutral"> </span>
|
100 | <span class="cline-any cline-neutral"> </span>
|
101 | <span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">// Copyright (C) 2017 Norman Breau
|
102 |
|
103 | // This program is free software: you can redistribute it and/or modify
|
104 | // it under the terms of the GNU General Public License as published by
|
105 | // the Free Software Foundation, either version 3 of the License, or
|
106 | // (at your option) any later version.
|
107 |
|
108 | // This program is distributed in the hope that it will be useful,
|
109 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
|
110 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
111 | // GNU General Public License for more details.
|
112 |
|
113 | // You should have received a copy of the GNU General Public License
|
114 | // along with this program. If not, see <http://www.gnu.org/licenses/>.
|
115 |
|
116 | export class Token {
|
117 | private signature: string;
|
118 |
|
119 | constructor(signature: string) {
|
120 | this.signature = signature;
|
121 | }
|
122 |
|
123 | public getSignature(): string {
|
124 | return this.signature;
|
125 | }
|
126 | }
|
127 | </pre></td></tr>
|
128 | </table></pre>
|
129 | <div class='push'></div>
|
130 | </div>
|
131 | <div class='footer quiet pad2 space-top1 center small'>
|
132 | Code coverage
|
133 | generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Sun Oct 06 2019 20:17:21 GMT-0300 (Atlantic Daylight Time)
|
134 | </div>
|
135 | </div>
|
136 | <script src="prettify.js"></script>
|
137 | <script>
|
138 | window.onload = function () {
|
139 | if (typeof prettyPrint === 'function') {
|
140 | prettyPrint();
|
141 | }
|
142 | };
|
143 | </script>
|
144 | <script src="sorter.js"></script>
|
145 | <script src="block-navigation.js"></script>
|
146 | </body>
|
147 | </html>
|