13 Commits

Author SHA1 Message Date
Andreas Dangel
55d91791c3
[core] Rename TokenMgrError to LexException
See #4065
2024-01-11 15:56:28 +01:00
Andreas Dangel
567bf9ed71
[javascript] Separate @ from Identifier 2023-10-26 16:39:28 +02:00
Wener
836230b7e7
Added support for "@" in identifiers
This is to resolve the following error on a typescript file:

[main] ERROR net.sourceforge.pmd.cli - Error while tokenizing: Lexical error in file '.\TableList.js' at
 line 67, column 1: "@" (64), after : "" (in lexical state DEFAULT)
2023-09-12 10:36:12 +02:00
Clément Fournier
63c01f0f5b
Merge branch '7.0.x' into text-utils-javacc 2022-07-17 17:06:37 +02:00
Andreas Dangel
82dd4d46ca
Merge branch 'master' into pmd/7.0.x 2022-05-26 11:21:38 +02:00
Clément Fournier
078345fbca
Add phonetic extensions to other langs 2022-05-01 18:16:53 +02:00
Clément Fournier
b328bc5fdc
Add more cjk and exotic scripts, also to JS
Fix #2605
2022-05-01 17:47:11 +02:00
Clément Fournier
a11f45e511 Cleanup spec 2020-09-17 22:54:59 +02:00
Clément Fournier
e93e5b0a4c Move into .io package 2020-09-17 22:43:29 +02:00
Clément Fournier
1f8c5b65b3 Better implementation for appendSuffix 2020-09-17 22:41:16 +02:00
Clément Fournier
e23df57ccd Port js (es5) module 2020-03-17 18:05:32 +01:00
Bram Stappers
f801b30e70 Added template string token to EcmaScript 5 language definition. 2017-01-20 09:11:36 -03:00
Jan van Nunen
63293f8b31 Javascript tokenizer now ignores comment tokens. 2016-06-06 09:31:04 +02:00