@@ -549,8 +549,8 @@ object Parsers {
549549 /** operand { infixop operand | ‘given’ (operand | ParArgumentExprs) } [postfixop],
550550 *
551551 * respecting rules of associativity and precedence.
552- * @param notAnOperator a token that does not count as operator.
553- * @param maybePostfix postfix operators are allowed.
552+ * @param isOperator the current token counts as an operator.
553+ * @param maybePostfix postfix operators are allowed.
554554 */
555555 def infixOps (
556556 first : Tree , canStartOperand : Token => Boolean , operand : () => Tree ,
@@ -1933,8 +1933,8 @@ object Parsers {
19331933 if (in.token == RPAREN ) Nil else patterns()
19341934
19351935
1936- /** ArgumentPatterns ::= `(' [Patterns] `)'
1937- * | `(' [Patterns `,' ] Pattern2 `:' `_' `*' ')
1936+ /** ArgumentPatterns ::= ‘(’ [Patterns] ‘)’
1937+ * | ‘(’ [Patterns ‘,’ ] Pattern2 ‘:’ ‘_’ ‘*’ ‘)’
19381938 */
19391939 def argumentPatterns (): List [Tree ] =
19401940 inParens(patternsOpt())
@@ -2084,18 +2084,18 @@ object Parsers {
20842084
20852085 /* -------- PARAMETERS ------------------------------------------- */
20862086
2087- /** ClsTypeParamClause::= `[' ClsTypeParam {`,' ClsTypeParam} `]'
2088- * ClsTypeParam ::= {Annotation} [`+' | `-' ]
2087+ /** ClsTypeParamClause::= ‘[’ ClsTypeParam {‘,’ ClsTypeParam} ‘]’
2088+ * ClsTypeParam ::= {Annotation} [‘+’ | ‘-’ ]
20892089 * id [HkTypeParamClause] TypeParamBounds
20902090 *
2091- * DefTypeParamClause::= `[' DefTypeParam {`,' DefTypeParam} `]'
2091+ * DefTypeParamClause::= ‘[’ DefTypeParam {‘,’ DefTypeParam} ‘]’
20922092 * DefTypeParam ::= {Annotation} id [HkTypeParamClause] TypeParamBounds
20932093 *
2094- * TypTypeParamCaluse::= `[' TypTypeParam {`,' TypTypeParam} `]'
2094+ * TypTypeParamCaluse::= ‘[’ TypTypeParam {‘,’ TypTypeParam} ‘]’
20952095 * TypTypeParam ::= {Annotation} id [HkTypePamClause] TypeBounds
20962096 *
2097- * HkTypeParamClause ::= `[' HkTypeParam {`,' HkTypeParam} `]'
2098- * HkTypeParam ::= {Annotation} ['+' | `-' ] (id [HkTypePamClause] | _' ) TypeBounds
2097+ * HkTypeParamClause ::= ‘[’ HkTypeParam {‘,’ HkTypeParam} ‘]’
2098+ * HkTypeParam ::= {Annotation} [‘+’ | ‘-’ ] (id [HkTypePamClause] | ‘_’ ) TypeBounds
20992099 */
21002100 def typeParamClause (ownerKind : ParamOwner .Value ): List [TypeDef ] = inBrackets {
21012101 def typeParam (): TypeDef = {
@@ -2576,8 +2576,8 @@ object Parsers {
25762576 }
25772577 }
25782578
2579- /** TmplDef ::= ([` case' ] ‘class’ | trait’) ClassDef
2580- * | [` case'] ` object' ObjectDef
2579+ /** TmplDef ::= ([‘ case’ ] ‘class’ | ‘ trait’) ClassDef
2580+ * | [‘ case’] ‘ object’ ObjectDef
25812581 * | ‘enum’ EnumDef
25822582 * | ‘instance’ InstanceDef
25832583 */
0 commit comments