tags.js
来自「原名JSPackager」· JavaScript 代码 · 共 39 行
JS
39 行
var accessTag = {
'public':{},
'protected':{},
'private':{}
};
var flagTag = {
'abstract':{},
'final':{},
'static':{},
'fileoverview':{alias:['filedoc']},
'deprecated':{},
'constructor':{alias:['class']}
};
var valueTag = {
'author':{},
'access':{},
'version':{},
'arguments': {alias:['args']},
//The type Of the object same as javascript instanceof op
'instanceof':{},
//The type Of the object same as javascript typeof op
'typeof':{},
//@return <Type> information (type tag is deprecated just to keep the same with some old jsdoc)
'return':{},
'returnType':{alias:['type']},
'name': {},
'owner': {alias:['member']},
//Used to show that a class is a subclass of another class. JSDoc is often quite good at picking this up on its own, but in some situations this tag is required.
'extend':{alias:['extends']}
}
var valuesTag = {
'throw':{alias:['exception']},
'param':{alias:['argument']},
'see':{}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?