Expose 'condition' node
This commit is contained in:
parent
d01bcf0f6d
commit
ff40b39dcf
6 changed files with 1032 additions and 1038 deletions
|
|
@ -132,11 +132,11 @@ module.exports = grammar({
|
|||
),
|
||||
|
||||
select_value: ($) => choice(
|
||||
$._select_value,
|
||||
seq("(", commaSeparatedOptTrailing($._select_value), ")"),
|
||||
$.condition,
|
||||
seq("(", commaSeparatedOptTrailing($.condition), ")"),
|
||||
),
|
||||
|
||||
_select_value: ($) => seq(
|
||||
condition: ($) => seq(
|
||||
field("name", $.identifier),
|
||||
"(",
|
||||
field("arguments", optional(commaSeparatedNoTrailing($._string_literal))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue