feat: add namespaced identifiers

Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
This commit is contained in:
Michael Hoffmann
2024-06-23 08:19:49 +02:00
parent 422cbe1d93
commit 9e3ec9848f
6 changed files with 1006 additions and 935 deletions

View File

@@ -52,7 +52,7 @@ module.exports = function make_grammar(dialect) {
token(
seq(
choice(/\p{ID_Start}/, "_"),
repeat(choice(/\p{ID_Continue}/, "-")),
repeat(choice(/\p{ID_Continue}/, "-", "::")),
),
),