@willbooster/tree-sitter-ruby 3.0.1 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grammar.js +8 -1
- package/package.json +1 -1
- package/tree-sitter-ruby.wasm +0 -0
- package/tree-sitter.json +1 -1
package/grammar.js
CHANGED
|
@@ -1556,7 +1556,14 @@ module.exports = grammar({
|
|
|
1556
1556
|
instance_variable: () => token(seq('@', ALPHA_CHAR, IDENTIFIER_CHARS)),
|
|
1557
1557
|
class_variable: () => token(seq('@@', ALPHA_CHAR, IDENTIFIER_CHARS)),
|
|
1558
1558
|
|
|
1559
|
-
global_variable: () =>
|
|
1559
|
+
global_variable: () =>
|
|
1560
|
+
token(
|
|
1561
|
+
choice(
|
|
1562
|
+
/\$(-[a-zA-Z0-9_]|[!@&`'+~=/\\,;.<>*$?:"]|[0-9]+)/,
|
|
1563
|
+
seq('$-', /[^\u0000-\u007F]/),
|
|
1564
|
+
seq('$', ALPHA_CHAR, IDENTIFIER_CHARS)
|
|
1565
|
+
)
|
|
1566
|
+
),
|
|
1560
1567
|
|
|
1561
1568
|
chained_string: ($) => seq($.string, repeat1($.string)),
|
|
1562
1569
|
|
package/package.json
CHANGED
package/tree-sitter-ruby.wasm
CHANGED
|
Binary file
|