Rename fields in 'select_value'

This aligns with upstream, and makes more sense given their usage.
This commit is contained in:
Bruno BELANYI 2024-04-23 14:52:36 +00:00
parent 1c1387fee0
commit 2649422636
4 changed files with 36 additions and 32 deletions

View file

@ -128,9 +128,9 @@ module.exports = grammar({
),
select_value: ($) => seq(
field("type", alias($.identifier, $.selection_type)),
field("name", alias($.identifier, $.selection_type)),
"(",
field("condition", optional(commaSeparated($._string_literal))),
field("arguments", optional(commaSeparated($._string_literal))),
")",
),