Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Add @api and @internal to recognised JSDoc tags
Browse files Browse the repository at this point in the history
Not part of the official JSDoc spec, yet occasionally used in-the-wild.
  • Loading branch information
Alhadis authored and 50Wliu committed May 8, 2017
1 parent c438e37 commit 31d2a5f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions grammars/jsdoc.cson
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'3':
'name': 'constant.language.access-type.jsdoc'
'match': '''(?x)
((@)access)
((@)(?:access|api))
\\s+
(private|protected|public)
\\b
Expand Down Expand Up @@ -377,16 +377,16 @@
'1':
'name': 'punctuation.definition.block.tag.jsdoc'
'match': '''(?x) (@)
(?:abstract|access|alias|arg|argument|async|attribute|augments|author|beta|borrows|bubbles
(?:abstract|access|alias|api|arg|argument|async|attribute|augments|author|beta|borrows|bubbles
|callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright
|default|defaultvalue|define|deprecated|desc|description|dict|emits|enum|event|example|exception
|exports?|extends|extension(?:_?for)?|external|externs|file|fileoverview|final|fires|for|func
|function|global|host|ignore|implements|implicitCast|inherit[Dd]oc|inner|instance|interface|kind
|lends|license|listens|main|member|memberof!?|method|mixes|mixins?|modifies|module|name|namespace
|noalias|nocollapse|nocompile|nosideeffects|override|overview|package|param|preserve|private|prop
|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule
|summary|suppress|template|this|throws|todo|tutorial|type|typedef|unrestricted|uses|var|variation
|version|virtual|writeOnce)
|function|global|host|ignore|implements|implicitCast|inherit[Dd]oc|inner|instance|interface
|internal|kind|lends|license|listens|main|member|memberof!?|method|mixes|mixins?|modifies|module
|name|namespace|noalias|nocollapse|nocompile|nosideeffects|override|overview|package|param|preserve
|private|prop|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static
|struct|submodule|summary|suppress|template|this|throws|todo|tutorial|type|typedef|unrestricted
|uses|var|variation|version|virtual|writeOnce)
\\b
'''
'name': 'storage.type.class.jsdoc'
Expand Down

0 comments on commit 31d2a5f

Please sign in to comment.