tree-sitter-objectscript 1.9.11 → 1.9.12

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/core/grammar.js CHANGED
@@ -519,7 +519,7 @@ module.exports = grammar(objectscript_expr, {
519
519
  ),
520
520
  repeat($.oref_chain_segment),
521
521
  // Whatever we have here must end in a method
522
- alias(token.immediate('.'), $.method_dot),
522
+ token.immediate('.'),
523
523
  $.oref_method,
524
524
  ),
525
525
  ),
@@ -292,6 +292,10 @@
292
292
  (variable_datatype
293
293
  "." @function.builtin)
294
294
 
295
- (method_dot) @function.builtin
295
+ (do_parameter
296
+ "." @function.builtin)
297
+
298
+ (job_argument
299
+ "." @function.builtin)
296
300
 
297
301
  ; === END LOCAL ===
@@ -1677,10 +1677,6 @@
1677
1677
  "type": "macro",
1678
1678
  "named": true
1679
1679
  },
1680
- {
1681
- "type": "method_dot",
1682
- "named": true
1683
- },
1684
1680
  {
1685
1681
  "type": "oref_chain_segment",
1686
1682
  "named": true
@@ -2636,10 +2632,6 @@
2636
2632
  "type": "macro",
2637
2633
  "named": true
2638
2634
  },
2639
- {
2640
- "type": "method_dot",
2641
- "named": true
2642
- },
2643
2635
  {
2644
2636
  "type": "oref_chain_segment",
2645
2637
  "named": true
@@ -5865,10 +5857,6 @@
5865
5857
  "type": "macro_value_line_with_continue",
5866
5858
  "named": true
5867
5859
  },
5868
- {
5869
- "type": "method_dot",
5870
- "named": true
5871
- },
5872
5860
  {
5873
5861
  "type": "mnemonic",
5874
5862
  "named": true