Skip to content

Commit abc635f

Browse files
d-alonsoinaki-amatria
authored andcommitted
Unhide inline* and block* nodes
1 parent f17e804 commit abc635f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

grammar.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,11 +1305,11 @@ module.exports = grammar({
13051305
binary_op: $ => choice('+', '*', /(\.\w+\.|\w+)/),
13061306

13071307
if_statement: $ => choice(
1308-
$._inline_if_statement,
1309-
$._block_if_statement
1308+
$.inline_if_statement,
1309+
$.block_if_statement
13101310
),
13111311

1312-
_inline_if_statement: $ => prec.right(2, seq(
1312+
inline_if_statement: $ => prec.right(2, seq(
13131313
caseInsensitive('if'),
13141314
$.parenthesized_expression,
13151315
$._statements
@@ -1325,7 +1325,7 @@ module.exports = grammar({
13251325
$.statement_label_reference,
13261326
)),
13271327

1328-
_block_if_statement: $ => seq(
1328+
block_if_statement: $ => seq(
13291329
optional($.block_label_start_expression),
13301330
caseInsensitive('if'),
13311331
$.parenthesized_expression,
@@ -1361,17 +1361,17 @@ module.exports = grammar({
13611361
),
13621362

13631363
where_statement: $ => choice(
1364-
$._inline_where_statement,
1365-
$._block_where_statement
1364+
$.inline_where_statement,
1365+
$.block_where_statement
13661366
),
13671367

1368-
_inline_where_statement: $ => prec.right(seq(
1368+
inline_where_statement: $ => prec.right(seq(
13691369
caseInsensitive('where'),
13701370
$.parenthesized_expression,
13711371
$._statements
13721372
)),
13731373

1374-
_block_where_statement: $ => seq(
1374+
block_where_statement: $ => seq(
13751375
optional($.block_label_start_expression),
13761376
caseInsensitive('where'),
13771377
$.parenthesized_expression,
@@ -1395,8 +1395,8 @@ module.exports = grammar({
13951395
),
13961396

13971397
forall_statement: $ => choice(
1398-
$._inline_forall_statement,
1399-
$._block_forall_statement
1398+
$.inline_forall_statement,
1399+
$.block_forall_statement
14001400
),
14011401

14021402
triplet_spec: $ => seq(
@@ -1419,12 +1419,12 @@ module.exports = grammar({
14191419
')'
14201420
),
14211421

1422-
_inline_forall_statement: $ => seq(
1422+
inline_forall_statement: $ => seq(
14231423
$._forall_control_expression,
14241424
$._statements
14251425
),
14261426

1427-
_block_forall_statement: $ => seq(
1427+
block_forall_statement: $ => seq(
14281428
optional($.block_label_start_expression),
14291429
$._forall_control_expression,
14301430
$.end_of_statement,

0 commit comments

Comments
 (0)