We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a597741 commit bad9c47Copy full SHA for bad9c47
lib/parse.js
@@ -162,7 +162,9 @@ var flatteners = {
162
// 'type'
163
'typedef': flattenTypedName,
164
'var': synonym('member'),
165
- // 'variation'
+ 'variation': function (result, tag) {
166
+ result.variation = tag.variation;
167
+ },
168
'version': flattenDescription,
169
'virtual': synonym('abstract')
170
};
test/lib/parse.js
@@ -499,6 +499,14 @@ test('parse - @var', function (t) {
499
t.end();
500
});
501
502
+test('parse - @variation', function (t) {
503
+ t.equal(evaluate(function () {
504
+ /** @variation 1 */
505
+ })[0].variation, 1, 'see');
506
+
507
+ t.end();
508
+});
509
510
test('parse - @version', function (t) {
511
512
0 commit comments