Add 'property' field name where relevant
This commit is contained in:
parent
8bd249fc90
commit
d232c089df
4 changed files with 176 additions and 49 deletions
|
|
@ -41,14 +41,14 @@ module.exports = grammar({
|
|||
_old_module: ($) => seq(
|
||||
field("type", $.identifier),
|
||||
"{",
|
||||
optional(commaSeparated($._colon_property)),
|
||||
optional(commaSeparated(field("property", $._colon_property))),
|
||||
"}",
|
||||
),
|
||||
|
||||
_new_module: ($) => seq(
|
||||
$.identifier,
|
||||
"(",
|
||||
optional(commaSeparated($._equal_property)),
|
||||
optional(commaSeparated(field("property", $._equal_property))),
|
||||
")",
|
||||
),
|
||||
|
||||
|
|
@ -175,7 +175,7 @@ module.exports = grammar({
|
|||
|
||||
map_expression: ($) => seq(
|
||||
"{",
|
||||
optional(commaSeparated($._colon_property)),
|
||||
optional(commaSeparated(field("property", $._colon_property))),
|
||||
"}",
|
||||
),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue