@@ -549,8 +549,8 @@ object Parsers {
549
549
/** operand { infixop operand | ‘given’ (operand | ParArgumentExprs) } [postfixop],
550
550
*
551
551
* 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.
554
554
*/
555
555
def infixOps (
556
556
first : Tree , canStartOperand : Token => Boolean , operand : () => Tree ,
@@ -1933,8 +1933,8 @@ object Parsers {
1933
1933
if (in.token == RPAREN ) Nil else patterns()
1934
1934
1935
1935
1936
- /** ArgumentPatterns ::= `(' [Patterns] `)'
1937
- * | `(' [Patterns `,' ] Pattern2 `:' `_' `*' ')
1936
+ /** ArgumentPatterns ::= ‘(’ [Patterns] ‘)’
1937
+ * | ‘(’ [Patterns ‘,’ ] Pattern2 ‘:’ ‘_’ ‘*’ ‘)’
1938
1938
*/
1939
1939
def argumentPatterns (): List [Tree ] =
1940
1940
inParens(patternsOpt())
@@ -2084,18 +2084,18 @@ object Parsers {
2084
2084
2085
2085
/* -------- PARAMETERS ------------------------------------------- */
2086
2086
2087
- /** ClsTypeParamClause::= `[' ClsTypeParam {`,' ClsTypeParam} `]'
2088
- * ClsTypeParam ::= {Annotation} [`+' | `-' ]
2087
+ /** ClsTypeParamClause::= ‘[’ ClsTypeParam {‘,’ ClsTypeParam} ‘]’
2088
+ * ClsTypeParam ::= {Annotation} [‘+’ | ‘-’ ]
2089
2089
* id [HkTypeParamClause] TypeParamBounds
2090
2090
*
2091
- * DefTypeParamClause::= `[' DefTypeParam {`,' DefTypeParam} `]'
2091
+ * DefTypeParamClause::= ‘[’ DefTypeParam {‘,’ DefTypeParam} ‘]’
2092
2092
* DefTypeParam ::= {Annotation} id [HkTypeParamClause] TypeParamBounds
2093
2093
*
2094
- * TypTypeParamCaluse::= `[' TypTypeParam {`,' TypTypeParam} `]'
2094
+ * TypTypeParamCaluse::= ‘[’ TypTypeParam {‘,’ TypTypeParam} ‘]’
2095
2095
* TypTypeParam ::= {Annotation} id [HkTypePamClause] TypeBounds
2096
2096
*
2097
- * HkTypeParamClause ::= `[' HkTypeParam {`,' HkTypeParam} `]'
2098
- * HkTypeParam ::= {Annotation} ['+' | `-' ] (id [HkTypePamClause] | _' ) TypeBounds
2097
+ * HkTypeParamClause ::= ‘[’ HkTypeParam {‘,’ HkTypeParam} ‘]’
2098
+ * HkTypeParam ::= {Annotation} [‘+’ | ‘-’ ] (id [HkTypePamClause] | ‘_’ ) TypeBounds
2099
2099
*/
2100
2100
def typeParamClause (ownerKind : ParamOwner .Value ): List [TypeDef ] = inBrackets {
2101
2101
def typeParam (): TypeDef = {
@@ -2576,8 +2576,8 @@ object Parsers {
2576
2576
}
2577
2577
}
2578
2578
2579
- /** TmplDef ::= ([` case' ] ‘class’ | trait’) ClassDef
2580
- * | [` case'] ` object' ObjectDef
2579
+ /** TmplDef ::= ([‘ case’ ] ‘class’ | ‘ trait’) ClassDef
2580
+ * | [‘ case’] ‘ object’ ObjectDef
2581
2581
* | ‘enum’ EnumDef
2582
2582
* | ‘instance’ InstanceDef
2583
2583
*/
0 commit comments