Skip to content

Commit

Permalink
Added schema index signature attribute alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishalk91-4 committed Jul 25, 2024
1 parent 10ed19e commit 5e1afb8
Show file tree
Hide file tree
Showing 5 changed files with 68,912 additions and 68,628 deletions.
3 changes: 2 additions & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,8 @@ module.exports = grammar({
$.string,
$.integer,
$.float,
$.paren_expression
$.paren_expression,
$.config_expr
)),

dotted_identifier: $ => prec(4, seq(
Expand Down
4 changes: 4 additions & 0 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -2124,6 +2124,10 @@
{
"type": "SYMBOL",
"name": "paren_expression"
},
{
"type": "SYMBOL",
"name": "config_expr"
}
]
}
Expand Down
4 changes: 4 additions & 0 deletions src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -2276,6 +2276,10 @@
"multiple": false,
"required": true,
"types": [
{
"type": "config_expr",
"named": true
},
{
"type": "dotted_name",
"named": true
Expand Down
Loading

0 comments on commit 5e1afb8

Please sign in to comment.