Skip to content

Commit 92b5ccd

Browse files
committed
chore: npm run format
1 parent faf0de3 commit 92b5ccd

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

grammar.js

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,7 @@ module.exports = grammar({
205205
$._simple_statements,
206206
$._newline,
207207
$._body_end,
208-
seq(
209-
$._indent,
210-
repeat($._statement),
211-
choice($._body_end, $._dedent),
212-
),
208+
seq($._indent, repeat($._statement), choice($._body_end, $._dedent)),
213209
),
214210

215211
// Simple statements
@@ -450,11 +446,7 @@ module.exports = grammar({
450446
$._class_member,
451447
$._newline,
452448
$._body_end,
453-
seq(
454-
$._indent,
455-
repeat($._class_member),
456-
choice($._body_end, $._dedent),
457-
),
449+
seq($._indent, repeat($._class_member), choice($._body_end, $._dedent)),
458450
),
459451

460452
// A class body can only directly contain class members. Then these class
@@ -836,11 +828,7 @@ module.exports = grammar({
836828
),
837829
),
838830

839-
variadic_parameter: ($) =>
840-
seq(
841-
"...",
842-
$._parameters,
843-
),
831+
variadic_parameter: ($) => seq("...", $._parameters),
844832

845833
_parameters: ($) =>
846834
choice(

0 commit comments

Comments
 (0)