feat(keywords) add keyword.return & keyword.yield

This commit is contained in:
antonk52 2021-07-04 19:55:59 +03:00 committed by Stephan Seitz
parent 859c743296
commit bd9095e969
23 changed files with 112 additions and 25 deletions

View file

@ -528,6 +528,14 @@ For keywords used to define a fuction.
`TSKeywordOperator`
for operators that are English words, e.g. `and`, `as`, `or`.
*hl-TSKeywordReturn*
`TSKeywordReturn`
for the `return` keyword.
*hl-TSKeywordYield*
`TSKeywordYield`
for the `yield` keyword.
*hl-TSLabel*
`TSLabel`
For labels: `label:` in C and `:label:` in Lua.