Skip to content

Commit

Permalink
chore: minor changes in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Sep 21, 2024
1 parent dcb0b8f commit 651907f
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions parser/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ impl<'src> ParserImpl<'src> {
/// Parses `of` expression.
///
/// ```text
/// OF := QUANTIFIER (
/// OF_EXPR := QUANTIFIER (
/// `of` ( `them` | PATTERN_IDENT_TUPLE ) ( `at` EXPR | `in` RANGE )? |
/// BOOLEAN_EXPR_TUPLE
/// )
Expand Down Expand Up @@ -1586,11 +1586,7 @@ impl<'src> ParserImpl<'src> {
/// Parses `with` expression.
///
/// ```text
/// WITH_EXPR :=
/// `with` WITH_DECLS `:`
/// `(`
/// BOOLEAN_EXPR
/// `)`
/// WITH_EXPR := `with` WITH_DECLS `:` `(` BOOLEAN_EXPR `)`
/// ```
fn with_expr(&mut self) -> &mut Self {
self.begin(WITH_EXPR)
Expand All @@ -1606,8 +1602,7 @@ impl<'src> ParserImpl<'src> {
/// Parses `with` identifiers.
///
/// ```text
/// WITH_DECLS :=
/// WITH_DECL (`,` WITH_DECL)*
/// WITH_DECLS := WITH_DECL (`,` WITH_DECL)*
///
fn with_declarations(&mut self) -> &mut Self {
self.begin(WITH_DECLS)
Expand All @@ -1621,8 +1616,7 @@ impl<'src> ParserImpl<'src> {
/// Parses a `with` declaration.
///
/// ```text
/// WITH_DECL :=
/// IDENT `=` EXPR
/// WITH_DECL := IDENT `=` EXPR
/// ```
fn with_declaration(&mut self) -> &mut Self {
self.begin(WITH_DECL)
Expand Down

0 comments on commit 651907f

Please sign in to comment.