prism/tests/languages/jsdoc/keyword_feature.test

183 lines
4.2 KiB
Plaintext

/**
* @abstract
* @virtual
* @access
* @alias
* @async
* @augments
* @extends
* @author
* @borrows
* @callback
* @class
* @constructor
* @hideconstructor
* @classdesc
* @constant
* @const
* @constructs
* @copyright
* @default
* @defaultValue
* @deprecated
* @description
* @desc
* @enum
* @event
* @exports
* @external
* @host
* @file
* @overview
* @fileoverview
* @fires
* @emits
* @function
* @func
* @method
* @generator
* @global
* @ignore
* @implements
* @inheritdoc
* @inner
* @instance
* @interface
* @kind
* @lends
* @license
* @listens
* @member
* @var
* @memberof
* @mixes
* @mixin
* @module
* @name
* @namespace
* @override
* @package
* @param
* @arg
* @argument
* @private
* @property
* @prop
* @protected
* @public
* @readonly
* @requires
* @return
* @returns
* @see
* @since
* @static
* @summary
* @this
* @throws
* @exception
* @todo
* @tutorial
* @type
* @typedef
* @variation
* @version
* @yield
* @yields
*/
----------------------------------------------------
[
"/**\r\n * ", ["keyword", "@abstract"],
"\r\n * ", ["keyword", "@virtual"],
"\r\n * ", ["keyword", "@access"],
"\r\n * ", ["keyword", "@alias"],
"\r\n * ", ["keyword", "@async"],
"\r\n * ", ["keyword", "@augments"],
"\r\n * ", ["keyword", "@extends"],
"\r\n * ", ["keyword", "@author"],
"\r\n * ", ["keyword", "@borrows"],
"\r\n * ", ["keyword", "@callback"],
"\r\n * ", ["keyword", "@class"],
"\r\n * ", ["keyword", "@constructor"],
"\r\n * ", ["keyword", "@hideconstructor"],
"\r\n * ", ["keyword", "@classdesc"],
"\r\n * ", ["keyword", "@constant"],
"\r\n * ", ["keyword", "@const"],
"\r\n * ", ["keyword", "@constructs"],
"\r\n * ", ["keyword", "@copyright"],
"\r\n * ", ["keyword", "@default"],
"\r\n * ", ["keyword", "@defaultValue"],
"\r\n * ", ["keyword", "@deprecated"],
"\r\n * ", ["keyword", "@description"],
"\r\n * ", ["keyword", "@desc"],
"\r\n * ", ["keyword", "@enum"],
"\r\n * ", ["keyword", "@event"],
"\r\n * ", ["keyword", "@exports"],
"\r\n * ", ["keyword", "@external"],
"\r\n * ", ["keyword", "@host"],
"\r\n * ", ["keyword", "@file"],
"\r\n * ", ["keyword", "@overview"],
"\r\n * ", ["keyword", "@fileoverview"],
"\r\n * ", ["keyword", "@fires"],
"\r\n * ", ["keyword", "@emits"],
"\r\n * ", ["keyword", "@function"],
"\r\n * ", ["keyword", "@func"],
"\r\n * ", ["keyword", "@method"],
"\r\n * ", ["keyword", "@generator"],
"\r\n * ", ["keyword", "@global"],
"\r\n * ", ["keyword", "@ignore"],
"\r\n * ", ["keyword", "@implements"],
"\r\n * ", ["keyword", "@inheritdoc"],
"\r\n * ", ["keyword", "@inner"],
"\r\n * ", ["keyword", "@instance"],
"\r\n * ", ["keyword", "@interface"],
"\r\n * ", ["keyword", "@kind"],
"\r\n * ", ["keyword", "@lends"],
"\r\n * ", ["keyword", "@license"],
"\r\n * ", ["keyword", "@listens"],
"\r\n * ", ["keyword", "@member"],
"\r\n * ", ["keyword", "@var"],
"\r\n * ", ["keyword", "@memberof"],
"\r\n * ", ["keyword", "@mixes"],
"\r\n * ", ["keyword", "@mixin"],
"\r\n * ", ["keyword", "@module"],
"\r\n * ", ["keyword", "@name"],
"\r\n * ", ["keyword", "@namespace"],
"\r\n * ", ["keyword", "@override"],
"\r\n * ", ["keyword", "@package"],
"\r\n * ", ["keyword", "@param"],
"\r\n * ", ["keyword", "@arg"],
"\r\n * ", ["keyword", "@argument"],
"\r\n * ", ["keyword", "@private"],
"\r\n * ", ["keyword", "@property"],
"\r\n * ", ["keyword", "@prop"],
"\r\n * ", ["keyword", "@protected"],
"\r\n * ", ["keyword", "@public"],
"\r\n * ", ["keyword", "@readonly"],
"\r\n * ", ["keyword", "@requires"],
"\r\n * ", ["keyword", "@return"],
"\r\n * ", ["keyword", "@returns"],
"\r\n * ", ["keyword", "@see"],
"\r\n * ", ["keyword", "@since"],
"\r\n * ", ["keyword", "@static"],
"\r\n * ", ["keyword", "@summary"],
"\r\n * ", ["keyword", "@this"],
"\r\n * ", ["keyword", "@throws"],
"\r\n * ", ["keyword", "@exception"],
"\r\n * ", ["keyword", "@todo"],
"\r\n * ", ["keyword", "@tutorial"],
"\r\n * ", ["keyword", "@type"],
"\r\n * ", ["keyword", "@typedef"],
"\r\n * ", ["keyword", "@variation"],
"\r\n * ", ["keyword", "@version"],
"\r\n * ", ["keyword", "@yield"],
"\r\n * ", ["keyword", "@yields"],
"\r\n */"
]
----------------------------------------------------
Checks for keywords.