D27692: TypeScript: add private fields and type-only imports/exports, and some fixes

Nibaldo González <[email protected]>
Newsgroups gmane.comp.kde.devel.frameworks,gmane.comp.kde.devel.kwrite
Message-ID <[email protected]>
nibags created this revision.
nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
nibags requested review of this revision.

REVISION SUMMARY
  - Add private-named instance fields. Ex: `x.#name;`. [1]
  - Support type-only imports and exports. [2]
  - Improve the detection of conditional expressions `a ? b : c`. Allow multiple lines.
  - Add rules of round brackets `()` to correct bracket animation feature. [3]
  
  [1] https://github.com/microsoft/TypeScript/pull/30829
  [2] https://github.com/microsoft/TypeScript/pull/35200
  [3] https://unix.stackexchange.com/questions/527268/kate-18-12-3-no-longer-shows-matching-parenthesis-for-typescript

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  update-typescript

REVISION DETAIL
  https://phabricator.kde.org/D27692

AFFECTED FILES
  autotests/folding/test.ts.fold
  autotests/folding/test.tsx.fold
  autotests/html/test.ts.html
  autotests/html/test.tsx.html
  autotests/input/test.ts
  autotests/input/test.tsx
  autotests/reference/highlight.php.ref
  autotests/reference/test.htm.ref
  autotests/reference/test.markdown.ref
  autotests/reference/test.ts.ref
  autotests/reference/test.tsx.ref
  data/syntax/typescript-react.xml
  data/syntax/typescript.xml

To: nibags, #framework_syntax_highlighting, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, cblack, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.