syntax_test_js_jsdoc.js (1251B)
1 // SYNTAX TEST "Packages/JavaScript/JavaScript.sublime-syntax" 2 3 /**@a*/ 4 // ^^^ punctuation.definition.comment.begin 5 // ^^ entity.other.attribute-name.documentation 6 // ^^ punctuation.definition.comment.end - entity.other.attribute-name.documentation 7 // ^^^^^^^ comment.block.documentation.js 8 9 /** @a b */ 10 // ^^ entity.other.attribute-name.documentation 11 // ^ - entity.other.attribute-name.documentation 12 // ^^ punctuation.definition.comment.end 13 14 /** @a@b */ 15 // ^^ entity.other.attribute-name.documentation 16 // ^^ - entity.other.attribute-name.documentation 17 18 /** 19 * @a b 20 // ^^ entity.other.attribute-name.documentation 21 // ^ comment.block.documentation 22 */ 23 // <- punctuation.definition.comment.end 24 25 /** 26 * First line 27 * @a @b c */ 28 // ^^ entity.other.attribute-name.documentation 29 // ^^ - entity.other.attribute-name.documentation 30 // ^^^^ comment.block.documentation 31 // ^^^^ - comment.block.documentation comment.block.documentation 32 // ^^ comment.block.documentation punctuation.definition.comment.end 33 34 /** 35 36 @a */ 37 //^^ - entity.other.attribute-name.documentation 38 // ^^ punctuation.definition.comment.end 39 40 /*@a */ 41 //^^ - entity.other.attribute-name.documentation 42 // ^^ punctuation.definition.comment.end